/* =========================================================
   HOME PAGE VARIABLES
========================================================= */

:root {
  --home-primary: #0b5aa6;
  --home-primary-dark: #073f78;
  --home-accent: #22a447;
  --home-navy: #062b4f;
  --home-navy-light: #174c78;
  --home-text: #15324b;
  --home-muted: #64748b;
  --home-white: #ffffff;
  --home-light: #f5f9fd;
  --home-soft: #eef7ff;
  --home-border: #dbe7f1;
  --home-radius: 24px;
  --home-shadow: 0 20px 55px rgba(6, 43, 79, 0.12);
  --home-transition: 0.3s ease;
}

/* =========================================================
   COMMON HOME STYLES
========================================================= */

.home-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.home-section {
  position: relative;
  padding: 88px 0;
}

.home-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 14px;

  color: var(--home-primary);

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-section-label::before {
  content: "";

  width: 28px;
  height: 3px;

  background: var(--home-accent);
  border-radius: 999px;
}

.home-section-heading {
  max-width: 780px;
  margin: 0 auto 45px;

  text-align: center;
}

.home-section-heading .home-section-label {
  justify-content: center;
}

.home-section-heading h2,
.home-about-content h2,
.home-calculator-heading h2,
.home-why-content h2 {
  margin: 0;

  color: var(--home-navy);

  font-family: "Manrope", sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800;

  line-height: 1.16;
  letter-spacing: -0.035em;
}

.home-section-heading p,
.home-calculator-heading > p,
.home-why-content > p {
  margin: 16px 0 0;

  color: var(--home-muted);
  line-height: 1.8;
}

/* =========================================================
   BUTTONS
========================================================= */

.home-primary-button,
.home-outline-button,
.home-white-button {
  min-height: 50px;
  padding: 0 23px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  border-radius: 999px;

  font-size: 0.88rem;
  font-weight: 700;

  text-decoration: none;
  cursor: pointer;

  transition:
    transform var(--home-transition),
    box-shadow var(--home-transition),
    background-color var(--home-transition);
}

.home-primary-button {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--home-primary),
      var(--home-primary-dark)
    );

  border: none;

  box-shadow:
    0 14px 32px rgba(11, 90, 166, 0.26);
}

.home-primary-button:hover,
.home-primary-button:focus-visible {
  color: #ffffff;

  transform: translateY(-3px);

  box-shadow:
    0 19px 38px rgba(11, 90, 166, 0.34);

  outline: none;
}

.home-outline-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.65);

  backdrop-filter: blur(8px);
}

.home-outline-button:hover {
  color: var(--home-navy);
  background: #ffffff;

  transform: translateY(-3px);
}

.home-white-button {
  color: var(--home-navy);
  background: #ffffff;

  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* =========================================================
   HERO SLIDER
========================================================= */

.home-hero-section {
  position: relative;
  padding: 0;
  background: var(--home-navy);
}

.home-hero-slider {
  position: relative;

  width: 100%;
  height: clamp(520px, 66vh, 620px);
  min-height: 520px;

  overflow: hidden;
  background: var(--home-navy);
}

.home-hero-slide {
  position: absolute;
  inset: 0;

  opacity: 0;
  visibility: hidden;

  transform: scale(1.04);

  transition:
    opacity 0.8s ease,
    visibility 0.8s ease,
    transform 6s ease;
}

.home-hero-slide.active {
  z-index: 1;

  opacity: 1;
  visibility: visible;

  transform: scale(1);
}

.home-hero-image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(17, 17, 17, 0.88) 0%,
      rgba(17, 17, 17, 0.68) 38%,
      rgba(17, 17, 17, 0.28) 72%,
      rgba(17, 17, 17, 0.42) 100%
    );
}

.home-hero-container {
  position: relative;
  z-index: 2;

  width: min(1240px, calc(100% - 120px));
  height: 100%;

  margin: 0 auto;

  display: flex;
  align-items: center;
}

.home-hero-content {
  width: min(680px, 64%);
  padding: 30px 0 70px;

  color: #ffffff;
}

