
footer a:hover {
    color: var(--gold) !important;
    opacity: 1 !important;
    transition: 0.3s;
}


Why this Foot
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    align-items: center;
    justify-items: center;
    opacity: 0.8;
}

.bank-logo {
    background: #f9f9f9;
    padding: 15px 25px;
    border-radius: 8px;
    border: 1px solid #eee;
    font-weight: 700;
    color: #555;
    width: 100%;
    text-align: center;
    transition: 0.3s;
}

.bank-logo:hover {
    opacity: 1;
    border-color: #cfaa43;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
/* Consolidated FAQ Styles */
    .accordion-item {
        border: 1px solid #eee;
        border-radius: 8px;
        margin-bottom: 10px;
        background: #f9f9f9;
        transition: all 0.3s ease;
    }
    .accordion-header {
        padding: 20px;
        font-weight: 600;
        color: #1b5e20; /* Primary Green */
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, padding 0.3s ease;
        background: white;
        padding: 0 20px; /* No vertical padding when closed */
    }
    .accordion-item.active {
        border-color: #cfaa43; /* Gold border when open */
    }
    .accordion-item.active .accordion-content {
        padding: 20px; /* Padding returns when open */
    }
    .accordion-header .icon {
        color: #cfaa43;
        font-size: 1.5rem;
        transition: transform 0.3s;
    }
    .accordion-item.active .icon {
        transform: rotate(45deg);
    }
.privacy-note {
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px;
    background: #f8fdf8;
    border-radius: 5px;
}

.privacy-note span {
    font-size: 0.75rem;
    color: #555;
    line-height: 1.4;
    text-align: left;
}
/* Modal Styling */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: slideUp 0.4s ease;
}

.gauge-container { position: relative; margin: 30px 0; }

.score-display {
    position: absolute;
    top: 60%; left: 50%;
    transform: translate(-50%, -50%);
}

#finalScore { font-size: 3rem; font-weight: 800; color: #1b5e20; display: block; }
#scoreStatus { font-weight: 700; text-transform: uppercase; margin: 0; }

.score-insights { background: #f9f9f9; padding: 15px; border-radius: 10px; margin-bottom: 20px; font-size: 0.9rem; }

@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 25px; cursor: pointer; }
.credit-hero {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
    padding: 60px 0;
    color: white;
}

