/* ==========================================================================
   First Capital - Screenshot Theme Alignment Stylesheet
   ========================================================================== */

/* --- Custom Properties --- */
:root {
    --primary: #1E3D59;          /* Trust Navy Blue */
    --accent: #C5A059;           /* Sand Gold */
    --accent-hover: #A5823E;
    
    /* Card Colors matching Sunrise screenshot */
    --card-personal-bg: #1E3D59; /* Navy */
    --card-business-bg: #4E8A3C; /* Olive Green */
    --card-home-bg: #D69E2E;     /* Mustard Yellow */
    --card-short-term-bg: #DD6B20; /* Orange-Red */
    
    --neutral-dark: #121C24;     /* Deep Charcoal */
    --neutral-light: #F4F7F9;    /* Clean Off-White */
    --white: #FFFFFF;
    --text-color: #333333;
    --success: #2E7D32;          /* Soft Green */
    --error: #D32F2F;            /* Soft Red */
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-color: rgba(27, 46, 60, 0.08);
    --shadow-sm: 0 4px 12px rgba(18, 28, 36, 0.04);
    --shadow-md: 0 8px 24px rgba(18, 28, 36, 0.07);
    --shadow-lg: 0 16px 40px rgba(18, 28, 36, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 8px; /* Slightly sharp corners matching screenshot layout */
}

/* --- Base Resets & Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-color);
    background-color: #FFFFFF;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
}

p {
    color: #555555;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* --- Layout Utility Containers --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.text-center { text-align: center; }
.text-bold { font-weight: 700; }
.required { color: var(--error); margin-left: 2px; }

/* --- Section Headers --- */
.section-header {
    margin-bottom: 50px;
}

.section-header .sub-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 10px;
    display: inline-block;
}

.section-header h2 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-header .section-desc {
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    color: #666666;
}

/* --- Buttons System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* --- Form Control Styling --- */
.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    color: var(--text-color);
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 61, 89, 0.12);
}

.input-group {
    margin-bottom: 24px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.help-text {
    display: block;
    font-size: 0.75rem;
    color: #777777;
    margin-top: 6px;
}

/* --- Glassmorphic Card Style --- */
.glass-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

/* --- Top Utility Bar --- */
.top-bar {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.75);
    padding: 8px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
    position: relative;
}

.top-bar-left span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar .separator {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.2);
}

/* --- Main Header & Navigation --- */
.main-header {
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 99;
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

/* Brand Logo (Left) */
.logo-container {
    display: flex;
    align-items: center;
}

.brand-logo-svg {
    height: 48px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo-container:hover .brand-logo-svg {
    transform: scale(1.03);
}

.brand-logo-svg .monogram-f {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 80px;
    font-weight: 800;
    fill: var(--primary);
}

.brand-logo-svg .monogram-c {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 80px;
    font-weight: 800;
    fill: var(--accent);
}

.brand-logo-svg .text-first {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 34px;
    font-weight: 800;
    fill: var(--primary);
}

.brand-logo-svg .text-capital {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 34px;
    font-weight: 800;
    fill: var(--accent);
}

.brand-logo-svg .text-sub {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    fill: #666666;
    letter-spacing: 1.8px;
}

/* Footer Logo SVG Styles */
.footer-logo-svg {
    height: 48px;
    width: auto;
    display: block;
}

.footer-logo-svg .monogram-f {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 80px;
    font-weight: 800;
    fill: var(--white);
}

.footer-logo-svg .monogram-c {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 80px;
    font-weight: 800;
    fill: var(--accent);
}

.footer-logo-svg .text-first {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 34px;
    font-weight: 800;
    fill: var(--white);
}

.footer-logo-svg .text-capital {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 34px;
    font-weight: 800;
    fill: var(--accent);
}

.footer-logo-svg .text-sub {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    fill: rgba(255, 255, 255, 0.6);
    letter-spacing: 1.8px;
}

/* Central Nav Links (Center) */
.nav-menu ul {
    display: flex;
    gap: 22px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary); /* Deep Slate Blue */
    padding: 8px 0;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-link .first-letter, .mobile-link .first-letter {
    color: #FF5E36; /* Vermillion Orange */
    font-weight: 800;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: #FF5E36; /* Entire link glows orange on hover/active */
}

.nav-link:hover .first-letter, .nav-link.active .first-letter {
    color: #FF5E36;
}

/* Phone link displays (Right) */
.header-right-phone {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-link-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 1.1rem;
}

.phone-link-btn strong {
    font-family: var(--font-heading);
    font-weight: 800;
}

.phone-link-btn .phone-icon {
    font-size: 1.15rem;
    color: var(--primary);
}

.phone-link-btn:hover {
    color: var(--accent);
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
}

.mobile-nav-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-nav-toggle.open .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-nav-toggle.open .bar:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.open .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Mobile Drawer Menu --- */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 98;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 130px 24px 30px;
    overflow-y: auto;
}

.mobile-drawer.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
}