.home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 18px;

  color: #ffffff;

  font-size: 0.82rem;
  font-weight: 700;

  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-hero-eyebrow::before {
  content: "";

  width: 36px;
  height: 3px;

  background: var(--home-accent);
  border-radius: 999px;
}

.home-hero-content h1 {
  max-width: 620px;
  margin: 0;

  color: #ffffff;

  font-family: "Manrope", sans-serif;
  font-size: clamp(2.5rem, 3vw, 2.6rem);
  font-weight: 800;

  line-height: 1.08;
  letter-spacing: -0.045em;
}

.home-hero-content h1 span {
  display: block;
  margin-top: 6px;

  color: #ffffff;
}

.home-hero-rate {
  margin-top: 18px;

  color: rgba(255, 255, 255, 0.9);

  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 600;
}

.home-hero-rate strong {
  margin-left: 6px;

  color: var(--home-accent);

  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 3.3vw, 3.35rem);
  font-weight: 800;
}

.home-hero-content p {
  max-width: 610px;
  margin: 24px 0 0;

  color: rgba(255, 255, 255, 0.84);

  font-size: 0.96rem;
  line-height: 1.75;
}

.home-hero-actions {
  margin-top: 29px;

  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 13px;
}

/* =========================================================
   HERO ARROWS
========================================================= */

.home-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;

  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  padding: 0;

  color: #666666;
  background: rgba(255, 255, 255, 0.97);

  border: none;
  border-radius: 50%;

  box-shadow:
    0 12px 32px rgba(17, 17, 17, 0.22);

  cursor: pointer;

  transform: translateY(-50%);

  transition:
    color var(--home-transition),
    background-color var(--home-transition),
    transform var(--home-transition);
}

.home-hero-prev {
  left: 20px;
}

.home-hero-next {
  right: 20px;
}

.home-hero-arrow:hover {
  color: #ffffff;
  background: var(--home-primary);

  transform: translateY(-50%) scale(1.07);
}

/* =========================================================
   HERO DOTS
========================================================= */

.home-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 27px;
  z-index: 6;

  display: flex;
  align-items: center;

  gap: 9px;

  transform: translateX(-50%);
}

.home-hero-dot {
  width: 11px;
  height: 11px;

  padding: 0;

  background: transparent;

  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;

  cursor: pointer;

  transition:
    width var(--home-transition),
    background-color var(--home-transition);
}

.home-hero-dot.active {
  width: 31px;

  background: var(--home-accent);
  border-color: var(--home-accent);
}

/* =========================================================
   RATE BAR
========================================================= */

.home-rate-bar {
  position: relative;
  z-index: 10;

  padding: 0;

  background: #ffffff;

  border-bottom: 1px solid #dfe4eb;

  box-shadow:
    0 8px 20px rgba(17, 17, 17, 0.08);
}

.home-rate-container {
  width: min(1200px, 100%);
  min-height: 120px;

  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.home-rate-item {
  padding: 24px 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 19px;

  color: var(--home-text);

  border-right: 1px solid var(--home-border);

  text-decoration: none;

  transition:
    background-color var(--home-transition),
    transform var(--home-transition);
}

.home-rate-item:first-child {
  border-left: 1px solid var(--home-border);
}

.home-rate-item:hover {
  background: #f1f8ff;
}

.home-rate-icon {
  width: 68px;
  height: 68px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  color: #0b5aa6;
  background: rgba(101, 74, 255, 0.08);

  border-radius: 18px;

  font-size: 1.75rem;

  transition:
    color var(--home-transition),
    background-color var(--home-transition),
    transform var(--home-transition);
}

.home-rate-item:hover .home-rate-icon {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--home-primary),
      #073f78
    );

  transform: translateY(-3px);
}

.home-rate-item div:last-child {
  display: flex;
  flex-direction: column;
}

.home-rate-item strong {
  color: var(--home-navy);

  font-family: "Manrope", sans-serif;
  font-size: 1.65rem;
  line-height: 1.1;
}

.home-rate-item span {
  margin-top: 6px;

  color: var(--home-muted);
}

/* =========================================================
   ABOUT COMPANY
========================================================= */

.home-about-section {
  background: #ffffff;
}

