/* ==========================================================================
   DNA SOFTECH - PREMIUM DESIGN SYSTEM (site.css)
   ========================================================================== */

:root {
    /* Color Palette — clean professional blue */
    --primary: #2563eb; /* Blue 600 */
    --primary-hover: #1d4ed8; /* Blue 700 */
    --primary-focus: rgba(37, 99, 235, 0.20);
    --secondary: #0f172a; /* Slate 900 */
    --accent: #0ea5e9; /* Sky 500 (subtle accent) */
    /* Backgrounds */
    --bg-main: #f8fafc;
    --surface: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.85);
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    /* Borders & Shadows */
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(15 23 42 / 0.05);
    --shadow-md: 0 4px 10px -2px rgb(15 23 42 / 0.06), 0 2px 4px -2px rgb(15 23 42 / 0.04);
    --shadow-lg: 0 10px 20px -4px rgb(15 23 42 / 0.07), 0 4px 8px -4px rgb(15 23 42 / 0.05);
    --shadow-glass: 0 4px 16px 0 rgba(15, 23, 42, 0.06);
    /* Animation */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

/* ── User avatar in navbar ── */
.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
    flex-shrink: 0;
    vertical-align: middle;
    margin-right: 6px;
}

    .nav-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        display: block;
    }

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-glass);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-glass);
    color: white;
}

/* Forms & Inputs */
.input-premium {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
    outline: none;
    box-shadow: var(--shadow-sm);
}

    .input-premium:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px var(--primary-focus);
    }

    .input-premium::placeholder {
        color: var(--text-muted);
    }

/* Buttons */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}

    .btn-premium:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
        background: linear-gradient(135deg, #0ea5e9, #0284c7); /* Hover to vivid blue ? Actually lets keep it emerald but brighter */
    }

    /* Redefine primary gradient hover */
    .btn-premium:hover {
        background: linear-gradient(135deg, #34d399, var(--primary));
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    }

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

    .btn-ghost:hover {
        background: var(--bg-main);
        color: var(--text-primary);
        border-color: var(--text-muted);
    }

/* Layout Utilities */
.premium-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    padding: 2rem;
    transition: var(--transition);
}

    .premium-card:hover {
        box-shadow: var(--shadow-lg);
        border-color: rgba(16, 185, 129, 0.3);
    }

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Navbar overrides for premium feel */
#main-navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.02);
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

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

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

.animate-fade-up {
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Skeleton Loaders */
.skeleton-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #e2e8f0 !important;
    border-radius: var(--radius-md);
    color: transparent !important;
    border-color: transparent !important;
    user-select: none;
    pointer-events: none;
}
.skeleton-wrapper * {
    color: transparent !important;
    border-color: transparent !important;
    background-color: transparent !important;
}

.skeleton-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.5) 20%,
        rgba(255, 255, 255, 0.8) 60%,
        rgba(255, 255, 255, 0)
    );
    animation: shimmer 1.5s infinite;
    z-index: 10;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--radius-sm);
}

.skeleton-title {
    height: 2rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
}

.skeleton-img {
    height: 200px;
    width: 100%;
    border-radius: var(--radius-md);
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   LAYOUT STRUCTURE (Navbar, Footer, Cart)
   ========================================================================== */

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    letter-spacing: -0.3px;
}

.navbar-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

    .navbar-links a {
        text-decoration: none;
        font-weight: 600;
        color: var(--text-secondary);
        transition: var(--transition);
    }

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

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: var(--transition);
}

    .cart-btn:hover {
        background: rgba(16, 185, 129, 0.1);
        color: var(--primary);
    }

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 12px;
    border: 2px solid white;
}

/* User Menu & Dropdown */
.user-menu {
    position: relative;
}

.dropdown-trigger {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    list-style: none;
    min-width: 200px;
    padding: 8px 0;
    z-index: 200;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
    animation: fadeUp 0.2s ease-out;
}

.dropdown-menu a, .dropdown-logout-btn {
    display: block;
    width: 100%;
    padding: 10px 20px;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

    .dropdown-menu a:hover, .dropdown-logout-btn:hover {
        background: var(--bg-main);
        color: var(--primary);
    }

.dropdown-logout-btn {
    color: #ef4444;
}

    .dropdown-logout-btn:hover {
        color: #b91c1c;
        background: #fef2f2;
    }

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 8px 0;
}

/* Cart Panel */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

    .cart-overlay.show {
        opacity: 1;
        visibility: visible;
    }

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100vh;
    background: var(--surface);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

    .cart-panel.open {
        transform: translateX(0);
    }

