/* 
 * Shriram Park 63 - Updated Stylesheet with Accessibility Fixes
 * Version: 2.1.0 - Accessibility Enhanced
 */
 
 /* ========================================
   MOBILE PERFORMANCE OPTIMIZATIONS
   ======================================== */

/* Disable animations on mobile for better performance */
@media (max-width: 768px) {
    /* Disable AOS animations on mobile */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    /* Simplify transitions on mobile */
    * {
        transition-duration: 0.1s !important;
    }
    
    /* Reduce box shadows on mobile */
    .hero,
    .contact-form,
    .loan-calculator-widget,
    .highlight-card,
    .testimonial-card {
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }
    
    /* Optimize fonts on mobile */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeSpeed;
    }
    
    /* Reduce blur effects on mobile */
    .offer-item {
        backdrop-filter: none !important;
    }
    
    /* Simpler gradients on mobile */
    .hero,
    .offer-content-wrapper {
        background: var(--primary-color) !important;
    }
    
    /* Disable parallax/fixed backgrounds on mobile */
    .hero {
        background-attachment: scroll !important;
    }
}

/* Prevent layout shift */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hardware acceleration for smoother scrolling */
.hero,
nav,
.sticky-footer {
    transform: translateZ(0);
    will-change: transform;
}

/* Optimize for mobile scrolling */
@media (max-width: 768px) {
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Reduce padding on mobile */
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    /* Smaller fonts on mobile */
    h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    
    h2 {
        font-size: 18px !important;
    }
    
    h3 {
        font-size: 16px !important;
    }
}

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #FFC107;
    --accent-color: #FFD54F;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --text-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #0D1B2A;
    --white: #FFFFFF;
    --yellow-light: #FFF8E1;
    --luxury-gold: #D4AF37;
    --premium-navy: #0F2744;
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    --shadow-light: rgba(0,0,0,0.08);
    --shadow-medium: rgba(0,0,0,0.12);
    --shadow-dark: rgba(0,0,0,0.24);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:not(html):not(body) {
    max-width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    font-weight: 400;
    padding-bottom: 70px;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

section, div, main, header, footer, nav {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

/* ===========================
   Accessibility
   =========================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    overflow-x: hidden;
}

section {
    width: 100%;
    overflow-x: hidden;
}

/* ===========================
   Navigation
   =========================== */
nav {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 2px 15px var(--shadow-light);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 4px 20px var(--shadow-medium);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 45px;
}

.nav-logo img {
    height: 100%;
    width: auto;
}

.logo-separator {
    color: var(--text-light);
    font-size: 20px;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    transition: all 0.3s;
    font-weight: 500;
    font-size: 14px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-call {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--text-dark);
    border-radius: 20px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 13px;
}

.btn-call:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255,193,7,0.3);
}

.btn-primary {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--text-dark);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255,193,7,0.3);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,193,7,0.4);
}

.btn-outline {
    background: var(--white) !important;
    border: 2px solid var(--secondary-color);
    color: var(--text-dark) !important;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    padding: 5px;
}

.mobile-emi-btn {
    display: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s;
    border-radius: 2px;
}


/* ===================================
   CRITICAL FIXES - November 2025
   =================================== */