/* ==========================================================================
   Hero Section - Screenshot Replicated
   ========================================================================== */
.hero-screenshot-style {
    position: relative;
    height: 520px;
    background: linear-gradient(135deg, #071624 0%, #15324d 50%, #1c4266 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    padding-bottom: 60px; /* offset for card overlap */
}

/* Dark overlay */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 22, 36, 0.35);
    z-index: 1;
}

/* Floating SVG graphics code in Hero background */
.floating-icons-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.06);
    font-size: 3.5rem;
    animation: floatUpDown 6s ease-in-out infinite alternate;
}

@keyframes floatUpDown {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

.icon-car { top: 12%; left: 15%; animation-delay: 0s; font-size: 4rem; }
.icon-cap { top: 15%; right: 18%; animation-delay: 1.5s; font-size: 3.8rem; }
.icon-briefcase { bottom: 35%; right: 12%; animation-delay: 3s; }
.icon-leaf { bottom: 40%; left: 10%; animation-delay: 0.8s; }
.icon-home { top: 45%; left: 45%; font-size: 2.2rem; opacity: 0.03; }

.hero-content-center {
    position: relative;
    z-index: 2;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.hero-subtitle .line {
    display: inline-block;
    width: 35px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.hero-main-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-main-title span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.1rem;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
}


/* ==========================================================================
   Teaser Overlap Cards Section
   ========================================================================== */
.teaser-overlap-section {
    position: relative;
    z-index: 5;
    margin-top: -110px; /* pushes card up to overlap hero bottom */
    padding-bottom: 60px;
}

.teaser-card {
    position: relative;
    padding: 40px 24px;
    text-align: center;
    color: var(--white);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.teaser-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Unique Background Colors matching screenshot exactly */
.card-personal { background-color: var(--card-personal-bg); }
.card-business { background-color: var(--card-business-bg); }
.card-home { background-color: var(--card-home-bg); }
.card-short-term { background-color: var(--card-short-term-bg); }

/* Watermark Numbers */
.teaser-watermark {
    position: absolute;
    bottom: -15px;
    right: 10px;
    font-family: var(--font-heading);
    font-size: 6.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}

/* Card Icons */
.teaser-icon {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 24px;
    z-index: 2;
    opacity: 0.9;
}

.teaser-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 16px;
    z-index: 2;
}

.teaser-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    z-index: 2;
}


/* ==========================================================================
   Intro Section - "Getting loan is easy with First Capital"
   ========================================================================== */
.intro-section {
    padding: 40px 0 80px;
}

.intro-heading {
    margin-bottom: 30px;
}

.intro-heading .sub-header {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #777777;
    margin-bottom: 8px;
    display: inline-block;
}

.intro-heading h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.intro-body-box {
    max-width: 820px;
    margin: 0 auto;
}

.intro-paragraph {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444444;
}


/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
    padding: 80px 0;
    background-color: var(--neutral-light);
}

.features-grid {
    margin-top: 40px;
}

.feature-box {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feat-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 0.9rem;
    color: #666666;
}


/* ==========================================================================
   Detailed Services Section
   ========================================================================== */
.services-section {
    padding: 80px 0;
}

.detailed-services {
    margin-top: 40px;
}

.detailed-card {
    background-color: #FAFCFD;
    padding: 30px;
    border-radius: 4px;
    border-left: 4px solid var(--primary);
}

.detailed-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.text-accent {
    color: var(--accent);
}

.detailed-card p {
    font-size: 0.9rem;
    color: #555555;
}


/* ==========================================================================
   EMI Calculator Section
   ========================================================================== */
.calculator-section {
    padding: 80px 0;
    background-color: var(--neutral-light);
}

.calculator-box {
    padding: 40px;
}

