/* =========================================
   Light Theme Support
   ========================================= */
body.light-mode {
    /* Color Palette - Light Theme */
    --bg-dark: #f0f4f8;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;

    /* Adjust Shadows for Light Mode */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Adjust gradients if needed (keep primary/secondary same) */
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
}

/* Light Mode Specific Overrides */
body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .navbar-brand {
    color: var(--text-main) !important;
}

body.light-mode .nav-link {
    color: var(--text-muted) !important;
}

body.light-mode .hero-section {
    background: radial-gradient(circle at center, #ffffff 0%, #e2e8f0 100%);
}

body.light-mode .service-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.light-mode .contact-form-panel {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}



body.light-mode .form-control-modern {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

body.light-mode .form-control-modern::placeholder {
    color: #94a3b8;
}

body.light-mode .form-control-modern:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

body.light-mode .brands-section {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

body.light-mode .stats-section {
    background: linear-gradient(to bottom, #f8fafc, #e2e8f0);
}

body.light-mode footer {
    background: #0f172a;
    color: #e2e8f0;
}

body.light-mode footer h1,
body.light-mode footer h2,
body.light-mode footer h3,
body.light-mode footer h4,
body.light-mode footer h5,
body.light-mode footer h6 {
    color: #ffffff;
}

body.light-mode footer a {
    color: #e2e8f0;
}

body.light-mode footer a:hover {
    color: var(--primary);
}

body.light-mode .about-section {
    background: var(--bg-dark);
}

/* Theme Toggle Button Style */
.theme-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 10px;
    margin-left: 15px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover {
    transform: rotate(15deg) scale(1.1);
    color: var(--primary);
}

/* Update text colors in light mode where strictly white was enforced */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6 {
    color: var(--text-main);
}

/* Fix for FAQ visibility in Light Mode */
body.light-mode .faq-question {
    color: var(--text-main);
}

body.light-mode .faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Ensure readability for other sections in light mode */
body.light-mode .process-step h3,
body.light-mode .review-card p,
body.light-mode .cta-strip h2,
body.light-mode .cta-strip p,
body.light-mode .service-card h3 {
    color: var(--text-main);
}

body.light-mode .cta-strip p {
    color: var(--text-muted);
}

body.light-mode .review-text {
    color: #475569;
}

body.light-mode .review-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}