/*
  Fouress Finserv theme (final): the insurance.fouressfinserv.com palette, with
  the logo teal on the details. Load after brand-fouress.css and -2.css.

    forest   #1a3c34  buttons, dark bands, contact panel ("act here", structure)
    trust    #316342  button hover
    logo     #01a595  logo teal: icons, accent lines, underlines ("this is Fouress")
    teal txt #019488  highlighted headline words (3.75:1, heading sizes only)
    text     #1d2b26  headings, #414942 body text
    surfaces #ffffff page and hero, #f7faf9 alternate sections, #eef5f0 soft fills
*/
:root {
  --rv-primary: #1a3c34;
  --rv-secondary: #1d2b26;
  --rv-primary-light: #f7faf9;
  --rv-primary-light-two: #eef5f0;
  --rv-secondary-light: #f7faf9;
  --rv-heading-color: #1d2b26;
  --rv-text-color: #414942;
  --rv-banner-fade: #ffffff;
}

/* Buttons: forest green, darker "trust" green on hover */
.btn-primary:hover,
.btn-primary:focus { background-color: #316342; border-color: #316342; }

html .mh {
  --mh-primary-2: #01a595;
  --mh-light: #f7faf9;
  --mh-light-2: #eef5f0;
  --mh-line: #e0e5e2;
  --mh-shadow: 0 12px 32px -14px rgba(26, 60, 52, 0.22);
  --mh-shadow-sm: 0 6px 16px -8px rgba(26, 60, 52, 0.16);
}
html .mh-btn-wa:hover { background: #316342; }

/* Homepage hero: plain white */
html .mh-hero { background: #fff; }
html .mh-hero::after { display: none; }
.inner_banner { background: #fff; border-bottom: 1px solid #e0e5e2; }

/* Logo teal on highlighted headline words and accent lines */
html .mh-goal,
html .mh-title span,
html .mh-cred-title span { color: #019488; }
html .mh-fact strong { color: #1a3c34; }
html .mh-sign { border-left-color: #01a595; }

html .mh-cred-badge,
html .mh-service-icon { background: linear-gradient(135deg, #01a595, #1a3c34); }
html .mh-cred-badge,
html .mh-service-icon,
html .mh-step-icon { box-shadow: 0 8px 16px -6px rgba(26, 60, 52, 0.45); }
html .mh-final { background: #1a3c34; }
html .mh-final::after { background: rgba(1, 165, 149, 0.22); }

/* Contact page panel */
.contact-box { background-color: #1a3c34; }
.contact-box .col-md-4:nth-child(2) { border-left-color: rgba(255, 255, 255, 0.14); border-right-color: rgba(255, 255, 255, 0.14); }
.contact-box h5 i { color: #4fd1c1; }

/* Wealth / Insurance switcher: white bar, a darker hairline to separate it from
   the header, logo-teal underline on the active tab */
html body .fs-switch {
  --fs-switch-bg: #fff;
  --fs-switch-border: #d3dcd8;
  --fs-switch-highlight: transparent;
  --fs-switch-fg: rgba(26, 60, 52, 0.62);
  --fs-switch-fg-active: #1a3c34;
  --fs-switch-icon: #1a3c34;
  --fs-switch-accent: linear-gradient(90deg, #1a3c34, #01a595);
}
html body .fs-new { background: linear-gradient(90deg, #1a3c34, #01a595); }

/* About Us team cards */
html body .team-section .team-badge,
html body .team-section .team-photo { background: #eef5f0; color: #1a3c34; }
html body .team-section .team-photo.is-monogram { color: #1a3c34; }
html body .team-section .team-main-title::after { background: #01a595; }

.group-box { background: #f7faf9; border-color: #1a3c34; color: #1a3c34; }
.group-box h3,
.popup-modal .call-link { color: #1a3c34; }

/* Homepage spacing: "Guiding families" sits closer to the hero, and on phones
   the headline starts closer to the header */
html .mh-hero .mh-hero-grid.is-centered { padding-bottom: 24px; }
html .mh-cred-band { padding-top: 28px; }
@media (max-width: 767.98px) {
  html .mh-hero { padding-top: 118px; }
  html .mh-hero .mh-hero-grid.is-centered { padding-bottom: 12px; }
  html .mh-cred-band { padding-top: 16px; }
}

/* Hero on laptops and desktops: the headline starts a fixed 52px under the
   menu on every screen size, and the hero ends a short gap after the ARN
   line, so the numbers strip follows straight after and shows on the first
   screen (no empty band that grows with the screen height). */
@media (min-width: 992px) {
  html .mh-hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 146px;
    min-height: 0;
  }
  html .mh-hero > .container { width: 100%; }
  html .mh-hero .mh-hero-grid.is-centered { padding-bottom: 48px; }
}
/* Homepage: the floating "Chat with Us" button waits until the numbers strip
   has scrolled clear of it (home.js); the hero has its own WhatsApp button */
a.blantershow-chat { transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s; }
html.mh-chat-wait a.blantershow-chat {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

/* Numbers count up (home.js); fixed-width digits so the text doesn't jitter */
.mh-cred-tile strong { font-variant-numeric: tabular-nums; }
.mh-cred.is-counting .mh-cred-tile { opacity: 0; transform: translateY(12px); }
.mh-cred.is-counted .mh-cred-tile {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mh-cred.is-counted .mh-cred-tile:nth-child(2) { transition-delay: 0.12s; }
.mh-cred.is-counted .mh-cred-tile:nth-child(3) { transition-delay: 0.24s; }
@media (min-width: 1200px) {
  html .mh-hero .is-centered .mh-hero-copy { max-width: 1000px; }
  html .mh-hero .is-centered .mh-hero-title { font-size: 48px; }
}
@media (max-width: 991.98px) {
  .mh-br { display: none; }
}

/* Bigger logo on phones */
@media (max-width: 575.98px) {
  html .header-main .navbar-brand img { width: 200px; }
}

/* Menu (hamburger) icon in the text colour */
.header-main .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%231d2b26' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Hero text left-aligned (2026-11-19): headline, rotating goal, subtext,
   buttons and ARN line line up on the left edge of the page column instead
   of being centred. Everything else in the hero is unchanged. */
html .mh-hero .mh-hero-grid.is-centered { justify-items: start; text-align: left; }
html .mh-hero .is-centered .mh-hero-sub { margin-left: 0; margin-right: 0; }
html .mh-hero .is-centered .mh-cta-row { justify-content: flex-start; }

/* ===================== Hero polish (2026-11-19) ===================== */

/* Depth on the white hero: a faint teal glow behind the right side and three
   overlapping mountain ridges in very pale sage, soft-topped filled
   silhouettes at 5-8% opacity, sitting on the bottom-right edge of the
   screen and fading out to the right, with a dotted trail winding up to a small flag on the top
   (the investing journey). Computers only. */
html .mh-hero {
  background: radial-gradient(720px 520px at 80% 45%, rgba(1, 165, 149, 0.08), rgba(1, 165, 149, 0) 70%), #fff;
}
@media (min-width: 992px) {
  html .mh-hero {
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 300' fill='%235a8f78'%3E%3Cdefs%3E%3ClinearGradient id='f'%3E%3Cstop offset='.55' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect width='800' height='300' fill='url(%23f)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cpath fill-opacity='.05' d='M0 300C58 268 112 214 168 164C204 132 232 96 262 86C284 79 300 92 322 114C362 154 404 158 446 132C478 112 506 100 532 108C580 123 640 180 690 236C730 281 768 297 800 300Z'/%3E%3Cpath fill-opacity='.065' d='M84 300C148 266 206 232 262 210C292 198 314 174 340 170C362 167 380 182 402 196C444 222 500 218 556 234C620 252 700 286 800 300Z'/%3E%3Cpath fill-opacity='.08' d='M236 300C304 280 372 264 440 258C496 253 548 258 600 266C660 275 740 292 800 300Z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%234f8a73' stroke-opacity='.3' stroke-width='2.2' stroke-linecap='round' stroke-dasharray='0 8' d='M338 300C300 282 250 272 262 252C274 232 340 228 330 206C320 184 254 186 262 164C270 142 318 140 304 120C294 106 268 104 264 92'/%3E%3Cpath fill='none' stroke='%234f8a73' stroke-opacity='.35' stroke-width='1.5' stroke-linecap='round' d='M264 88V66'/%3E%3Cpath fill='%234f8a73' fill-opacity='.35' d='M264 66L279 71L264 76Z'/%3E%3C/svg%3E") no-repeat right 0 bottom 0 / min(750px, 52vw) auto,
      radial-gradient(720px 520px at 80% 45%, rgba(1, 165, 149, 0.08), rgba(1, 165, 149, 0) 70%),
      #fff;
  }
}
/* Small laptops: smaller mountains so the trail stays clear of the text */
@media (min-width: 992px) and (max-width: 1199.98px) {
  html .mh-hero { background-size: 46vw auto, auto; }
}

/* Headline: a little more air (same words) */
html .mh-hero .mh-hero-title { font-weight: 600; letter-spacing: -0.015em; }

/* Rotating goal: teal-to-emerald gradient */
html .mh-hero .mh-goal-track > span {
  background: linear-gradient(90deg, #019488 0%, #2e9a68 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Primary CTA: richer teal-emerald fill with a soft green shadow, so it
   stands apart from the dark Portfolio Login button */
html .mh-hero .mh-btn-wa {
  background: linear-gradient(135deg, #01806f 0%, #0d6b53 100%);
  box-shadow: 0 12px 24px -10px rgba(1, 128, 111, 0.45);
}
html .mh-hero .mh-btn-wa:hover { background: linear-gradient(135deg, #016e60 0%, #0b5c47 100%); }

/* ARN line as a trust badge: shield icon, darker text */
html .mh-hero .mh-reg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  color: #4f5755;
}
html .mh-hero .mh-reg svg { width: 16px; height: 16px; flex: none; color: #019488; }

/* Stats strip: mint-tinted surface, crisp white cards that all match */
html .mh-cred-band { background: #f4f8f7; }
html .mh-cred-band .mh-cred-tile,
html .mh-cred-band .mh-cred-tile.is-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 16px 18px;
  background: #fff;
  border: 1px solid #e3eae7;
  box-shadow: 0 1px 2px rgba(16, 24, 20, 0.04);
}
html .mh-cred-band .mh-cred-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e6f4f1;
  color: #00796d;
  box-shadow: none;
}
html .mh-cred-band .mh-cred-badge svg { width: 20px; height: 20px; }
html .mh-cred-band .mh-cred-art { display: none; }
html .mh-cred-band .mh-cred-tile strong { font-size: 28px; white-space: nowrap; }
html .mh-cred-band .mh-sym { color: #019488; }
@media (max-width: 767.98px) {
  html .mh-cred-band .mh-cred-tile strong,
  html .mh-cred-band .mh-cred-tile.is-wide strong { font-size: 22px; }
  html .mh-cred-band .mh-cred-tile:not(.is-wide) .mh-cred-badge { width: 34px; height: 34px; border-radius: 10px; }
  html .mh-cred-band .mh-cred-tile:not(.is-wide) .mh-cred-badge svg { width: 17px; height: 17px; }
}

/* Floating navbar: crisp hairline and a tighter, softer shadow */
@media (min-width: 992px) {
  html:not(.fs-scrolled) .header-main .navbar-expand-lg .navbar-collapse {
    border: 1px solid #e8eceb;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  }
}
/* Narrow phones: the two half-width cards drop their badge so "₹350 Crores"
   fits (the wide 1200+ card keeps its badge) */
@media (max-width: 479.98px) {
  html .mh-cred-band .mh-cred-tile:not(.is-wide) .mh-cred-badge { display: none; }
  html .mh-cred-band .mh-cred-tile:not(.is-wide) { padding: 14px; }
  html .mh-cred-band .mh-cred-tile:not(.is-wide) strong { font-size: 19px; white-space: normal; }
}
/* Small laptops and tablets: numbers a touch smaller and allowed to wrap, so
   "₹350 Crores" never overflows its card */
@media (min-width: 480px) and (max-width: 1199.98px) {
  html .mh-cred-band .mh-cred-tile strong { font-size: 24px; white-space: normal; }
}
/* Cards built the older way (number, label and corner icon as direct
   children, no inner <div>) get the same layout: number over label on the
   left, the icon as the same mint badge on the right */
html .mh-cred-band .mh-cred-tile:not(:has(> div)) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 10px;
}
html .mh-cred-band .mh-cred-tile:not(:has(> div)) > strong { grid-column: 1; grid-row: 1; }
html .mh-cred-band .mh-cred-tile:not(:has(> div)) > span:not(.mh-cred-art):not(.mh-cred-badge) { grid-column: 1; grid-row: 2; margin-top: 3px; }
html .mh-cred-band .mh-cred-tile:not(:has(> div)) > .mh-cred-art {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  grid-row: 1 / span 2;
  position: static;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e6f4f1;
  color: #00796d;
}
html .mh-cred-band .mh-cred-tile:not(:has(> div)) > .mh-cred-art svg { width: 20px; height: 20px; }
@media (max-width: 479.98px) {
  html .mh-cred-band .mh-cred-tile:not(:has(> div)) > .mh-cred-art { display: none; }
}
/* Stats strip: white like the hero, with a clear hairline above it (the
   ground line the hero mountains stand on) and below it (before the pale
   "Our offerings" section), so the sections read as separate */
html .mh-cred-band {
  background: #fff;
  border-top: 1px solid #d5e0dc;
  border-bottom: 1px solid #d5e0dc;
}
html .mh-cred-band .mh-cred-tile { box-shadow: 0 8px 24px -16px rgba(26, 60, 52, 0.25); }
/* Number and label sit together (no row gap between them) */
html .mh-cred-band .mh-cred-tile:not(:has(> div)) { row-gap: 0; }
html .mh-cred-band .mh-cred-tile > span:not(.mh-cred-art):not(.mh-cred-badge),
html .mh-cred-band .mh-cred-tile > div > span { margin-top: 2px; }
/* Headline line spacing: more room between the lines (was 1.15) */
html .mh-hero .mh-hero-title { line-height: 1.32; }

/* Shorter laptop windows (most laptops show only 650-800px of page once the
   browser bars are counted): tighten the hero a little so the numbers strip
   still fits on the first screen. Same words, slightly smaller headline. */
@media (min-width: 992px) and (max-height: 840px) {
  html .mh-hero .is-centered .mh-hero-title { font-size: 42px; }
  html .mh-hero .mh-hero-sub { margin-top: 12px; line-height: 1.6; }
  html .mh-hero .mh-cta-row { margin-top: 20px; }
  html .mh-hero .mh-reg { margin-top: 14px; }
  html .mh-hero .mh-hero-grid.is-centered { padding-bottom: 26px; }
  html .mh-cred-band { padding-top: 20px; }
}
@media (min-width: 992px) and (max-height: 700px) {
  html .mh-hero { padding-top: 136px; }
  html .mh-hero .is-centered .mh-hero-title { font-size: 38px; line-height: 1.26; }
  html .mh-hero .mh-hero-sub { font-size: 16px; }
  html .mh-hero .mh-hero-grid.is-centered { padding-bottom: 16px; }
  html .mh-cred-band { padding-top: 14px; }
  html .mh-cred-band .mh-cred-tile,
  html .mh-cred-band .mh-cred-tile.is-wide { min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  html .mh-cred-band .mh-cred-tile strong { font-size: 24px; }
}