/* Tabs */
/* Buttons Grid */
.calc-buttons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.calc-btn {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    padding: 14px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.calc-btn i {
    font-size: 1.1rem;
}

.calc-btn:hover {
    background-color: #FAFCFD;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Active Highlight Colors matching category cards */
.calc-btn.active.active-personal {
    background-color: #98C152;
    border-color: #98C152;
    color: var(--white);
}

.calc-btn.active.active-business {
    background-color: #F1B136;
    border-color: #F1B136;
    color: var(--white);
}

.calc-btn.active.active-home {
    background-color: #FF5E36;
    border-color: #FF5E36;
    color: var(--white);
}

.calc-btn.active.active-short-term {
    background-color: #DD6B20;
    border-color: #DD6B20;
    color: var(--white);
}

.calc-btn.active.active-gold {
    background-color: #C5A059;
    border-color: #C5A059;
    color: var(--white);
}

.calc-btn.active.active-car {
    background-color: #1E3D59;
    border-color: #1E3D59;
    color: var(--white);
}

/* Sliders */
.calc-sliders {
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider-group {
    margin-bottom: 30px;
}

.slider-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.slider-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.slider-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary);
}

.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.08);
    outline: none;
    margin: 12px 0;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--white);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--accent-hover);
    box-shadow: 0 0 0 6px rgba(197, 160, 89, 0.15);
}

.range-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--white);
    cursor: pointer;
}

.slider-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #777777;
}