.home-about-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 0.92fr)
    minmax(0, 1.08fr);

  align-items: center;
  gap: 70px;
}

.home-about-content > p {
  margin: 17px 0 0;

  color: var(--home-muted);
  line-height: 1.85;
}

.home-about-highlight {
  margin: 25px 0 8px;

  display: flex;
  align-items: center;
  gap: 15px;
}

.home-about-highlight > span {
  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  color: var(--home-primary);
  background: rgba(11, 90, 166, 0.09);

  border-radius: 17px;

  font-size: 1.35rem;
}

.home-about-highlight p {
  margin: 0;

  color: var(--home-navy);

  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.home-about-points {
  margin: 25px 0 30px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.home-about-points > div {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.home-about-points i {
  margin-top: 4px;

  color: var(--home-primary);
}

.home-about-points span {
  display: flex;
  flex-direction: column;

  color: var(--home-muted);

  font-size: 0.82rem;
  line-height: 1.55;
}

.home-about-points strong {
  margin-bottom: 4px;

  color: var(--home-navy);
  font-size: 0.93rem;
}

.home-about-media {
  position: relative;
  padding-right: 35px;
}

.home-about-image-frame {
  overflow: hidden;

  border-radius: 28px;

  box-shadow: var(--home-shadow);
}

.home-about-image-frame img {
  width: 100%;
  height: 660px;

  object-fit: cover;
}

.home-about-experience {
  position: absolute;
  right: 0;
  bottom: 55px;

  min-width: 205px;
  padding: 23px;

  display: flex;
  align-items: center;
  gap: 13px;

  color: #ffffff;
  background: var(--home-primary);

  border-radius: 4px;

  box-shadow:
    0 18px 40px rgba(11, 90, 166, 0.25);
}

.home-about-experience strong {
  font-size: 2.25rem;
}

.home-about-experience span {
  font-size: 0.78rem;
  line-height: 1.45;
}

/* =========================================================
   SERVICES
========================================================= */

.home-services-section {
  background: var(--home-light);
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 25px;
}

.home-service-card {
  position: relative;

  padding: 32px;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);

  box-shadow:
    0 12px 35px rgba(17, 17, 17, 0.07);

  transition:
    transform var(--home-transition),
    box-shadow var(--home-transition),
    border-color var(--home-transition);
}


.home-service-card:hover {
  transform: translateY(-8px);

  border-color: rgba(11, 90, 166, 0.28);

  box-shadow: var(--home-shadow);
}

.home-service-icon {
  position: relative;
  z-index: 2;

  width: 66px;
  height: 66px;

  margin-bottom: 22px;

  display: grid;
  place-items: center;

  color: var(--home-primary);
  background: rgba(11, 90, 166, 0.09);

  border-radius: 20px;

  font-size: 1.5rem;
}

.home-service-card h3 {
  position: relative;
  z-index: 2;

  margin: 0 0 11px;

  color: var(--home-navy);
  font-size: 1.3rem;
}

.home-service-card > p {
  position: relative;
  z-index: 2;

  margin: 0;

  color: var(--home-muted);
  line-height: 1.75;
}

.home-service-card ul {
  position: relative;
  z-index: 2;

  margin: 21px 0;
  padding: 0;

  display: grid;
  gap: 10px;

  list-style: none;
}

.home-service-card li {
  color: var(--home-muted);
  font-size: 0.88rem;
}

.home-service-card li::before {
  content: "\f00c";

  width: 23px;

  display: inline-block;

  color: var(--home-primary);

  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.home-read-more {
  position: relative;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--home-primary);

  font-weight: 700;
  text-decoration: none;
}

.home-read-more i {
  transition: transform var(--home-transition);
}

.home-read-more:hover i {
  transform: translateX(5px);
}

/* =========================================================
   RELATED SERVICES
========================================================= */

.home-related-section {
  background: #ffffff;
}

.home-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 20px;
}

.home-related-card {
  position: relative;

  min-height: 280px;

  overflow: hidden;

  border-radius: 22px;

  box-shadow:
    0 12px 32px rgba(17, 17, 17, 0.11);
}

.home-related-card img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.45s ease;
}