/* FIX 1: Mobile Hero Feature Cards */
.hero-features-mobile {
    display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
    /* Hide desktop list on mobile */
    .hero-features-desktop {
        display: none !important;
    }
    
    /* Show mobile cards */
    .hero-features-mobile {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin: 20px 0 25px 0;
    }
    
    .feature-card-mobile {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        padding: 15px 12px;
        display: flex;
        align-items: center;
        gap: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .feature-card-mobile:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
    
    .feature-icon-mobile {
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #FFC107, #FF9800);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1e3a5f;
        font-size: 18px;
    }
    
    .feature-content-mobile h4 {
        font-size: 13px;
        font-weight: 700;
        color: #1e3a5f;
        margin: 0 0 3px 0;
        line-height: 1.2;
    }
    
    .feature-content-mobile p {
        font-size: 11px;
        color: #666;
        margin: 0;
        line-height: 1.3;
    }
}


/* FIX 3: Mobile Navbar Phone Number */
@media (max-width: 768px) {
    .nav-container {
        padding: 12px 15px;
    }
    
    .nav-logo img {
        height: 40px;
        width: auto;
    }
    
    /* Add phone to mobile nav */
    .mobile-phone-nav {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        margin-right: 10px;
    }
    
    .mobile-phone-btn {
        background: linear-gradient(135deg, #25D366, #128C7E);
        color: white;
        border: none;
        padding: 8px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 5px;
        box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
        transition: all 0.3s ease;
    }
    
    .mobile-phone-btn:hover,
    .mobile-phone-btn:active {
        background: linear-gradient(135deg, #128C7E, #25D366);
        transform: scale(1.05);
    }
    
    .mobile-phone-btn i {
        font-size: 12px;
    }
}

/* Desktop - hide mobile phone */
@media (min-width: 769px) {
    .mobile-phone-nav {
        display: none;
    }
}

/* ===================================
   ADDITIONAL MOBILE OPTIMIZATIONS
   =================================== */

@media (max-width: 768px) {
    /* Hero section mobile */
    .hero {
        padding-top: 120px;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 20px;
    }
    
    .hero-content h1 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .hero-content h2 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    /* Contact form mobile */
    .contact-form {
        padding: 20px;
    }
    
    .contact-form h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    /* Floating banner mobile */
    .floating-banner {
        top: 60px;
        font-size: 12px;
        padding: 10px 15px;
    }
}



/* ===========================
   Sticky Footer
   =========================== */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 8px;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.sticky-footer-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    width: 100%;
    overflow-x: hidden;
}

.sticky-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--secondary-color);
    color: var(--text-dark);
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 13px;
    flex: 1;
    justify-content: center;
    max-width: 200px;
}

.sticky-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255,193,7,0.3);
}

.sticky-btn.whatsapp {
    background: var(--whatsapp-dark);
    border-color: var(--whatsapp-dark);
    color: var(--white);
}

.sticky-btn.whatsapp:hover {
    background: #075E54;
    border-color: #075E54;
    box-shadow: 0 6px 15px rgba(18,140,126,0.3);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    margin-top: 65px;
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #1e3a5f 0%, #1a4d7a 50%, #0d2e4d 100%);
    position: relative;
    overflow: hidden;
}

.floating-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    padding: 12px 20px;
    box-shadow: 0 6px 20px rgba(255,193,7,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: pulse 2s infinite;
    z-index: 10;
    color: var(--text-dark);
    font-weight: 600;
    text-align: center;
    font-size: 14px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 50px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--accent-color);
    font-size: 13px;
    background: rgba(255,193,7,0.1);
    padding: 6px 12px;
    border-radius: 20px;
}

.hero-content h1 {
    font-size: 2.4rem;
    color: var(--text-white);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content h2 {
    font-size: 1.15rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.hero-features {
    list-style: none;
    margin: 20px 0;
}

.hero-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    font-size: 14px;
    line-height: 1.5;
    flex-wrap: wrap;
}

.hero-features li::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 16px;
    background: rgba(255,193,7,0.2);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-highlight {
    color: var(--secondary-color);
    font-weight: 600;
    white-space: nowrap;
}

.feature-text {
    color: var(--text-white);
    flex: 1;
}

.hero-cta {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.hero-cta .btn-primary {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
    justify-content: center;
}

/* ===========================
   Contact Form
   =========================== */
.contact-form {
    background: var(--white);
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 16px 16px 0 0;
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.form-subtitle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.form-subtitle p {
    color: var(--text-light);
    font-size: 13px;
    margin: 0;
}

.or-divider {
    color: var(--text-light);
    font-size: 12px;
    font-weight: 500;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    background: var(--whatsapp-dark);
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s;
}

.whatsapp-link:hover {
    background: #075E54;
    transform: scale(1.05);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 13px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    background: var(--bg-light);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255,193,7,0.1);
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--text-dark);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255,193,7,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,193,7,0.4);
}

.form-disclaimer {
    font-size: 10px;
    color: var(--text-light);
    margin-top: 12px;
    text-align: center;
    line-height: 1.3;
}

.form-stats {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    width: 100%;
    box-sizing: border-box;
}

.form-stat-item {
    text-align: center;
    flex: 1;
}

.form-stat-item strong {
    display: block;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 4px;
}

.form-stat-item span {
    font-size: 10px;
    color: var(--text-light);
}

/* ===========================
   Section Headers
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h1 {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header h1.secondary-heading {
    color: var(--primary-color);
    margin-top: -10px;
    font-weight: 700;
}

.section-header h2 {
    font-size: 1rem;
    color: #5a6c7d;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* ===========================
   Project Highlights
   =========================== */
