/* CSS Variables for Theme System */
:root {
    /* Light Theme (Default) */
    --primary: #2B6CB0;
    --primary-dark: #1A365D;
    --primary-light: #EBF8FF;
    --accent: #3182CE;
    
    /* Neutral Colors */
    --neutral-50: #F8FAFC;
    --neutral-100: #F1F5F9;
    --neutral-200: #E2E8F0;
    --neutral-300: #CBD5E1;
    --neutral-400: #94A3B8;
    --neutral-500: #64748B;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1E293B;
    --neutral-900: #0F172A;
    
    /* Theme Colors */
    --bg-primary: var(--neutral-50);
    --bg-secondary: var(--neutral-100);
    --bg-tertiary: #FFFFFF;
    --text-primary: var(--neutral-900);
    --text-secondary: var(--neutral-800);
    --text-tertiary: var(--neutral-700);
    --text-inverse: #FFFFFF;
    
    /* Logo */
    --logo-src: url('logo-evotek-light.png');
}

/* Dark Theme */
[data-theme="dark"] {
    --primary: #60A5FA;
    --primary-dark: #3B82F6;
    --primary-light: #1E3A8A;
    --accent: #60A5FA;
    
    /* Neutral Colors */
    --neutral-50: #0F172A;
    --neutral-100: #1E293B;
    --neutral-200: #334155;
    --neutral-300: #475569;
    --neutral-400: #64748B;
    --neutral-500: #94A3B8;
    --neutral-600: #CBD5E1;
    --neutral-700: #E2E8F0;
    --neutral-800: #F1F5F9;
    --neutral-900: #FFFFFF;
    
    /* Theme Colors */
    --bg-primary: var(--neutral-50);
    --bg-secondary: var(--neutral-100);
    --bg-tertiary: var(--neutral-100);
    --text-primary: var(--neutral-900);
    --text-secondary: var(--neutral-700);
    --text-tertiary: var(--neutral-600);
    --text-inverse: #FFFFFF;
    
    /* Logo */
    --logo-src: url('logo-evotek-dark.png');
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-tertiary);
    transition: color 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-tertiary) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

/* Dark theme header background */
[data-theme="dark"] .header {
    background-color: var(--bg-tertiary) !important;
}

/* Improve text contrast on white backgrounds in light theme */
:root .service-card,
:root .project-card,
:root .event-card,
:root .partner-item {
    --text-primary: var(--neutral-900);
    --text-secondary: var(--neutral-800);
    --text-tertiary: var(--neutral-700);
}

/* Ensure proper contrast for text on white backgrounds */
.service-card p,
.project-content p,
.event-content p,
.about-text p {
    color: var(--neutral-700) !important;
}

.service-card h3,
.project-content h3,
.event-content h3,
.about-text h3 {
    color: var(--neutral-900) !important;
}

/* About section text contrast */
.about-text {
    color: var(--neutral-800) !important;
}

.about-text p {
    color: var(--neutral-700) !important;
}

/* Section headers contrast */
.section-header h2 {
    color: var(--neutral-900) !important;
}

.section-header p {
    color: var(--neutral-700) !important;
}

/* General text contrast improvements for light theme */
:root p {
    color: var(--neutral-700) !important;
}

:root h1, :root h2, :root h3, :root h4, :root h5, :root h6 {
    color: var(--neutral-900) !important;
}

/* Keep light text colors for sections with dark backgrounds */
.hero h1,
.hero h2,
.hero h3,
.hero p,
.hero .hero-description,
.hero .contact-item,
.hero .contact-item span,
.hero .hero-text h1,
.hero .hero-text p {
    color: white !important;
}

.hero .highlight {
    color: var(--primary) !important;
}

/* Hero overlay ensures dark background for text contrast */
.hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%) !important;
}

/* CTA section with dark background */
.cta h2,
.cta p {
    color: white !important;
}

/* Page headers - use theme colors for proper visibility */
.page-header h1,
.page-header h2,
.page-header p,
.page-header .page-description {
    color: var(--text-primary) !important;
}