.cart-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
}

.cart-panel-title {
    margin: 0;
    font-size: 1.25rem;
}

.cart-close-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

    .cart-close-btn:hover {
        color: var(--text-primary);
    }

.cart-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 40px;
}

.cart-panel-footer {
    padding: 24px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-main);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.btn-block {
    width: 100%;
}

/* Footer */
.site-footer {
    background: var(--secondary);
    color: #f1f5f9;
    padding: 60px 0 24px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 14px;
}

.footer-logo-img {
    height: 38px;
    width: 38px;
    object-fit: contain;
    border-radius: 9px;
}

.footer-brand .footer-logo {
    display: inline;
    font-size: 1.35rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0;
}

.footer-brand .footer-tagline {
    color: #94a3b8;
    max-width: 300px;
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: 1.1rem;
}

.footer-socials {
    display: flex;
    gap: .6rem;
}

    .footer-socials a {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.12);
        color: #94a3b8;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .82rem;
        text-decoration: none;
        transition: var(--transition);
    }

        .footer-socials a:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
            transform: translateY(-2px);
        }

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

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

    .footer-col ul li {
        margin-bottom: 12px;
    }

        .footer-col ul li a {
            color: #94a3b8;
            text-decoration: none;
            transition: var(--transition);
        }

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

.footer-bottom {
    max-width: 1400px;
    margin: 60px auto 0;
    padding: 24px 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Cart overlay active state */
.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Toast notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-toast {
    background: var(--surface);
    color: var(--text-primary);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary);
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.3s, transform 0.3s;
}

    .site-toast.show {
        opacity: 1;
        transform: translateX(0);
    }

    .site-toast.error {
        border-left-color: #ef4444;
    }

    .site-toast.success {
        border-left-color: var(--primary);
    }

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar-links {
        gap: 16px;
    }

        .navbar-links a {
            font-size: 0.85rem;
        }

    .cart-panel {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 24px;
    }

    .footer-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 16px;
    }

    .navbar-links {
        display: none;
    }
}
/* --- Core Layout & Typography --- */
.solar-section {
    background-color: #0b1120; /* Very dark blue-slate background */
    color: #f8fafc;
    padding: 1rem 1rem;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Prefer Inter if available */
}

.solar-container {
    max-width: 850px; /* Slightly narrower to match image proportions */
    margin: 0 auto;
}

/* --- Header Section --- */
.solar-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.solar-badge {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    border: 1px solid rgba(249, 115, 22, 0.4); /* Subtle orange border */
    color: #f97316;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.solar-badge-dot {
    width: 6px;
    height: 6px;
    background-color: #f97316;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.8);
}

.solar-title {
    font-size: 3.5rem; /* Larger font size */
    font-weight: 800; /* Extra bold */
    margin: 0 0 1rem 0;
    line-height: 1.1;
    color: #ffffff; /* Explicitly white for "Get Free Solar" */
    letter-spacing: -0.02em; /* Tighter letter spacing */
}

    .solar-title .accent {
        color: #f97316; /* Bright orange for "Consultation" */
    }

.solar-subtitle {
    color: #94a3b8;
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.5;
}

/* --- Statistics Banner --- */
.solar-stats {
    display: flex;
    background-color: #151b2b; /* Slightly lighter than background */
    border: 1px solid #1e293b;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
}

.solar-stat-item {
    flex: 1;
    text-align: center;
    border-right: 1px solid #2e3c54; /* Visible divider lines */
}

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

.solar-stat-num {
    font-size: 2.25rem;
    font-weight: 800;
    color: #f97316;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.solar-stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

/* --- Form Container --- */
.solar-form-card {
    background-color: #151b2b; /* Matches stats banner */
    border: 1px solid #1e293b;
    border-radius: 1rem;
    padding: 2.5rem 3rem; /* Generous padding */
}

.solar-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem; /* Wider gap between columns */
}

/* --- Form Inputs --- */
.solar-form-group {
    display: flex;
    flex-direction: column;
}