.home-related-card:hover img {
  transform: scale(1.08);
}

.home-related-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(17, 17, 17, 0.08),
      rgba(17, 17, 17, 0.92)
    );
}

.home-related-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  z-index: 2;

  padding: 23px;
}

.home-related-content span {
  width: auto;
  height: auto;

  margin-bottom: 13px;

  display: inline-flex;
  align-items: center;
  justify-content: flex-start;

  /* color: #ffffff; */
  color: #22a447;
  background: transparent;

  border: none;
  border-radius: 0;

  font-size: 1.45rem;

  filter:
    drop-shadow(
      0 2px 5px rgba(0, 0, 0, 0.28)
    );
}

.home-related-content h3 {
  margin: 0 0 10px;

  color: #ffffff;
  font-size: 1.05rem;
}

.home-related-content a {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: rgba(255, 255, 255, 0.8);

  font-size: 0.8rem;
  font-weight: 700;

  text-decoration: none;
}

/* =========================================================
   CALCULATOR — REFERENCE UI
========================================================= */

.home-calculator-section {
   padding: 55px 0;
  position: relative;

  background:
    linear-gradient(
      rgba(250, 248, 246, 0.94),
      rgba(250, 248, 246, 0.94)
    ),
    url("../assets/loans/calculator-bg.jpg");

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-calculator-heading {
  margin-bottom: 24px;

  display: grid;
  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);

  align-items: end;

  gap: 40px;
}

.home-calculator-heading h2 {
  max-width: 500px;
 font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  line-height: 1.12;
}

.home-calculator-heading > p {
  margin: 0;

  max-width: 560px;

  color: var(--home-muted);
  line-height: 1.8;
}

.home-calculator-layout {
  position: relative;

  overflow: visible;

  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(0, 0.95fr);

  background: #ffffff;

  border: 1px solid #eeeeee;

  box-shadow:
    0 24px 60px rgba(17, 17, 17, 0.1);
}

.home-calculator-card {
  position: relative;
  z-index: 2;

   padding: 30px 42px;

  background: #ffffff;
}

.home-range-group {
  margin-bottom: 20px;
}

.home-range-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.home-range-heading label {
  color: #666666;

  font-size: 0.9rem;
  font-weight: 600;
}

.home-range-heading strong {
  color: #15324b;

  font-size: 0.96rem;
  font-weight: 700;
}

/* Range line */

.home-range-group input[type="range"] {
  --range-progress: 0%;

  width: 100%;
  height: 20px;

   margin: 9px 0 0;
  padding: 0;

  display: block;

  appearance: none;
  -webkit-appearance: none;

  background: transparent;

  border: none;
  border-radius: 0;

  box-shadow: none;
  outline: none;

  cursor: pointer;
}

/* Chrome / Edge track */

.home-range-group
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;

  background:
    linear-gradient(
      90deg,
      var(--home-primary) 0%,
      var(--home-primary) var(--range-progress),
      #ebe7e5 var(--range-progress),
      #ebe7e5 100%
    );

  border: none;
  border-radius: 999px;
}

/* Chrome / Edge thumb */

.home-range-group
input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;

  margin-top: -6px;

  appearance: none;
  -webkit-appearance: none;

  background: #ffffff;

  border: 3px solid var(--home-primary);
  border-radius: 50%;

  box-shadow:
    0 1px 5px rgba(11, 90, 166, 0.2);

  cursor: pointer;
}

/* Firefox track */

.home-range-group
input[type="range"]::-moz-range-track {
  width: 100%;
  height: 4px;

  background: #ebe7e5;

  border: none;
  border-radius: 999px;
}

/* Firefox completed track */

.home-range-group
input[type="range"]::-moz-range-progress {
  height: 4px;

  background: var(--home-primary);

  border-radius: 999px;
}

/* Firefox thumb */

.home-range-group
input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;

  background: #ffffff;

  border: 3px solid var(--home-primary);
  border-radius: 50%;

  box-shadow:
    0 1px 5px rgba(11, 90, 166, 0.2);

  cursor: pointer;
}