.project-highlights {
    padding: 50px 0;
    background: var(--white);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.highlight-card {
    background: var(--white);
    padding: 28px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.highlight-card:hover::before {
    transform: scaleX(1);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--yellow-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 24px;
    transition: all 0.3s;
}

.highlight-card:hover .highlight-icon {
    transform: scale(1.1);
    background: var(--secondary-color);
    color: var(--white);
}

.highlight-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.highlight-card p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.5;
}

/* ===========================
   Offer & EMI Section
   =========================== */
.offer-emi-section {
    padding: 50px 0;
    background: var(--bg-light);
}

.offer-emi-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.loan-calculator-widget {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 2px solid var(--secondary-color);
}

.loan-calculator-widget h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.calculator-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 25px;
}

.calculator-inputs {
    display: grid;
    gap: 20px;
    margin-bottom: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 13px;
}

.input-group input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
}

.input-group input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    border: none;
}

.input-group output {
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.calculator-result {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
}

.emi-display {
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 8px;
    margin-bottom: 16px;
}

.emi-label {
    display: block;
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-weight: 500;
}

.emi-amount {
    display: block;
    font-size: 30px;
    font-weight: 700;
    color: var(--text-dark);
}

.emi-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-size: 13px;
}

.breakdown-item.total {
    border-bottom: none;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 15px;
    border-top: 2px solid var(--secondary-color);
    padding-top: 12px;
}

.offer-content-wrapper {
    background: linear-gradient(135deg, #1a4d7a, #0d2e4d);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.offer-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--text-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-content-wrapper h2 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 700;
}

.offer-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.offer-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.offer-icon {
    width: 45px;
    height: 45px;
    background: var(--yellow-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.offer-text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--white);
}

.offer-text p {
    color: var(--white);
    font-size: 13px;
    line-height: 1.5;
}

.offer-cta {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--whatsapp-dark);
    color: var(--white);
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(18,140,126,0.3);
}

.btn-whatsapp-large:hover {
    background: #075E54;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18,140,126,0.4);
}

.offer-note {
    margin-top: 10px;
    font-size: 12px;
    color: #f0f0f0;
    font-style: italic;
}
/* ===========================
   Location Advantages - WITH INTERACTIVE MAP
   =========================== */

.location-advantages {
    padding: 50px 0;
    background: var(--white);
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 30px;
}

/* ===========================
   Interactive Map Container
   =========================== */

.location-map-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    height: 100%;
    min-height: 600px;
    background: var(--bg-light);
}

.location-map-container iframe {
    width: 100%;
    height: 600px;
    border: 0;
    display: block;
    border-radius: 16px;
}

/* Map Info Overlay */
.map-info-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    pointer-events: none;
}

.map-info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

.map-info-card i {
    font-size: 24px;
    color: var(--secondary-color);
}

.map-info-card strong {
    display: block;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 3px;
}

.map-info-card span {
    display: block;
    color: var(--text-light);
    font-size: 13px;
}

/* Map Directions Button */
.map-directions-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(30,58,95,0.3);
    text-decoration: none;
    z-index: 10;
}

.map-directions-button:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,193,7,0.4);
}

/* Distance Grid */
.distance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.distance-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s;
}

.distance-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.distance-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 18px;
    color: var(--white);
    flex-shrink: 0;
}

.distance-info strong {
    display: block;
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 3px;
    font-weight: 600;
}

.distance-info span {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
}

/* Location Benefits */
.location-benefits {
    background: linear-gradient(135deg, var(--primary-color), #2c5282);
    padding: 32px 40px;
    border-radius: 12px;
    color: var(--white);
}

.location-benefits h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.benefit-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 30px;
}

.benefit-list li {
    padding: 10px 0 10px 25px;
    position: relative;
    line-height: 1.5;
    font-size: 14px;
}

.benefit-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 14px;
}

/* ===========================
   Mobile Responsive for Location Map
   =========================== */