.solar-label {
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.solar-input, .solar-select {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: #0b1120; /* Dark inner background */
    border: 1px solid #2e3c54; /* Distinct border */
    color: #e2e8f0;
    border-radius: 0.375rem; /* Slightly rounded corners */
    font-size: 0.9rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

    .solar-input::placeholder {
        color: #475569;
    }

    .solar-input:focus, .solar-select:focus {
        outline: none;
        border-color: #f97316;
        box-shadow: 0 0 0 1px #f97316;
    }

/* Custom Select Arrow - Dark Theme Optimized */
.solar-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

    .solar-select option {
        background-color: #0b1120; /* Ensure dropdown menu matches */
    }

.solar-divider {
    border: 0;
    border-top: 1px solid #1e293b;
    margin: 2rem 0;
}

/* --- Submit Button --- */
.solar-btn {
    width: 100%;
    background-color: transparent; /* No solid fill */
    border: 1px solid #2e3c54; /* Light border */
    color: white;
    padding: 1rem;
    border-radius: 0.375rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-image: linear-gradient(to bottom, #1e293b, #0b1120); /* Subtle gradient like original */
}

    .solar-btn:hover {
        border-color: #f97316;
        background-image: linear-gradient(to bottom, #2e3c54, #151b2b);
    }

    .solar-btn svg {
        margin-right: 0.5rem;
    }

/* --- Trust Indicators --- */
.solar-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.solar-trust-item {
    display: flex;
    align-items: center;
}

    .solar-trust-item svg {
        color: #ea580c;
        margin-right: 0.375rem;
    }

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .solar-form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .solar-title {
        font-size: 2.5rem;
    }

    .solar-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .solar-stat-item {
        border-right: none;
        border-bottom: 1px solid #2e3c54;
        padding-bottom: 1.5rem;
    }

        .solar-stat-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

    .solar-trust {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .solar-form-card {
        padding: 1.5rem;
    }
}
body {
    background-color: #0b1120; /* Matches your dark theme */
    margin: 0; /* Removes default browser borders */
}

/* --- Custom Footer Styles --- */
.custom-footer {
    background-color: #0b1120;
    border-top: 1px solid #1e293b;
    padding: 4rem 0 2rem 0;
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
    color: #94a3b8;
}

.custom-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.custom-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .custom-footer-grid {
        grid-template-columns: 1.2fr 1.5fr 1fr;
    }
}

/* Brand Section */
.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.footer-brand-logo {
    width: 5rem;
    height: 5rem;
    border-radius: 0.75rem;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: 0.025em;
}

.footer-brand-tagline {
    font-size: 0.75rem;
    color: #f97316; /* Orange */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-social-btn {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

    .footer-social-btn:hover {
        transform: translateY(-2px);
        opacity: 0.9;
        color: white;
    }

.social-fb {
    background-color: #1877F2;
}

.social-ig {
    background: linear-gradient(to bottom right, #f58529, #dd2a7b, #8134af);
}

.social-wa {
    background-color: #25D366;
}

.social-x {
    background-color: #000000;
    border: 1px solid #334155;
}

/* Link Columns */
.footer-links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 640px) {
    .footer-links-wrapper {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-col-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

    .footer-link:hover {
        color: #f97316;
    }

/* Contact Info */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact-icon {
    color: #f97316;
    margin-top: 0.25rem;
}

/* CTA Button */
.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(to right, #f97316, #f59e0b);
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.875rem;
    transition: opacity 0.2s;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.2);
}

    .footer-cta-btn:hover {
        opacity: 0.9;
    }

/* Footer Bottom */
.custom-footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: #64748b;
}

@media (min-width: 768px) {
    .custom-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-policy-links {
    display: flex;
    gap: 1.5rem;
}

    .footer-policy-links a {
        color: #64748b;
        text-decoration: none;
        transition: color 0.2s;
    }

        .footer-policy-links a:hover {
            color: #ffffff;
        }

/* ==========================================================================
   WHITE THEME NAVBAR OVERRIDES (Forces overwrite of dark theme)
   ========================================================================== */

#main-navbar.navbar {
    background: rgba(255, 255, 255, 0.95) !important; /* Bright white glass */
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid #e5e7eb !important; /* Light gray border */
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
}

#main-navbar .navbar-brand {
    color: #0f172a !important; /* Dark slate text for brand */
}

#main-navbar .nav-link {
    color: #475569 !important; /* Slate gray text */
}

    #main-navbar .nav-link:hover {
        color: #2563eb !important; /* Blue Hover */
    }

#main-navbar .cart-btn {
    color: #475569 !important;
}

    #main-navbar .cart-btn:hover {
        background: rgba(37, 99, 235, 0.1) !important;
        color: #2563eb !important;
    }

#main-navbar .cart-badge {
    background: #ef4444 !important; /* Red badge */
    border-color: #ffffff !important;
}

#main-navbar .dropdown-trigger {
    color: #0f172a !important;
}

#main-navbar .nav-avatar {
    background-color: #2563eb !important; /* Blue avatar */
    border-color: transparent !important;
    color: #ffffff !important;
}

