:root {
    --primary: #FFD700;
    /* Solar Yellow */
    --primary-dark: #FFA500;
    --secondary: #2E8B57;
    /* Eco Green */
    --accent: #2c3e50;
    /* Dark Slate */
    --light: #f4f4f4;
    --dark: #333;
    --white: #fff;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

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

/* Typography Responsive Scale */
@media (max-width: 768px) {
    html {
        font-size: 14px;
        /* Scale down base font size */
    }
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

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

ul {
    list-style: none;
}

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

/* Grids */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}



nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    position: relative;
    /* For absolute positioning of mobile menu */
}

/* Default hidden hamburger */
.hamburger {
    display: none;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    max-height: 70px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

.drawer-logo {
    max-height: 45px;
    width: auto;
    object-fit: contain;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark);
    /* Dark text for White header */
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

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

.btn-secondary:hover {
    background: #246b42;
}

/* Hero Section */
/* Hero Slider */
/* Hero Section */
.hero-slider {
    position: relative;
    height: 85vh;
    /* Slightly taller */
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    /* Cinematic Overlay */
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

/* Section Styling */
.section {
    padding: 6rem 0;
    /* More breathing room */
}

.section h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: 2.5rem;
    color: var(--accent);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Feature Cards (Why Solar) */
.feature-card {
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.feature-card i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}


/* Footer */
/* ====================
   Solar Footer Styles
   ==================== */
.solar_footer {
    background-color: var(--accent);
    /* Dark Slate (Standard) instead of Green */
    color: #ffffff;
    padding: 60px 0 20px 0;
}

.solar_footer_gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(50, 205, 50, 0.2), transparent 40%),
        radial-gradient(circle at bottom left, rgba(0, 100, 0, 0.4), transparent 40%);
    pointer-events: none;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    z-index: 1;
    position: relative;
}

.footer-col {
    padding: 0 15px;
    margin-bottom: 30px;
}

.about-col {
    width: 35%;
}

.links-col {
    width: 30%;
}

.contact-col {
    width: 35%;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {

    .about-col,
    .links-col,
    .contact-col {
        width: 100%;
        /* Stack columns on tablets/mobile */
        margin-bottom: 40px;
    }
}

/* About Section */
.solar_footer_ab p {
    color: #b0c4b1;
    line-height: 1.8;
    margin: 20px 0;
    font-size: 15px;
}

.top_solar_btn ul {
    display: flex;
    gap: 15px;
    padding: 0;
}

.top_solar_btn ul li a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.top_solar_btn ul li a:hover {
    background: var(--primary);
    /* Solar Yellow */
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Links Section */
.solar_footer_links h3,
.solar_footer_contact h3 {
    font-size: 22px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
}

.solar_footer_links h3::after,
.solar_footer_contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.solar_links ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.solar_links ul li i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 12px;
}

.solar_links ul li a {
    color: #ccc;
    transition: all 0.3s;
    font-size: 15px;
}

.solar_links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Contact Section */
.solar_information ul li {
    display: flex;
    margin-bottom: 20px;
    color: #ccc;
    font-size: 15px;
    align-items: flex-start;
}

.solar_information ul li i {
    color: var(--primary);
    font-size: 18px;
    margin-right: 15px;
    margin-top: 3px;
    width: 20px;
    /* Fixed width for alignment */
}

.solar_information ul li a {
    color: #ccc;
    transition: color 0.3s;
}

.solar_information ul li a:hover {
    color: var(--primary);
}

/* Copyright */
.solar_copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
    margin-top: 20px;
}


/* Services Page Responsive */
@media (max-width: 768px) {

    /* Service Cards Grid (assuming grid is used) */
    .services-grid,
    .feature-grid,
    .cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    /* Service Checker Box */
    .service-checker-box {
        padding: 1.5rem !important;
    }


    /* Home Page Grids */
    .responsive-grid,
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Adjust feature cards padding on mobile */
    .feature-card {
        padding: 2rem 1rem;
    }
}

/* Detail Page Responsive */
@media (max-width: 991px) {
    .detail-container {
        flex-direction: column;
    }

    .detail-content {
        width: 100% !important;
        padding-right: 0 !important;
    }

    .detail-sidebar {
        width: 100% !important;
        margin-top: 2rem;
        position: static !important;
        /* Remove sticky on mobile */
    }

    .sidebar-card {
        margin-bottom: 1.5rem;
    }
}

/* Calculator specific */
@media (max-width: 600px) {
    .calc-input-group {
        flex-direction: column;
    }

    .calc-btn {
        width: 100%;
        margin-bottom: 0.5rem;
        justify-content: center;
    }
}

/* =========================================
   MOBILE RESPONSIVE OVERRIDES (Moved to End)
   ========================================= */