.credit-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.credit-info { flex: 1; min-width: 300px; }
.credit-info h1 { font-size: 2.8rem; margin: 15px 0; line-height: 1.2; }
.highlight { color: #cfaa43; }

.credit-card-form {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.form-row { display: flex; gap: 15px; margin-bottom: 15px; }
.form-row input, .form-row select {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.score-btn {
    width: 100%;
    padding: 15px;
    background: #cfaa43;
    color: black;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.score-btn:hover { background: #e0b84c; transform: translateY(-2px); }
.disclaimer { font-size: 0.7rem; color: #666; margin-top: 10px; text-align: center; }

@media (max-width: 768px) { .form-row { flex-direction: column; } }
/* Navigation Styling */
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: #1b5e20; }
.logo span { color: #cfaa43; }

.nav-links { list-style: none; display: flex; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: #333; font-weight: 600; font-size: 0.9rem; }

/* Dropdown Logic */
.dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 10px; /* This acts as a bridge */
    margin-bottom: -10px; /* Offsets the bridge so layout doesn't shift */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 240px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.15);
    z-index: 1001;
    border-radius: 8px;
    top: 100%; /* Ensures it starts exactly at the bottom of the parent */
    left: 0;
    border: 1px solid #eee;
}

/* This ensures the menu stays open when hovering the content itself */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    display: block;
    border-bottom: 1px solid #eee;
}
.dropdown-content a:hover { background-color: #f1f8e9; color: #1b5e20; }


.nav-whatsapp { 
    background: #25d366; 
    color: white !important; 
    padding: 8px 15px; 
    border-radius: 5px; 
}
/* Keep your Variable and Navbar styles from previous step */
:root {
    --primary: #007f38;
    --primary-dark: #005224;
    --gold: #cfaa43;
    --text: #333;
    --light-bg: #f8fcf8;
    --white: #fff;
    --error: #e74c3c;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background: var(--light-bg); color: var(--text); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; }

/* Navbar */
.navbar { background: var(--white); padding: 10px 0; box-shadow: 0 2px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 60px; }
.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }
.btn-nav { background: var(--primary); color: white !important; padding: 8px 20px; border-radius: 5px; }

/* --- UPDATED HERO SECTION --- */
.hero {
    /* Height reduced to 450px as requested */
    height: 450px; 
    position: relative;
    overflow: hidden;
    color: white;
}

/* Slider logic */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active { opacity: 1; }

/* Overlay ensures text is readable over changing images */
.hero-overlay {
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, rgba(0,60,20,0.9) 0%, rgba(0,60,20,0.4) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content { position: relative; max-width: 600px; }
.hero h1 { font-size: 2.8rem; line-height: 1.2; margin: 15px 0; }
.badge { background: var(--gold); color: #000; padding: 5px 10px; font-size: 0.8rem; font-weight: bold; border-radius: 3px; }
.highlight { color: var(--gold); }
.btn-primary { background: var(--gold); color: #000; padding: 12px 30px; border-radius: 5px; font-weight: 600; border: none; cursor: pointer; display: inline-block; }

/* --- SERVICES (Same as before but grid ensures they fit) --- */
.services-section { padding: 60px 0; }
.section-title { text-align: center; color: var(--primary); font-size: 2.2rem; margin-bottom: 10px; }
.section-subtitle { text-align: center; margin-bottom: 40px; color: #666; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.service-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s; }
.service-card:hover { transform: translateY(-5px); }
.card-image { height: 180px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-content { padding: 20px; }
.card-content h3 { color: var(--primary-dark); margin-bottom: 8px; font-size: 1.2rem; }
.card-content p { color: #555; font-size: 0.9rem; }

/* --- BANNER STYLES (Small Height + Rotating) --- */
.main-hero-banner {
    height: 350px;
    position: relative;
    overflow: hidden;
}
.banner-slider { position: absolute; width: 100%; height: 100%; }
.b-slide {
    position: absolute; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.5s ease;
}
.b-slide.active { opacity: 1; }
.banner-overlay {
    position: absolute; z-index: 5; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); display: flex; align-items: center;
    color: white;
}
.banner-text h1 { font-size: 2.8rem; margin: 15px 0; }

/* --- CALCULATOR STYLES (Reverted to Version 1 Fonts/Styles) --- */
.emi-calc-section { padding: 80px 0; background: #fff; }

.original-calc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #f4f7f6; /* Original Light Grey */
    padding: 40px;
    border-radius: 15px;
    font-family: 'Inter', sans-serif;
}

.calc-group { margin-bottom: 20px; }
.calc-group label { display: block; margin-bottom: 8px; font-weight: 700; color: #333; }
.calc-group input { 
    width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; font-size: 1rem; 
}

.calc-trigger-btn {
    width: 100%; padding: 15px; background: #1b5e20; color: white;
    border: none; border-radius: 5px; font-weight: 700; cursor: pointer;
}

.calc-results-display {
    text-align: center;
    background: #1b5e20; /* Original Deep Green */
    color: white;
    padding: 50px;
    border-radius: 10px;
}

.big-emi-value { font-size: 3.5rem; font-weight: 800; color: #4caf50; margin: 15px 0; }
.breakdown-details p { margin: 10px 0; font-size: 1.2rem; opacity: 0.9; }

@media (max-width: 768px) {
    .original-calc-layout { grid-template-columns: 1fr; }
}
/* --- Rest of CSS (Calculator, Contact, Footer) remains same --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-card, .contact-form-card { background: white; padding: 40px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.info-item { display: flex; align-items: center; gap: 15px; margin: 20px 0; font-size: 1.1rem; }
.usp-box { background: #e8f5e9; padding: 20px; border-radius: 10px; color: var(--primary-dark); font-weight: 600; margin-top: 30px; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; outline: none; transition: 0.3s; }
.form-group input:focus { border-color: var(--primary); }
.form-group input.invalid { border-color: var(--error); background: #fff8f8; }
.error-msg { color: var(--error); font-size: 0.85rem; display: none; margin-top: 5px; }
.full-width { width: 100%; }

.calculator-wrapper { background: white; padding: 40px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); display: flex; gap: 40px; flex-wrap: wrap; }
.calc-inputs { flex: 1; }
.calc-results { flex: 1; background: var(--primary); color: white; padding: 30px; border-radius: 10px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.btn-calc { background: var(--primary-dark); color: white; padding: 12px; border: none; width: 100%; border-radius: 5px; cursor: pointer; font-size: 1rem; margin-top: 10px; }
.btn-calc:hover { background: #003314; }

footer { background: #1a1a1a; color: #888; text-align: center; padding: 20px 0; margin-top: 50px; }

@media(max-width: 768px) {
    .nav-links { display: none; }
    .hero { height: auto; padding: 60px 0; }
    .hero-slider { display: none; } /* Optional: hide slider on mobile to save data, or keep it */
    .hero { background: var(--primary-dark); } /* Fallback background */
    .contact-grid, .calculator-wrapper { grid-template-columns: 1fr; }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    text-decoration: none;
}

.whatsapp-content {
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: pulse 2s infinite;
}

.wa-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Hover Tooltip */
.wa-tooltip {
    position: absolute;
    right: 75px;
    background-color: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Pulsing Animation */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}