#main-navbar .dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
}

    #main-navbar .dropdown-menu a,
    #main-navbar .dropdown-logout-btn {
        color: #475569 !important;
    }

        #main-navbar .dropdown-menu a:hover,
        #main-navbar .dropdown-logout-btn:hover {
            background: #f8fafc !important; /* Very light gray hover */
            color: #2563eb !important;
        }

#main-navbar .dropdown-divider {
    background: #e5e7eb !important;
}

#main-navbar #nav-login-btn {
    border: 1px solid #e5e7eb !important;
    color: #475569 !important;
    background: transparent !important;
}

    #main-navbar #nav-login-btn:hover {
        border-color: #2563eb !important;
        color: #2563eb !important;
    }

/* ==========================================================================
   WHITE THEME FOOTER OVERRIDES (Forces overwrite of dark theme)
   ========================================================================== */

.custom-footer {
    background-color: #ffffff !important; /* Solid white background */
    border-top: 1px solid #e5e7eb !important; /* Light gray border */
    color: #475569 !important; /* Slate gray base text */
}

    .custom-footer .footer-brand-title {
        color: #0f172a !important; /* Dark slate for headings */
    }

    .custom-footer .footer-desc {
        color: #475569 !important;
    }

    .custom-footer .footer-col-title {
        color: #0f172a !important; /* Dark slate for headings */
    }

    .custom-footer .footer-link {
        color: #475569 !important; /* Slate gray links */
    }

        .custom-footer .footer-link:hover {
            color: #2563eb !important; /* Blue hover to match the navbar */
        }

    .custom-footer .footer-contact-list {
        color: #475569 !important;
    }

    /* Keep the contact icons bright orange for a nice pop of color */
    .custom-footer .footer-contact-icon {
        color: #f97316 !important;
    }

    /* Update the brand logo container for the light theme */
    .custom-footer .footer-brand-logo {
        background-color: #f8fafc !important;
        border: 1px solid #e5e7eb !important;
    }

    /* Footer Bottom section */
    .custom-footer .custom-footer-bottom {
        border-top: 1px solid #e5e7eb !important;
        color: #64748b !important;
    }

    .custom-footer .footer-policy-links a {
        color: #64748b !important;
    }

        .custom-footer .footer-policy-links a:hover {
            color: #2563eb !important; /* Blue hover */
        }

    /* Ensure the X (Twitter) icon looks sharp on white */
    .custom-footer .social-x {
        background-color: #0f172a !important;
        border: none !important;
    }


/* ==========================================================================
   WHITE THEME MIDDLE SECTION (SOLAR FORM) OVERRIDES
   ========================================================================== */

/* Force the overall page background to light gray/white */
body {
    background-color: #f8fafc !important;
}

/* Main Section Wrapper */
.solar-section {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

/* Headings & Text */
.solar-title {
    color: #0f172a !important; /* Dark slate text */
}

.solar-subtitle {
    color: #475569 !important; /* Slate gray text */
}

/* Stats Banner */
.solar-stats {
    background-color: #ffffff !important; /* White background */
    border: 1px solid #e5e7eb !important; /* Light gray border */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important; /* Soft shadow */
}

.solar-stat-item {
    border-right-color: #e5e7eb !important;
}

.solar-stat-label {
    color: #475569 !important;
}

/* Form Container */
.solar-form-card {
    background-color: #ffffff !important; /* White form background */
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025) !important; /* Nice elevated shadow */
}

/* Form Inputs & Labels */
.solar-label {
    color: #475569 !important;
}

.solar-input, .solar-select {
    background-color: #f8fafc !important; /* Very light gray inside inputs */
    border: 1px solid #cbd5e1 !important; /* Light gray border */
    color: #0f172a !important; /* Dark text inside inputs */
}

    .solar-input:focus, .solar-select:focus {
        background-color: #ffffff !important;
        border-color: #f97316 !important; /* Keep the orange focus outline */
        box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1) !important;
    }

    .solar-select option {
        background-color: #ffffff !important;
        color: #0f172a !important;
    }

.solar-divider {
    border-top-color: #e5e7eb !important;
}

/* Submit Button - Updating to a solid bright orange gradient for the light theme */
.solar-btn {
    background-image: linear-gradient(to right, #f97316, #ea580c) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25) !important;
}

    .solar-btn:hover {
        background-image: linear-gradient(to right, #ea580c, #c2410c) !important;
        box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4) !important;
    }

/* Trust Indicators below button */
.solar-trust {
    color: #64748b !important;
}

/* Mobile border overrides */
@media (max-width: 768px) {
    .solar-stat-item {
        border-bottom-color: #e5e7eb !important;
    }
}