@media (max-width: 968px) {
    .location-container {
        grid-template-columns: 1fr;
    }
    
    .location-map-container {
        min-height: 500px;
        margin-bottom: 30px;
    }
    
    .location-map-container iframe {
        height: 500px;
    }
    
    .distance-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .location-map-container {
        min-height: 450px;
        margin-bottom: 20px;
    }
    
    .location-map-container iframe {
        height: 450px;
    }
    
    .map-info-overlay {
        position: static;
        margin-bottom: 15px;
        pointer-events: all;
    }
    
    .map-info-card {
        width: 100%;
        border-radius: 16px 16px 0 0;
    }
    
    .map-directions-button {
        position: static;
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        border-radius: 0 0 16px 16px;
    }
    
    .distance-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .location-map-container {
        min-height: 400px;
    }
    
    .location-map-container iframe {
        height: 400px;
    }
    
    .map-info-card {
        padding: 10px 15px;
    }
    
    .map-info-card i {
        font-size: 20px;
    }
    
    .map-info-card strong {
        font-size: 14px;
    }
    
    .map-info-card span {
        font-size: 12px;
    }
    
    .map-directions-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}


/* ===========================
   Amenities
   =========================== */
.amenities {
    padding: 50px 0;
    background: var(--bg-light);
}

.amenities h2 {
    color: var(--primary-color);
    font-weight: 600;
}

.gallery-container {
    position: relative;
    margin-top: 30px;
}

.swiper {
    width: 100%;
    padding-bottom: 45px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.8);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    font-weight: 500;
    font-size: 14px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--secondary-color);
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
}

/* ===========================
   Testimonials
   =========================== */
