/* ========================================
   KAYRIAKOU GROUP LIMITED - Main Stylesheet
   Based on Orthodoxou Group Design
   ======================================== */

/* CSS Variables / Design Tokens */
:root {
    /* Colors */
    --primary-color: #D80027;
    --primary-dark: #8B0000;
    --primary-light: #FF4D4D;
    --secondary-color: #1A1D31;
    --text-color: #77798A;
    --text-dark: #1a1a2e;
    --white: #FFFFFF;
    --light-gray: #f8f9fa;
    --border-color: #e5e7eb;

    /* Typography */
    --font-primary: 'Muli', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.7;

    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-link:hover {
    color: var(--primary-dark);
}

.btn-link i {
    transition: var(--transition-base);
}

.btn-link:hover i {
    transform: translateX(4px);
}

/* Section Labels & Titles */
.section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.3;
}

.section-desc {
    font-size: 18px;
    color: var(--text-color);
    max-width: 600px;
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}

.text-center.section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Preloader
   ======================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a !important;
    /* Force dark background for premium feel */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.loader-logo {
    width: 180px;
    height: auto;
    opacity: 0;
    animation: logoFadeIn 1s ease forwards, logoPulse 3s ease-in-out infinite 1s;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), #ffffff);
    animation: loadProgress 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary-color);
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes loadProgress {
    0% {
        width: 0%;
        left: 0;
    }

    50% {
        width: 70%;
        left: 0;
    }

    100% {
        width: 0%;
        left: 100%;
    }
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), #FF1E6C, var(--primary-color), transparent);
    background-size: 200% 100%;
    animation: headerGradient 4s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* .header:hover::after interaction removed to prevent animation conflict with nav links */

@keyframes headerGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(198, 6, 80, 0.25));
}

/* Navigation */
.main-nav {
    display: flex;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

/* .nav-link::before removed to avoid conflict with premium.css ::after animation */

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(198, 6, 80, 0.3);
}

/* .nav-link:hover::before removed */

.nav-link i {
    font-size: 10px;
    transition: var(--transition-fast);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-base);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    color: var(--text-color);
}

.dropdown-menu li a:hover {
    color: var(--primary-color);
    background: var(--light-gray);
}

/* Header Social */
.header-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--text-dark);
    font-size: 14px;
    background: rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-social a:hover {
    background: linear-gradient(135deg, var(--primary-color), #FF1E6C);
    color: var(--white);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(198, 6, 80, 0.35);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 15px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 20px;
}

.lang-btn {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--primary-color);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.lang-divider {
    color: var(--text-dark);
    opacity: 0.3;
    font-size: 12px;
}

[data-theme="dark"] .lang-switcher {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .lang-btn {
    color: var(--white);
}

[data-theme="dark"] .lang-btn:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

[data-theme="dark"] .lang-divider {
    color: var(--white);
    opacity: 0.3;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 90px; /* Account for fixed header */
    padding-bottom: 80px; /* Ensure content doesn't overlap with scroll indicator */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    object-fit: cover;
    /* For video support */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 60px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.1s;
    /* Small delay to prevent flash of unstyled content */
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.5s;
}

.delay-3 {
    animation-delay: 0.7s;
}

.delay-4 {
    animation-delay: 0.9s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Welcome Section
   ======================================== */
.welcome-section {
    padding: var(--section-padding) 0;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-image {
    position: relative;
}

.image-frame {
    position: relative;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 20px);
    height: 60%;
    border-left: 4px solid var(--primary-color);
    border-top: 4px solid var(--primary-color);
    pointer-events: none;
}

.image-frame img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.welcome-content p {
    margin-bottom: 20px;
}

/* ========================================
   Companies Section
   ======================================== */
.companies-section {
    padding: var(--section-padding) 0;
    background: var(--light-gray);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.company-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.company-image {
    height: 200px;
    overflow: hidden;
}

.company-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.company-card:hover .company-image img {
    transform: scale(1.1);
}

.company-content {
    padding: 30px;
}

.company-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.company-content p {
    font-size: 15px;
    margin-bottom: 20px;
}

/* ========================================
   Values Section
   ======================================== */
.values-section {
    padding: var(--section-padding) 0;
    background: var(--light-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.values-list {
    margin-top: 30px;
}

.value-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.value-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.value-item i {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 4px;
}

.value-item h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.value-item p {
    font-size: 15px;
    margin: 0;
}

.values-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Statistics Section
   ======================================== */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2a2d45 100%);
    position: relative;
    overflow: hidden;
}

.stats-intro {
    margin-bottom: 50px;
}

.stats-intro.text-center {
    text-align: center;
}

.stats-intro .section-label.light,
.stats-intro .section-title.light {
    color: var(--white);
}

.stats-intro .section-label.light .label-icon {
    background: rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition-base);
}

.stat-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.stat-item:hover .stat-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.stat-item:hover .stat-icon i {
    color: var(--white);
}

.stat-number {
    display: inline;
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-suffix {
    display: inline;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   Locations Section
   ======================================== */
.locations-section {
    padding: var(--section-padding) 0;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.location-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.location-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
}

.location-icon i {
    font-size: 32px;
    color: var(--white);
}

.location-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.location-card ul li {
    margin-bottom: 12px;
}

.location-card ul li a {
    color: var(--text-color);
    font-size: 15px;
}

.location-card ul li a:hover {
    color: var(--primary-color);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--secondary-color);
    padding: 80px 0 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-newsletter p {
    font-size: 15px;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    font-size: 14px;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form .btn {
    padding: 14px 24px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 999;
    /* Performance optimization */
    will-change: transform, opacity;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .welcome-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .header-content {
        height: 70px;
    }

    .logo img {
        height: 50px;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 0;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 999;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 20px 0;
    }

    .nav-link {
        padding: 18px 24px;
        border-bottom: 1px solid var(--border-color);
        font-size: 15px;
        justify-content: space-between;
    }

    .nav-link i {
        transition: transform 0.3s ease;
    }

    .nav-item.open .nav-link i {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: var(--light-gray);
        border-radius: 0;
    }

    .nav-item.open .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-menu li a {
        padding: 14px 24px 14px 40px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .header-social {
        display: none;
    }

    .lang-switcher {
        margin-left: auto;
        margin-right: 15px;
        padding: 4px 10px;
    }

    .lang-btn {
        font-size: 12px;
        padding: 3px 6px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding-top: 70px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .logo img {
        height: 45px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .companies-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-suffix {
        font-size: 24px;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-suffix {
        font-size: 22px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .section-title {
        font-size: 24px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }
}