@media (max-width: 768px) {

    /* Top Bar Mobile Optimization */
    .top-bar {
        font-size: 0.75rem !important;
        /* Smaller text */
        padding: 0.3rem 0 !important;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .contact-info,
    .quick-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .quick-links a {
        border-left: none !important;
        padding-left: 0 !important;
        margin: 0 5px;
        font-size: 0.75rem;
        white-space: nowrap;
        /* Prevent breaking mid-word */
    }

    /* Navigation */
    nav {
        height: 60px;
        /* Compact Header */
        padding: 0 10px;
    }

    .logo img {
        height: 40px;
    }

    .hamburger {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        color: var(--dark);
        margin-right: 10px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

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

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

    .nav-links li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        font-size: 1.1rem;
    }

    /* Hero Responsive */
    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
        /* Readable but big enough */
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        /* Full width buttons for easy tapping */
        margin-bottom: 10px;
    }

    .section {
        padding: 3rem 0;
        /* Reducing vertical padding */
    }

    .section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

/* =========================================
   HEADER REDESIGN STYLES (Mobile Drawer & Top Bar)
   ========================================= */

/* 1. TOP BAR REDESIGN */
.top-bar {
    background: var(--accent);
    /* Dark Slate (Standard) */
    color: white;
    padding: 0;
    /* Removed padding for flush look on mobile */
    font-size: 0.9rem;
    position: relative;
    z-index: 1002;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

/* Mobile Actions (Visible only on mobile) */
.mobile-top-actions {
    display: none;
    /* Hidden by default */
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    /* Enable horizontal scrolling */
    white-space: nowrap;
    /* Prevent wrapping */
    padding: 8px 0;
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome/Safari/Opera */
.mobile-top-actions::-webkit-scrollbar {
    display: none;
}

.top-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 20px;
    /* Pill shape */
    font-weight: 600;
    font-size: 0.75rem;
    /* Smaller text */
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
    flex-shrink: 0;
    /* Don't shrink buttons */
}

.top-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.top-action-btn.whatsapp {
    background: #25D366;
    /* WhatsApp Green */
    color: white;
}

.top-action-btn.highlight-btn {
    background: var(--primary);
    color: #333;
}

.top-action-btn i {
    margin-right: 5px;
    font-size: 0.8rem;
}

/* Desktop Info (Hidden on mobile) */
.desktop-contact-info,
.desktop-quick-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.5rem 0;
}

.desktop-contact-info a,
.desktop-quick-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.desktop-contact-info a:hover,
.desktop-quick-links a:hover {
    color: var(--primary);
}

.highlight-link {
    color: var(--primary) !important;
    font-weight: bold;
}


/* 2. HEADER MAIN */
.header-main nav {
    height: 80px;
    /* Slightly more compact */
}

/* Hamburger Icon Styling */
.hamburger {
    display: none;
    /* Default hidden */
    cursor: pointer;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: #000 !important;
    /* Force Black for Visibility */
    border-radius: 3px;
    transition: all 0.3s ease;
}




/* 3. MOBILE DRAWER MENU (Off-Canvas) */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    /* Hidden initially */
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 2000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    right: 0;
}

/* Drawer Overlay */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Prevent body scroll when menu open */
body.no-scroll {
    overflow: hidden;
}

/* Drawer Header */
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.drawer-logo {
    height: 40px;
    width: auto;
}

.close-drawer {
    background: none;
    border: none;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
}

/* Drawer Content */
.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

/* Drawer Nav Links */
.drawer-nav {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.drawer-nav li {
    margin-bottom: 0.5rem;
}

.drawer-nav a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s;
    font-size: 1.05rem;
}

.drawer-nav a i {
    width: 25px;
    color: var(--secondary);
    margin-right: 10px;
    font-size: 1.1rem;
}

.drawer-nav a:hover,
.drawer-nav a.active {
    background: #f0fdf4;
    /* Light green bg */
    color: var(--secondary);
}

/* Drawer Quick Tools */
.drawer-tools h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 1rem;
}

.drawer-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 2rem;
}