.home-range-limits {
  margin-top: 8px;

  display: flex;
  justify-content: space-between;

  color: #747474;

  font-size: 0.75rem;
}

/* Results */

.home-calculator-results {
  margin: 20px 0 18px;
  border-top: 1px solid #e8e3e0;
}

.home-calculator-results > div {
  min-height: 46px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  border-bottom: 1px solid #e8e3e0;
}

.home-calculator-results span {
  color: #6b6b6b;

  font-size: 0.92rem;
}

.home-calculator-results strong {
  color: #15324b;

  font-size: 0.95rem;
  font-weight: 800;
}

/* Apply button */

.home-calculator-apply {
  min-width: 166px;

  border-radius: 0;

  background: var(--home-primary);

  box-shadow: none;
}

.home-calculator-apply:hover,
.home-calculator-apply:focus-visible {
  background: var(--home-primary-dark);

  box-shadow:
    0 12px 28px rgba(11, 90, 166, 0.2);
}

.home-calculator-note {
  display: block;

  max-width: 520px;

  margin-top: 18px;

  color: #888888;

  font-size: 0.72rem;
  line-height: 1.75;
}

/* Right image */

.home-calculator-media {
  position: relative;

  min-height: 500px;

  overflow: visible;
}

.home-calculator-media img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;
}

/* Badge */

.home-calculator-badge {
  position: absolute;
  right: -46px;
  bottom: 105px;

  min-width: 230px;
  padding: 22px 28px;

  display: flex;
  flex-direction: column;

  color: #ffffff;
  background: var(--home-primary);

  border: 15px solid #ffffff;

  outline: 3px solid #15324b;
  outline-offset: -19px;

  box-shadow:
    0 20px 45px rgba(17, 17, 17, 0.17);
}

.home-calculator-badge::after {
  content: "";

  position: absolute;
  left: 38px;
  bottom: -52px;

  width: 0;
  height: 0;

  border-top: 38px solid #ffffff;
  border-right: 28px solid transparent;
}

.home-calculator-badge strong {
  font-size: 2rem;
  line-height: 1;
}

.home-calculator-badge span {
  margin-top: 7px;

  font-size: 0.85rem;
}

/* =========================================================
   PROCESS — LIGHT VAIBHAVI THEME
========================================================= */

.home-process-section {
  background:
    radial-gradient(
      circle at 10% 15%,
      rgba(11, 90, 166, 0.07),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 85%,
      rgba(17, 17, 17, 0.04),
      transparent 28%
    ),
    #f7fbff;
}

.home-light-heading h2 {
  color: var(--home-navy);
}

.home-light-heading p {
  color: var(--home-muted);
}

.home-light-heading .home-section-label {
  color: var(--home-primary);
}

.home-process-grid {
  position: relative;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 30px;
}

.home-process-grid::before {
  content: "";

  position: absolute;
  top: 40px;
  left: 15%;

  width: 70%;
  height: 1px;

  border-top:
    1px dashed rgba(11, 90, 166, 0.28);
}

.home-process-card {
  position: relative;
  z-index: 2;

  text-align: center;
}

/* White / light-red background, red icon */

.home-process-icon {
  width: 80px;
  height: 80px;

  margin: 0 auto 21px;

  display: grid;
  place-items: center;

  color: var(--home-primary);
  background: #ffffff;

  border: 8px solid #dff1e5;
  border-radius: 50%;

  box-shadow:
    0 12px 28px rgba(11, 90, 166, 0.1);

  font-size: 1.25rem;
}

.home-process-card span {
  color: var(--home-primary);

  font-size: 0.68rem;
  font-weight: 800;

  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-process-card h3 {
  margin: 9px 0;

  color: var(--home-navy);
}

.home-process-card p {
  margin: 0;

  color: var(--home-muted);

  font-size: 0.84rem;
  line-height: 1.7;
}

.home-process-action {
  margin-top: 42px;

  text-align: center;
}

/* =========================================================
   WHY CHOOSE US
========================================================= */

.home-why-section {
  background: #ffffff;
}

.home-why-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  align-items: center;
  gap: 70px;
}

.home-why-media {
  position: relative;
  padding-left: 25px;
}