/* Results panel */
.calc-results {
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.emi-output-card {
    background-color: var(--primary);
    color: var(--white);
    width: 100%;
    padding: 24px;
    border-radius: 4px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.emi-output-card .emi-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 6px;
}

.emi-output-card .emi-amount {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
}

.results-breakdown {
    width: 100%;
    margin: 24px 0;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.breakdown-row .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.breakdown-row .bg-blue { background-color: var(--primary); }
.breakdown-row .bg-gold { background-color: var(--accent); }

.calc-divider {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin: 16px 0;
}

.text-total {
    font-size: 1rem;
    color: var(--primary);
}

/* Donut Chart Visual */
.chart-container {
    position: relative;
    width: 140px;
    height: 140px;
}

.donut-chart {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut-segment {
    transition: stroke-dasharray 0.35s ease;
}

.chart-center-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.chart-center-label .pct {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.chart-center-label .lbl {
    font-size: 0.7rem;
    color: #777777;
    text-transform: uppercase;
}


/* ==========================================================================
   Stepper Application Wizard Section
   ========================================================================== */
.apply-section {
    padding: 80px 0;
}

.apply-wizard-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
}

/* Progress Tracker */
.wizard-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    flex-grow: 1;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--neutral-light);
    border: 2px solid rgba(0, 0, 0, 0.08);
    color: #777777;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.step-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: #888888;
    transition: var(--transition);
}

.step-indicator.active .step-num {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.step-indicator.active .step-label {
    color: var(--primary);
}

.step-indicator.completed .step-num {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

.step-indicator.completed .step-label {
    color: var(--accent-hover);
}

.step-line {
    height: 2px;
    background-color: rgba(0, 0, 0, 0.06);
    flex-grow: 2;
    margin-bottom: 22px;
    position: relative;
}

.step-line.active {
    background-color: var(--accent);
}

/* Steps Content Panels */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    font-size: 1.35rem;
    margin-bottom: 24px;
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}

.wizard-nav-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 36px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 24px;
}

/* Step 3 Review box */
.review-details-box {
    background-color: var(--neutral-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 30px;
}

.review-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.review-lbl {
    font-size: 0.8rem;
    color: #666666;
    font-weight: 600;
}

.review-val {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.review-valHighlight {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-hover);
}

.terms-checkbox-group {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.terms-checkbox-group input {
    margin-top: 4px;
    cursor: pointer;
}

.terms-checkbox-group label {
    font-size: 0.85rem;
    color: #555555;
    line-height: 1.5;
    cursor: pointer;
}

/* Success panel screen */
.wizard-success-screen {
    text-align: center;
    padding: 20px 10px;
    animation: scaleIn 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 20px;
}

.wizard-success-screen h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.success-message {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 30px;
}

.success-steps {
    background-color: var(--neutral-light);
    border: 1px solid rgba(46, 125, 50, 0.15);
    border-radius: 4px;
    padding: 24px;
    max-width: 500px;
    margin: 0 auto 30px;
    text-align: left;
}

.success-steps h4 {
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--success);
}

.success-steps ol {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.success-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.85rem;
}

.success-steps li span {
    width: 20px;
    height: 20px;
    background-color: var(--success);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.72rem;
    flex-shrink: 0;
}


/* ==========================================================================
   Contacts & Offices Section
   ========================================================================== */
.contact-section {
    padding: 80px 0;
    background-color: #FAFCFD;
}

.offices-layout {
    margin-bottom: 50px;
}

.office-card {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    padding: 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.office-card:hover {
    box-shadow: var(--shadow-md);
}

.office-header {
    margin-bottom: 20px;
}

.office-badge {
    background-color: rgba(30, 61, 89, 0.08);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.gold-badge {
    background-color: rgba(197, 160, 89, 0.12);
    color: var(--accent-hover);
}

.office-card h3 {
    font-size: 1.45rem;
    letter-spacing: -0.5px;
}

.office-body {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-info-item .contact-icon {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

.contact-text {
    font-size: 0.9rem;
    color: #555555;
}

.call-link {
    font-weight: 700;
    color: var(--primary);
}

.call-link:hover {
    color: var(--accent);
}

/* Query Box */
.general-query-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
}

.general-query-box h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.query-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.query-success-msg {
    margin-top: 20px;
    color: var(--success);
    font-weight: 600;
    background-color: rgba(46, 125, 50, 0.08);
    border: 1px solid rgba(46, 125, 50, 0.15);
    border-radius: 4px;
    padding: 16px;
    animation: fadeIn 0.4s ease;
}


/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: #0d1b2a;
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 34px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.social-icons a:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-links h3, .footer-contact h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-links a i {
    font-size: 0.55rem;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.82rem;
}

.footer-contact li i {
    color: var(--accent);
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact li span {
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0 10px;
    font-size: 0.8rem;
}

.footer-legal-links {
    display: flex;
    gap: 12px;
}

.footer-legal-links a:hover {
    color: var(--accent);
}

.footer-legal-links .sep {
    color: rgba(255, 255, 255, 0.15);
}

.footer-disclaimer {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    line-height: 1.5;
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
    padding-top: 12px;
}


/* ==========================================================================
   Responsive Breakpoints & Media Queries
   ========================================================================== */

/* --- Tablet Landscape / Small Desktop (992px) --- */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .teaser-overlap-section {
        margin-top: -80px;
    }
    
    .hero-main-title span {
        font-size: 2.5rem;
    }
    
    .calc-results {
        border-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        padding-left: 0;
        padding-top: 30px;
    }
    
    .calc-sliders {
        padding-right: 0;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* --- Tablet Portrait (768px) --- */
@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .hero-screenshot-style {
        height: 420px;
        padding-bottom: 40px;
    }
    
    .teaser-overlap-section {
        margin-top: -60px;
    }
    
    .hero-main-title span {
        font-size: 2rem;
    }
    
    .intro-heading h2 {
        font-size: 2rem;
    }
    
    /* Navigation drawer menu active */
    .nav-menu {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .top-bar-left {
        display: none;
    }
    
    .top-bar .container {
        justify-content: center;
    }
    
    .calculator-box {
        padding: 24px;
    }
    
    .apply-wizard-wrapper {
        padding: 30px 20px;
    }
    
    .floating-icon {
        font-size: 2.5rem;
    }
}

/* --- Mobile Phone (576px) --- */
@media (max-width: 576px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .teaser-overlap-section {
        margin-top: -40px;
    }
    
    .hero-main-title span {
        font-size: 1.7rem;
    }
    
    .wizard-stepper {
        margin-bottom: 30px;
    }
    
    .step-label {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom .container-flex {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .calc-buttons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-bottom: 24px;
    }

    .calc-btn {
        flex-direction: column;
        padding: 10px 4px;
        font-size: 0.72rem;
        gap: 6px;
        text-align: center;
        border-radius: 4px;
    }

    .calc-btn i {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Repayment Flexibility Banner & Scroll to Top
   ========================================================================== */
.flexibility-banner-section {
    background-color: #F3A73C; /* Warm orange-yellow matching screenshot */
    position: relative;
    overflow: hidden;
    padding: 50px 0 0 0;
    width: 100%;
}

.flexibility-container {
    align-items: flex-end; /* Sits flush at bottom */
}

.flexibility-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.wave-shape-bg-1 {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.45);
    bottom: -60px;
    left: 12%;
    z-index: 1;
}

.wave-shape-bg-2 {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    bottom: -80px;
    left: 17%;
    z-index: 1;
}

.flexibility-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    max-height: 330px;
    border-radius: 200px 200px 0 0; /* Arch crop matching screenshot */
    object-fit: cover;
}

.flexibility-content {
    padding-bottom: 50px;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flexibility-subtitle {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
    display: inline-block;
}

.flexibility-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.15;
}

.flexibility-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.flexibility-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.flex-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.flex-bg-blue { background-color: #1E3D59; }
.flex-bg-green { background-color: #4E8A3C; }
.flex-bg-gold { background-color: #D69E2E; }
.flex-bg-orange { background-color: #DD6B20; }

.flex-text {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Floating WhatsApp button */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: #25D366; /* WhatsApp Green */
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-sticky:hover {
    background-color: #20ba5a;
    transform: translateY(-4px) scale(1.05);
    color: var(--white);
}

/* Scroll to Top button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: #7BB661; /* Green box from screenshot */
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.scroll-to-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-to-top-btn:hover {
    background-color: var(--primary);
    transform: translateY(-4px);
    color: var(--white);
}

@media (max-width: 768px) {
    .flexibility-banner-section {
        padding: 50px 0 30px 0;
    }
    
    .flexibility-container {
        grid-template-columns: 1fr;
        align-items: center;
        text-align: center;
    }
    
    .flexibility-img {
        max-height: 280px;
        order: 2; /* Put image under text on mobile */
    }
    
    .flexibility-content {
        order: 1;
        padding-bottom: 30px;
        align-items: center;
    }
    
    .flexibility-list {
        align-items: flex-start;
        text-align: left;
    }
    
    .flexibility-title {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   Loan Services - Screenshot Replicated
   ========================================================================== */
.services-section-screenshot {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.services-section-screenshot h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.service-cards-wrapper {
    margin-top: 40px;
}

.screenshot-service-card {
    background-color: var(--white);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.screenshot-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Card Borders */
.card-personal-border { border: 1px solid #98C152; }
.card-business-border { border: 1px solid #F1B136; }
.card-home-border { border: 1px solid #FF5E36; }

/* Image Box */
.screenshot-service-img-box {
    width: 100%;
    height: 210px;
    overflow: hidden;
    position: relative;
}

.screenshot-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.screenshot-service-card:hover .screenshot-service-img {
    transform: scale(1.06);
}

/* Title Strips */
.screenshot-service-title-bar {
    text-align: center;
    padding: 12px 10px;
}

.screenshot-service-title-bar h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    letter-spacing: 0.5px;
}

.bg-lime-green { background-color: #98C152; }
.bg-mustard-yellow { background-color: #F1B136; }
.bg-vermillion-orange { background-color: #FF5E36; }

/* Card Body Content */
.screenshot-service-body {
    padding: 30px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.screenshot-service-body h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
    line-height: 1.35;
}

.screenshot-service-body p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* Colored Buttons */
.screenshot-service-btn {
    display: inline-block;
    padding: 10px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-lime-green {
    border: 2px solid #98C152;
    color: #98C152;
    background-color: transparent;
}
.btn-lime-green:hover {
    background-color: #98C152;
    color: var(--white);
}

.btn-mustard-yellow {
    border: 2px solid #F1B136;
    color: #F1B136;
    background-color: transparent;
}
.btn-mustard-yellow:hover {
    background-color: #F1B136;
    color: var(--white);
}

.btn-vermillion-orange {
    border: 2px solid #FF5E36;
    color: #FF5E36;
    background-color: transparent;
}
.btn-vermillion-orange:hover {
    background-color: #FF5E36;
    color: var(--white);
}

@media (max-width: 992px) {
    .service-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-cards-wrapper {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 40px auto 0;
    }
}

/* ==========================================================================
   Vibrant Color Enhancements (Making the website "colour full")
   ========================================================================== */

/* --- Dynamic Background Color Blobs --- */
.blob-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    opacity: 0.14; /* soft but visible */
    pointer-events: none;
}

.blob-1 {
    top: 500px;
    left: -150px;
    background: radial-gradient(circle, #98C152 0%, transparent 75%); /* Lime Green */
}

.blob-2 {
    top: 1500px;
    right: -150px;
    background: radial-gradient(circle, #F1B136 0%, transparent 75%); /* Mustard Yellow */
}

.blob-3 {
    bottom: 800px;
    left: 10%;
    background: radial-gradient(circle, #FF5E36 0%, transparent 75%); /* Vermillion Orange */
}

/* --- Hero Section Floating Icons Coloring --- */
.floating-icons-container .icon-car { color: rgba(152, 193, 82, 0.28); }
.floating-icons-container .icon-cap { color: rgba(30, 61, 89, 0.28); }
.floating-icons-container .icon-briefcase { color: rgba(241, 177, 54, 0.28); }
.floating-icons-container .icon-leaf { color: rgba(78, 138, 60, 0.28); }

/* --- Why First Capital Features Section Colorful Icons --- */
.features-grid .feature-box:nth-child(1) .feat-icon { color: #98C152; }
.features-grid .feature-box:nth-child(2) .feat-icon { color: #F1B136; }
.features-grid .feature-box:nth-child(3) .feat-icon { color: #FF5E36; }

/* --- Detailed Services Cards Left Border Colors --- */
.detailed-services .detailed-card:nth-child(1) { border-left: 4px solid #98C152; }
.detailed-services .detailed-card:nth-child(2) { border-left: 4px solid #F1B136; }
.detailed-services .detailed-card:nth-child(3) { border-left: 4px solid #FF5E36; }
.detailed-services .detailed-card:nth-child(4) { border-left: 4px solid #1E3D59; }

/* --- EMI Calculator Custom Colorful Sliders & Thumbs --- */
/* Amount Slider (Green Accent) */
#slide-amount::-webkit-slider-thumb {
    background: #98C152 !important;
}
#slide-amount::-webkit-slider-thumb:hover {
    background: #7ba23c;
    box-shadow: 0 0 0 6px rgba(152, 193, 82, 0.15);
}
#slide-amount::-moz-range-thumb {
    background: #98C152 !important;
}
#val-amount {
    color: #98C152 !important;
}

/* Interest Slider (Yellow Accent) */
#slide-interest::-webkit-slider-thumb {
    background: #F1B136 !important;
}
#slide-interest::-webkit-slider-thumb:hover {
    background: #d49524;
    box-shadow: 0 0 0 6px rgba(241, 177, 54, 0.15);
}
#slide-interest::-moz-range-thumb {
    background: #F1B136 !important;
}
#val-interest {
    color: #F1B136 !important;
}

/* Tenure Slider (Orange Accent) */
#slide-tenure::-webkit-slider-thumb {
    background: #FF5E36 !important;
}
#slide-tenure::-webkit-slider-thumb:hover {
    background: #e04a22;
    box-shadow: 0 0 0 6px rgba(255, 94, 54, 0.15);
}
#slide-tenure::-moz-range-thumb {
    background: #FF5E36 !important;
}
#val-tenure {
    color: #FF5E36 !important;
}

/* Active dynamic styles are handled above in the .calc-btn rules */

/* --- Stepper Active Circle Indicators --- */
#step-ind-1.active .step-num {
    background-color: #98C152 !important;
    border-color: #98C152 !important;
    color: var(--white) !important;
}
#step-ind-1.active .step-label {
    color: #98C152 !important;
}

#step-ind-2.active .step-num {
    background-color: #F1B136 !important;
    border-color: #F1B136 !important;
    color: var(--white) !important;
}
#step-ind-2.active .step-label {
    color: #F1B136 !important;
}

#step-ind-3.active .step-num {
    background-color: #FF5E36 !important;
    border-color: #FF5E36 !important;
    color: var(--white) !important;
}
#step-ind-3.active .step-label {
    color: #FF5E36 !important;
}

/* --- Office Cards Bottom Borders --- */
.offices-layout .office-card:nth-child(1) {
    border-bottom: 4px solid var(--primary) !important;
}
.offices-layout .office-card:nth-child(2) {
    border-bottom: 4px solid var(--accent) !important;
}

/* ==========================================================================
   Sub-page Layouts & Mobile Sticky Footer Navigation
   ========================================================================== */

/* Page Header Banner */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #2A527A 100%);
    padding: 60px 0 40px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 2.2rem;
    color: var(--white) !important;
    margin-bottom: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.page-header p a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.page-header p a:hover {
    color: var(--white);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #98C152, #F1B136, #FF5E36);
}

/* Mobile Sticky Footer */
.mobile-sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none; /* Hidden on desktop */
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666666;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    transition: var(--transition);
    gap: 4px;
    flex: 1;
    height: 100%;
}

.mobile-footer-item i {
    font-size: 1.15rem;
    transition: var(--transition);
}

.mobile-footer-item:hover,
.mobile-footer-item.active {
    color: var(--primary);
}

.mobile-footer-item.active i {
    color: var(--accent);
    transform: translateY(-2px);
}

/* Adjust page padding bottom on mobile to prevent content clipping */
@media (max-width: 768px) {
    .mobile-sticky-footer {
        display: flex;
    }
    body {
        padding-bottom: 75px;
    }
    .whatsapp-sticky {
        bottom: 85px; /* floats above the 65px mobile sticky footer */
        left: 20px;
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }
    .scroll-to-top-btn {
        bottom: 85px; /* floats above the 65px mobile sticky footer */
        right: 20px;
    }
}

/* ==========================================================================
   New 3-Column EMI Calculator Layout Styles
   ========================================================================== */
.emi-calc-body-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
    text-align: left;
}

.emi-inputs-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.emi-card-header {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 12px;
}

.emi-form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.emi-form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #444444;
    margin-bottom: 8px;
}

.emi-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    transition: var(--transition);
    height: 45px;
}

.emi-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 61, 89, 0.08);
}

.emi-addon {
    background: rgba(0, 0, 0, 0.03);
    color: #666666;
    padding: 0 14px;
    font-weight: 600;
    font-size: 0.95rem;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
    min-width: 44px;
}

.emi-input-wrapper input {
    border: none;
    outline: none;
    padding: 0 16px;
    width: 100%;
    height: 100%;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    font-family: var(--font-heading);
    box-sizing: border-box;
}

.emi-tenure-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.emi-tenure-wrapper .emi-input-wrapper {
    flex: 1;
}

.emi-toggle-buttons {
    display: flex;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    height: 45px;
    flex-shrink: 0;
}

.emi-toggle-btn {
    border: none;
    outline: none;
    background: #ffffff;
    color: #666666;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0 15px;
    cursor: pointer;
    transition: var(--transition);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emi-toggle-btn.active {
    background: var(--primary);
    color: #ffffff;
}

.emi-toggle-btn:hover:not(.active) {
    background: rgba(0, 0, 0, 0.02);
}

/* Column 2: Results Display */
.emi-results-display {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 10px 20px;
}

.emi-result-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
}

.emi-result-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.emi-result-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #777777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.emi-result-label small {
    font-size: 0.75rem;
    text-transform: none;
    color: #999999;
    letter-spacing: 0;
    display: inline-block;
    margin-top: 2px;
}

.emi-result-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

#result-emi {
    font-size: 2.2rem;
    color: #98C152; /* Accent green color for the main EMI */
}

/* Column 3: Chart Breakdown */
.emi-chart-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
}

.emi-chart-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.emi-chart-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 24px;
}

.emi-donut-chart {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.emi-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    text-align: left;
    max-width: 240px;
    margin: 0 auto;
}

.emi-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #555555;
}

.emi-legend-item strong {
    font-weight: 700;
    color: #222222;
}

.legend-color-box {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
    flex-shrink: 0;
}

.principal-bg {
    background-color: #98C152;
}

.interest-bg {
    background-color: #F1B136;
}

/* Responsive Overrides for new calculator layout */
@media (max-width: 992px) {
    .emi-calc-body-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .emi-results-display {
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding-top: 30px;
        padding-left: 0;
        padding-right: 0;
    }
    
    .emi-chart-section {
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding-top: 30px;
    }
}

/* ==========================================================================
   Quick and Simple Process Section Styles
   ========================================================================== */
.process-section {
    padding: 80px 0;
    background-color: #FAFCFD;
}

.process-grid {
    margin-top: 45px;
    gap: 30px;
}

.process-card {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Borders matching image */
.card-blue-border {
    border: 1px solid #1E3D59;
}
.card-green-border {
    border: 1px solid #98C152;
}
.card-orange-border {
    border: 1px solid #F1B136;
}

/* Card Header */
.process-card-header {
    padding: 16px 20px;
    text-align: center;
}

.process-card-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff !important;
}

.bg-navy-blue {
    background-color: #1E3D59;
}
.bg-lime-green {
    background-color: #98C152;
}
.bg-mustard-yellow {
    background-color: #F1B136;
}

/* Card Body */
.process-card-body {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-grow: 1;
    text-align: center;
}

.process-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: #555555;
    margin: 0;
}

.process-sub-title {
    font-size: 0.9rem;
    color: #777777;
    margin: 0;
    font-weight: 500;
}

.process-sub-title.font-bold {
    font-weight: 700;
    color: #222222;
    font-size: 0.95rem;
    margin-top: 8px;
}

.process-sub-title.font-medium {
    font-weight: 700;
    color: #222222;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.process-highlight {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #555555;
    margin: 4px 0;
}

.process-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #777777;
    margin: 0;
}

/* Tablet / Mobile view responsive stacking */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 30px auto 0;
    }
}

