﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2d5a27;
    --secondary-green: #4a7c59;
    --light-green: #7fb069;
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --light-blue: #60a5fa;
    --white: #ffffff;
    --primary: #3b82f6;
    --secondary: #1e3a8a;
    --light-gray: #f8fafc;
    --gray: #64748b;
    --dark-gray: #334155;
    --text-dark: #1e293b;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    /* Motion tokens */
    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-emphasized: cubic-bezier(0.2, 0.8, 0.2, 1);
    --duration-fast: 180ms;
    --duration-normal: 320ms;
    --duration-slow: 600ms;
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    transition: background-color var(--duration-normal) var(--ease-smooth), color var(--duration-normal) var(--ease-smooth);
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    color: white;
    text-decoration: none;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.call-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.call-btn:hover {
    background: linear-gradient(135deg, #0056b3, #007bff);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Responsive for Floating Buttons */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 12px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .floating-buttons {
        bottom: 10px;
        right: 10px;
        gap: 10px;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .floating-buttons {
        bottom: 8px;
        right: 8px;
        gap: 8px;
    }

    .floating-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* RTL Support */
body[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}

body[dir="rtl"] .hero-content h1,
body[dir="rtl"] .section-header h2,
body[dir="rtl"] .about-text h2 {
    font-family: 'Cairo', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo a:hover {
    text-decoration: none;
}

.logo-image {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.2);
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.3);
}

.logo-text h2 {
    color: var(--primary-green);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: -5px;
    margin: 0;
}

.logo-text span {
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color var(--duration-fast) var(--ease-smooth);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-green);
    transition: width var(--duration-normal) var(--ease-emphasized);
}

.nav-link:hover::after {
    width: 100%;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.lang-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    cursor: pointer;
}

.lang-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.lang-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-green);
    border-radius: 24px;
    transition: 0.3s;
}

.lang-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

.lang-toggle input:checked+.lang-slider {
    background-color: var(--secondary-blue);
}

.lang-toggle input:checked+.lang-slider:before {
    transform: translateX(26px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 0;
    color: var(--black);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Mobile hero padding adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0 0;
        min-height: 90vh;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 70px 0 0;
        min-height: 85vh;
    }
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.8) 0%, rgba(30, 58, 138, 0.8) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
}

/* Video fallback background */
.hero.video-fallback {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--secondary-blue) 100%);
}

.hero.video-fallback .hero-video {
    display: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform var(--duration-normal) var(--ease-smooth), opacity var(--duration-normal) var(--ease-smooth);
}

.hero-content h1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    opacity: 0.1;
    border-radius: 10px;
    z-index: -1;
    transform: scale(1.05);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.25);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform var(--duration-normal) var(--ease-smooth), opacity var(--duration-normal) var(--ease-smooth);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform var(--duration-fast) var(--ease-smooth), box-shadow var(--duration-fast) var(--ease-smooth), background-color var(--duration-fast) var(--ease-smooth), color var(--duration-fast) var(--ease-smooth), border-color var(--duration-fast) var(--ease-smooth);
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary-green);
}

.btn-primary:hover {
    background: var(--light-gray);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-green);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    border-color: var(--white);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.section-actions {
    margin-top: 1.5rem;
}

.section-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

.section-actions .btn:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.section-actions .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.section-actions .btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23e2e8f0" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23cbd5e1" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23f1f5f9" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Service Statistics */
.service-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray);
    font-weight: 500;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