.home-why-media::before {
  content: "";

  position: absolute;
  top: 0;
  left: 0;

  width: 70%;
  height: 85%;

  /* background: var(--home-primary); */

  border-radius: 25px;
}

.home-why-media img {
  position: relative;
  z-index: 2;

  width: 100%;
  height: 570px;

  object-fit: cover;

  border-radius: 22px;
}

.home-success-card {
  position: absolute;
  right: -24px;
  bottom: 45px;
  z-index: 3;

  min-width: 235px;
  padding: 22px;

  display: flex;
  flex-direction: column;

  color: #ffffff;
  background: var(--home-primary);

  box-shadow:
    0 18px 42px rgba(11, 90, 166, 0.28);
}

.home-success-card strong {
  font-size: 2.3rem;
}

.home-success-card span {
  margin-top: 3px;

  font-size: 0.8rem;
}

.home-why-list {
  margin-top: 30px;

  display: grid;
  gap: 17px;
}

.home-why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.home-why-item > span {
  width: 54px;
  height: 54px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  color: var(--home-primary);
  background: rgba(11, 90, 166, 0.09);

  border-radius: 50%;

  font-size: 1.15rem;
}

.home-why-item h3 {
  margin: 2px 0 6px;

  color: var(--home-navy);
  font-size: 1rem;
}

.home-why-item p {
  margin: 0;

  color: var(--home-muted);

  font-size: 0.84rem;
  line-height: 1.65;
}

/* =========================================================
   REVIEWS
========================================================= */

.home-reviews-section {
  overflow: hidden;

  background: var(--home-light);
}

.home-review-slider {
  display: grid;
  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 18px;
}

.home-review-window {
  min-width: 0;

  overflow: hidden;
}

.home-review-track {
  display: flex;
  gap: 20px;

  transition: transform 0.55s ease;

  will-change: transform;
}

.home-review-card {
  flex: 0 0 calc((100% - 40px) / 3);

  padding: 28px;

  background: #ffffff;

  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);

  box-shadow:
    0 12px 32px rgba(17, 17, 17, 0.07);
}

.home-review-top {
  display: flex;
  align-items: center;
  gap: 13px;
}

.home-review-avatar {
  width: 56px;
  height: 56px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--home-primary),
      #073f78
    );

  border-radius: 50%;

  font-weight: 800;
}

.home-review-card h3 {
  margin: 0;

  color: var(--home-navy);
}

.home-review-card small {
  display: block;
  margin-top: 3px;

  color: var(--home-primary);
}

.home-review-rating {
  margin: 17px 0 12px;

  color: var(--home-accent);
}

.home-review-card > p {
  margin: 0;

  color: var(--home-muted);
  line-height: 1.75;
}

.home-review-arrow {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  padding: 0;

  color: var(--home-primary);
  background: #ffffff;

  border: 1px solid var(--home-border);
  border-radius: 50%;

  cursor: pointer;
}

.home-review-arrow:hover {
  color: #ffffff;
  background: var(--home-primary);
}

.home-review-dots {
  margin-top: 25px;

  display: flex;
  justify-content: center;

  gap: 9px;
}

.home-review-dot {
  width: 10px;
  height: 10px;

  padding: 0;

  background: #d8d8d8;

  border: none;
  border-radius: 999px;

  cursor: pointer;
}

.home-review-dot.active {
  width: 28px;

  background: var(--home-primary);
}

/* =========================================================
   FINAL CTA — SOFTER RED
========================================================= */

.home-final-cta {
  position: relative;

  padding: 58px 0;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #131346 0%,
      #4d6ba3 100%
    );

  overflow: hidden;
}


.home-final-cta::after {
  content: "";

  position: absolute;
  left: -120px;
  bottom: -180px;

  width: 350px;
  height: 350px;

  background: rgba(17, 17, 17, 0.05);

  border-radius: 50%;
}

.home-final-cta-inner {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;
}

.home-final-cta .home-section-label {
  color: rgba(255, 255, 255, 0.83);
}