/* ==========================================================================
   Navigation Dropdown Menu (Desktop Hover)
   ========================================================================== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--accent);
    border-radius: 0 0 6px 6px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 999;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    width: 100%;
    margin: 0 !important;
}

.dropdown-menu li a {
    padding: 10px 24px;
    display: block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    text-align: left;
}

.dropdown-menu li a:hover {
    background-color: rgba(30, 61, 89, 0.04);
    color: var(--accent-hover);
    padding-left: 28px;
}

.nav-arrow {
    font-size: 0.65rem;
    margin-left: 5px;
    transition: var(--transition);
    vertical-align: middle;
}

.dropdown:hover .nav-arrow {
    transform: rotate(180deg);
    color: var(--accent);
}

/* Mobile Navigation Sub-items */
.mobile-sub-item {
    margin-top: -10px;
}

.mobile-sub-item a {
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: var(--primary) !important;
    text-transform: none;
}

.mobile-sub-item a i {
    font-size: 0.7rem;
    margin-right: 4px;
    color: var(--accent);
}

/* ==========================================================================
   Service Sub-pages Common Styles
   ========================================================================== */
.details-section {
    padding: 70px 0;
    background-color: #FAFCFD;
}

.details-grid {
    display: grid;
    grid-template-columns: 1.7fr 1.3fr;
    gap: 45px;
}