/* Center services on very wide screens */
@media (min-width: 1400px) {
    .services-grid {
        max-width: 1000px;
    }
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green), var(--primary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.icon-bg {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.1), rgba(127, 176, 105, 0.1));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .icon-bg {
    opacity: 1;
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.service-content {
    padding: 0 2rem 2rem;
    text-align: center;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.service-card:hover .service-content h3 {
    color: var(--primary-green);
}

.service-content p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-action {
    text-align: center;
}

.btn-service {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 90, 39, 0.4);
    color: var(--white);
    text-decoration: none;
}

/* Service Process Timeline */
.service-process {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.service-process h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.service-process h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
    border-radius: 2px;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(45, 90, 39, 0.4);
}

.step-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsive for Services */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }

    .service-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
        max-width: none;
    }

    .service-card {
        margin: 0 1rem;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        margin: 1.5rem auto 1rem;
    }

    .service-icon i {
        font-size: 2rem;
    }

    .service-content {
        padding: 0 1.5rem 1.5rem;
    }

    .service-content h3 {
        font-size: 1.3rem;
    }

    .service-process {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .service-process h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .service-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .service-card {
        margin: 0 0.5rem;
    }

    .service-process {
        margin: 0 0.5rem;
        padding: 1.5rem 1rem;
    }
}

.service-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: var(--white);
}

/* Brands We Represent */
.brands {
    padding: 80px 0;
    background: var(--light-gray);
    position: relative;
}

.brands .container {
    position: relative;
}

.brands-marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    margin-bottom: 1.5rem;
    position: relative;
    white-space: nowrap;
}

.brands-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: marquee 15s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Force marquee to work identically in RTL - completely override RTL behavior */
body[dir="rtl"] .brands-marquee {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: normal !important;
    writing-mode: horizontal-tb !important;
}

body[dir="rtl"] .brands-track {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: normal !important;
    writing-mode: horizontal-tb !important;
    animation: marquee 15s linear infinite !important;
    transform-origin: left center !important;
    display: flex !important;
    flex-direction: row !important;
}

body[dir="rtl"] .brand-badge {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: normal !important;
}

.brand-badge {
    background: var(--white);
    border: 1px solid #e2e8f0;
    color: var(--text-dark);
    padding: 0.6rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.brands-grid {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brand-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--duration-normal) var(--ease-smooth), box-shadow var(--duration-normal) var(--ease-smooth);
    border-top: 4px solid var(--primary-green);
    position: relative;
    overflow: hidden;
    flex: 0 0 280px;
    min-width: 280px;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(45, 90, 39, 0.08) 0%, rgba(45, 90, 39, 0) 70%);
    animation: shimmer 15s infinite linear;
    pointer-events: none;
    z-index: 1;
}

.brand-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 0 25px rgba(45, 90, 39, 0.15), 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Scroll indicators for brands */
.brands-grid::-webkit-scrollbar {
    height: 8px;
}

.brands-grid::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 4px;
}

.brands-grid::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

.brands-grid::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-green);
}

/* Brands Wrapper */
.brands-wrapper {
    position: relative;
}

.brand-card:hover .brand-chip {
    transform: scale(1.1) translateY(-4px);
    filter: drop-shadow(0 0 12px rgba(45, 90, 39, 0.4));
}

.brand-chip {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease-out, box-shadow var(--duration-normal) var(--ease-smooth);
    filter: drop-shadow(0 0 8px rgba(45, 90, 39, 0.3));
    animation: floating 3.5s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.brand-chip:hover {
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 8px 25px rgba(45, 90, 39, 0.4);
}

.brand-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    background: transparent;
    border-radius: 4px;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
    transition: transform 0.3s ease-in-out;
}

.brand-chip:hover .brand-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

.brand-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.brand-description {
    color: var(--gray);
    line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
    .brands-track {
        animation: none;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--duration-normal) var(--ease-smooth), box-shadow var(--duration-normal) var(--ease-smooth);
    border: 1px solid #e2e8f0;
}

.product-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

.product-image {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.product-image i {
    font-size: 3rem;
}

.product-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 1.5rem 1rem;
    color: var(--text-dark);
}

.product-card p {
    color: var(--gray);
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 1.5rem 1.5rem;
}

.product-features span {
    background: var(--light-gray);
    color: var(--primary-green);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--gray);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-placeholder {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    color: var(--white);
}

.about-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.about-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--white);
    overflow: hidden;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    overflow: hidden;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-top: 0.2rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--gray);
    line-height: 1.6;
}

.contact-item p a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item p a:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

.map-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(45, 90, 39, 0.3);
}

