/* CSS Variables for Theme Management */
:root {
    /* Light Theme Colors */
    --primary-color: #1a92d1;
    --primary-dark: #ea3136;
    --secondary-color: #295cbb;
    --accent-color: #3b82f6;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    
    --text-primary: #132649;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Dark Theme Colors - تدرجات من المود لايت */
    --dark-bg-primary: #0a1625;
    --dark-bg-secondary: #132649;
    --dark-bg-tertiary: #1a3157;
    
    --dark-text-primary: #e8f0f8;
    --dark-text-secondary: #b8c8d8;
    --dark-text-muted: #8a9ba8;
     
    --dark-border-color: #1a3157;
    --dark-shadow-color: rgba(0, 0, 0, 0.4);
    
    /* Common Variables */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 var(--shadow-color);
    --shadow-md: 0 4px 6px -1px var(--shadow-color);
    --shadow-lg: 0 10px 15px -3px var(--shadow-color);
    --shadow-xl: 0 20px 25px -5px var(--shadow-color);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: var(--dark-bg-primary);
    --bg-secondary: var(--dark-bg-secondary);
    --bg-tertiary: var(--dark-bg-tertiary);
    
    --text-primary: var(--dark-text-primary);
    --text-secondary: var(--dark-text-secondary);
    --text-muted: var(--dark-text-muted);
    
    --border-color: var(--dark-border-color);
    --shadow-color: var(--dark-shadow-color);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', 'Almarai', 'Cairo', 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Arabic Typography Enhancements */
[dir="rtl"] {
    font-family: 'Tajawal', 'Almarai', 'Cairo', sans-serif;
}

/* Typography - عناوين */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Tajawal', 'Almarai', 'Cairo', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

[data-theme="dark"] .header {
    background-color: rgba(15, 23, 42, 0.95);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.nav-logo:hover .logo {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown .nav-link {
    cursor: pointer;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-item-dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10001;
}

.nav-item-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
}

.dropdown-link:hover {
    background-color: var(--bg-secondary);
    color: var(--primary-color);
    padding-right: 2rem;
}

/* Footer Dropdown */
.footer-dropdown-item {
    position: relative;
}

.footer-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-dropdown-item.active .footer-dropdown-toggle i {
    transform: rotate(180deg);
}

.footer-dropdown-toggle:hover {
    color: var(--primary-color);
}

.footer-dropdown-menu {
    list-style: none;
    padding: 0.5rem 0 0 1.5rem;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.footer-dropdown-item.active .footer-dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 200px;
}

.footer-dropdown-menu li {
    margin: 0.25rem 0;
}

.footer-dropdown-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-dropdown-menu a:hover {
    color: var(--primary-color);
    padding-right: 0.5rem;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle, .language-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
    font-size: 1.2rem;
}

.theme-toggle:hover, .language-toggle:hover {
    background-color: var(--bg-secondary);
    transform: scale(1.1);
}

.language-toggle {
    font-weight: 600;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section - محتوى في الوسط + قطاعات أسفل + خلفية أيقونات */
.hero {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    z-index: 1;
    background:
        radial-gradient(ellipse 80% 50% at 50% 30%, rgba(26, 146, 209, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(234, 49, 54, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-primary, #ffffff) 0%, var(--bg-secondary, #f8fafc) 100%);
}

/* خلفية: توزيع الأيقونات */
.hero-bg-icons {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-icon {
    position: absolute;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    opacity: 0.06;
    color: var(--primary-color, #1a92d1);
    transition: opacity 0.3s ease;
}

.hero-bg-icon i {
    display: block;
}

.hero-bg-icon.icon-1 { top: 8%; left: 5%; }
.hero-bg-icon.icon-2 { top: 12%; right: 8%; }
.hero-bg-icon.icon-3 { bottom: 25%; left: 10%; }
.hero-bg-icon.icon-4 { bottom: 15%; right: 6%; }
.hero-bg-icon.icon-5 { top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: clamp(3rem, 9vw, 6.5rem); opacity: 0.05; }

[data-theme="dark"] .hero-bg-icon {
    opacity: 0.08;
    color: var(--primary-color);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, var(--border-color, #e2e8f0) 1px, transparent 0);
    background-size: 28px 28px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.hero-content {
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--primary-color, #1a92d1);
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
    transition: var(--transition, all 0.3s ease);
}

.hero-title:hover {
    background: linear-gradient(135deg, var(--primary-color, #1a92d1), var(--primary-dark, #ea3136));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--primary-color, #1a92d1);
    margin-bottom: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.hero-subtitle::before {
    content: '';
    width: 4px;
    height: 1.5em;
    background: linear-gradient(180deg, var(--primary-color, #1a92d1), var(--primary-dark, #ea3136));
    border-radius: 2px;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary, #64748b);
    margin-bottom: 2rem;
    line-height: 1.85;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
}

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

/* أزرار الهيرو (نفس الأزرار العامة) */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition, all 0.3s ease);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color, #1a92d1), #1580b8);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(26, 146, 209, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark, #ea3136), #c92a2e);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(234, 49, 54, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color, #1a92d1);
    border: 2px solid var(--primary-color, #1a92d1);
}

.btn-secondary:hover {
    background-color: var(--primary-color, #1a92d1);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 146, 209, 0.25);
}

/* قطاعات الهيرو - صف بطاقات تحت المحتوى */
.hero-sectors {
    width: 100%;
    margin-top: 0.5rem;
}

.hero-graphic {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.hero .floating-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 1rem 1.35rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    animation: none;
}

.hero .floating-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(26, 146, 209, 0.18);
    border-color: var(--primary-color, #1a92d1);
}

[data-theme="dark"] .hero .floating-card {
    background: rgba(26, 49, 73, 0.85);
    border-color: var(--dark-border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .hero .floating-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 28px rgba(26, 146, 209, 0.25);
}

.hero .floating-card i {
    font-size: 1.35rem;
    color: var(--primary-color, #1a92d1);
    flex-shrink: 0;
}

.hero .floating-card span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary, #132649);
}

/* إلغاء مواقع قديمة للكروت (لم تعد مستخدمة في الهيرو) */
.hero .card-1,
.hero .card-2,
.hero .card-3,
.hero .card-4,
.hero .card-5 {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
}

/* أنيميشن ظهور البطاقات على الموبايل (سموز) */
@keyframes hero-card-fade-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ريسبونسف الهيرو */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-container {
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle::before {
        display: none;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* على الموبايل: عرض البطاقات كـ "ملاحظات" قصيرة (عرض المحتوى فقط، لا أشرطة طويلة) */
    .hero-graphic {
        gap: 0.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .hero .floating-card {
        width: auto;
        max-width: 100%;
        padding: 0.6rem 1rem 0.6rem 1.1rem;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        text-align: center;
        border-radius: 12px;
        border-left: 4px solid var(--primary-color, #1a92d1);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
        background: linear-gradient(135deg, #fefdfb 0%, #faf8f5 100%);
        opacity: 0;
        transform: translateY(14px);
        animation: hero-card-fade-in 0.5s ease forwards;
    }

    .hero .floating-card.card-1 { animation-delay: 0.08s; }
    .hero .floating-card.card-2 { animation-delay: 0.16s; }
    .hero .floating-card.card-3 { animation-delay: 0.24s; }
    .hero .floating-card.card-4 { animation-delay: 0.32s; }
    .hero .floating-card.card-5 { animation-delay: 0.4s; }

    .hero .floating-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 2px 8px rgba(26, 146, 209, 0.12);
    }

    .hero .floating-card i {
        font-size: 1.1rem;
        width: 1.5rem;
        text-align: center;
        opacity: 0.9;
    }

    .hero .floating-card span {
        font-size: 0.875rem;
        font-weight: 600;
        white-space: nowrap;
    }

    [data-theme="dark"] .hero .floating-card {
        background: linear-gradient(135deg, rgba(30, 55, 80, 0.95) 0%, rgba(26, 49, 73, 0.9) 100%);
        border-left-color: var(--primary-color);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 0 2.5rem;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.98rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-graphic {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem;
    }

    .hero .floating-card {
        padding: 0.55rem 0.85rem 0.55rem 0.95rem;
        border-left-width: 3px;
    }

    .hero .floating-card i {
        font-size: 1rem;
        width: 1.4rem;
    }

    .hero .floating-card span {
        font-size: 0.8rem;
    }
}

/* Logo Section */
.logo-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 280px;
    position: relative;
    padding: 0;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #f5faff 35%, #eef6fc 70%, #e6f1fa 100%);
}

.logo-section-img {
    max-width: 70%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    z-index: 0;
    position: relative;
    display: block;
}

.logo-section-img.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* ----- ظهور الأقسام عند التمرير (قسم وقسم) ----- */
.reveal-on-scroll .section-header {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.reveal-on-scroll.in-view .section-header {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-scroll .about-content,
.reveal-on-scroll .values-section,
.reveal-on-scroll .companies-grid,
.reveal-on-scroll .brands-swiper,
.reveal-on-scroll .services-accordion,
.reveal-on-scroll .videos-section .swiper,
.reveal-on-scroll .gallery-section .swiper,
.reveal-on-scroll .map-container-full,
.reveal-on-scroll .contact-content,
.reveal-on-scroll .services-load-more-container {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease-out 0.12s, transform 0.5s ease-out 0.12s;
}

.reveal-on-scroll.in-view .about-content,
.reveal-on-scroll.in-view .values-section,
.reveal-on-scroll.in-view .companies-grid,
.reveal-on-scroll.in-view .brands-swiper,
.reveal-on-scroll.in-view .services-accordion,
.reveal-on-scroll.in-view .videos-section .swiper,
.reveal-on-scroll.in-view .gallery-section .swiper,
.reveal-on-scroll.in-view .map-container-full,
.reveal-on-scroll.in-view .contact-content,
.reveal-on-scroll.in-view .services-load-more-container {
    opacity: 1;
    transform: translateY(0);
}

/* قسم اللوجو (بدون section-header): ظهور الصورة عند الدخول في الشاشة */
.reveal-on-scroll.logo-section .logo-section-img {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}
.reveal-on-scroll.logo-section.in-view .logo-section-img {
    opacity: 1;
    transform: translateY(0);
}
.reveal-on-scroll.logo-section.in-view .logo-section-img.loaded {
    opacity: 1;
    transform: translateY(0);
}

.logo-section-img:not([src]),
.logo-section-img[src=""] {
    display: none;
}

.logo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(230, 242, 255, 0.25) 100%);
    z-index: 1;
    transition: var(--transition);
}


[data-theme="dark"] .logo-section {
    background: linear-gradient(180deg, var(--bg-primary, #1a1a2e) 0%, rgba(26, 50, 80, 0.95) 50%, rgba(20, 60, 100, 0.9) 100%);
}

[data-theme="dark"] .logo-section::before {
    background: linear-gradient(135deg, rgba(234, 49, 54, 0.15) 0%, rgba(26, 146, 209, 0.25) 50%, rgba(234, 49, 54, 0.12) 100%);
}

[dir="ltr"] .logo-section {
    background-position: center center;
    justify-content: center;
}

@keyframes fadeInLogo {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

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

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

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

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 70px;
    align-content: start;
}

.about-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 0;
    transition: var(--transition);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* الإنجليزية: عمود الإحصائيات بنفس ارتفاع قسم النص والـ gap العمودي مثل العربي */
[dir="ltr"] .about-content {
    align-items: stretch;
}

[dir="ltr"] .about-text {
    min-height: 0;
}

[dir="ltr"] .about-stats {
    height: 100%;
    min-height: 0;
    grid-template-rows: repeat(3, 1fr);
    row-gap: 70px;
    column-gap: 70px;
    align-content: stretch;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Values Section */
.values-section {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 2px solid var(--border-color);
    position: relative;
}

.values-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 1.5rem;
}

.values-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.values-title:hover::after {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
}

.value-card {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid var(--border-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 146, 209, 0.1), transparent);
    transition: var(--transition);
}

.value-card:hover::before {
    left: 100%;
}

.value-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.value-card:hover::after {
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.value-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: var(--bg-primary);
}

.value-icon {
    width: 90px;
    height: 90px;
    background: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 8px 25px rgba(26, 146, 209, 0.3);
}

.value-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
    filter: blur(15px);
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.value-card:hover .value-icon::after {
    opacity: 0.6;
}

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 12px 35px rgba(26, 146, 209, 0.5);
}

.value-icon i {
    font-size: 2.5rem;
    color: white;
    z-index: 1;
}

.value-card h4 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 0.75rem;
}

.value-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.value-card:hover h4::after {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.value-card:hover h4::after {
    width: 60px;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    font-size: 1rem;
    max-width: 280px;
}

/* Companies Section */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.company-card {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.company-card:hover::before {
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.company-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: var(--bg-primary);
}

.company-icon {
    width: 90px;
    height: 90px;
    background: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(26, 146, 209, 0.3);
}

.company-card:hover .company-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(26, 146, 209, 0.4);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.company-icon i {
    font-size: 2.2rem;
    color: white;
}

.company-name {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.5;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    font-family: 'Tajawal', 'Almarai', 'Cairo', sans-serif;
    letter-spacing: -0.01em;
}

.company-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1rem;
    flex-grow: 1;
}

.company-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(26, 146, 209, 0.1), rgba(234, 49, 54, 0.1));
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(26, 146, 209, 0.2);
    transition: var(--transition);
}

.company-card:hover .feature-tag {
    background: linear-gradient(135deg, rgba(26, 146, 209, 0.15), rgba(234, 49, 54, 0.15));
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.company-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    background: rgba(26, 146, 209, 0.1);
    border: 2px solid transparent;
    margin-top: auto;
    width: fit-content;
}

.company-link:hover {
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    transform: translateX(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(26, 146, 209, 0.3);
}

.company-link i {
    transition: var(--transition);
}

.company-link:hover i {
    transform: translateX(-3px);
}

/* Services Section */
.services {
    background: radial-gradient(circle at top, rgba(26, 146, 209, 0.15) 0%, transparent 55%),
                var(--bg-secondary);
    padding: 5rem 0;
}

.services-accordion {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.accordion-item.service-item-hidden {
    display: none;
}

.accordion-item.service-item-hidden.show {
    display: block;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.accordion-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.accordion-header:hover {
    background-color: var(--bg-secondary);
}

.accordion-item.active .accordion-header {
    background-color: rgba(26, 146, 209, 0.05);
}

.accordion-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--primary-color);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.accordion-icon i {
    font-size: 1.5rem;
    color: white;
}

.accordion-item.active .accordion-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: scale(1.1);
}

.accordion-header h3 {
    flex: 1;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    text-align: right;
    transition: var(--transition);
}

.accordion-item.active .accordion-header h3 {
    color: var(--primary-color);
}

.accordion-header h3 span {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.accordion-arrow {
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 2rem;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.accordion-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    padding-top: 1rem;
    font-size: 1rem;
}

.services-load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.services-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    transition: var(--transition);
}

.services-load-more-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 146, 209, 0.3);
}

.services-load-more-btn i {
    transition: var(--transition);
}

.services-load-more-btn.expanded i {
    transform: rotate(180deg);
}

/* Services grid layout on wide screens */
@media (min-width: 992px) {
    .services-accordion {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 2rem;
        align-items: stretch;
    }

    .accordion-header {
        padding: 1.5rem 1.75rem;
    }

    .accordion-content {
        padding: 0 1.75rem;
    }

    .accordion-item.active .accordion-content {
        padding: 0 1.75rem 1.5rem;
    }
}

/* Videos Section */
.videos-section {
    background-color: var(--bg-primary);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    /* Animation removed for better performance */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.videos-section .container {
    max-width: 1600px;
    padding: 0 2rem;
}

.videos-swiper {
    padding: 4rem 0 6rem;
    overflow: visible;
    width: 100%;
}

.videos-swiper .swiper-wrapper {
    align-items: center;
    display: flex;
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.videos-swiper .swiper-slide {
    width: 33.333% !important;
    height: auto;
    transition: all 0.6s ease;
    opacity: 0.6;
    flex-shrink: 0;
    filter: brightness(0.9);
    overflow: visible;
}

.videos-swiper .swiper-slide-active {
    opacity: 1;
    z-index: 10;
    filter: brightness(1);
    transform: scale(1.05);
}

.videos-swiper .swiper-slide-prev,
.videos-swiper .swiper-slide-next {
    opacity: 0.75;
    filter: brightness(0.95);
}

.videos-swiper .swiper-slide:hover {
    filter: brightness(1);
    opacity: 0.9;
}

.video-card {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
    border: 4px solid var(--border-color);
    width: 100%;
}

.videos-swiper .swiper-slide-active .video-card {
    border-color: var(--primary-color);
    box-shadow: 0 40px 100px rgba(26, 146, 209, 0.45);
    border-width: 5px;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 90px rgba(26, 146, 209, 0.5);
}

.video-card.video-playing {
    border-color: var(--primary-color);
    box-shadow: 0 50px 120px rgba(26, 146, 209, 0.6);
    transform: translateY(-5px) translateZ(30px) scale(1.02);
}

.video-card.video-playing .video-wrapper {
    box-shadow: inset 0 0 50px rgba(26, 146, 209, 0.3);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 20px 0 0;
    transition: all 0.4s ease;
    z-index: 10;
}

.video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(26, 146, 209, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.video-card:hover .video-wrapper::before {
    opacity: 1;
}

.video-card.video-playing .video-wrapper::before {
    opacity: 0;
}

.video-player {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border: none;
    outline: none;
    background: #000;
    z-index: 3;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(26, 146, 209, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
    pointer-events: auto;
    box-shadow: 0 8px 25px rgba(26, 146, 209, 0.4);
}

.video-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(26, 146, 209, 0.3);
    animation: pulseOverlay 2s ease-in-out infinite;
    z-index: -1;
}

.video-overlay i {
    font-size: 2rem;
    color: white;
    margin-left: 5px; /* Adjust for play icon centering */
    transition: transform 0.3s ease;
}

.video-card:hover .video-overlay {
    background: rgba(26, 146, 209, 1);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(26, 146, 209, 0.6);
}

.video-overlay:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.video-overlay.playing-animation {
    animation: playButtonClick 0.6s ease-out;
}

.video-overlay.playing-animation i {
    transform: scale(1.3);
}

@keyframes pulseOverlay {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

@keyframes playButtonClick {
    0% {
        transform: translate(-50%, -50%) scale(1.15);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.4);
        background: rgba(26, 146, 209, 1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.15);
    }
}

.video-card video:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

/* Hide overlay when video is playing */
.video-card video.playing ~ .video-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.8);
}

/* Show overlay on video hover when paused */
.video-card:hover .video-overlay:not(.playing-animation) {
    pointer-events: auto;
}

/* Smooth video controls appearance */
.video-player {
    transition: opacity 0.3s ease;
}

.video-card:hover .video-player:not(.playing) {
    opacity: 0.9;
}

/* Videos Swiper Navigation & Pagination */
.videos-swiper .swiper-pagination {
    bottom: 0 !important;
    position: relative;
    margin-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
}

.videos-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    opacity: 0.3;
    transition: var(--transition);
}

.videos-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.videos-swiper .swiper-button-next,
.videos-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: var(--bg-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    top: 50%;
    margin-top: -30px;
}

.videos-swiper .swiper-button-next::after,
.videos-swiper .swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: 700;
}

.videos-swiper .swiper-button-next:hover,
.videos-swiper .swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(26, 146, 209, 0.4);
}

.videos-swiper .swiper-button-next {
    right: 20px;
}

.videos-swiper .swiper-button-prev {
    left: 20px;
}

/* Gallery Section Styles */
.gallery-section {
    background-color: var(--bg-secondary);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    /* Animation removed for better performance */
}

.gallery-section .container {
    max-width: 1600px;
    padding: 0 2rem;
}

.gallery-swiper {
    padding: 4rem 0 6rem;
    overflow: visible;
    width: 100%;
}

.gallery-swiper .swiper-wrapper {
    align-items: center;
    display: flex;
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-swiper .swiper-slide {
    width: 33.333% !important;
    height: auto;
    transition: all 0.6s ease;
    opacity: 0.6;
    flex-shrink: 0;
    filter: brightness(0.9);
}

.gallery-swiper .swiper-slide-active {
    opacity: 1;
    z-index: 10;
    filter: brightness(1);
    transform: scale(1.05);
}

.gallery-swiper .swiper-slide-prev,
.gallery-swiper .swiper-slide-next {
    opacity: 0.75;
    filter: brightness(0.95);
}

.gallery-swiper .swiper-slide:hover {
    filter: brightness(1);
    opacity: 0.9;
}

.gallery-card {
    position: relative;
    background: var(--bg-primary);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
    border: 4px solid var(--border-color);
    width: 100%;
    cursor: pointer;
}

.gallery-swiper .swiper-slide-active .gallery-card {
    border-color: var(--primary-color);
    box-shadow: 0 40px 100px rgba(26, 146, 209, 0.45);
    border-width: 5px;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 90px rgba(26, 146, 209, 0.5);
    border-color: var(--primary-color);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 Aspect Ratio for images */
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 20px 0 0;
    transition: all 0.4s ease;
}

.gallery-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(26, 146, 209, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-card:hover .gallery-image-wrapper::before {
    opacity: 1;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: none;
    outline: none;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(26, 146, 209, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
    pointer-events: auto;
    box-shadow: 0 8px 25px rgba(26, 146, 209, 0.4);
    opacity: 0;
    visibility: hidden;
}

.gallery-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(26, 146, 209, 0.3);
    animation: pulseOverlay 2s ease-in-out infinite;
    z-index: -1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
    visibility: visible;
    background: rgba(26, 146, 209, 1);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(26, 146, 209, 0.6);
}

.gallery-card.gallery-hover {
    transform: translateY(-12px) translateZ(30px) scale(1.03);
}

.gallery-overlay.playing-animation {
    animation: playButtonClick 0.6s ease-out;
}

.gallery-overlay.playing-animation i {
    transform: scale(1.3);
}

.gallery-overlay:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.gallery-overlay:hover i {
    transform: scale(1.2);
}

/* Gallery Swiper Navigation & Pagination */
.gallery-swiper .swiper-pagination {
    bottom: 0 !important;
    position: relative;
    margin-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
}

.gallery-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    opacity: 0.3;
    transition: var(--transition);
}

.gallery-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: var(--bg-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    top: 50%;
    margin-top: -30px;
}

.gallery-swiper .swiper-button-next::after,
.gallery-swiper .swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: 700;
}

.gallery-swiper .swiper-button-next:hover,
.gallery-swiper .swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(26, 146, 209, 0.4);
}

.gallery-swiper .swiper-button-next {
    right: 20px;
}

.gallery-swiper .swiper-button-prev {
    left: 20px;
}

[dir="rtl"] .videos-swiper .swiper-button-next {
    right: auto;
    left: 20px;
}

[dir="rtl"] .videos-swiper .swiper-button-prev {
    left: auto;
    right: 20px;
}

[data-theme="dark"] .videos-swiper .swiper-button-next,
[data-theme="dark"] .videos-swiper .swiper-button-prev {
    background: var(--dark-bg-primary);
    border-color: var(--dark-border-color);
}

[data-theme="dark"] .video-card {
    background: var(--dark-bg-secondary);
    border-color: var(--dark-border-color);
}

[data-theme="dark"] .gallery-card {
    background: var(--dark-bg-primary);
    border-color: var(--dark-border-color);
}

[data-theme="dark"] .gallery-swiper .swiper-button-next,
[data-theme="dark"] .gallery-swiper .swiper-button-prev {
    background: var(--dark-bg-primary);
    border-color: var(--dark-border-color);
}

/* Brands Section */
.brands-section {
    background-color: var(--bg-primary);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.brands-swiper {
    padding: 2rem 0 4rem;
    position: relative;
}

.brand-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 146, 209, 0.05), rgba(234, 49, 54, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.brand-card:hover::before {
    opacity: 1;
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.brand-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
    padding: 1rem;
}

.brand-card:hover .brand-image {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Swiper Customization */
.brands-swiper .swiper-pagination {
    bottom: 0 !important;
}

.brands-swiper .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.3;
    width: 12px;
    height: 12px;
    transition: var(--transition);
}

.brands-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.brands-swiper .swiper-button-next,
.brands-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: var(--bg-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.brands-swiper .swiper-button-next::after,
.brands-swiper .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: 700;
}

.brands-swiper .swiper-button-next:hover,
.brands-swiper .swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.brands-swiper .swiper-button-next {
    right: 10px;
}

.brands-swiper .swiper-button-prev {
    left: 10px;
}

[dir="rtl"] .brands-swiper .swiper-button-next {
    right: auto;
    left: 10px;
}

[dir="rtl"] .brands-swiper .swiper-button-prev {
    left: auto;
    right: 10px;
}

[data-theme="dark"] .brand-card {
    background: var(--dark-bg-primary);
    border-color: var(--dark-border-color);
}

[data-theme="dark"] .brands-swiper .swiper-button-next,
[data-theme="dark"] .brands-swiper .swiper-button-prev {
    background: var(--dark-bg-primary);
    border-color: var(--dark-border-color);
}

/* Brands Section */
.brands-section {
    background-color: var(--bg-secondary);
    padding: 5rem 0;
}

.brands-swiper {
    padding: 2rem 0 4rem;
    overflow: visible;
}

.brand-card {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.brand-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.brand-card:hover .brand-image {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Swiper Customization */
.brands-swiper .swiper-pagination {
    bottom: 0 !important;
}

.brands-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    opacity: 0.3;
    transition: var(--transition);
}

.brands-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
    transform: scale(1.2);
}

.brands-swiper .swiper-button-next,
.brands-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: var(--bg-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.brands-swiper .swiper-button-next:hover,
.brands-swiper .swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.brands-swiper .swiper-button-next::after,
.brands-swiper .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: 700;
}

[dir="rtl"] .brands-swiper .swiper-button-next {
    left: 10px;
    right: auto;
}

[dir="rtl"] .brands-swiper .swiper-button-prev {
    right: 10px;
    left: auto;
}

/* Map Section */
.map-section {
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.map-section .container {
    margin-bottom: 2rem;
}

.map-container-full {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: visible;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.map-container-full iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    position: relative;
    z-index: 1;
}

/* Map Markers */
.map-marker {
    position: absolute;
    transform: translate(-50%, -100%);
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
}

.marker-pin {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
    box-shadow: 0 4px 12px rgba(26, 146, 209, 0.4);
    animation: markerPulse 2s ease-in-out infinite;
}

.marker-pin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
}

@keyframes markerPulse {
    0%, 100% {
        transform: rotate(-45deg) scale(1);
        box-shadow: 0 4px 12px rgba(26, 146, 209, 0.4);
    }
    50% {
        transform: rotate(-45deg) scale(1.15);
        box-shadow: 0 6px 20px rgba(26, 146, 209, 0.6);
    }
}

.map-marker:hover .marker-pin {
    animation: none;
    transform: rotate(-45deg) scale(1.2);
    box-shadow: 0 8px 25px rgba(26, 146, 209, 0.7);
}

.marker-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--bg-primary);
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 250px;
    max-width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    margin-bottom: 15px;
    border: 2px solid var(--border-color);
    pointer-events: none;
    z-index: 1001;
}

.marker-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--bg-primary);
}

.marker-tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--border-color);
    margin-top: 2px;
}

.map-marker:hover .marker-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.marker-tooltip h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
}

.marker-tooltip p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.contact-info-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    flex: 1;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    flex: 0 0 auto;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-secondary);
    margin: 0;
}

/* Contact Form */
.contact-form {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--text-muted);
    border-radius: var(--border-radius);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-group label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--text-muted);
    transition: var(--transition);
    pointer-events: none;
    background-color: transparent;
    padding: 0 0.5rem;
    z-index: 10;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -19px;
    right: 0.75rem;
    font-size: 0.875rem;
    color: var(--primary-color);
    background-color: transparent;
    padding: 0 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--bg-tertiary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    width: 100%;
}

.footer-logo .logo {
    width: 100px;
    height: 100px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: center;
    width: 100%;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.footer-links li {
    margin-bottom: 0.75rem;
    text-align: center;
    width: 100%;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 0.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
}

.footer .contact-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 1040px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .about-card {
        padding: 1.75rem;
    }
    
    .about-card p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .stat-item {
        padding: 2rem 1.25rem;
        min-height: 120px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        z-index: 10000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item-dropdown {
        width: 100%;
        margin-top: 0.5rem;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        border-top: 1px solid var(--border-color);
        margin-top: 0.5rem;
    }

    .dropdown-toggle:hover {
        background-color: var(--bg-secondary);
    }

    .dropdown-menu {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin-top: 0;
        padding: 0;
        background: transparent;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        min-width: auto;
    }

    .nav-item-dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 0.5rem 0;
        margin-top: 0;
    }

    .dropdown-menu li {
        margin: 0;
        width: 100%;
    }

    .dropdown-link {
        display: block;
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
        border-radius: 0;
    }

    .dropdown-link:hover {
        background-color: var(--bg-secondary);
        padding-right: 2rem;
    }

    .nav-item-dropdown.active .dropdown-toggle {
        background-color: var(--bg-secondary);
        color: var(--primary-color);
    }

    .nav-item-dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .header {
        padding: 0;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .logo-section {
        height: 200px;
    }


    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .values-section {
        margin-top: 3rem;
        padding-top: 3rem;
    }

    .values-title {
        font-size: 2rem;
    }

    .map-section {
        min-height: 400px;
        padding: 2.5rem 0;
    }

    .map-content {
        justify-content: center;
    }

    .map-info {
        max-width: 100%;
    }

    .map-info-header h3 {
        font-size: 1.5rem;
    }

    .map-info-card {
        padding: 1.5rem;
    }

    .map-info-icon {
        width: 50px;
        height: 50px;
    }

    .map-info-icon i {
        font-size: 1.3rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .companies-grid {
        grid-template-columns: 1fr;
    }

    .services-accordion {
        gap: 0.75rem;
    }

    .accordion-header {
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }

    .accordion-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .accordion-icon i {
        font-size: 1.25rem;
    }

    .accordion-header h3 {
        font-size: 1.1rem;
    }

    .accordion-item.active .accordion-content {
        padding: 0 1.5rem 1.25rem;
    }

    .accordion-content {
        padding: 0 1.5rem;
    }

    .services-load-more-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .videos-section {
        padding: 4rem 0;
    }

    .videos-section .container {
        padding: 0 1rem;
    }

    .videos-swiper {
        padding: 2rem 0 4rem;
    }

    .videos-swiper .swiper-slide {
        width: 100% !important;
        opacity: 1 !important;
        transform: scale(1) !important;
        filter: brightness(1) !important;
        margin: 0 !important;
    }

    .videos-swiper .swiper-slide-active {
        width: 100% !important;
        transform: scale(1) !important;
    }

    .videos-swiper .swiper-slide-prev,
    .videos-swiper .swiper-slide-next {
        display: none !important;
    }
    
    .videos-swiper .video-card {
        width: 100%;
        max-width: 100%;
    }
    
    .videos-swiper .video-wrapper {
        width: 100%;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        position: relative;
        overflow: visible;
    }
    
    .videos-swiper .video-player {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        z-index: 3;
    }

    .videos-swiper .swiper-button-next,
    .videos-swiper .swiper-button-prev {
        width: 45px;
        height: 45px;
        right: 10px;
        left: 10px;
    }

    .videos-swiper .swiper-button-next::after,
    .videos-swiper .swiper-button-prev::after {
        font-size: 1.2rem;
    }

    .video-overlay {
        width: 60px;
        height: 60px;
    }
    
    .videos-swiper .swiper-pagination {
        display: flex !important;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
        margin-top: 1.5rem;
    }

    /* Gallery Section Responsive */
    .gallery-swiper {
        padding: 2rem 0 4rem;
    }

    .gallery-swiper .swiper-slide {
        width: 100% !important;
        scale: 1 !important;
        opacity: 1 !important;
        margin: 0 !important;
    }
    
    .gallery-swiper .swiper-slide-prev,
    .gallery-swiper .swiper-slide-next {
        display: none !important;
    }
    
    .gallery-swiper .swiper-pagination {
        display: flex !important;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        left: 0;
        right: 0;
        margin-top: 1.5rem;
    }

    .gallery-swiper .swiper-slide-active {
        width: 100% !important;
        transform: scale(1) !important;
    }
    
    .gallery-swiper .gallery-card {
        width: 100%;
        max-width: 100%;
    }
    
    .gallery-swiper .gallery-image {
        width: 100%;
        height: auto;
        display: block;
    }

    .gallery-swiper .swiper-slide-active {
        width: 100% !important;
        scale: 1 !important;
    }

    .gallery-swiper .swiper-slide-prev,
    .gallery-swiper .swiper-slide-next {
        display: none;
    }

    .gallery-swiper .swiper-button-next,
    .gallery-swiper .swiper-button-prev {
        width: 45px;
        height: 45px;
        right: 10px;
        left: 10px;
    }

    .gallery-swiper .swiper-button-next::after,
    .gallery-swiper .swiper-button-prev::after {
        font-size: 1.2rem;
    }

    .gallery-overlay {
        width: 60px;
        height: 60px;
        opacity: 1;
        visibility: visible;
    }

    .gallery-image-wrapper {
        padding-bottom: 70%;
    }

    .video-overlay i {
        font-size: 1.5rem;
    }

    .brands-swiper {
        padding: 1.5rem 0 3rem;
    }

    .brand-card {
        height: 150px;
        padding: 1.5rem;
    }

    .brands-swiper .swiper-button-next,
    .brands-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .brands-swiper .swiper-button-next::after,
    .brands-swiper .swiper-button-prev::after {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        justify-items: center;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 100%;
        margin-bottom: 0;
    }

    .footer-logo {
        justify-content: center;
        margin: 0 auto 1.5rem;
    }

    .footer-description {
        text-align: center;
        margin: 0 auto 1.5rem;
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
        margin: 0 auto;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0;
    }

    .footer-links li {
        width: 100%;
        text-align: center;
    }

    .footer-links a {
        display: inline-block;
        text-align: center;
    }

    .footer-dropdown-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-dropdown-toggle {
        justify-content: center;
        text-align: center;
    }

    .footer-dropdown-menu {
        text-align: center;
        padding: 0.5rem 0 0 0;
        margin-top: 0.5rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-dropdown-menu li {
        width: 100%;
        text-align: center;
    }

    .footer-dropdown-menu a {
        display: inline-block;
        text-align: center;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info p {
        justify-content: center;
        text-align: center;
    }

    .footer-section h4 {
        text-align: center;
        width: 100%;
        margin: 0 auto 1rem;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom p {
        text-align: center;
        margin: 0 auto;
    }
}

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

    .nav-container {
        padding: 0 1rem;
    }

    .header {
        padding: 0;
    }

    .navbar {
        padding: 0.4rem 0;
    }

    .logo {
        width: 45px;
        height: 45px;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .hero {
        padding: 6rem 0 2rem;
    }

    .logo-section {
        height: 160px;
    }


    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .videos-swiper .video-wrapper {
        padding-bottom: 56.25%;
        overflow: visible;
    }
    
    .videos-swiper .video-player {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        z-index: 3;
    }
    
    .videos-swiper .video-card {
        overflow: visible;
        z-index: 10;
    }
    
    .videos-swiper .swiper-pagination {
        display: flex !important;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
        margin-top: 1.5rem;
    }
    
    .gallery-swiper .swiper-pagination {
        display: flex !important;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
        margin-top: 1.5rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-item {
        padding: 1.25rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .values-title {
        font-size: 1.75rem;
    }

    .map-section {
        padding: 2rem 0 0;
    }

    .map-container-full {
        height: 400px;
    }

    .marker-pin {
        width: 25px;
        height: 25px;
    }

    .marker-pin::before {
        width: 10px;
        height: 10px;
    }

    .marker-tooltip {
        min-width: 180px;
        max-width: 220px;
        padding: 0.75rem;
        font-size: 0.8rem;
    }

    .marker-tooltip h4 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .marker-tooltip p {
        font-size: 0.8rem;
    }

    .value-card {
        padding: 2rem;
    }

    .value-icon {
        width: 80px;
        height: 80px;
    }

    .value-icon i {
        font-size: 2rem;
    }


}

/* Language Direction Support */
[dir="ltr"] {
    text-align: left;
}

[dir="ltr"] .nav-link::after {
    left: auto;
    right: 0;
}

[dir="ltr"] .form-group label {
    right: auto;
    left: 1rem;
}

[dir="ltr"] .form-group input:focus + label,
[dir="ltr"] .form-group input:not(:placeholder-shown) + label,
[dir="ltr"] .form-group select:focus + label,
[dir="ltr"] .form-group select:not([value=""]) + label,
[dir="ltr"] .form-group textarea:focus + label,
[dir="ltr"] .form-group textarea:not(:placeholder-shown) + label {
    right: auto;
    left: 0.75rem;
    background-color: transparent;
}

[dir="ltr"] .company-link {
    flex-direction: row-reverse;
}

[dir="ltr"] .company-link i {
    transform: scaleX(-1);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection Styling */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* Focus Styling */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