.details-main-content h2 {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
}

.details-main-content h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 35px;
    margin-bottom: 15px;
}

.details-main-content p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 20px;
}

/* Document & Eligibility List Card */
.checklist-wrapper {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.checklist-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checklist-title i {
    color: var(--accent);
}

.custom-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 0;
}

.custom-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #555555;
    text-align: left;
}

.custom-checklist li i {
    color: #98C152; /* Lime Green checklist bullet */
    font-size: 1.05rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Sidebar Apply Widget */
.sidebar-apply-card {
    background: linear-gradient(135deg, var(--primary) 0%, #2A527A 100%);
    border-radius: 8px;
    padding: 35px 30px;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-apply-card h3 {
    color: var(--white) !important;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.25;
}

.sidebar-apply-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.sidebar-apply-card .btn-accent {
    width: 100%;
    text-align: center;
    display: inline-block;
}

/* FAQ Accordion Component */
.faq-accordion-container {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
    background: #ffffff;
    transition: var(--transition);
    text-align: left;
}

.faq-question:hover {
    background: rgba(30, 61, 89, 0.02);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666666;
    text-align: left;
}

.faq-answer p {
    padding-bottom: 18px;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 5px;
}

.faq-item.active .faq-question {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--accent-hover);
}

.faq-icon-arrow {
    transition: transform 0.3s ease;
    font-size: 0.85rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-left: 10px;
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(180deg);
    color: var(--accent-hover);
}

/* Eligibility Criteria Matrix Grid/Table */
.eligibility-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: #ffffff;
}

.eligibility-table th, .eligibility-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
}

.eligibility-table th {
    background-color: rgba(30, 61, 89, 0.03);
    font-weight: 700;
    color: var(--primary);
}

.eligibility-table td {
    color: #555555;
}

/* General Layouts & Text Alignments */
.text-left {
    text-align: left !important;
}

@media (max-width: 992px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .sidebar-apply-card {
        position: relative;
        top: 0;
        margin-top: 10px;
    }
}
