:root {
  /* Design tokens per site-wide guideline */
  --yellow: #FFCC00; /* primary accent */
  --dark-yellow: #FF9E00; /* hover accent */
  --deep-blue: #1A1A2E; /* headings & emphasis */
  --light-gray: #F4F4F4; /* panels/background */
  --white: #FFFFFF; /* pure white */
  --black: #000000; /* black */
  --bg: var(--white); /* main background */
  --text: #333333; /* body text */
  --muted: #666666; /* secondary text */
  --card: #FFFFFF; /* card background */
  --border: #E6E6E6; /* neutral divider */
  --footer-bg: #000000; /* footer contrast */
  /* Standard 14px chevron-down SVG; color driven by currentColor */
  --caret-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Roboto', 'Lato', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Subtle decorative background shapes */
/* Disable decorative shapes for a clean white background sitewide */
body::before, body::after { display: none; }
a { color: var(--text); text-decoration: none; }
.muted { color: var(--muted); }

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Topbar */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  width: 100%;
  background: var(--white);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 0; gap: 6px; }
.logo { font-weight: 800; letter-spacing: 0.3px; color: var(--deep-blue); }
.nav .menu { display: flex; list-style: none; gap: 18px; padding: 0; margin: 0; }
.nav { width: 100%; }
.nav .menu { justify-content: center; }
.nav .menu > li > a { padding: 8px 6px; border-radius: 6px; color: var(--deep-blue); }
.nav .menu > li > a:hover, .nav .menu > li > a.active { background: var(--card); }
/* Active state highlight: yellow text + yellow underline for top-level nav */
.nav .menu > li > a.active {
  color: var(--yellow);
  text-decoration-line: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.has-dropdown { position: relative; }
.nav .menu > li { position: relative; }
.has-dropdown .dropdown {
  position: absolute; left: 0; top: 100%; min-width: 220px;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 8px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  pointer-events: none;
}
.has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
}
.dropdown li a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--muted); }
/* removed dark hover; using light tone below */
/* Adjust hover fill to light tone */
.dropdown li a:hover { background: #FFF3C0; color: var(--deep-blue); }
/* Active inside dropdown: emphasize with yellow underline, keep text readable */
.dropdown li a.active {
  color: var(--deep-blue);
  text-decoration-line: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
/* Dropdown caret indicators: show on parents with actual submenu, brand yellow */
.has-dropdown:has(.dropdown) > a::after {
  content: "";
  margin-left: 6px;
  width: 14px; height: 14px;
  display: inline-block;
  vertical-align: middle;
  background-image: var(--caret-icon);
  background-repeat: no-repeat;
  background-size: 14px 14px;
  color: var(--black);
  transform: rotate(0deg);
  transition: color 200ms ease, transform 200ms ease;
}
.has-dropdown:has(.nav-caret) > a::after { content: none; }
.nav-caret {
  margin-left: 6px;
  width: 14px; height: 14px;
  display: inline-block;
  vertical-align: middle;
  background-image: var(--caret-icon);
  background-repeat: no-repeat;
  background-size: 14px 14px;
  /* drive SVG color via currentColor and hide fallback text glyph '▾' */
  color: var(--black);
  font-size: 0;
  transform: rotate(0deg);
  transition: color 200ms ease, transform 200ms ease;
}

/* Selected (open) state: arrow becomes yellow and points up */
.has-dropdown.open > a::after,
.has-dropdown.open .nav-caret {
  color: var(--yellow);
  transform: rotate(180deg);
}

/* Buttons */
.btn { display: inline-block; padding: 15px 22px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--deep-blue); cursor: pointer; text-transform: uppercase; font-weight: 600; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 193, 7, 0.35); }
.btn-yellow { background: var(--yellow); color: #FFFFFF; border: none; font-weight: 700; }
.btn-yellow:hover { background: var(--dark-yellow); box-shadow: 0 10px 24px rgba(255, 158, 0, 0.45); }
.btn-outline { background: transparent; border: 1.5px solid var(--yellow); color: var(--deep-blue); }
.btn-outline:hover { background: #FFF3C0; }
.btn-secondary { background: #EFEFEF; color: var(--deep-blue); border: 1px solid var(--border); }
.btn-secondary:hover { background: #E0EAF6; }

/* Learn More link button (globalized from services page) */
.svc-link { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--deep-blue); padding: 8px 12px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 1.5px solid var(--yellow); box-shadow: none; }
.svc-link:hover { background: #FFF3C0; color: var(--deep-blue); box-shadow: 0 8px 20px rgba(255, 193, 7, 0.25); }
.svc-link:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.download-cta { background: var(--yellow); color: #FFFFFF; font-weight: 700; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0);} 50% { transform: translateY(-2px);} }

/* Sticky complaint tab removed sitewide */

/* Hero */
.parallax-bg { background-image: linear-gradient(180deg, #FFF8E1 0%, #FFF4C3 100%); }
.hero { padding: 0 0 50px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 30px; }
.hero h1 { font-size: 48px; margin: 0 0 8px; }
.hero p { color: var(--muted); margin: 0 0 16px; }
.hero-actions { display: flex; gap: 10px; }
.phone-mockup { justify-self: end; }
.hero-image { width: 100%; max-width: 420px; height: auto; display: block; }
.float-slow { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* (Removed) Full-bleed hero banner styles for About page */

/* THUNIL About: hero banner styling */
.parallax-bg-thunil { background-image: linear-gradient(180deg, #FFF9E6 0%, #FFFFFF 60%); }
.thunil-hero { padding: 40px 0; position: relative; overflow: hidden; }
.thunil-hero .hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 24px; }
.thunil-hero .hero-copy { animation: fadeSlow 1000ms ease forwards; opacity: 0; }
.thunil-hero .hero-image-wrap { transform: translateX(12px); animation: slideInRight 900ms ease forwards; opacity: 0; }
.thunil-hero .hero-image-wrap img { width: 100%; max-width: 520px; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.thunil-hero::after { content: ""; position: absolute; inset: -40px -60px auto auto; height: 240px; width: 240px; background-image: radial-gradient(circle at 20% 20%, rgba(255,193,7,0.15), transparent 60%), radial-gradient(circle at 70% 50%, rgba(255,193,7,0.10), transparent 70%); pointer-events: none; }
@keyframes fadeSlow { to { opacity: 1; transform: none; } }
@keyframes slideInRight { to { opacity: 1; transform: none; } }

/* Brand banner */
.brand-strip { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 20px; padding: 26px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.brand-strip .icons { display: inline-flex; gap: 10px; }
.brand-strip .icons .icon { animation: pulseSeq 2400ms ease infinite; }
.brand-strip .icons .icon:nth-child(2) { animation-delay: 300ms; }
.brand-strip .icons .icon:nth-child(3) { animation-delay: 600ms; }
@keyframes pulseSeq { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.08); opacity: 1; } }

/* Mission & Vision two-column with divider */
.mv-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: stretch; }
.mv-divider { width: 100%; height: 2px; background: var(--yellow); border-radius: 999px; margin: 10px 0 16px; opacity: 0.5; }
.mv-card .icon { width: 28px; height: 28px; }
.mv-card .icon svg { stroke: var(--black); fill: none; }
.fade-up { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease, transform 600ms ease; }
.in-view.fade-up { opacity: 1; transform: none; }

/* Values cards */
.value-card { background: #FFFDF5; border: 1.5px solid var(--yellow); border-radius: 12px; padding: 16px; transition: transform 180ms ease, box-shadow 180ms ease; }
.value-card:hover { transform: scale(1.03); box-shadow: 0 12px 28px rgba(255,193,7,0.25); }
.value-card .icon { width: 22px; height: 22px; }
.value-card .icon svg { stroke: var(--yellow); }

/* Impact section */
.impact-section { background: #FFF9E6; border-radius: 12px; padding: 20px; }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; }
.impact-counters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.impact-counters .counter { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 12px; text-align: center; }
.impact-image { justify-self: end; }
.impact-image img { width: 100%; max-width: 360px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

/* Unified Values + Impact strip */
.values-impact-strip { background: #FFF9E6; border: 1px solid var(--border); border-radius: 12px; padding: 18px; box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.values-impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.values-card, .impact-card { background: #FFFFFF; border: 1px solid var(--border); border-radius: 10px; padding: 16px; min-height: 160px; display: flex; flex-direction: column; justify-content: center; }
.values-card h3, .impact-card h3 { margin: 6px 0; }
.values-card p, .impact-card p { margin: 6px 0; color: var(--black); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); color: var(--black); }
.chip svg { width: 16px; height: 16px; stroke: var(--yellow); fill: none; }
.impact-card .top-icon { width: 22px; height: 22px; margin-bottom: 6px; }
.impact-card .top-icon svg { stroke: var(--yellow); fill: none; }

/* Team cards with images */
.team-card img { width: 100%; max-width: 120px; height: 80px; object-fit: cover; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.08); margin-bottom: 10px; }
.team-card:hover img { animation: avatarBounce 900ms ease; }

/* Partner NBFC section */
.partner-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; }
.partner-logo img { width: 100%; max-width: 220px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.badge.gold { background: var(--yellow); color: var(--black); font-weight: 700; }
.trusted-icon { display: inline-block; width: 18px; height: 18px; vertical-align: middle; margin-left: 6px; }
.trusted-icon svg { fill: none; stroke: #B38F00; }

/* Milestones interactive timeline */
.timeline { position: relative; overflow: hidden; }
.timeline .progress-line { position: absolute; top: 0; left: 0; height: 4px; width: 0%; background: var(--yellow); border-radius: 999px; box-shadow: 0 6px 14px rgba(255,193,7,0.35); transition: width 1200ms ease; }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -10px; left: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); box-shadow: 0 4px 10px rgba(255,193,7,0.35); }
.step:hover { transform: translateY(-2px); }

/* Corporate office map */
.office-map { position: relative; border: 1px solid var(--border); border-radius: 12px; background: var(--card); box-shadow: 0 8px 24px rgba(0,0,0,0.08); overflow: hidden; }
.office-map img { width: 100%; display: block; }
.office-pin { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 8px rgba(255,193,7,0.2); animation: pinPulse 1600ms ease infinite; }
@keyframes pinPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.get-directions { margin-top: 10px; }

/* Buttons micro-interactions */
.btn:hover { box-shadow: 0 8px 20px rgba(255,193,7,0.35); }
.section-title { position: relative; }
.section-title::after { content: ""; display: block; width: 60px; height: 3px; background: var(--yellow); border-radius: 999px; margin-top: 6px; opacity: 0.6; }

/* Features carousel */
.features { padding: 40px 0; }
.section-title { font-size: 28px; margin-bottom: 16px; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 14px; overflow: hidden; scroll-snap-type: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel { -ms-overflow-style: none; scrollbar-width: none; }
.carousel .card { scroll-snap-align: start; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; min-height: 120px; color: var(--black); }
.carousel .card.active { box-shadow: 0 12px 28px rgba(0,0,0,0.12); transform: scale(1.02); }

/* Timeline */
.how-it-works { padding: 30px 0; }
.badge { display: inline-block; background: var(--yellow); color: var(--black); font-weight: 800; border-radius: 999px; padding: 6px 10px; margin-bottom: 6px; }
/* Badge interactive states when used as a button link */
a.badge { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
a.badge:hover { box-shadow: 0 8px 20px rgba(255,193,7,0.35); transform: translateY(-1px); }
a.badge:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* How It Works alternating rows */
.how-rows { display: grid; gap: 20px; }
.how-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.how-text h3 { margin: 6px 0; }
.how-text p { margin: 6px 0; }
.how-image { display: flex; justify-content: center; align-items: center; }
.how-image img { width: 100%; max-width: 360px; height: auto; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,0.10); }
/* Balance image/text sizing for better visual harmony */
.how-text { max-width: 620px; }
.how-text p { font-size: 17px; }
.how-text .muted { font-size: 16px; }

@media (max-width: 900px) {
  .how-row { grid-template-columns: 1fr; }
  .how-image { order: 2; }
  .how-text { order: 1; }
}

/* Why choose us */
.why-choose { padding: 30px 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
/* Three-column grid for one-row layout of three cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cards-equal { align-items: stretch; }
.cards-equal .tile { height: 100%; display: flex; flex-direction: column; }
/* Prevent long content from forcing uneven column widths in Quick Contacts */
#quick-contacts .grid-4 > * { min-width: 0; }
#quick-contacts .tile p { overflow-wrap: anywhere; word-break: break-word; }
.tile { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; min-height: 120px; color: var(--black); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.tile:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); transition: box-shadow 200ms ease, transform 200ms ease; }

/* Testimonials ticker */
.testimonials { padding: 30px 0; }
.ticker { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.ticker-track { display: flex; gap: 30px; padding: 16px; animation: ticker 16s linear infinite; }
.quote { white-space: nowrap; color: var(--black); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Customer Reviews Carousel */
.reviews { padding: 30px 0; }
.reviews-carousel { position: relative; overflow: visible; }
.reviews-track { display: flex; gap: 14px; transition: transform 600ms ease, opacity 400ms ease; will-change: transform; justify-content: center; }
.review-card { min-width: 280px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; box-shadow: 0 8px 18px rgba(0,0,0,0.06); opacity: 0.9; }
.review-card.active { opacity: 1; transform: scale(1.02); box-shadow: 0 12px 28px rgba(0,0,0,0.10); }
.review-card .avatar { width: 56px; height: 56px; border-radius: 50%; background: #FFF3C0; display: grid; place-items: center; margin: 0 auto 10px; }
.review-card.active .avatar { animation: avatarBounce 1200ms ease infinite; }
@keyframes avatarBounce { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.review-card .name { font-size: 16px; font-weight: 700; margin: 4px 0; color: var(--black); text-align: center; }
.review-card .stars { display: flex; justify-content: center; gap: 2px; }
.review-card .stars { width: 100%; }
.review-card .stars svg { width: 16px; height: 16px; fill: var(--yellow); stroke: var(--yellow); }
.review-card .text { color: var(--black); }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); background: #FFFFFF; border: 1px solid var(--border); color: var(--black); border-radius: 999px; width: 36px; height: 36px; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,0.08); cursor: pointer; transition: opacity 300ms ease, transform 200ms ease; }
.arrow:hover { opacity: 0.85; transform: translateY(-50%) scale(1.06); }
.arrow.left { left: -6px; }
.arrow.right { right: -6px; }

/* Gallery */
.gallery { padding: 30px 0; }
.gallery-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item { height: 160px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); }

/* App Screens: single-image carousel */
.app-screens { background: var(--bg); }
.app-screens .screens-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 6px;
}
.app-screens .screens-scroll img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 60vh;
  scroll-snap-align: start;
  border-radius: 8px;
}
@media (max-width: 768px) {
  .app-screens .screens-scroll img { max-height: 46vh; }
}

/* Show multiple images per view on wider screens */
@media (min-width: 768px) {
  .app-screens .screens-scroll img {
    flex: 0 0 calc(50% - 8px);
  }
}

@media (min-width: 1200px) {
  .app-screens .screens-scroll img {
    flex: 0 0 calc(33.333% - 8px);
  }
}

/* Download CTA */
.download-cta-section { padding: 40px 0 60px; text-align: center; }
.store-badges { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 10px; }
.store-badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); color: var(--black); }
.screenshot-frame { width: min(640px, 92%); margin: 16px auto 0; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 8px 28px rgba(0,0,0,0.08); overflow: hidden; }
.screenshot-frame img { width: 100%; display: block; }

/* Footer styles moved to assets/css/style.css (global footer stylesheet) */

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(255, 248, 225, 0.7); display: none; align-items: center; justify-content: center; z-index: 70; }
.modal-content { width: min(640px, 92%); background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; color: var(--black); }
.modal-grid { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: center; }
.qr-placeholder { height: 220px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); }
.modal-close { position: absolute; right: 14px; top: 10px; background: transparent; border: none; color: var(--black); font-size: 22px; cursor: pointer; }

/* Hover glow */
.hover-glow { transition: box-shadow 0.2s ease, transform 0.2s ease; }
.hover-glow:hover { box-shadow: 0 12px 30px rgba(255,193,7,0.3); transform: translateY(-2px); }

/* Animations */
.fade-in { opacity: 0; transform: translateY(10px); transition: opacity 500ms ease, transform 500ms ease; }
.slide-in-left { opacity: 0; transform: translateX(-14px); transition: opacity 600ms ease, transform 600ms ease; }
.slide-in-right { opacity: 0; transform: translateX(14px); transition: opacity 600ms ease, transform 600ms ease; }
.in-view { opacity: 1 !important; transform: none !important; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .thunil-hero .hero-grid { grid-template-columns: 1fr; }
  .brand-strip { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .values-impact-grid { grid-template-columns: 1fr; }
  .team-alt { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .modal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .topbar-inner { padding: 8px 0; }
  .nav .menu { gap: 10px; justify-content: center; flex-wrap: wrap; }
.dropdown { min-width: 180px; }

/* Secondary label (mobile visibility defaults) */
.nav-sub-label { margin-left: 8px; padding: 2px 8px; border-radius: 10px; background: #FFF9E6; border: 1px solid var(--yellow); color: var(--deep-blue); font-size: 12px; font-weight: 700; display: inline-block; vertical-align: middle; text-decoration: none; }

@media (max-width: 780px) {
.nav-sub-label { display: none; }
}
  .gallery-row { grid-template-columns: 1fr; }
}
:root {
}

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Poppins:wght@600;700&family=Roboto:wght@400;500;700&family=Lato:wght@400;700&display=swap');

/* Typography */
h1, h2, h3, h4, .brand {
  font-family: 'Montserrat', 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--deep-blue);
  font-weight: 700;
}
h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
body, p, li, a, small, label, input, button, textarea {
  font-family: 'Roboto', 'Lato', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--text);
  font-size: 16px;
}

/* Offset body content to account for fixed topbar */
body { padding-top: 96px; }
@media (max-width: 600px) {
  body { padding-top: 84px; }
}
.slide-up { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease, transform 600ms ease; }
.in-view.slide-up { opacity: 1; transform: none; }

/* Iconography */
.icon { width: 22px; height: 22px; display: inline-block; vertical-align: middle; }
.icon svg { width: 100%; height: 100%; stroke: var(--black); fill: none; stroke-width: 2; }
.icon-yellow svg { stroke: var(--yellow); }
.pulse-hover { transition: transform 150ms ease, filter 150ms ease; }
.pulse-hover:hover { transform: scale(1.06); filter: drop-shadow(0 6px 14px rgba(255,193,7,0.35)); }
.thunil-header { background: linear-gradient(180deg, #FFF9E6 0%, #FFFFFF 60%); border: 1px solid var(--border); border-radius: 12px; padding: 24px; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.thunil-header .title { margin: 0 0 8px; }
.thunil-header .intro { margin: 6px auto; max-width: 860px; color: var(--black); }
.thunil-header .header-illustration { margin-top: 12px; }
.thunil-header .header-illustration img { width: 100%; max-width: 560px; height: auto; border-radius: 12px; box-shadow: 0 10px 26px rgba(0,0,0,0.08); }
.thunil-header::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.15; background-image: radial-gradient(circle at 20% 30%, #FFD54F 0%, transparent 40%), radial-gradient(circle at 80% 60%, #FFD54F 0%, transparent 40%); }
.mv-list { display: grid; gap: 12px; }
.mv-item { display: grid; grid-template-columns: 32px 1fr; align-items: start; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.mv-icon svg { width: 22px; height: 22px; stroke: #FFD54F; stroke-width: 2; fill: none; transition: transform 180ms ease; }
.mv-item:hover .mv-icon svg { transform: scale(1.06); }
.mv-text h3 { margin: 4px 0; }
.soft-divider { height: 2px; background: rgba(255, 213, 79, 0.45); border-radius: 999px; }
.values-list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; }
.values-list li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; }
.values-list .li-icon svg { width: 16px; height: 16px; stroke: #FFD54F; fill: none; }
/* Values picture field */
.mv-picture { margin-top: 10px; }
.mv-picture .placeholder { height: 120px; border-radius: 12px; background: #FFF9E6; border: 1px dashed #FFD54F; display: grid; place-items: center; color: var(--black); font-size: 14px; }
.mv-picture img { width: 100%; max-width: 560px; height: auto; border-radius: 12px; box-shadow: 0 10px 26px rgba(0,0,0,0.08); }
.team-alt-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.team-alt { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.team-alt.left .img-wrap { order: 1; }
.team-alt.left .text-wrap { order: 2; }
.team-alt.right .text-wrap { order: 1; }
.team-alt.right .img-wrap { order: 2; }
.team-alt .img-wrap img { width: 100%; height: 140px; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 26px rgba(0,0,0,0.08); display: block; }
@media (max-width: 900px) { .team-alt .img-wrap img { height: 130px; } }
@media (max-width: 600px) { .team-alt .img-wrap img { height: 120px; } }
.img-placeholder { height: 120px; border-radius: 12px; background: #FFF9E6; border: 1px dashed #FFD54F; display: grid; place-items: center; color: var(--black); font-size: 14px; }
.mini-icon svg { width: 16px; height: 16px; stroke: #FFD54F; fill: none; margin-right: 6px; }
.partner-banner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; align-items: center; border: 1px solid var(--border); border-radius: 12px; background: var(--card); padding: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.logo-slide { animation: slideInLeft 800ms ease forwards; opacity: 0; }
.logo-slide img { height: 220px; width: auto; display: block; object-fit: contain; }
@media (max-width: 900px) { .logo-slide img { height: 180px; } }
@media (max-width: 600px) { .logo-slide img { height: 150px; } }
@media (max-width: 900px) { .partner-banner { grid-template-columns: 1fr; text-align: left; } }
@keyframes slideInLeft { from { transform: translateX(-16px); opacity: 0; } to { transform: none; opacity: 1; } }
.logo-placeholder { height: 100px; border-radius: 12px; background: #FFF9E6; border: 1px dashed #FFD54F; display: grid; place-items: center; color: var(--black); font-size: 14px; }
.partner-banner h3 { margin: 6px 0; }
.trusted-icon svg { width: 16px; height: 16px; stroke: #B38F00; fill: none; }
.v-timeline { position: relative; display: grid; gap: 22px; padding-left: 22px; }
.v-line { position: absolute; left: 7px; top: 0; width: 4px; height: 0; background: #FFD54F; border-radius: 999px; box-shadow: 0 6px 14px rgba(255,213,79,0.35); transition: height 1200ms ease; }
.v-node { position: relative; display: grid; grid-template-columns: 22px auto; align-items: center; gap: 10px; }
.v-node .node-dot { width: 12px; height: 12px; border-radius: 50%; background: #FFD54F; box-shadow: 0 4px 10px rgba(255,213,79,0.35); animation: nodePulse 1600ms ease infinite; }
@keyframes nodePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.v-node .node-year { font-weight: 700; color: var(--black); }
.v-node .node-icon svg { width: 16px; height: 16px; stroke: #FFD54F; fill: none; opacity: 0.0; transition: opacity 180ms ease, transform 180ms ease; }
.v-node:hover .node-icon svg { opacity: 1; transform: scale(1.05); }

/* Support → FAQ page */
.faq-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
}
.faq-header .container { display: grid; grid-template-columns: 1.6fr 0.4fr; align-items: stretch; gap: 8px; padding: 26px 0; }
.faq-header-img { justify-self: end; width: 100%; max-width: 260px; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 26px rgba(0,0,0,0.08); border: 1px solid var(--border); background: #FFFDF5; }
.faq-title-area { background: #FFF9E6; border: 1px solid var(--border); border-radius: 12px; padding: 16px; box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.faq-title-area h1 { margin: 0 0 6px; font-size: 28px; }
.faq-title-area p { margin: 0; color: var(--muted); }
.faq-help-icon { justify-self: end; width: 80px; height: 80px; border-radius: 12px; background: #FFFDF5; border: 1px solid var(--border); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,0.08); animation: float 6s ease-in-out infinite; }
.faq-help-icon svg { width: 42px; height: 42px; stroke: var(--yellow); fill: none; }

.faq-page { padding: 24px 0 30px; }
.faq-accordion { display: grid; gap: 16px; }
.faq-category { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-category-header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #FFF9E6; border-bottom: 1px solid var(--border); }
.faq-category-header .icon { width: 22px; height: 22px; }
.faq-category-header .icon svg { stroke: var(--yellow); fill: none; }
.faq-items { padding: 6px 0; }
.faq-item { border-top: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; background: transparent; border: none; outline: none; padding: 12px 16px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; color: var(--black); }
.faq-question:hover { background: #FFF9E6; }
.faq-toggle { width: 24px; height: 24px; border: 1px solid var(--border); border-radius: 6px; display: grid; place-items: center; background: #FFFFFF; color: var(--black); font-weight: 800; }
.faq-answer { padding: 0 16px; color: var(--muted); overflow: hidden; height: 0; transition: height 360ms ease; }
.faq-item.expanded .faq-answer { padding: 10px 16px 14px; }
.faq-item.expanded .faq-toggle { background: #FFF3C0; border-color: var(--yellow); }

/* Hover transition on category */
.faq-category:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.08); transform: translateY(-1px); transition: box-shadow 200ms ease, transform 200ms ease; }

/* Footer help note */
.faq-help-note { margin-top: 24px; padding: 12px 16px; border: 1px dashed var(--border); border-radius: 12px; background: #FFFDF5; color: var(--black); }
.faq-help-note a { color: var(--black); font-weight: 700; }

@media (max-width: 900px) {
  .faq-header .container { grid-template-columns: 1fr; }
  .faq-help-icon { justify-self: start; width: 64px; height: 64px; }
  .faq-header-img { justify-self: start; max-width: 160px; height: 100px; }
}

/* About → Values section redesign */
.values-section { background: linear-gradient(180deg, #FFFFFF 0%, #FFF9E6 100%); padding: 80px 0; }
.values-title { text-align: left; margin: 0 0 18px; }
.values-title::after { content: ""; display: block; width: 60px; height: 3px; background: #FFD54F; border-radius: 999px; margin: 8px 0 0; }
.values-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.values-cards { display: grid; gap: 16px; }
.value-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; background: #FFFFFF; border: 1px solid var(--border); border-radius: 12px; padding: 16px; box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.value-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
.value-left { display: flex; align-items: center; gap: 10px; }
.value-right { color: var(--black); }
.value-icon { position: relative; width: 24px; height: 24px; display: inline-grid; place-items: center; }
.value-icon::before { content: ""; position: absolute; inset: -2px; width: 24px; height: 24px; border-radius: 50%; background: #FFD54F; opacity: 0.25; }
.value-icon svg { width: 20px; height: 20px; stroke: var(--black); stroke-width: 2; fill: none; transition: transform 200ms ease, filter 200ms ease; }
.value-card:hover .value-icon svg { transform: translateY(-2px) scale(1.06); filter: drop-shadow(0 6px 14px rgba(255,193,7,0.35)); }

/* Staggered reveal delays for cards */
.values-cards .value-card:nth-child(1) { transition-delay: 0s; }
.values-cards .value-card:nth-child(2) { transition-delay: 0.2s; }
.values-cards .value-card:nth-child(3) { transition-delay: 0.4s; }
.values-cards .value-card:nth-child(4) { transition-delay: 0.6s; }
.values-cards .value-card:nth-child(5) { transition-delay: 0.8s; }

/* Values image placeholder with gentle float */
.values-image .placeholder { height: 180px; border-radius: 12px; background: #FFF9E6; border: 1px dashed #FFD54F; display: grid; place-items: center; color: var(--black); font-size: 14px; box-shadow: 0 10px 24px rgba(0,0,0,0.06); animation: float 6s ease-in-out infinite; }
/* Values image rules to adapt image into layout */
.values-image img { width: 100%; max-width: 560px; height: auto; border-radius: 12px; box-shadow: 0 10px 24px rgba(0,0,0,0.06); display: block; }

/* Caption and decorative line */
.values-caption { text-align: center; margin: 26px auto 10px; max-width: 860px; color: var(--black); }
.values-decor-line { width: 40%; height: 2px; background: #FFD54F; border-radius: 999px; margin: 12px auto 0; opacity: 0.8; }

@media (max-width: 900px) {
  .values-layout { grid-template-columns: 1fr; }
  .value-card { grid-template-columns: 1fr; }
}

/* About → Mission & Vision split layout */
.mv-split { display: grid; gap: 16px; }
.mv-card { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.mv-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
.mv-card.right .mv-copy { order: 2; }
.mv-card.right .mv-img { order: 1; }
.mv-copy h3 { margin: 6px 0; }
.mv-img .img-placeholder { height: 140px; border-radius: 12px; background: #FFF9E6; border: 1px dashed #FFD54F; display: grid; place-items: center; color: var(--black); font-size: 14px; }
/* Ensure mission/vision/impact images adapt to existing card layout */
.mv-img img { width: 100%; max-width: 560px; height: auto; border-radius: 12px; box-shadow: 0 10px 26px rgba(0,0,0,0.08); display: block; }

/* Enforce consistent visual size for Mission/Vision/Impact images */
.mv-img { height: 220px; }
.mv-img img { height: 100%; width: 100%; max-width: none; object-fit: cover; }

@media (max-width: 900px) {
  .mv-img { height: 180px; }
}
@media (max-width: 600px) {
  .mv-img { height: 150px; }
}

@media (max-width: 900px) {
  .mv-card { grid-template-columns: 1fr; }
  .mv-card.right .mv-copy, .mv-card.right .mv-img { order: initial; }
}

/* Products page inline SVGs inside tiles → enforce minimalist outline icons */
#key-features .tile svg,
#why-choose .tile svg,
#repayment-methods .tile svg { width: 18px; height: 18px; stroke: var(--yellow); stroke-width: 2; fill: none; }
#key-features .tile svg path,
#key-features .tile svg circle,
#key-features .tile svg rect,
#key-features .tile svg line,
#key-features .tile svg polygon,
#why-choose .tile svg path,
#why-choose .tile svg circle,
#why-choose .tile svg rect,
#why-choose .tile svg line,
#why-choose .tile svg polygon,
#repayment-methods .tile svg path,
#repayment-methods .tile svg circle,
#repayment-methods .tile svg rect,
#repayment-methods .tile svg line,
#repayment-methods .tile svg polygon { fill: none; stroke: var(--yellow); }

/* Loan Details vertical list → small yellow outline icons, no fill */
#loan-details .details-list { display: grid; gap: 10px; }
#loan-details .detail-item { display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); }
#loan-details .detail-item:first-child { border-top: none; }
#loan-details .detail-icon { width: 28px; height: 28px; position: relative; display: inline-grid; place-items: center; }
#loan-details .detail-icon::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #FFD54F; opacity: 0.22; }
#loan-details .detail-icon svg { width: 20px; height: 20px; stroke: var(--yellow); stroke-width: 2; fill: none; }
#loan-details .detail-title { margin: 0; color: var(--deep-blue); font-size: 22px; }
#loan-details .detail-desc { margin: 2px 0 0; color: var(--muted); }

/* Loan Details cards layout override → ensure left padding and full icon visibility */
#loan-details .details-list .detail-item.tile {
  display: grid !important;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 16px; /* add horizontal padding so icon/text are not too close to border */
  border-top: none; /* cards don't need top dividers */
}
#loan-details .details-list .detail-text { min-width: 0; }
#loan-details .details-list .detail-icon { overflow: visible; }

/* Dynamic image utilities: add depth and micro-interactions */
.dynamic-image { transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease; will-change: transform; }
.dynamic-image:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 36px rgba(0,0,0,0.12); filter: saturate(1.06) contrast(1.02); }
.dynamic-floating { animation: float 6s ease-in-out infinite; }
/* NBFC hero section layout harmonization */
.nbfc-hero .grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: center;
}

.nbfc-hero .hero-media {
  justify-self: end;
}

.nbfc-hero .hero-media .card {
  padding: 10px;
}

.nbfc-hero .hero-media img {
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 900px) {
  .nbfc-hero .grid {
    grid-template-columns: 1fr;
  }
  .nbfc-hero .hero-media {
    justify-self: start;
    margin-top: 10px;
  }
}
.mv-card.centered-text { grid-template-columns: 1fr; justify-items: center; }
.mv-card.centered-text .mv-copy { text-align: left; grid-column: 1 / -1; }
/* Consumer Loan Calculator layout improvements */
#calculator .tile { align-items: stretch; }
#calculator .calc-grid { grid-template-columns: 1fr; min-height: 340px; }
#calculator .calc-summary { display: none; }
#calculator .calc-grid.confirmed { grid-template-columns: 2fr 1fr; }
#calculator .calc-grid.confirmed .calc-summary { display: grid; }
/* Medical page pair grid image sizing */
.pair-grid { display: grid; gap: 18px; }
.pair-item { display: grid; grid-template-columns: 1fr 160px; align-items: center; gap: 14px; }
.pair-item:nth-child(2),
.pair-item:nth-child(4) { grid-template-columns: 160px 1fr; }
.pair-media { display: flex; align-items: center; justify-content: center; }
.pair-media svg { width: 128px; height: 128px; display: block; }
/* Consumer page feature media image sizing */
.feature-media { display: flex; align-items: center; justify-content: center; }
.feature-media svg { width: 128px; height: 128px; display: block; }
@media (max-width: 768px) {
  .pair-item { grid-template-columns: 1fr; }
  .pair-item:nth-child(2),
  .pair-item:nth-child(4) { grid-template-columns: 1fr; }
  .pair-media svg { width: 110px; height: 110px; }
  .feature-media svg { width: 110px; height: 110px; }
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
}
