:root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    /* Updated --secondary to a rich "Solar" Blue to match logo/bar */
    --secondary: #1e3a8a;
    /* Deep Blue (matches typical solar branding) */
    --accent: #22c55e;
    --light: #f8fafc;
    /* Crisp Light Slate/White */
    /* Very light blue tint background */
    --blue-light: #eff6ff;
    /* Soft Solar Blue */
    --gray: #475569;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Color Utilities */
.bg-white {
    background-color: #ffffff !important;
}

.bg-blue-light {
    background-color: var(--blue-light) !important;
}

.bg-blue-dark {
    background-color: var(--secondary) !important;
    color: white !important;
}

/* Dark Section Text Overrides */
.bg-blue-dark h2,
.bg-blue-dark h3,
.bg-blue-dark p,
.bg-blue-dark li {
    color: white !important;
}

.bg-blue-dark .icon-box {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

.bg-blue-dark .content-card {
    background: transparent;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ... (rest of CSS until Contact Section) ... */

/* Contact Section */
.contact-section {
    background-color: var(--secondary);
    /* Dark Blue Background */
    color: white;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: white;
    /* White Box */
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    /* Soft Shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.person-card {
    background: #f8fafc;
    /* Very Light Background */
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    border: 1px solid #e2e8f0;
}

.person-card h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-link {
    color: var(--secondary);
    /* Dark Link Text */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-form-wrapper {
    background: #f8fafc;
    /* Slightly darker than box for contrast */
    padding: 2.5rem;
    border-radius: 16px;
    color: var(--secondary);
    border: 1px solid #e2e8f0;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: transparent;
    /* Transparent to show hero background */
    padding: 0.5rem 0;
    /* Clean initial padding */
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle {
    display: none;
    color: white;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    /* Default spacd between for mobile (Logo Left, Menu Right) */
    align-items: center;
    position: relative;
    /* Base for centering */
}



/* Unused legacy logo class removed */

.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
    align-items: center;
}


/* --- SPLIT NAVBAR LAYOUT (DESKTOP) --- */

/* 1. Left Logo Container */
.logo-left {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    z-index: 20;
    /* Ensure clickable */
}

/* Default Mobile Logo Size - MAXIMIZED */
.logo-left img {
    height: 120px;
    /* Very large mobile presence */
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    max-width: 65vw;
    /* Prevent hitting hamburger */
}

/* Mobile Brand Name (Default Visible on Mobile) */
.mobile-brand-name {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    white-space: nowrap;
    transform: translateY(17px);
}

/* 2. Center Brand Text (Hidden by default on mobile) */
.center-brand-desktop {
    display: none;
}

/* 3. Nav Links (Mobile Default) */
/* (Handled by existing .nav-links styles) */

/* --- DESKTOP MEDIA QUERY (> 769px) --- */
@media (min-width: 769px) {

    /* Layout: CSS Grid for Overlap Prevention */
    .nav-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        /* Left, Center (Fit), Right */
        align-items: center;
        gap: 1rem;
        /* Minimum Gap */
        transform: translateY(-30px);
        /* Push content up "two lines" */
    }

    /* Left: Start */
    .logo-left {
        justify-self: start;
    }

    /* Left Logo: Bigger Image, Hide Text */
    .logo-left img {
        height: 180px !important;
        /* Further Increased Size as requested */
    }

    .mobile-brand-name {
        display: none !important;
    }

    /* Center Brand: Grid Center instead of Absolute */
    /* Center Brand: Grid Center instead of Absolute */
    .center-brand-desktop {
        display: flex;
        justify-self: center;
        /* Grid Centering */
        align-items: baseline;
        gap: 6px;
        white-space: nowrap;
        text-align: center;
    }

    .center-brand-desktop .arka-white,
    .center-brand-desktop .solar-orange {
        font-size: 2rem;
        /* Slightly tighter for safety */
        font-weight: 900;
    }

    /* Right Links: Align End */


    /* Right Links: Align End */
    .nav-links {
        justify-self: end;
        width: auto;
        justify-content: flex-end;
        gap: 2rem;
    }
}

/* Tweak for Mid-Sized Laptop Screens to prevent wrapping */
@media (min-width: 769px) and (max-width: 1200px) {

    .center-brand-desktop .arka-white,
    .center-brand-desktop .solar-orange {
        font-size: 1.5rem;
        /* Reduce font size on laptops */
    }

    .logo-left img {
        height: 140px !important;
        /* Slightly smaller logo on laptops */
    }

    .nav-links {
        gap: 1.5rem;
    }
}



.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-bottom: 2px;
    white-space: nowrap;
    /* Force single line */
}

/* Premium Underline Animation */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    /* Force single line */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #f59e0b 100%);
    /* Gradient */
    color: #0f172a;
    /* Dark Text for contrast */
    padding: 0.8rem 2rem;
    /* Larger Click Area */
    border-radius: 9999px;
    /* Pill Shape */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    /* Glow */
    transform: translateY(-5px);
    /* Push Upward specifically */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-8px);
    /* Higher on hover */
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
    background: linear-gradient(135deg, #fbbf24 0%, var(--primary) 100%);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--secondary);
}