.map-link:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.4);
    color: var(--white);
}

.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-green);
}

.footer-section p a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-section p a:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #475569;
    padding-top: 1rem;
    text-align: center;
    color: #cbd5e1;
}

.developer-credit {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.brackora-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.brackora-link:hover {
    color: var(--light-green);
    text-decoration: underline;
}

/* RTL Layout Adjustments */
body[dir="rtl"] .nav-container {
    direction: rtl;
}

body[dir="rtl"] .nav-menu {
    direction: rtl;
}

body[dir="rtl"] .nav-logo {
    direction: rtl;
    flex-direction: row-reverse;
}

body[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 2rem;
}

body[dir="rtl"] .hero-container {
    direction: rtl;
}

body[dir="rtl"] .about-content {
    direction: rtl;
}

body[dir="rtl"] .contact-content {
    direction: rtl;
}

body[dir="rtl"] .footer-content {
    direction: rtl;
}

body[dir="rtl"] .contact-item {
    direction: rtl;
}

body[dir="rtl"] .contact-item i {
    margin-left: 1rem;
    margin-right: 0;
}

body[dir="rtl"] .social-links {
    direction: rtl;
}

body[dir="rtl"] .form-group input,
body[dir="rtl"] .form-group textarea {
    text-align: right;
}

body[dir="rtl"] .nav-link::after {
    right: 0;
    left: auto;
}

/* Company Sections Styles */
.company-sections {
    padding: 4rem 0;
    background: var(--white);
}

.company-section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.company-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.company-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.company-logo {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.company-logo img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.company-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.company-info p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.company-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.product-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* RTL Support for Company Sections */
body[dir="rtl"] .company-header {
    flex-direction: row-reverse;
}

body[dir="rtl"] .company-products {
    direction: rtl;
}

/* Responsive Design for Company Sections */
@media (max-width: 768px) {
    .company-sections {
        padding: 2rem 0;
    }

    .company-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .company-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .company-logo {
        width: 60px;
        height: 60px;
    }

    .company-logo img {
        max-width: 40px;
        max-height: 40px;
    }

    .company-info h2 {
        font-size: 1.5rem;
    }

    .company-products {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-item {
        padding: 1rem;
    }
}




/* Responsive Design */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .hero-container {
        max-width: 1400px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }

    .services-grid {
        max-width: 1200px;
        margin: 0 auto;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    /* Center logo on smaller desktop/large tablet */
    .nav-logo {
        justify-content: center;
        width: 100%;
    }

    .hero-container {
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 3.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .brand-card {
        flex: 0 0 260px;
        min-width: 260px;
        padding: 2rem;
    }

    /* Center logo on tablet landscape */
    .nav-logo {
        justify-content: center;
        width: 100%;
    }

    /* Tablet adjustments */
    .hero-content h1 {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .about-content {
        gap: 3rem;
    }

    .contact-content {
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    .container {
        padding: 0 20px;
    }

    /* Center logo on tablets */
    .nav-logo {
        justify-content: center;
        width: 100%;
    }

    .hero-container {
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .brands .container {
        padding: 0 20px;
    }

    /* Mobile navigation - smaller and more compact */
    .nav-container {
        height: 60px;
        padding: 0 15px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.8rem 0;
    }

    .language-switcher {
        margin-left: 0;
        margin-right: 0;
        order: -1;
    }

    body[dir="rtl"] .language-switcher {
        margin-right: 0;
        margin-left: 0;
    }

    /* Mobile logo adjustments - smaller and centered */
    .nav-logo {
        gap: 0.4rem;
        padding: 0.2rem 0;
        justify-content: center;
        width: 100%;
    }

    .logo-image {
        height: 50px;
    }

    .logo-text h2 {
        font-size: 1.2rem;
    }

    .logo-text span {
        font-size: 0.7rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 0.8rem 1.2rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    /* Mobile video optimization */
    .hero-video video {
        object-position: center center;
    }

    /* Mobile video optimizations */
    @media (max-width: 768px) {
        .hero-video video {
            transform: scale(1.1);
        }

        /* Ensure video doesn't interfere with touch interactions */
        .hero-video {
            pointer-events: none;
        }
    }

    /* Mobile video display - ensure it shows */
    @media (max-width: 768px) {
        .hero-video {
            display: block !important;
        }

        .hero-video video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
    }

    /* Very small screens - keep video but optimize */
    @media (max-width: 480px) {
        .hero-video {
            display: block !important;
        }

        .hero-video video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        overflow: hidden;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .contact-form {
        padding: 1.5rem;
        margin: 0 0.5rem;
        text-align: center;
    }

    .contact-form .btn {
        display: block !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 300px !important;
        text-align: center !important;
    }

    .form-submit {
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        align-items: center;
        justify-content: center;
    }

    .contact-item i {
        font-size: 1.2rem;
        margin: 0;
    }

    .contact-item h3 {
        font-size: 1.1rem;
        text-align: center;
    }

    .contact-item p {
        font-size: 0.9rem;
        text-align: center;
    }

    .contact-item div {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        margin: 0 0.5rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        margin: 1.2rem auto 1rem;
    }

    .service-icon i {
        font-size: 1.8rem;
    }

    .service-content h3 {
        font-size: 1.2rem;
    }

    .service-content p {
        font-size: 0.9rem;
    }

    .brand-card {
        flex: 0 0 240px;
        min-width: 240px;
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .brands .container {
        padding: 0 15px;
    }

    .brand-card {
        flex: 0 0 220px;
        min-width: 220px;
        padding: 1.2rem;
    }

    /* Enhanced mobile centering for contact info */
    .contact-info {
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .contact-item {
        text-align: center;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .contact-item div {
        text-align: center;
        width: 100%;
    }

    /* Center Send Message button on very small screens */
    .contact-form {
        text-align: center;
    }

    .contact-form .btn {
        display: block !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 280px !important;
        text-align: center !important;
    }

    .form-submit {
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* Very small phones - even smaller navigation */
    .nav-container {
        height: 50px;
        padding: 0 10px;
    }

    .nav-menu {
        top: 50px;
        padding: 1rem 0;
    }

    .nav-menu li {
        margin: 0.6rem 0;
    }

    /* Very small screen logo - even smaller and centered */
    .nav-logo {
        gap: 0.3rem;
        padding: 0.1rem 0;
        justify-content: center;
        width: 100%;
    }

    .logo-image {
        height: 40px;
    }

    .logo-text h2 {
        font-size: 1rem;
    }

    .logo-text span {
        font-size: 0.6rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .service-card {
        margin: 0 0.25rem;
    }

    .service-content {
        padding: 0 1rem 1rem;
    }

    .contact-form {
        padding: 1rem;
        margin: 0 0.25rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-section p {
        font-size: 0.85rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* Ensure all containers prevent horizontal overflow */
.container,
.hero-container,
.services-container,
.about-container,
.products-container,
.contact-container,
.footer-container {
    overflow-x: hidden;
}

/* Section Transitions */
section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure products section is always visible on smaller screens */
@media (max-width: 880px) {
    #products {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* Force products catalog to be visible */
    .products-catalog {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .product-card {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Individual section entrance animations */

/* Individual section entrance animations handled by utility class .reveal-on-scroll */


/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 2000;
}

.scroll-progress__bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    transition: width var(--duration-normal) var(--ease-emphasized);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-progress__bar {
        transition-duration: 1ms;
    }
}

/* Reveal Animations (DevX-style subtle lift and fade) */
.reveal {
    opacity: 0;
    transform: translateY(24px) scale(0.99);
    will-change: transform, opacity;
    transition: opacity var(--duration-slow) var(--ease-smooth), transform var(--duration-slow) var(--ease-smooth);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInScaleUp {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gentleBob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.service-card,
.product-card {
    animation: fadeInUp 0.6s ease-out;
}

.brand-card {
    animation: fadeInScaleUp 0.7s ease-out forwards;
}

.brand-card:nth-child(1) {
    animation-delay: 0.1s;
}

.brand-card:nth-child(2) {
    animation-delay: 0.2s;
}

.brand-card:nth-child(3) {
    animation-delay: 0.3s;
}

.brand-card:nth-child(4) {
    animation-delay: 0.4s;
}

.brand-card:nth-child(5) {
    animation-delay: 0.5s;
}

.brand-card:nth-child(6) {
    animation-delay: 0.6s;
}

.brand-card:nth-child(7) {
    animation-delay: 0.7s;
}

.brand-card:nth-child(8) {
    animation-delay: 0.8s;
}

.brand-card:nth-child(9) {
    animation-delay: 0.9s;
}

.brand-card:nth-child(10) {
    animation-delay: 1.0s;
}

.brand-card:nth-child(11) {
    animation-delay: 1.1s;
}

.brand-card:nth-child(12) {
    animation-delay: 1.2s;
}

.brand-card:nth-child(13) {
    animation-delay: 1.3s;
}

.brand-card:nth-child(14) {
    animation-delay: 1.4s;
}

.brand-card:nth-child(15) {
    animation-delay: 1.5s;
}

.delay-100 {
    animation-delay: 0.1s !important;
}

.delay-200 {
    animation-delay: 0.2s !important;
}

.delay-300 {
    animation-delay: 0.3s !important;
}

.delay-400 {
    animation-delay: 0.4s !important;
}

.delay-500 {
    animation-delay: 0.5s !important;
}

.delay-600 {
    animation-delay: 0.6s !important;
}

.delay-700 {
    animation-delay: 0.7s !important;
}

/* Product Catalog Styles */
.catalog-controls {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
}

.search-filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    z-index: 2;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: var(--white);
}

.search-box input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.clear-search {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: none;
}

.clear-search:hover {
    background: #f1f5f9;
    color: var(--text-dark);
}

.search-box input:not(:placeholder-shown)+.clear-search {
    display: block;
}

.filter-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-select,
.sort-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.filter-select:focus,
.sort-select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.view-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 0.25rem;
    border-radius: 8px;
}

.view-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: var(--gray);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-btn.active {
    background: var(--white);
    color: var(--primary-green);
    box-shadow: var(--shadow);
}

.view-btn:hover {
    color: var(--primary-green);
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-count {
    font-weight: 500;
    color: var(--text-dark);
}

.results-actions {
    display: flex;
    gap: 0.5rem;
}

.products-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.products-catalog.list-view {
    grid-template-columns: 1fr;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card.list-view {
    display: flex;
    align-items: center;
    padding: 1.5rem;
}

.product-image {
    height: 180px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.product-card.list-view .product-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: #ffffff;
}

.product-image i {
    font-size: 3rem;
    color: var(--primary-blue);
    opacity: 0.7;
}

/* Product Image Hover Overlay */
.product-image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.02);
}

.product-image img {
    transition: transform 0.3s ease;
}

.product-image:hover img {
    transform: scale(1.05);
}

.product-image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.product-image-overlay.show {
    opacity: 1;
    visibility: visible;
}

.product-image-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.product-image-overlay.show img {
    transform: scale(1);
}

.product-image-overlay .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.product-image-overlay .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.product-image-overlay .product-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-image-overlay .product-info h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.product-image-overlay .product-info p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-green);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-content {
    padding: 1.5rem;
}

.product-card.list-view .product-content {
    flex: 1;
    padding: 0;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.product-brand {
    color: var(--primary-green);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card.list-view .product-description {
    -webkit-line-clamp: 2;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.product-feature {
    background: #f1f5f9;
    color: var(--primary-green);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-actions .btn {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-info {
    color: var(--gray);
    font-weight: 500;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    background: var(--white);
    color: var(--text-dark);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.25rem;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e2e8f0;
    background: var(--white);
    color: var(--text-dark);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination-number:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.pagination-number.active {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

/* Loading and No Results States */
.loading-state,
.no-results-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.loading-spinner {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.no-results-icon {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.no-results-state h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.no-results-state p {
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .catalog-controls {
        padding: 1.5rem;
    }

    .search-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        min-width: auto;
    }

    .filter-controls {
        flex-direction: column;
    }

    .filter-select,
    .sort-select {
        min-width: auto;
    }

    .view-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .results-info {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .products-catalog {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }

    .product-card {
        margin-bottom: 1rem;
    }

    .product-card.list-view {
        flex-direction: column;
        text-align: center;
    }

    .product-card.list-view .product-image {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .pagination-container {
        flex-direction: column;
        text-align: center;
    }

    /* Ensure products are visible on mobile */
    .product-image {
        min-height: 150px;
        height: 150px;
    }

    .product-content {
        padding: 1rem;
    }

    .product-title {
        font-size: 1.1rem;
    }

    .product-description {
        font-size: 0.9rem;
    }

    /* Force visibility on mobile */
    .products-catalog {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .product-card {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-bottom: 1rem;
        background: white;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 0;
        overflow: hidden;
    }

    /* Debug styles removed - products should load normally */

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination-numbers {
        order: -1;
        margin-bottom: 1rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-green);
}


/* Skeleton Loading Animation */
.skeleton {
    background: #e2e8f0;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite ease-in-out;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5rem;
    width: 100%;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-image {
    width: 100%;
    height: 100%;
    display: block;
}

/* Enhanced Hover Effects */
.service-card {
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-smooth);
}

.product-card {
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-smooth);
}

/* Scroll Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

   / *   M e d i a   S e c t i o n   * /     . m e d i a    {
                 p a d d i n g :    8 0 p x   0 ;
                 b a c k g r o u n d :    # f 8 f a f c ;
         
}

         . m e d i a - f i l t e r s    {
                 d i s p l a y :    f l e x ;
                 j u s t i f y - c o n t e n t :    c e n t e r ;
                 g a p :    1 r e m ;
                 m a r g i n - b o t t o m :    3 r e m ;
         
}

         . f i l t e r - b t n    {
                 p a d d i n g :    0 . 7 5 r e m   2 r e m ;
                 b o r d e r :    2 p x   s o l i d   v a r ( - - p r i m a r y - g r e e n ) ;
                 b o r d e r - r a d i u s :    5 0 p x ;
                 b a c k g r o u n d :    t r a n s p a r e n t ;
                 c o l o r :    v a r ( - - p r i m a r y - g r e e n ) ;
                 f o n t - w e i g h t :    6 0 0 ;
                 c u r s o r :    p o i n t e r ;
                 t r a n s i t i o n :    a l l   0 . 3 s   e a s e ;
         
}

         . f i l t e r - b t n : h o v e r ,
     . f i l t e r - b t n . a c t i v e    {
                 b a c k g r o u n d :    v a r ( - - p r i m a r y - g r e e n ) ;
                 c o l o r :    v a r ( - - w h i t e ) ;
                 t r a n s f o r m :    t r a n s l a t e Y ( - 2 p x ) ;
                 b o x - s h a d o w :    0   4 p x   1 5 p x   r g b a ( 4 5 ,    9 0 ,    3 9 ,    0 . 2 ) ;
         
}

         . m e d i a - g r i d    {
                 d i s p l a y :    g r i d ;
                 g r i d - t e m p l a t e - c o l u m n s :    r e p e a t ( a u t o - f i l l ,    m i n m a x ( 3 0 0 p x ,    1 f r ) ) ;
                 g a p :    2 r e m ;
                 m a x - w i d t h :    1 2 0 0 p x ;
                 m a r g i n :    0   a u t o ;
         
}

         . m e d i a - c a r d    {
                 b a c k g r o u n d :    v a r ( - - w h i t e ) ;
                 b o r d e r - r a d i u s :    2 0 p x ;
                 o v e r f l o w :    h i d d e n ;
                 b o x - s h a d o w :    0   1 0 p x   4 0 p x   r g b a ( 0 ,    0 ,    0 ,    0 . 0 8 ) ;
                 t r a n s i t i o n :    a l l   0 . 3 s   e a s e ;
                 c u r s o r :    p o i n t e r ;
                 p o s i t i o n :    r e l a t i v e ;
                 a s p e c t - r a t i o :    1 6 / 9 ;
         
}

         . m e d i a - c a r d : h o v e r    {
                 t r a n s f o r m :    t r a n s l a t e Y ( - 1 0 p x )   s c a l e ( 1 . 0 2 ) ;
                 b o x - s h a d o w :    0   2 0 p x   6 0 p x   r g b a ( 0 ,    0 ,    0 ,    0 . 1 5 ) ;
         
}

         . m e d i a - t h u m b n a i l - w r a p p e r    {
                 p o s i t i o n :    r e l a t i v e ;
                 w i d t h :    1 0 0 % ;
                 h e i g h t :    1 0 0 % ;
                 o v e r f l o w :    h i d d e n ;
         
}

         . m e d i a - t h u m b n a i l    {
                 w i d t h :    1 0 0 % ;
                 h e i g h t :    1 0 0 % ;
                 o b j e c t - f i t :    c o v e r ;
                 t r a n s i t i o n :    t r a n s f o r m   0 . 5 s   e a s e ;
         
}

         . m e d i a - c a r d : h o v e r   . m e d i a - t h u m b n a i l    {
                 t r a n s f o r m :    s c a l e ( 1 . 1 ) ;
         
}

         . m e d i a - o v e r l a y    {
                 p o s i t i o n :    a b s o l u t e ;
                 t o p :    0 ;
                 l e f t :    0 ;
                 r i g h t :    0 ;
                 b o t t o m :    0 ;
                 b a c k g r o u n d :    r g b a ( 0 ,    0 ,    0 ,    0 . 3 ) ;
                 d i s p l a y :    f l e x ;
                 a l i g n - i t e m s :    c e n t e r ;
                 j u s t i f y - c o n t e n t :    c e n t e r ;
                 o p a c i t y :    0 ;
                 t r a n s i t i o n :    o p a c i t y   0 . 3 s   e a s e ;
                 f l e x - d i r e c t i o n :    c o l u m n ;
         
}

         . m e d i a - c a r d : h o v e r   . m e d i a - o v e r l a y    {
                 o p a c i t y :    1 ;
         
}

         . m e d i a - i c o n    {
                 f o n t - s i z e :    3 r e m ;
                 c o l o r :    v a r ( - - w h i t e ) ;
                 t e x t - s h a d o w :    0   2 p x   1 0 p x   r g b a ( 0 ,    0 ,    0 ,    0 . 5 ) ;
                 m a r g i n - b o t t o m :    1 r e m ;
                 t r a n s f o r m :    t r a n s l a t e Y ( 2 0 p x ) ;
                 t r a n s i t i o n :    t r a n s f o r m   0 . 3 s   e a s e ;
         
}

         . m e d i a - t i t l e - o v e r l a y    {
                 c o l o r :    w h i t e ;
                 f o n t - s i z e :    1 . 2 r e m ;
                 f o n t - w e i g h t :    6 0 0 ;
                 t e x t - a l i g n :    c e n t e r ;
                 p a d d i n g :    0   1 r e m ;
                 t r a n s f o r m :    t r a n s l a t e Y ( 2 0 p x ) ;
                 t r a n s i t i o n :    t r a n s f o r m   0 . 3 s   e a s e ;
                 t e x t - s h a d o w :    0   2 p x   4 p x   r g b a ( 0 ,  0 ,  0 ,  0 . 5 ) ;
         
}

         . m e d i a - c a r d : h o v e r   . m e d i a - i c o n ,
     . m e d i a - c a r d : h o v e r   . m e d i a - t i t l e - o v e r l a y    {
                 t r a n s f o r m :    t r a n s l a t e Y ( 0 ) ;
         
}

         / *   L o c a l   V i d e o   S t y l i n g   i n s i d e   G r i d   * /     . g r i d - v i d e o    {
                 w i d t h :    1 0 0 % ;
                 h e i g h t :    1 0 0 % ;
                 o b j e c t - f i t :    c o v e r ;
         
}

             / *   M e d i a   L i g h t b o x   * /     . m e d i a - l i g h t b o x    {
                 p o s i t i o n :    f i x e d ;
                 t o p :    0 ;
                 l e f t :    0 ;
                 w i d t h :    1 0 0 % ;
                 h e i g h t :    1 0 0 % ;
                 b a c k g r o u n d :    r g b a ( 0 ,    0 ,    0 ,    0 . 9 5 ) ;
                 z - i n d e x :    1 0 0 0 0 ;
                 d i s p l a y :    n o n e ;
                 j u s t i f y - c o n t e n t :    c e n t e r ;
                 a l i g n - i t e m s :    c e n t e r ;
                 o p a c i t y :    0 ;
                 t r a n s i t i o n :    o p a c i t y   0 . 3 s   e a s e ;
         
}

         . m e d i a - l i g h t b o x . a c t i v e    {
                 d i s p l a y :    f l e x ;
                 o p a c i t y :    1 ;
         
}

         . l i g h t b o x - c o n t e n t    {
                 p o s i t i o n :    r e l a t i v e ;
                 w i d t h :    9 0 % ;
                 m a x - w i d t h :    1 0 0 0 p x ;
                 m a x - h e i g h t :    9 0 v h ;
         
}

         . c l o s e - l i g h t b o x    {
                 p o s i t i o n :    a b s o l u t e ;
                 t o p :    - 4 0 p x ;
                 r i g h t :    0 ;
                 b a c k g r o u n d :    n o n e ;
                 b o r d e r :    n o n e ;
                 c o l o r :    w h i t e ;
                 f o n t - s i z e :    2 r e m ;
                 c u r s o r :    p o i n t e r ;
                 t r a n s i t i o n :    t r a n s f o r m   0 . 3 s   e a s e ;
         
}

         . c l o s e - l i g h t b o x : h o v e r    {
                 t r a n s f o r m :    r o t a t e ( 9 0 d e g ) ;
         
}

         . l i g h t b o x - b o d y    {
                 w i d t h :    1 0 0 % ;
                 h e i g h t :    a u t o ;
                 d i s p l a y :    f l e x ;
                 j u s t i f y - c o n t e n t :    c e n t e r ;
                 a l i g n - i t e m s :    c e n t e r ;
         
}

         . l i g h t b o x - b o d y   i m g    {
                 m a x - w i d t h :    1 0 0 % ;
                 m a x - h e i g h t :    8 0 v h ;
                 b o r d e r - r a d i u s :    8 p x ;
                 b o x - s h a d o w :    0   0   5 0 p x   r g b a ( 0 ,  0 ,  0 ,  0 . 5 ) ;
         
}

         . l i g h t b o x - b o d y   v i d e o    {
                 w i d t h :    1 0 0 % ;
                 m a x - h e i g h t :    8 0 v h ;
                 b o r d e r - r a d i u s :    8 p x ;
                 b o x - s h a d o w :    0   0   5 0 p x   r g b a ( 0 ,  0 ,  0 ,  0 . 5 ) ;
         
}

         . l i g h t b o x - c a p t i o n    {
                 m a r g i n - t o p :    1 r e m ;
                 t e x t - a l i g n :    c e n t e r ;
                 c o l o r :    w h i t e ;
         
}

         . l i g h t b o x - c a p t i o n   h 3    {
                 f o n t - s i z e :    1 . 5 r e m ;
                 f o n t - w e i g h t :    5 0 0 ;
         
}

         @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )    {
                 . m e d i a - g r i d    {
                             g r i d - t e m p l a t e - c o l u m n s :    r e p e a t ( a u t o - f i l l ,    m i n m a x ( 2 5 0 p x ,    1 f r ) ) ;
                             p a d d i n g :    0   1 r e m ;
                     
    }

                     . f i l t e r - b t n    {
                             p a d d i n g :    0 . 5 r e m   1 . 5 r e m ;
                             f o n t - s i z e :    0 . 9 r e m ;
                     
    }

         
}

         