/* Light theme - ensure text is visible on white background */
:root .page-header h1,
:root .page-header h2,
:root .page-header p,
:root .page-header .page-description {
    color: var(--neutral-900) !important;
}

/* Dark theme - ensure header has dark background for white text visibility */
[data-theme="dark"] .page-header {
    background: var(--neutral-800) !important;
    border-bottom: 1px solid var(--neutral-600) !important;
}

/* Dark theme - force dark background for page headers to override inline styles */
[data-theme="dark"] .page-header {
    background: var(--neutral-800) !important;
    color: white !important;
}


/* Force text color in dark theme header */
[data-theme="dark"] .header .nav-link {
    color: #E2E8F0 !important;
}

/* Light theme footer - force white text on dark background */
:root .footer h3,
:root .footer-section h3,
:root .footer-description,
:root .footer .newsletter-text {
    color: white !important;
}

:root .footer .contact-item,
:root .footer .contact-item span,
:root .footer .hours-item,
:root .footer .day,
:root .footer .time {
    color: var(--neutral-300) !important;
}


[data-theme="dark"] .header .nav-link:hover,
[data-theme="dark"] .header .nav-link.active {
    color: #60A5FA !important;
}

/* Dark theme footer - ensure all text is dark and visible */
[data-theme="dark"] .footer h3,
[data-theme="dark"] .footer-section h3,
[data-theme="dark"] .footer-description,
[data-theme="dark"] .footer .newsletter-text,
[data-theme="dark"] .footer .contact-item,
[data-theme="dark"] .footer .contact-item span,
[data-theme="dark"] .footer .hours-item,
[data-theme="dark"] .footer .day,
[data-theme="dark"] .footer .time {
    color: var(--neutral-800) !important;
}

[data-theme="dark"] .footer .footer-copyright {
    color: var(--neutral-700) !important;
}