.home-final-cta h2 {
  margin: 0;

  color: #ffffff;

  font-family: "Manrope", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.home-final-cta p {
  max-width: 680px;

  margin: 12px 0 0;

  color: rgba(255, 255, 255, 0.84);
}

.home-final-cta-actions {
  display: flex;
  flex-shrink: 0;

  gap: 13px;
}

.home-cta-apply {
  color: #ffffff;
  background: #15324b;
}
/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
  .home-hero-container {
    width: calc(100% - 130px);
  }

  .home-hero-content {
    width: 74%;
  }

  .home-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-why-grid,
  .home-about-grid {
    gap: 45px;
  }
}

@media (max-width: 992px) {
  .home-hero-slider {
    height: 610px;
  }

  .home-hero-content {
    width: 82%;
  }

  .home-about-grid,
  .home-calculator-layout,
  .home-why-grid {
    grid-template-columns: 1fr;
  }

  .home-about-content,
  .home-why-content {
    max-width: 780px;
  }

  .home-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-calculator-heading {
    grid-template-columns: 1fr;

    gap: 15px;
  }

  .home-calculator-media {
    min-height: 460px;
  }

  .home-review-card {
    flex-basis: calc((100% - 20px) / 2);
  }

  .home-final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .home-calculator-heading {
  grid-template-columns: 1fr;

  gap: 16px;
}

.home-calculator-layout {
  grid-template-columns: 1fr;
}

.home-calculator-card {
  padding: 40px;
}

.home-calculator-media {
  min-height: 460px;
}

.home-calculator-badge {
  right: 25px;
  bottom: 30px;
}
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .home-container {
    width: calc(100% - 32px);
  }

  .home-section {
    padding: 68px 0;
  }

  .home-hero-slider {
    height: 590px;
    min-height: 590px;
  }

  .home-hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(17, 17, 17, 0.90),
        rgba(17, 17, 17, 0.64)
      );
  }

  .home-hero-container {
    width: calc(100% - 46px);
  }

  .home-hero-content {
    width: 100%;
    max-width: 590px;

    padding: 35px 25px 95px;
  }

  .home-hero-content h1 {
    font-size: clamp(2.2rem, 8vw, 3.1rem);
  }

  .home-hero-content p {
    font-size: 0.92rem;
  }

  .home-hero-arrow {
    top: auto;
    bottom: 22px;

    width: 44px;
    height: 44px;

    transform: none;
  }

  .home-hero-arrow:hover {
    transform: scale(1.05);
  }

  .home-hero-prev {
    left: 22px;
  }

  .home-hero-next {
    right: 22px;
  }

  .home-hero-dots {
    bottom: 37px;
  }

  .home-rate-container {
    grid-template-columns: 1fr;
  }

  .home-rate-item,
  .home-rate-item:first-child {
    min-height: 95px;

    justify-content: flex-start;

    padding: 17px 24px;

    border-right: none;
    border-left: none;
    border-bottom: 1px solid var(--home-border);
  }

  .home-rate-item:last-child {
    border-bottom: none;
  }

  .home-service-grid,
  .home-process-grid {
    grid-template-columns: 1fr;
  }

  .home-process-grid::before {
    display: none;
  }

  .home-about-image-frame img,
  .home-why-media img {
    height: 430px;
  }

  .home-calculator-card {
    padding: 29px 23px;
  }

  .home-related-grid {
    grid-template-columns: 1fr;
  }

  .home-related-card {
    min-height: 310px;
  }

  .home-review-card {
    flex-basis: 100%;
  }

  .home-final-cta-actions {
    width: 100%;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 576px) {
  .home-container {
    width: calc(100% - 24px);
  }

  .home-section {
    padding: 58px 0;
  }

  .home-section-heading {
    margin-bottom: 33px;
  }

  .home-section-heading h2,
  .home-about-content h2,
  .home-calculator-heading h2,
  .home-why-content h2 {
    font-size: 1.85rem;
  }

  .home-hero-slider {
    height: 540px;
    min-height: 540px;
    /* height: 630px;
    min-height: 630px; */
  }

  .home-hero-container {
    width: 100%;
  }

  .home-hero-content {
  padding: 28px 22px 78px;
}

  .home-hero-eyebrow {
    font-size: 0.71rem;
  }

  .home-hero-content h1 {
    font-size: 2.2rem;
  }

  .home-hero-rate {
    font-size: 1rem;
  }

  .home-hero-rate strong {
    display: block;

    margin: 4px 0 0;

    font-size: 2.35rem;
  }

  .home-hero-actions {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-direction: row;
  flex-wrap: nowrap;

  gap: 10px;
}

.home-hero-actions .home-primary-button,
.home-hero-actions .home-outline-button {
  width: auto;
  min-width: 0;

  flex: 1 1 0;

  min-height: 44px;
  padding: 0 10px;

  font-size: 0.74rem;

  white-space: nowrap;
}

  .home-rate-item {
    padding-right: 18px;
    padding-left: 18px;
  }

  .home-rate-icon {
    width: 57px;
    height: 57px;

    font-size: 1.45rem;
  }

  .home-rate-item strong {
    font-size: 1.35rem;
  }

  .home-about-points {
    grid-template-columns: 1fr;
  }

  .home-about-media {
    padding-right: 0;
  }

  .home-about-image-frame img,
  .home-why-media img {
    height: 340px;
  }

  .home-about-experience {
    position: relative;
    right: auto;
    bottom: auto;

    width: calc(100% - 30px);

    margin: -35px auto 0;
  }

  .home-service-card {
    padding: 26px 22px;
  }
  
  
  .home-calculator-card {
  padding: 30px 22px;
}

.home-calculator-results > div {
  min-height: 62px;

  align-items: center;
  flex-direction: row;

  padding: 0;
}

.home-calculator-media {
  min-height: 360px;
}

.home-calculator-badge {
  right: 15px;
  bottom: 20px;

  min-width: 175px;

  padding: 18px;

  border-width: 8px;

  outline-width: 2px;
  outline-offset: -11px;
}

.home-calculator-badge::after {
  display: none;
}

  

  .home-why-media {
    padding-left: 0;
  }

  .home-why-media::before {
    display: none;
  }

  .home-success-card {
    position: relative;
    right: auto;
    bottom: auto;

    width: calc(100% - 30px);

    margin: -35px auto 0;
  }

  .home-review-slider {
    grid-template-columns: 1fr;
  }

  .home-review-arrow {
    display: none;
  }

  .home-final-cta-actions {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-direction: row;
  flex-wrap: nowrap;

  gap: 10px;
}

.home-final-cta-actions .home-white-button,
.home-final-cta-actions .home-cta-apply {
  width: auto;
  min-width: 0;

  flex: 1 1 0;

  min-height: 44px;
  padding: 0 10px;

  font-size: 0.78rem;

  white-space: nowrap;
}
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .home-hero-slide,
  .home-review-track,
  .home-service-card,
  .home-related-card img {
    transition: none;
  }
}






 