.btn-full {
    width: 100%;
    background-color: var(--secondary);
    color: white;
    margin-top: 1rem;
}

.btn-full:hover {
    background-color: #1e293b;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('assets/hero-bg-v7.png') no-repeat center 30%/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 140px;
    /* Offset for tall navbar */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Lighter overlay at the top to keep logo clear, darker at bottom for text */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(15, 23, 42, 0.4) 60%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-text {
    max-width: 600px;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-right: auto;
}

/* Logo Styles */
.logo-brand-container img {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

/* Refined Branded Text side-by-side */
.brand-text-refined {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
}

/* Brand text follows logo with 1px gap */
.logo-brand-container {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1px;
}

.arka-brand-name {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    /* Balanced size for single line */
    letter-spacing: -0.5px;
    white-space: nowrap;
    transform: translateY(17px);
    /* Align with ARKA inside logo image */
}

.arka-white {
    color: white;
    font-size: 1.5rem;
    /* Same as container */
    font-weight: 900;
}

.solar-orange {
    color: var(--primary);
    font-size: 1.5rem;
    /* Same as ARKA */
    font-weight: 900;
    margin-left: 2px;
    /* Slight nudge for breathing room between words */
}

/* Removed vine styles */


/* Ensure text is relative for layering */
.solar-orange {
    position: relative;
    z-index: 2;
    padding: 0 5px;
}

/* Scroll adjustments: ARKA needs to turn dark on scroll if background turns white */
.navbar.scrolled .arka-white {
    color: var(--secondary);
    /* Deep Blue on white background */
    text-shadow: none;
}

.navbar.scrolled .solar-orange {
    text-shadow: none;
}

.highlight {
    color: #fbbf24;
    background: -webkit-linear-gradient(left, var(--primary), #fbbf24);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Section Common */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card,
.content-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover,
.content-card:hover {
    transform: translateY(-5px);
}



/* Subsidy Cards */
.subsidy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
    /* Center boxes */
}

.subsidy-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.subsidy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.subsidy-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(to bottom right, #fff, #fffbeb);
}

.badge-pop {
    background: var(--primary);
    color: var(--secondary);
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.subsidy-card i {
    width: 30px;
    height: 30px;
}

.subsidy-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

/* Infographic Section */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    text-align: left;
    max-width: 1200px;
}

.split-layout>div {
    flex: 1;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background: transparent;
    padding: 0;
    border: none;
    align-items: flex-start;
    text-align: left;
    box-shadow: none;
}

.feature-list li:hover {
    transform: none;
    box-shadow: none;
}

.feature-list i {
    color: var(--primary);
    /* Orange as requested */
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.image-content img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
/* Contact Section - Elite Premium Redesign */
.contact-section {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    /* Deep Obsidian/Slate */
    color: white;
    position: relative;
    overflow: hidden;
}

/* Premium Gold Shine */
.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: rgba(255, 255, 255, 0.02);
    /* Ultra-clean Glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Crisp Border */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    /* Deep Lift */
    position: relative;
    z-index: 2;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    /* Silver Gradient text */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback */
}

.person-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.person-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.3);
    /* Gold accent on hover */
}

.person-card h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    color: var(--secondary);
}

.contact-form-wrapper h3 {
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
}

/* Footer */
footer {
    background: #020617;
    color: #94a3b8;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-box {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .split-layout {
        flex-direction: column;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        padding: 1rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebc57;
    transform: scale(1.1);
    box-shadow: 2px 4px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Brands Slider (Infinite Scroll) */
.brands-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.brands-slider::before,
.brands-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brands-slider::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.brands-slider::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.brands-track {
    display: flex;
    width: max-content;
    gap: 3rem;
    animation: scroll 30s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 100px;
    /* Uniform height */
}

.brand-item img {
    max-height: 80px;
    max-width: 150px;
    object-fit: contain;
    /* Removed grayscale to keep logos colorful always */
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.brand-item:hover img {
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move half the length since content is duplicated */
    }
}

/* Bank Slider (Infinite Scroll) */
.bank-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* Gradient Masks for fade effect */
.bank-slider::before,
.bank-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.bank-slider::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
    /* Match section bg */
}