/* Dark theme body text - ensure visibility */
[data-theme="dark"] p,
[data-theme="dark"] .project-content p,
[data-theme="dark"] .event-content p,
[data-theme="dark"] .service-card p,
[data-theme="dark"] .about-text p,
[data-theme="dark"] .section-header p {
    color: var(--neutral-200) !important;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .project-content h3,
[data-theme="dark"] .event-content h3,
[data-theme="dark"] .service-card h3,
[data-theme="dark"] .about-text h3,
[data-theme="dark"] .section-header h2 {
    color: var(--neutral-100) !important;
}

/* Dark theme specific text elements */
[data-theme="dark"] .project-meta,
[data-theme="dark"] .event-meta,
[data-theme="dark"] .contact-item,
[data-theme="dark"] .contact-item span,
[data-theme="dark"] .hours-item,
[data-theme="dark"] .day,
[data-theme="dark"] .time {
    color: var(--neutral-300) !important;
}

/* Dark theme card content */
[data-theme="dark"] .service-card,
[data-theme="dark"] .project-card,
[data-theme="dark"] .event-card {
    background-color: #192b3e !important;
    color: var(--neutral-200) !important;
}

/* Dark mode - force white text on dark backgrounds only */
[data-theme="dark"] .about,
[data-theme="dark"] .hero,
[data-theme="dark"] .services,
[data-theme="dark"] .projects,
[data-theme="dark"] .events,
[data-theme="dark"] .partners,
[data-theme="dark"] .cta,
[data-theme="dark"] .about-section,
[data-theme="dark"] .hero-section,
[data-theme="dark"] .stats-section,
[data-theme="dark"] .team-section,
[data-theme="dark"] .contact-form-section,
[data-theme="dark"] .event-schedule,
[data-theme="dark"] .upcoming-events,
[data-theme="dark"] .categories-section {
    /* Keep original backgrounds, only change text color */
}

[data-theme="dark"] .about h1,
[data-theme="dark"] .about h2,
[data-theme="dark"] .about h3,
[data-theme="dark"] .about h4,
[data-theme="dark"] .about h5,
[data-theme="dark"] .about h6,
[data-theme="dark"] .about p,
[data-theme="dark"] .about .about-text,
[data-theme="dark"] .about .about-text h3,
[data-theme="dark"] .about .about-text p,
[data-theme="dark"] .hero h1,
[data-theme="dark"] .hero h2,
[data-theme="dark"] .hero h3,
[data-theme="dark"] .hero h4,
[data-theme="dark"] .hero h5,
[data-theme="dark"] .hero h6,
[data-theme="dark"] .hero p,
[data-theme="dark"] .hero .hero-description,
[data-theme="dark"] .hero .contact-item,
[data-theme="dark"] .hero .contact-item span,
[data-theme="dark"] .services h1,
[data-theme="dark"] .services h2,
[data-theme="dark"] .services h3,
[data-theme="dark"] .services h4,
[data-theme="dark"] .services h5,
[data-theme="dark"] .services h6,
[data-theme="dark"] .services p,
[data-theme="dark"] .projects h1,
[data-theme="dark"] .projects h2,
[data-theme="dark"] .projects h3,
[data-theme="dark"] .projects h4,
[data-theme="dark"] .projects h5,
[data-theme="dark"] .projects h6,
[data-theme="dark"] .projects p,
[data-theme="dark"] .events h1,
[data-theme="dark"] .events h2,
[data-theme="dark"] .events h3,
[data-theme="dark"] .events h4,
[data-theme="dark"] .events h5,
[data-theme="dark"] .events h6,
[data-theme="dark"] .events p,
[data-theme="dark"] .partners h1,
[data-theme="dark"] .partners h2,
[data-theme="dark"] .partners h3,
[data-theme="dark"] .partners h4,
[data-theme="dark"] .partners h5,
[data-theme="dark"] .partners h6,
[data-theme="dark"] .partners p,
[data-theme="dark"] .cta h1,
[data-theme="dark"] .cta h2,
[data-theme="dark"] .cta h3,
[data-theme="dark"] .cta h4,
[data-theme="dark"] .cta h5,
[data-theme="dark"] .cta h6,
[data-theme="dark"] .cta p,
[data-theme="dark"] .about-section h1,
[data-theme="dark"] .about-section h2,
[data-theme="dark"] .about-section h3,
[data-theme="dark"] .about-section h4,
[data-theme="dark"] .about-section h5,
[data-theme="dark"] .about-section h6,
[data-theme="dark"] .about-section p,
[data-theme="dark"] .about-section .about-text,
[data-theme="dark"] .about-section .about-text h3,
[data-theme="dark"] .about-section .about-text p,
[data-theme="dark"] .hero-section h1,
[data-theme="dark"] .hero-section h2,
[data-theme="dark"] .hero-section h3,
[data-theme="dark"] .hero-section h4,
[data-theme="dark"] .hero-section h5,
[data-theme="dark"] .hero-section h6,
[data-theme="dark"] .hero-section p,
[data-theme="dark"] .stats-section h1,
[data-theme="dark"] .stats-section h2,
[data-theme="dark"] .stats-section h3,
[data-theme="dark"] .stats-section h4,
[data-theme="dark"] .stats-section h5,
[data-theme="dark"] .stats-section h6,
[data-theme="dark"] .stats-section p,
[data-theme="dark"] .team-section h1,
[data-theme="dark"] .team-section h2,
[data-theme="dark"] .team-section h3,
[data-theme="dark"] .team-section h4,
[data-theme="dark"] .team-section h5,
[data-theme="dark"] .team-section h6,
[data-theme="dark"] .team-section p,
[data-theme="dark"] .contact-form-section h1,
[data-theme="dark"] .contact-form-section h2,
[data-theme="dark"] .contact-form-section h3,
[data-theme="dark"] .contact-form-section h4,
[data-theme="dark"] .contact-form-section h5,
[data-theme="dark"] .contact-form-section h6,
[data-theme="dark"] .contact-form-section p,
[data-theme="dark"] .event-schedule h1,
[data-theme="dark"] .event-schedule h2,
[data-theme="dark"] .event-schedule h3,
[data-theme="dark"] .event-schedule h4,
[data-theme="dark"] .event-schedule h5,
[data-theme="dark"] .event-schedule h6,
[data-theme="dark"] .event-schedule p,
[data-theme="dark"] .upcoming-events h1,
[data-theme="dark"] .upcoming-events h2,
[data-theme="dark"] .upcoming-events h3,
[data-theme="dark"] .upcoming-events h4,
[data-theme="dark"] .upcoming-events h5,
[data-theme="dark"] .upcoming-events h6,
[data-theme="dark"] .upcoming-events p,
[data-theme="dark"] .categories-section h1,
[data-theme="dark"] .categories-section h2,
[data-theme="dark"] .categories-section h3,
[data-theme="dark"] .categories-section h4,
[data-theme="dark"] .categories-section h5,
[data-theme="dark"] .categories-section h6,
[data-theme="dark"] .categories-section p,
[data-theme="dark"] .page-header h1,
[data-theme="dark"] .page-header h2,
[data-theme="dark"] .page-header h3,
[data-theme="dark"] .page-header h4,
[data-theme="dark"] .page-header h5,
[data-theme="dark"] .page-header h6,
[data-theme="dark"] .page-header p,
[data-theme="dark"] .page-header .page-description {
    color: white !important;
}

/* Dark mode - make sections with white background have dark background */
[data-theme="dark"] .services-section,
[data-theme="dark"] .projects-section,
[data-theme="dark"] .events-section,
[data-theme="dark"] .partners-section,
[data-theme="dark"] .stats-section,
[data-theme="dark"] .team-section,
[data-theme="dark"] .contact-section:not(.contact-info),
[data-theme="dark"] .newsletter-section,
[data-theme="dark"] .cta-section,
[data-theme="dark"] .about-section,
[data-theme="dark"] .hero-section,
[data-theme="dark"] .contact-form-section,
[data-theme="dark"] .event-schedule,
[data-theme="dark"] .upcoming-events,
[data-theme="dark"] .categories-section {
    background-color: #192b3e !important;
}

/* Dark mode - ensure text is visible on dark backgrounds */
[data-theme="dark"] .services-section h1,
[data-theme="dark"] .services-section h2,
[data-theme="dark"] .services-section h3,
[data-theme="dark"] .services-section h4,
[data-theme="dark"] .services-section h5,
[data-theme="dark"] .services-section h6,
[data-theme="dark"] .services-section p,
[data-theme="dark"] .projects-section h1,
[data-theme="dark"] .projects-section h2,
[data-theme="dark"] .projects-section h3,
[data-theme="dark"] .projects-section h4,
[data-theme="dark"] .projects-section h5,
[data-theme="dark"] .projects-section h6,
[data-theme="dark"] .projects-section p,
[data-theme="dark"] .events-section h1,
[data-theme="dark"] .events-section h2,
[data-theme="dark"] .events-section h3,
[data-theme="dark"] .events-section h4,
[data-theme="dark"] .events-section h5,
[data-theme="dark"] .events-section h6,
[data-theme="dark"] .events-section p,
[data-theme="dark"] .partners-section h1,
[data-theme="dark"] .partners-section h2,
[data-theme="dark"] .partners-section h3,
[data-theme="dark"] .partners-section h4,
[data-theme="dark"] .partners-section h5,
[data-theme="dark"] .partners-section h6,
[data-theme="dark"] .partners-section p,
[data-theme="dark"] .stats-section h1,
[data-theme="dark"] .stats-section h2,
[data-theme="dark"] .stats-section h3,
[data-theme="dark"] .stats-section h4,
[data-theme="dark"] .stats-section h5,
[data-theme="dark"] .stats-section h6,
[data-theme="dark"] .stats-section p,
[data-theme="dark"] .team-section h1,
[data-theme="dark"] .team-section h2,
[data-theme="dark"] .team-section h3,
[data-theme="dark"] .team-section h4,
[data-theme="dark"] .team-section h5,
[data-theme="dark"] .team-section h6,
[data-theme="dark"] .team-section p,
[data-theme="dark"] .contact-section:not(.contact-info) h1,
[data-theme="dark"] .contact-section:not(.contact-info) h2,
[data-theme="dark"] .contact-section:not(.contact-info) h3,
[data-theme="dark"] .contact-section:not(.contact-info) h4,
[data-theme="dark"] .contact-section:not(.contact-info) h5,
[data-theme="dark"] .contact-section:not(.contact-info) h6,
[data-theme="dark"] .contact-section:not(.contact-info) p,
[data-theme="dark"] .newsletter-section h1,
[data-theme="dark"] .newsletter-section h2,
[data-theme="dark"] .newsletter-section h3,
[data-theme="dark"] .newsletter-section h4,
[data-theme="dark"] .newsletter-section h5,
[data-theme="dark"] .newsletter-section h6,
[data-theme="dark"] .newsletter-section p,
[data-theme="dark"] .cta-section h1,
[data-theme="dark"] .cta-section h2,
[data-theme="dark"] .cta-section h3,
[data-theme="dark"] .cta-section h4,
[data-theme="dark"] .cta-section h5,
[data-theme="dark"] .cta-section h6,
[data-theme="dark"] .cta-section p {
    color: white !important;
}

/* Dark mode - darker background for stat-item elements only */
[data-theme="dark"] .stat-item {
    background-color: #0f1a2e !important;
}

/* Dark mode - ensure text is visible on stat-item */
[data-theme="dark"] .stat-item h1,
[data-theme="dark"] .stat-item h2,
[data-theme="dark"] .stat-item h3,
[data-theme="dark"] .stat-item h4,
[data-theme="dark"] .stat-item h5,
[data-theme="dark"] .stat-item h6,
[data-theme="dark"] .stat-item p,
[data-theme="dark"] .stat-item .stat-number,
[data-theme="dark"] .stat-item .stat-label {
    color: white !important;
}

/* Dark mode - darker text for service features list items */
[data-theme="dark"] .service-features li {
    color: #1a1a1a !important;
}

[data-theme="dark"] .service-features li::before {
    color: #1a1a1a !important;
}

/* Additional specificity for service features text */
[data-theme="dark"] .service-card .service-features li,
[data-theme="dark"] .service-item .service-features li,
[data-theme="dark"] .services .service-features li {
    color: #1a1a1a !important;
}

[data-theme="dark"] .service-card .service-features li::before,
[data-theme="dark"] .service-item .service-features li::before,
[data-theme="dark"] .services .service-features li::before {
    color: #1a1a1a !important;
}

/* Dark mode - specific background for team member cards */
[data-theme="dark"] .team-member {
    background-color: rgb(21, 29, 47) !important;
}

/* Dark mode - dark background for category items */
[data-theme="dark"] .category-item {
    background-color: #192b3e !important;
}

/* Dark mode - dark background for contact-info-section */
[data-theme="dark"] .contact-info-section {
    background-color: #2a3444;
}

/* Dark mode - white text for contact info elements */
[data-theme="dark"] .contact-info h2 {
    margin-bottom: 2rem;
    font-size: 2.25rem;
    color: var(--neutral-900);
    color: #fff !important;
}

[data-theme="dark"] .contact-details h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--neutral-900);
    color: #fff !important;
}