.testimonials {
    padding: 50px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 50px;
    color: var(--secondary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 16px;
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
    min-height: 100px;
    font-size: 14px;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.testimonial-author strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 13px;
}

.testimonial-stats {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    padding: 32px;
    border-radius: 16px;
    margin-top: 30px;
    box-shadow: 0 12px 30px rgba(255,193,7,0.3);
}

.stat-box {
    text-align: center;
}

.stat-box strong {
    display: block;
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 700;
}

.stat-box span {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
}

/* ===========================
   FAQ
   =========================== */
.faq {
    padding: 50px 0;
    background: var(--bg-light);
}

.faq h2 {
    color: var(--primary-color);
    font-weight: 600;
}

.faq-container {
    max-width: 850px;
    margin: 30px auto 0;
}

.faq-item {
    background: var(--white);
    margin-bottom: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
    border: none;
    text-align: left;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h2 {
    font-size: 15px;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
    flex: 1;
    padding-right: 15px;
}

.faq-icon {
    color: var(--secondary-color);
    font-size: 18px;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 13px;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 300px;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    padding: 50px 0;
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-wrapper .contact-form {
    padding: 32px;
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    text-align: center !important;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.contact-info-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.contact-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.contact-info-card h3 {
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    transition: all 0.3s;
}

.contact-value:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.contact-value.whatsapp-contact {
    background: var(--whatsapp-dark);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    display: inline-block;
    font-weight: 700;
}

.contact-value.whatsapp-contact:hover {
    background: #075E54;
}

.contact-info-card p {
    color: #5a6c7d;
    font-size: 13px;
    line-height: 1.5;
}

.contact-address {
    color: var(--text-dark) !important;
    font-size: 14px !important;
    margin-bottom: 12px !important;
}

.btn-outline-small {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

/* ===========================
   Footer
   =========================== */
footer {
    background: linear-gradient(135deg, var(--premium-navy) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 50px 0 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    margin-bottom: 35px;
}

.footer-section h3 {
    margin-bottom: 16px;
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 600;
}

.footer-section p {
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    font-size: 13px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    display: block;
    padding: 6px 0;
    transition: all 0.3s;
    font-size: 13px;
}

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

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    padding: 0;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.disclaimer {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
    border-left: 4px solid var(--secondary-color);
}

.disclaimer h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-size: 16px;
}

.disclaimer p {
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}

.footer-bottom a {
    color: var(--secondary-color);
    display: inline;
    padding: 0;
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

/* 1. Color Contrast Fixes */
.sticky-btn.whatsapp,
.btn-whatsapp-large,
.whatsapp-link {
    background: var(--whatsapp-dark) !important;
    color: var(--white) !important;
}

.sticky-btn.whatsapp:hover,
.btn-whatsapp-large:hover,
.whatsapp-link:hover {
    background: #075E54 !important;
}

.contact-form h3 {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.offer-content-wrapper {
    background: linear-gradient(135deg, #1a4d7a, #0d2e4d) !important;
}

.offer-content-wrapper p,
.offer-text p,
.offer-text strong {
    color: var(--white) !important;
}

.offer-note {
    color: #f0f0f0 !important;
}

.distance-item span {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.amenities h2,
.faq h2 {
    color: var(--primary-color) !important;
}

.secondary-heading {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.contact-info-card p {
    color: #5a6c7d !important;
}

.contact-value {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.contact-value.whatsapp-contact {
    color: var(--white) !important;
    background: var(--whatsapp-dark) !important;
    font-weight: 700 !important;
}

.contact-value.whatsapp-contact:hover {
    background: #075E54 !important;
}

/* 2. Touch Target Size Fix for Swiper */
.swiper-pagination-bullet {
    width: 14px !important;
    height: 14px !important;
    margin: 0 10px !important;
    opacity: 0.5 !important;
    position: relative !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: var(--secondary-color) !important;
}

/* Create larger touch area around bullets */
.swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    top: -18px;
    left: -18px;
    right: -18px;
    bottom: -18px;
    /* Creates 50x50 touch area around 14x14 bullet */
}

@media (max-width: 768px) {
    .swiper-pagination-bullet {
        width: 16px !important;
        height: 16px !important;
        margin: 0 12px !important;
    }
}

/* 3. Focus Indicators for Keyboard Navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--secondary-color) !important;
    outline-offset: 2px !important;
}

/* 4. Skip Link Visibility Enhancement */
.skip-link:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 10px 20px;
    z-index: 10000;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* ===========================
   Modal
   =========================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    max-width: 480px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-large {
    max-width: 650px;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 20px 20px 0 0;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
    color: var(--text-dark);
}

.modal-close:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.modal h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 13px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-emi-calculator .calculator-inputs {
    margin-bottom: 20px;
}

/* ===========================
   NATIVE WHATSAPP CHATBOT WIDGET
   =========================== */

.whatsapp-chat-widget {
    position: fixed;
    bottom: 90px; /* Above sticky footer */
    right: 20px;
    z-index: 998;
}

.whatsapp-chat-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 30px rgba(37,211,102,0.6);
    }
}

.whatsapp-chat-button:hover {
    transform: scale(1.1);
}

.whatsapp-chat-button i {
    font-size: 32px;
    color: var(--white);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF4444;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: bounce-badge 1s infinite;
}

@keyframes bounce-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.whatsapp-chat-box {
     position: absolute;
    bottom: 75px;
    right: 0;
    width: 340px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;  
    transform: scale(0.9) translateY(10px);
    transform-origin: bottom right;  
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;  
}

.whatsapp-chat-box.active {
    opacity: 1;
    visibility: visible; 
    transform: scale(1) translateY(0);
    pointer-events: all;
}

.chat-header {
    background: linear-gradient(135deg, #128C7E, #075E54);
    color: white;
    padding: 15px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    padding: 5px;
    object-fit: contain;
}

.chat-header-text h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-status {
    font-size: 12px;
    opacity: 0.9;
}

.chat-status i {
    color: #4CAF50;
    font-size: 8px;
    animation: blink-status 1.5s infinite;
}

@keyframes blink-status {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.chat-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s;
}

.chat-close:hover {
    transform: rotate(90deg);
}

.chat-body {
    padding: 20px;
    max-height: 350px;
    overflow-y: auto;
}

.chat-message {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    animation: slideIn 0.3s ease;
}

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

.message-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message-avatar i {
    font-size: 18px;
    color: var(--text-dark);
}

.message-content {
    background: #F0F0F0;
    padding: 12px 15px;
    border-radius: 12px 12px 12px 0;
    max-width: 240px;
}

.message-content p {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.4;
}

.message-content p:last-of-type {
    margin-bottom: 8px;
}

.message-time {
    font-size: 11px;
    color: #666;
}

.chat-quick-replies {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.quick-reply-btn {
    background: white;
    border: 2px solid var(--secondary-color);
    color: var(--text-dark);
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.quick-reply-btn:hover {
    background: var(--secondary-color);
    transform: translateX(5px);
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid #E0E0E0;
}

.chat-send-btn {
    width: 100%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.chat-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

/* ===========================
   MOBILE NAV ACTION BUTTONS
   =========================== */

.mobile-nav-actions {
    display: none;
    gap: 8px;
    align-items: center;
}

.mobile-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 18px;
}

.mobile-action-btn.call-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--text-dark);
}

.mobile-action-btn.whatsapp-btn {
    background: #25D366;
    color: white;
}

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

.mobile-action-btn:hover {
    transform: scale(1.1);
}

/* ===========================
   FLASHY BANNER & SOLD OUT BADGE
   =========================== */

.floating-banner-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.sold-out-badge {
    background: linear-gradient(135deg, #FF4444, #CC0000);
    color: white;
    padding: 8px 20px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: slideDown 0.5s ease;
    border-bottom: 2px solid rgba(255,255,255,0.3);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.badge-blink {
    color: #FFD700;
    animation: blink-dot 1s infinite;
}

@keyframes blink-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.flashy-banner {
    background: linear-gradient(90deg, 
        var(--secondary-color) 0%, 
        #FF9800 25%, 
        var(--secondary-color) 50%, 
        #FF9800 75%, 
        var(--secondary-color) 100%);
    background-size: 200% 100%;
    animation: flashy-gradient 3s linear infinite, pulse-banner 2s ease-in-out infinite;
    padding: 12px 20px;
    box-shadow: 0 6px 20px rgba(255,193,7,0.5);
}

@keyframes flashy-gradient {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

@keyframes pulse-banner {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.banner-icon {
    animation: wiggle 1s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.banner-text {
    font-weight: 600;
    color: var(--text-dark);
}

/* ===========================
   FIXED HERO FEATURES MOBILE LAYOUT
   =========================== */

.hero-feature-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 8px 0;
    flex-wrap: nowrap !important;
}

.feature-icon {
    color: var(--secondary-color) !important;
    font-weight: bold;
    font-size: 16px;
    background: rgba(255,193,7,0.2);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-highlight {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    display: block;
    line-height: 1.3;
}

.feature-text {
    color: var(--text-white);
    font-size: 14px;
    display: block;
    line-height: 1.4;
}

/* ===========================
   MOBILE RESPONSIVE
   =========================== */

@media (max-width: 768px) {
    /* Show mobile nav actions */
    .mobile-nav-actions {
        display: flex;
    }
    
    /* Hide desktop EMI button */
    .mobile-emi-btn {
        display: none !important;
    }
    
    /* Adjust chatbot for mobile */
    .whatsapp-chat-widget {
        bottom: 80px;
        right: 15px;
    }
    
    .whatsapp-chat-button {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-chat-button i {
        font-size: 28px;
    }
    
    .whatsapp-chat-box {
        width: 300px;
        max-width: calc(100vw - 40px);
    }
    
    /* Sold out badge mobile */
    .sold-out-badge {
        font-size: 11px;
        padding: 6px 15px;
    }
    
    /* Banner mobile */
    .flashy-banner {
        padding: 10px 15px;
    }
    
    .banner-text {
        font-size: 12px;
    }
    
    /* Hero features mobile fix */
    .hero-features li {
        flex-wrap: nowrap !important;
    }
    
    .feature-highlight {
        white-space: normal !important;
        display: block !important;
        width: 100% !important;
    }
    
    .feature-text {
        display: block !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .whatsapp-chat-box {
        width: 280px;
        bottom: 70px;
    }
    
    .mobile-action-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .sold-out-badge {
        font-size: 10px;
        padding: 5px 10px;
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 968px) {
    .offer-emi-grid {
        grid-template-columns: 1fr;
    }
    
    .location-container {
        grid-template-columns: 1fr;
    }
    
    .distance-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-list {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    * {
        max-width: 100%;
    }
    
    .nav-container {
        padding: 10px 15px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .nav-logo {
        flex-shrink: 0;
        max-width: 60%;
    }
    
    .container {
        padding: 0 15px;
        width: 100%;
        overflow-x: hidden;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 15px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-emi-btn {
        display: inline-flex;
        padding: 8px 16px;
        font-size: 13px;
        margin-right: 8px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 50px 0 70px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 40px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-features li {
        flex-wrap: wrap;
    }
    
    .feature-highlight {
        display: block;
        width: 100%;
        margin-bottom: 2px;
    }
    
    .section-header h1 {
        font-size: 2rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .sticky-footer-container {
        gap: 8px;
        padding: 0 5px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .sticky-btn {
        flex: 1;
        padding: 8px 10px;
        font-size: 11px;
        min-width: 0;
        max-width: none;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .sticky-btn i {
        font-size: 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    html, body {
        overflow-x: hidden !important;
        width: 100vw;
        max-width: 100vw;
        position: relative;
    }
    
    * {
        max-width: 100%;
    }
    
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .floating-banner {
        font-size: 11px;
        padding: 10px 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .section-header h1 {
        font-size: 1.6rem;
    }
    
    .loan-calculator-widget {
        padding: 20px;
    }
    
    .emi-amount {
        font-size: 24px;
    }
    
    .modal-content {
        padding: 25px 20px;
        max-width: 90vw;
    }
    
    .sticky-footer {
        padding: 6px;
        width: 100vw;
        max-width: 100vw;
    }
    
    .sticky-footer-container {
        gap: 6px;
        padding: 0 5px;
        justify-content: space-between;
        max-width: 100%;
    }
    
    .sticky-btn {
        padding: 8px 8px;
        font-size: 10px;
        gap: 4px;
        flex: 1;
        min-width: 0;
        max-width: 32%;
    }
    
    .sticky-btn i {
        font-size: 12px;
    }
    
    .hero-cta .btn-primary {
        font-size: 13px;
        padding: 10px 16px;
    }
    
    .offer-emi-grid,
    .location-container,
    .contact-container,
    .highlights-grid,
    .testimonials-grid {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .distance-grid,
    .benefit-list {
        width: 100%;
        max-width: 100%;
    }
}

/* iPhone 12 and similar devices (390px) */
@media (max-width: 390px) {
    .sticky-btn {
        padding: 7px 6px;
        font-size: 9px;
        gap: 3px;
    }
    
    .sticky-btn i {
        font-size: 11px;
    }
    
    .form-stat-item strong {
        font-size: 16px;
    }
    
    .form-stat-item span {
        font-size: 9px;
    }
    
    .nav-logo {
        max-width: 55%;
    }
    
    .mobile-emi-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media print {
    nav, .sticky-footer, .modal, .floating-banner {
        display: none;
    }
    
    body {
        padding-bottom: 0;
    }
    
    .hero {
        margin-top: 0;
    }
}

/* ========================================
   DESKTOP CHATBOT FIX - COPY TO YOUR styles.css
   Add this at the VERY END of your styles.css file
   ======================================== */

/* Fix chatbot container positioning */
.whatsapp-chat-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 998;
}

/* Fix chat button */
.whatsapp-chat-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-chat-button:hover {
    transform: scale(1.1);
}

.whatsapp-chat-button i {
    font-size: 32px;
    color: white;
}

/* CRITICAL FIX: Chat box positioning */
.whatsapp-chat-box {
    position: fixed !important; /* Must be fixed, not absolute */
    bottom: 160px !important;
    right: 20px !important;
    width: 340px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9) translateY(10px);
    transform-origin: bottom right;
    pointer-events: none; /* Important! */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    display: flex;
    flex-direction: column;
    max-height: 500px;
}

/* When active (opened) */
.whatsapp-chat-box.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) translateY(0) !important;
    pointer-events: all !important; /* Critical fix! */
}

/* Chat header */
.chat-header {
    background: linear-gradient(135deg, #128C7E, #075E54);
    color: white;
    padding: 15px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

/* Chat body */
.chat-body {
    padding: 20px;
    max-height: 350px;
    overflow-y: auto;
    flex: 1;
}

/* Chat footer */
.chat-footer {
    padding: 15px;
    border-top: 1px solid #E0E0E0;
    flex-shrink: 0;
}

/* Badge */
.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF4444;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Quick reply buttons */
.quick-reply-btn {
    background: white;
    border: 2px solid #FFC107;
    color: #1e3a5f;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    display: block;
    width: 100%;
    margin-bottom: 8px;
}

.quick-reply-btn:hover {
    background: #FFC107;
    transform: translateX(5px);
}

/* Chat send button */
.chat-send-btn {
    width: 100%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.chat-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

/* Close button */
.chat-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s;
}

.chat-close:hover {
    transform: rotate(90deg);
}

/* Desktop specific */
@media (min-width: 769px) {
    .whatsapp-chat-widget {
        bottom: 90px;
    }
    
    .whatsapp-chat-box {
        bottom: 160px !important;
        right: 20px !important;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .whatsapp-chat-widget {
        bottom: 80px;
        right: 15px;
    }
    
    .whatsapp-chat-box {
        bottom: 150px !important;
        right: 15px !important;
        width: 300px;
        max-width: calc(100vw - 40px);
    }
}

/* End of chatbot fix */