.bank-slider::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.bank-track {
    display: flex;
    width: max-content;
    /* gap removed for seamless loop math */
    gap: 0;
    animation: scroll 40s linear infinite;
    /* Slower for more items */
}

/* ... existing hover rule ... */

.bank-item {
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-weight: 700;
    color: var(--secondary);
    box-shadow: none;
    border: none;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, color 0.2s;
    min-height: 100px;
    min-width: 160px;
    /* Fixed width for consistent spacing in slider */
    margin-right: 1.5rem;
    /* Replaces gap */
}

.bank-item img {
    height: 48px;
    width: auto;
    object-fit: contain;
    max-width: 140px;
    transition: all 0.3s ease;
    filter: none;
    opacity: 1;
}

.bank-item span {
    font-size: 0.9rem;
    color: var(--secondary);
    text-align: center;
}

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

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
    /* Center boxes */
}

.step {
    background: white;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.step-image {
    position: relative;
    height: 180px;
    width: 100%;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-badge {
    position: absolute;
    bottom: -15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    border: 4px solid white;
}

.step h3 {
    margin: 1.5rem 1.5rem 0.5rem;
    font-size: 1.25rem;
    color: var(--secondary);
}

.step p {
    margin: 0 1.5rem 1.5rem;
    color: var(--gray);
    font-size: 0.95rem;
}

/* Calculator Styles */
.calculator-section {
    padding: 6rem 0;
}

.calculator-box {
    background: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.calc-input {
    display: flex;
    flex-direction: column;
}

.calc-input label {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: block;
}

input[type="range"] {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.range-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 1rem;
    text-align: center;
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.radio-card {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.radio-card span {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 600;
    color: var(--gray);
    transition: all 0.2s;
    height: 100%;
}

.radio-card input:checked+span {
    border-color: var(--primary);
    background: #fffbeb;
    color: var(--primary-dark);
}

.calc-result {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    animation: fadeIn 0.5s ease-out;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

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

.result-row span {
    color: var(--gray);
    font-weight: 500;
}

.result-row h3 {
    font-size: 1.5rem;
    color: var(--secondary);
}

.highlight-row h3 {
    color: var(--accent);
}

.savings-row {
    background: #fffbeb;
    margin: -1rem -1rem 1rem -1rem;
    padding: 1.5rem;
    border-radius: 12px;
    border: none;
    border: 1px solid #fcd34d;
}

.savings-row h3 {
    color: var(--primary-dark);
    font-size: 1.75rem;
}

.disclaimer {
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .calculator-box {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: white;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    gap: 10px;
}

.bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

.btn-call {
    background: #f1f5f9;
    color: var(--secondary);
    border: 1px solid #e2e8f0;
}

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

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
    }

    .whatsapp-float {
        bottom: 80px;
        /* Lift above the bar */
    }
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
}

.gallery-overlay h3 {
    margin: 0;
    font-size: 1.25rem;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Refined Calculator Styles */
.refined-calc {
    display: flex;
    flex-wrap: wrap;
    /* Backup for mobile */
    gap: 3rem;
    align-items: flex-start;
}

.calc-input-col {
    flex: 1;
    min-width: 300px;
}

.calc-result-col {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Property Selector */
.property-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 2.5rem;
}

.prop-btn {
    flex: 1;
    padding: 1rem 0.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: var(--gray);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.prop-btn i {
    width: 24px;
    height: 24px;
}

.prop-btn.active {
    border-color: var(--primary);
    background: #fffbeb;
    color: var(--primary-dark);
}

/* Input Group */
.input-group label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    color: var(--secondary);
}

.range-wrapper {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.input-display {
    text-align: right;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.input-display input {
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    width: 100px;
    text-align: right;
    outline: none;
    background: transparent;
}

/* Circular Gauge */
.gauge-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin-bottom: 2rem;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke-width: 2.5;
    stroke: var(--primary);
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
    transition: stroke-dasharray 0.5s ease;
}

.percentage {
    fill: #94a3b8;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 0.25rem;
    text-anchor: middle;
}

.gauge-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    text-align: center;
}

.gauge-value .label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.gauge-value .amount {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary);
}

/* Result Details */
.result-details {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.detail-item span {
    font-size: 0.8rem;
    color: #64748b;
    display: block;
    margin-bottom: 0.25rem;
}

.detail-item h4 {
    font-size: 1.1rem;
    color: var(--secondary);
}

@keyframes progress {
    0% {
        stroke-dasharray: 0, 100;
    }
}

/* Scrolled Navbar State */
.navbar {
    padding: 1rem 0;
    /* Reduced padding */
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.75);
    /* Higher opacity for premium glass feel */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0;
}

.navbar.scrolled .nav-links a,
.navbar.scrolled .menu-toggle {
    color: var(--secondary);
    /* Dark Solar Blue text */
    text-shadow: none;
    /* Remove shadow on light background */
}

.navbar.scrolled .logo>span {
    color: #1e3a8a !important;
    /* Force Deep Blue, overrides inline #fff */
    text-shadow: none;
}

.navbar.scrolled .nav-links a:hover {
    color: var(--primary);
}

.navbar.scrolled .btn-outline {
    border-color: var(--secondary);
    color: var(--secondary);
}

.navbar.scrolled .btn-outline:hover {
    background: var(--secondary);
    color: white;
}

/* Why Choose Section Colors */
.infographic-section h2 {
    color: var(--secondary);
}

.infographic-section .highlight {
    color: var(--primary);
}

.feature-list strong {
    color: var(--primary);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

/* Benefits Slider (Infinite Scroll) */
.benefits-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.benefits-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 40s linear infinite;
    /* Slower animation for reading text */
}

.benefits-track:hover {
    animation-play-state: paused;
}

.benefits-track .benefit-card {
    min-width: 320px;
    /* Fixed width for slider items */
    max-width: 320px;
    flex-shrink: 0;
}

/* Add gradient masks for smooth fade edges */
.benefits-slider::before,
.benefits-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.benefits-slider::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.benefits-slider::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

/* Process Slider (Infinite Scroll) */
.process-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.process-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 30s linear infinite;
    /* Slightly faster for process steps */
}

.process-track:hover {
    animation-play-state: paused;
}

.process-track .step {
    min-width: 280px;
    /* Fixed width for slider items */
    max-width: 280px;
    flex-shrink: 0;
}

/* Gradient Masks */
.process-slider::before,
.process-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.process-slider::before {
    left: 0;
    background: linear-gradient(to right, #eff6ff, transparent);
    /* Matches process bg */
}

.process-slider::after {
    right: 0;
    background: linear-gradient(to left, #eff6ff, transparent);
    /* Matches process bg */
}

/* Global Green Highlight */
.highlight-green {
    color: #16a34a;
    /* Solar Green */
}

/* Image-based Solution Cards */
.solution-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    overflow: hidden;
    /* Clip image */
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    /* Override inline padding if any remains */
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-5px) !important;
    /* Override inline */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
}

.solution-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #f1f5f9;
}

.solution-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.solution-content h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.solution-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}



.solution-link {
    margin-top: auto;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.solution-link:hover {
    text-decoration: underline;
}

/* FAQ Section Styles */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--secondary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    transition: color 0.2s ease;
}

.faq-item.active .faq-question {
    color: var(--secondary);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
    background-color: #f8fafc;
    border-radius: 0 0 8px 8px;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    /* Max-height is handled by JS for precise transition, or fallback here */
    opacity: 1;
    padding-bottom: 1.5rem;
    padding-top: 0.5rem;
}

@media (max-width: 640px) {
    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }
}
}

