/* ===== LIGHT/DARK MODE STYLES ===== */

/* Root variables for light and dark mode */
:root {
    --primary-green: #7ED321;
    --primary-purple: #9c27b0;
    --primary-accent: #FF6B6B;
    --gradient-primary: linear-gradient(135deg, var(--primary-green), var(--primary-purple));
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --card-bg: rgba(30, 30, 35, 0.7);
    --card-border: rgba(255, 255, 255, 0.05);
    --text-light: #fff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Inter', sans-serif;
    --content-width: 1200px;
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    --white: #ffffff;
    
    /* Team-related variables */
    --team-primary-color: #7ED321;
    --team-secondary-color: #9c27b0;
    --team-accent-color: #FF6B6B;
    --team-gradient-start: #7ED321;
    --team-gradient-end: #9c27b0;
    --team-dark-bg: rgba(22, 22, 26, 0.95);
    --team-card-bg: rgba(30, 30, 35, 0.7);
    --team-card-border: rgba(255, 255, 255, 0.1);
    --team-hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    --team-text-color: #fff;
    --team-text-muted: rgba(255, 255, 255, 0.7);
    --team-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Light theme overrides */
.light-theme {
    --team-dark-bg: rgba(245, 245, 250, 0.95);
    --team-card-bg: rgba(255, 255, 255, 0.9);
    --team-card-border: rgba(0, 0, 0, 0.05);
    --team-text-color: #333;
    --team-text-muted: rgba(0, 0, 0, 0.6);
}

/* Basic section styling for light and dark themes */
html.light-theme section:not(.hero-section) {
    padding: 60px 0;
    background: #fff;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Section styling for light and dark themes */
html.light-theme section:not(.hero-section), 
html.light-theme .client-logos-section,
html.light-theme .about-section,
html.light-theme .results-section,
html.light-theme .portfolio-section,
html.light-theme .recognition-section,
html.light-theme .team-expertise-section,
html.light-theme .analytics-section,
html.light-theme .process-section,
html.light-theme .testimonials-section,
html.light-theme .guarantee-section,
html.light-theme .blog-section,
html.light-theme .cta-section,
html.light-theme .consultation-section {
    background-color: #ffffff;
    color: #1a1a2e;
}

html:not(.light-theme) section:not(.hero-section),
html:not(.light-theme) .client-logos-section,
html:not(.light-theme) .about-section,
html:not(.light-theme) .results-section,
html:not(.light-theme) .portfolio-section,
html:not(.light-theme) .recognition-section,
html:not(.light-theme) .team-expertise-section,
html:not(.light-theme) .analytics-section,
html:not(.light-theme) .process-section,
html:not(.light-theme) .testimonials-section,
html:not(.light-theme) .guarantee-section,
html:not(.light-theme) .blog-section,
html:not(.light-theme) .cta-section,
html:not(.light-theme) .consultation-section {
    background-color: #161623;
    color: #ffffff;
}

/* Section background styles for light and dark themes */
.brand-value-section,
.client-logos-section,
.about-section,
.results-section,
.recognition-section,
.team-expertise-section,
.analytics-section,
.process-section,
.guarantee-section,
.blog-section,
.cta-section,
.consultation-section,
.footer {
    background-color: #161623;
    color: #ffffff;
}

html.light-theme section:not(.hero-section)::before {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom background styles for both light and dark themes - exclude hero section */
html.light-theme section:not(.hero-section) {
    background-color: var(--white) !important;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm-34-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm-12 65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4z' fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E") !important;
    background-attachment: fixed !important;
    position: relative;
}

/* Dark theme background for all sections except hero - matching Brand Value Proposition style */
html:not(.light-theme) section:not(.hero-section) {
    background-color: #121212 !important;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm-34-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm-12 65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E") !important;
    background-attachment: fixed !important;
    position: relative;
}

html.light-theme .container {
    color: #1a1a2e;
}

html.light-theme .section-header,
html.light-theme .testimonial-header {
    color: #1a1a2e;
}

/* Responsive styles for mobile devices */
@media screen and (max-width: 768px) {
    .hero-section,
    .client-logos-section,
    .about-section,
    .services,
    .results-section,
    .portfolio-section,
    .recognition-section,
    .team-expertise-section,
    .analytics-section,
    .process-section,
    .testimonials-section,
    .guarantee-section,
    .blog-section,
    .cta-section,
    .consultation-section {
        padding: 60px 0;
    }
    
    /* Scroll to top and WhatsApp buttons responsive styles for mobile */
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 85px;
        right: 20px;
    }
    
    .scroll-to-top i {
        font-size: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button i {
        font-size: 25px;
    }
}

/* Text color adjustments */
.white-text-dark {
    color: #fff;
}

html.light-theme .white-text-dark:not(.hero-section *) {
    color: #1a1a2e;
}

html:not(.light-theme) .white-text-dark {
    color: #fff;
}

.transforming-text {
    position: relative;
    z-index: 2;
    display: inline-block;
    color: #fff;
}

html:not(.light-theme) .transforming-text {
    position: relative;
    z-index: 2;
    display: inline-block;
    color: #fff;
}

html.light-theme .transforming-text:not(.hero-section *) {
    color: #1a1a2e;
}

/* Service tag styling for light and dark themes */
.light-theme .service-tag {
    background: rgba(0, 0, 0, 0.05);
    color: #222;
}

.light-theme .service-card:hover .service-tag {
    background: rgba(126, 211, 33, 0.2);
    color: #156904;
}

/* Service button styling for light and dark themes */
.light-theme .service-btn {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

.light-theme .service-card:hover .service-btn {
    background: linear-gradient(135deg, rgba(126, 211, 33, 0.2), rgba(156, 39, 176, 0.2));
    color: #1a1a2e;
}

/* Scroll to top button styling for light and dark themes */
.light-theme .scroll-to-top {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.light-theme .scroll-to-top::before {
    background: linear-gradient(135deg, rgba(126, 211, 33, 0.2), rgba(156, 39, 176, 0.2));
}

.light-theme .scroll-to-top i {
    color: #333;
    background: -webkit-linear-gradient(45deg, #333, #333);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.2rem;
}

.light-theme .scroll-to-top:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.light-theme .scroll-to-top:hover i {
    background: -webkit-linear-gradient(45deg, #7ED321, #9c27b0);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* WhatsApp button styling for light theme */
.light-theme .whatsapp-button {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

/* Footer styling for light theme - REMOVED */

/* Responsive styles */
@media (max-width: 1200px) {
    .footer-contact-bar {
        flex-wrap: wrap;
    }
    
    .footer-contact-bar .contact-item {
        margin-right: 20px;
        margin-bottom: 10px;
    }
}

@media (max-width: 991px) {
    .footer {
        padding: 80px 0 40px;
    }
    
    .footer-main-content {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 60px 0 40px;
    }
    
    .footer-contact-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-contact-bar .contact-item {
        margin-bottom: 15px;
    }
    
    .footer-social-luxury {
        margin-bottom: 30px;
    }
    
    .social-luxury-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 15px;
    }
    
    .copyright {
        text-align: left;
    }
    
    .footer-newsletter .footer-social-luxury {
        justify-content: center;
    }
    
    .footer-newsletter .social-luxury-wrapper {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-social-luxury .social-luxury-wrapper {
        gap: 10px;
    }
    
    .social-luxury-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .footer-bottom-links {
        flex-wrap: nowrap;
        gap: 20px;
    }
}