/* Dark mode - form container styles */
[data-theme="dark"] .form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--neutral-100);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-image {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Navigation */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn-catalog {
    margin-left: 1rem;
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.theme-toggle-btn {
    background: none;
    border: 2px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary);
}

.theme-toggle-btn:hover {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

.theme-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .theme-icon {
    transform: rotate(180deg);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-tertiary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-mobile.active {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Mobile menu text colors for both themes */
.mobile-nav-link {
    color: var(--text-secondary) !important;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary) !important;
}

/* Dark theme mobile menu */
[data-theme="dark"] .nav-mobile {
    background-color: var(--bg-tertiary);
}

[data-theme="dark"] .mobile-nav-link {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .mobile-nav-link:hover,
[data-theme="dark"] .mobile-nav-link.active {
    color: var(--primary) !important;
}

.mobile-menu-content {
    padding: 2rem;
}

.mobile-nav-list {
    list-style: none;
    margin-bottom: 2rem;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    color: var(--text-secondary) !important;
    font-weight: 500;
    border-bottom: 1px solid var(--neutral-200);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary) !important;
}

.btn-catalog-mobile {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

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

.hero-text {
    max-width: 4xl;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.hero-description {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin-bottom: 2rem;
    max-width: 42rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--primary);
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    max-width: 48rem;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* About Section */
.about {
    background-color: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1rem;
}

/* Services Section */
.services {
    background-color: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--text-tertiary);
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Projects Section */
.projects {
    background-color: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background-color: var(--bg-tertiary);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.project-content p {
    margin-bottom: 1rem;
    color: var(--text-tertiary);
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.project-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Events Section */
.events {
    background-color: var(--bg-secondary);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-card {
    background-color: var(--bg-tertiary);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-type {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.event-content {
    padding: 1.5rem;
}

.event-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.event-content p {
    margin-bottom: 1rem;
    color: var(--text-tertiary);
}

.event-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.event-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Partners Section */
.partners {
    background-color: var(--bg-primary);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-3px);
}

.partner-item img {
    max-width: 120px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
}

/* CTA Section */
.cta {
    background-color: var(--primary);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 4xl;
    margin: 0 auto;
}

.cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #e5e7eb;
}

.cta-contact {
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-info span {
    font-size: 1.125rem;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta .btn-outline {
    color: white;
    border-color: white;
}

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

/* Footer */
.footer {
    background-color: var(--neutral-800);
    color: var(--neutral-300);
    padding: 3rem 0 1rem;
}

/* Dark theme footer - light background with dark text */
[data-theme="dark"] .footer {
    background-color: var(--neutral-100);
    color: var(--neutral-800);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo .logo-image {
    height: 3rem;
    width: auto;
    object-fit: contain;
}

.footer-description {
    color: var(--neutral-300);
    margin: 1rem 0;
}

/* Dark theme footer text - dark text on light background */
[data-theme="dark"] .footer-description {
    color: var(--neutral-800);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--neutral-700);
    color: var(--neutral-300);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

/* Dark theme footer headings - dark text on light background */
[data-theme="dark"] .footer-section h3 {
    color: var(--neutral-900);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item i {
    color: var(--primary);
    width: 16px;
}

.working-hours {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
}

.day {
    font-weight: 500;
}

.newsletter-text {
    margin-bottom: 1rem;
}

.newsletter-form {
    margin-top: 1rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input-group input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--neutral-600);
    border-radius: 0.5rem;
    background-color: var(--neutral-700);
    color: white;
}

/* Dark theme newsletter input */
[data-theme="dark"] .newsletter-input-group input {
    border: 1px solid var(--neutral-300);
    background-color: var(--neutral-200);
    color: var(--neutral-800);
}

.newsletter-input-group input::placeholder {
    color: var(--neutral-400);
}

/* Dark theme newsletter placeholder */
[data-theme="dark"] .newsletter-input-group input::placeholder {
    color: var(--neutral-500);
}

.footer-bottom {
    border-top: 1px solid var(--neutral-700);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Dark theme footer bottom border */
[data-theme="dark"] .footer-bottom {
    border-top: 1px solid var(--neutral-300);
}

.footer-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--neutral-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Dark theme footer links - dark text on light background */
[data-theme="dark"] .footer-nav a {
    color: var(--neutral-800);
}

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

.footer-copyright {
    color: var(--neutral-400);
}

/* Dark theme footer copyright - dark text on light background */
[data-theme="dark"] .footer-copyright {
    color: var(--neutral-700);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-mobile {
        display: block;
    }
    
    .nav-mobile:not(.active) {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-image {
        height: 3rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
}