.tool-card {
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 15px 5px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.tool-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.tool-card i {
    font-size: 1.2rem;
    color: var(--secondary);
}

.tool-card.highlight i {
    color: #e67e22;
}

.tool-card span {
    font-size: 0.75rem;
    font-weight: 600;
}

/* Drawer Footer Buttons */
.drawer-footer {
    margin-top: auto;
    /* Push to bottom */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

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

.drawer-btn.call {
    background: var(--accent);
    color: white;
}

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


/* RESPONSIVE QUERY UPDATES */
@media (max-width: 991px) {

    /* Hide Desktop Elements */
    .desktop-contact-info,
    .desktop-quick-links,
    .desktop-nav {
        display: none !important;
    }

    /* Show Mobile Elements */
    .mobile-top-actions {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .top-bar .container {
        padding: 0 15px;
    }
}

/* =========================================
   FRANCHISE PAGE REDESIGN
   ========================================= */

/* Hero Section */
.franchise-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url('/images/solar-panels-roof.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 160px 0 120px;
    text-align: center;
    position: relative;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons .btn {
    margin: 0 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    border-width: 2px;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--dark);
    border-color: white;
}

/* Stats Strip */
.stats-strip {
    background: var(--white);
    padding: 40px 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    border-right: 1px solid #eee;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* General Sections */
.franchise-section,
.process-section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Opportunities Grid */
.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.opportunity-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
}

.opportunity-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-img .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: -35px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 1.8rem;
    color: var(--primary-dark);
    z-index: 2;
}

.solar-card .card-icon {
    color: #f39c12;
}

.ev-card .card-icon {
    color: #27ae60;
}

.card-content {
    padding: 50px 30px 40px;
    text-align: center;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.card-desc {
    color: #777;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.card-features {
    text-align: left;
    margin-bottom: 30px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.feature-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #555;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row i {
    color: var(--secondary);
    margin-right: 10px;
    font-size: 1.1rem;
}

.card-btn {
    background: var(--accent);
    /* Dark Blue */
    color: white;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.card-btn:hover {
    background: var(--primary);
    color: var(--dark);
}


/* Process Section */
.process-section {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 10px;
}

.step-circle {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.process-step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-dark);
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.step-content p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: #e0e0e0;
    margin-top: 25px;
    /* Aligns with center of step-circle (50px / 2) */
    position: relative;
    z-index: 1;
}

/* CTA Banner */
.cta-banner {
    background: url('/images/cta-bg-abstract.jpg'), linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    background-blend-mode: overlay;
    padding: 80px 0;
    color: white;
    text-align: center;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
}

.cta-text {
    text-align: left;
}

.cta-text h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.cta-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

/* Responsive Redesign */
@media (max-width: 991px) {
    .stats-strip {
        padding: 20px;
        width: 90%;
        margin-top: -40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-item {
        border-right: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 50px;
        margin: 0;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cta-text {
        text-align: center;
    }
}

/* Mobile Visibility Logic */
@media (max-width: 991px) {
    .hamburger {
        display: flex !important;
        /* Force flex display on tablet/mobile */
        z-index: 1100;
        /* Ensure high z-index */
    }

    .desktop-nav {
        display: none !important;
        /* Hide desktop nav */
    }

    .desktop-contact-info,
    .desktop-quick-links {
        display: none !important;
        /* Hide desktop top bar info */
    }

    .mobile-top-actions {
        display: flex !important;
        /* Show mobile top actions */
        justify-content: center;
        /* Center them */
        padding: 8px 15px;
        /* Add some padding */
    }
}

@media (min-width: 992px) {
    .hamburger {
        display: none !important;
        /* Properly hide on desktop */
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        margin: 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .franchise-hero {
        padding: 120px 0 80px;
    }

    .stats-strip {
        width: 95%;
    }
}

/* =========================================
   MOBILE TOP BAR OPTIMIZATION
   ========================================= */
@media (max-width: 768px) {

    /* Compact Top Bar */
    .top-bar {
        padding: 5px 0;
        transition: all 0.3s ease-in-out;
        overflow: hidden;
        height: auto;
        opacity: 1;
    }

    .top-action-btn {
        padding: 4px 10px;
        font-size: 0.8rem;
    }

    /* Hidden State */
    .top-bar.hidden {
        height: 0 !important;
        padding: 0 !important;
        opacity: 0 !important;
        pointer-events: none;
        overflow: hidden !important;
        border: none !important;
    }
}

/* =========================================
   MOBILE BOTTOM NAVIGATION
   ========================================= */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    padding: 0 10px;
    justify-content: space-around;
    align-items: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

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

    /* Adjust footer margin to prevent coverage */
    /* .solar_footer {
        padding-bottom: 90px !important;
    } */
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    flex: 1;
}

.nav-item i {
    font-size: 1.3rem;
    margin-bottom: 4px;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.nav-item.active,
.nav-item:hover {
    color: var(--secondary);
}

.nav-item.active i,
.nav-item:hover i {
    color: var(--secondary);
    transform: translateY(-2px);
}

/* Center Action Button (Floating Look) */
.nav-item-center-wrapper {
    position: relative;
    top: -25px;
    background: #f4f4f4;
    /* Match body bg for cutout effect */
    padding: 6px;
    border-radius: 50%;
}

.nav-item-center {
    width: 55px;
    height: 55px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    color: #333;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-item-center:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

/* =========================================
   FULL SCREEN OVERLAY
   ========================================= */
.overlay-full {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 2100;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.overlay-full.active {
    transform: translateY(0);
}

.overlay-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.overlay-close-btn {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}