/* --- MOBILE RESPONSIVENESS FIXES --- */
@media (max-width: 768px) {

    /* 1. Prevent Horizontal Overflow */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
    }

    /* 2. Hero Section Adjustments */
    .hero {
        padding-top: 160px;
        /* Increased padding for larger logo */
        height: auto;
        /* Allow content to dictate height */
        min-height: 100vh;
        text-align: center;
    }

    .hero-content {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem;
        /* Smaller H1 */
    }

    .cta-headline {
        font-size: 1.5rem !important;
        /* Smaller CTA */
        line-height: 1.3 !important;
    }

    /* 3. Calculator Fixes */
    .calculator-box {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }

    .calc-input-col,
    .calc-result-col {
        width: 100%;
        border-right: none;
    }

    .calc-result-col {
        border-top: 1px solid #e2e8f0;
        padding-top: 2rem;
        margin-top: 2rem;
    }

    /* 4. Navbar Mobile Tweaks */
    .nav-container {
        padding: 0 1rem;
        transform: none !important;
        /* Remove vertical shift on mobile */
    }

    .menu-toggle {
        display: block;
        /* Ensure hamburger is visible */
        cursor: pointer;
    }

    .nav-links {
        display: none;
        /* Hide links by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        padding: 2rem;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        display: flex;
    }
}

.text-green {
    color: #22c55e !important;
}

/* For Dark Backgrounds (Bright Green) */
.text-green-light {
    color: #4ade80 !important;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

/* For Light Backgrounds (Darker Green for Contrast) */
.text-green-dark {
    color: #16a34a !important;
    font-weight: 700;
}