/* =========================================================
   UNIVERSAL LOANS HOME OVERRIDES
========================================================= */
.home-rate-container { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.home-rate-item { padding: 20px 12px; gap: 12px; flex-direction: column; text-align: center; }
.home-rate-icon { width: 56px; height: 56px; font-size: 1.35rem; background: rgba(34, 164, 71, 0.10); color: var(--home-accent); }
.home-rate-item strong { font-size: 1.35rem; }
.home-rate-item span { font-size: 0.78rem; line-height: 1.35; }
.home-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-primary-button { background: linear-gradient(135deg, var(--home-primary), var(--home-primary-dark)); }
.home-section-label::before, .home-hero-eyebrow::before, .home-hero-dot.active { background: var(--home-accent); border-color: var(--home-accent); }
.home-calculator-badge { background: linear-gradient(135deg, var(--home-primary), var(--home-primary-dark)); }
@media (max-width: 1100px) { .home-rate-container { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) { .home-rate-container { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-rate-item, .home-rate-item:first-child { justify-content: center; min-height: 135px; border-right: 1px solid var(--home-border); } }
@media (max-width: 480px) { .home-rate-container { grid-template-columns: 1fr; } .home-rate-item { flex-direction: row; text-align: left; min-height: 94px; justify-content: flex-start; } }