/* Style.css */
        :root {
            --primary: #044c95;
            --secondary: #7e011c;
            --accent: #2ecc71;
            --light: #f8f9fa;
            --dark: #2c3e50;
            --shadow: 0 4px 6px rgba(209, 220, 173, 0.1);
            --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
            --transition: all 0.3s ease;
            --radius: 8px;
            --header-height: 80px;
            --mobile-breakpoint: 768px;
            --tablet-breakpoint: 992px;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        
        @media (max-width: 768px) {
            html {
                font-size: 14px;
            }
        }
        
        body {
            font-family: 'Montserrat', sans-serif;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        a {
            text-decoration: none;
            color: inherit;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 clamp(1rem, 4vw, 2.5rem);
        }
        
        /* Enhanced Button Styles */
        .btn {
            display: inline-block;
            padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
            background: var(--secondary);
            color: white;
            border-radius: var(--radius);
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            font-size: clamp(0.9rem, 2vw, 1rem);
            min-height: 44px;
            min-width: 44px;
            touch-action: manipulation;
        }
        
        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.5s;
        }
        
        .btn:hover::before {
            left: 100%;
        }
        
        .btn:hover, .btn:focus-visible {
            background: #d35400;
            box-shadow: var(--shadow-hover);
        }
        
        .btn:active {
        }
        
        .btn-pulse {
            animation: pulse 2s infinite;
        }
        
        .btn-outline {
            background: transparent;
            border: 2px solid var(--secondary);
            color: var(--secondary);
        }
        
        .btn-outline:hover, .btn-outline:focus-visible {
            background: var(--secondary);
            color: white;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: clamp(2rem, 5vw, 3.125rem);
        }
        
        .section-title h2 {
            font-size: clamp(1.75rem, 5vw, 2.5rem);
            color: var(--primary);
            margin-bottom: 0.75rem;
            position: relative;
            display: inline-block;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -0.625rem;
            left: 50%;
            width: 5rem;
            height: 0.25rem;
            background: var(--secondary);
            transition: var(--transition);
        }
        
        .section-title:hover h2::after {
            width: 7.5rem;
        }
        
        .section-title p {
            font-size: clamp(1rem, 2vw, 1.1rem);
            color: #666;
            max-width: 43.75rem;
            margin: 0 auto;
        }
        
        /* Enhanced Header & Navigation */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: var(--shadow);
            transition: var(--transition);
            height: var(--header-height);
        }
        
        header.scrolled {
            height: calc(var(--header-height) - 20px);
        }
        
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: var(--header-height);
            transition: var(--transition);
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: clamp(0.5rem, 2vw, 1.875rem);
        }
        
        .logo img {
            height: clamp(3.125rem, 6vw, 6.25rem);
            transition: var(--transition);
            max-width: 100%;
        }
        
        .logo:hover img {
            transform: rotate(5deg);
        }
        
        .logo h1 {
            font-size: clamp(1.2rem, 3vw, 1.8rem);
            color: var(--primary);
            font-weight: 700;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
            gap: clamp(0.5rem, 2vw, 1.5rem);
        }
        
        .nav-links li {
            position: relative;
        }
        
        .nav-links a {
            color: var(--dark);
            font-weight: 500;
            transition: var(--transition);
            position: relative;
            font-size: clamp(0.9rem, 1.5vw, 1rem);
            padding: 0.5rem 0;
            display: block;
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary);
            transition: var(--transition);
        }
        
        .nav-links a:hover::after, .nav-links a:focus-visible::after {
            width: 100%;
        }
        
        .nav-links a:hover, .nav-links a:focus-visible {
            color: var(--secondary);
        }
        
        /* Enhanced Hamburger Menu */
        .hamburger {
            display: none;
            cursor: pointer;
            background: none;
            border: none;
            width: 44px;
            height: 44px;
            padding: 10px;
            z-index: 1001;
            position: relative;
        }
        
        .hamburger i {
            font-size: 1.5rem;
            color: var(--primary);
            transition: var(--transition);
        }
        
        .hamburger.active i {
            color: var(--secondary);
        }
        
        /* Enhanced Hero Section */
        .hero {
            height: 100vh;
            min-height: 600px;
            max-height: 1200px;
            color: white;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            margin-top: var(--header-height);
        }
        
        .hero-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }
        
        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(86, 22, 1, 0.7), rgba(21, 21, 21, 0.8));
            z-index: 1;
        }
        
        .hero-content {
            max-width: 50rem;
            position: relative;
            z-index: 2;
            animation: fadeInUp 1.5s ease;
            padding: 2rem;
            background: rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(5px);
            border-radius: var(--radius);
            margin: 1rem;
        }
        
        .hero-content h1 {
            font-size: clamp(2rem, 5vw, 3.5rem);
            margin-bottom: 1.25rem;
            line-height: 1.2;
            animation: fadeInUp 1.5s ease 0.2s both;
            min-height: 3.6em; /* Provide static height for up to 3 lines on mobile */
            transition: opacity 0.5s ease-in-out;
        }

        .hero-content h1.fade-out {
            opacity: 0;
        }
        
        .hero-content p {
            font-size: clamp(1rem, 2vw, 1.2rem);
            margin-bottom: clamp(1.5rem, 3vw, 2rem);
            animation: fadeInUp 1.5s ease 0.4s both;
        }
        
        .hero-buttons {
            display: flex;
            gap: clamp(0.75rem, 2vw, 1rem);
            animation: fadeInUp 1.5s ease 0.6s both;
            flex-wrap: wrap;
        }
        
        /* Enhanced Stats Section */
        .stats {
            position: absolute;
            bottom: clamp(1rem, 3vw, 3.125rem);
            left: 0;
            width: 100%;
            display: flex;
            justify-content: space-around;
            background: rgba(127, 202, 249, 0.5);
            backdrop-filter: blur(5px);
            padding: clamp(1rem, 2vw, 1.25rem) 0;
            z-index: 2;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .stat-item {
            text-align: center;
            padding: 0 clamp(0.5rem, 2vw, 1rem);
            min-width: 120px;
        }
        
        .stat-item .number {
            font-size: clamp(1.5rem, 3vw, 2.5rem);
            font-weight: 700;
            color: var(--secondary);
            display: block;
            transition: var(--transition);
        }
        
        .stat-item:hover .number {
            transform: scale(1.1);
        }
        
        .stat-item .text {
            font-size: clamp(0.8rem, 1.5vw, 1rem);
            text-transform: uppercase;
            transition: var(--transition);
            font-weight: 500;
        }
        
        /* About Section */
        .about {
            padding: clamp(3rem, 6vw, 6.25rem) 0;
            background: var(--light);
        }
        
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: clamp(2rem, 4vw, 3.125rem);
            align-items: center;
        }
        
        .about-image {
            position: relative;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all 0.8s ease;
        }
        
        
        
        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
            aspect-ratio: 4/3;
        }
        
        .about-image:hover img {
            transform: scale(1.05);
        }
        
        .about-text h3 {
            font-size: clamp(1.5rem, 3vw, 2rem);
            margin-bottom: 1.25rem;
            color: var(--primary);
        }
        
        .about-features {
            margin-top: clamp(1.5rem, 3vw, 2rem);
        }
        
        .feature-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: clamp(1rem, 2vw, 1.5rem);
            transition: all 0.8s ease;
        }
        
        
        
        .feature-icon {
            flex-shrink: 0;
            width: clamp(2.5rem, 5vw, 3.125rem);
            height: clamp(2.5rem, 5vw, 3.125rem);
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: clamp(0.75rem, 2vw, 1rem);
            color: white;
            font-size: clamp(1rem, 2vw, 1.2rem);
            transition: var(--transition);
        }
        
        .feature-item:hover .feature-icon {
            background: var(--secondary);
            transform: rotate(15deg) scale(1.1);
        }
        
        /* Services Section */
.services {
    padding: clamp(3rem, 6vw, 6.25rem) 0;
}

.services-grid {
    display: grid;
    /* This creates the 'Table' feel with 3 columns on desktop, 1 on mobile */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
}

.service-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}



/* Hover effect for the whole card */
.service-card:hover {
    box-shadow: var(--shadow-hover);
}

/* Re-edited from Icon to Image Container */
.service-image {
    height: clamp(200px, 30vw, 250px); /* Increased height for better image display */
    width: 100%;
    overflow: hidden; /* Important for the zoom effect */
    background: #eee; /* Placeholder color while image loads */
}

/* The actual image inside the card */
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the image act like a background-cover */
    transition: transform 0.5s ease;
}

/* Zoom effect on the image when you hover over the card */
.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: clamp(1rem, 2vw, 1.25rem);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.service-content p {
    flex-grow: 1;
    line-height: 1.6;
    color: #555;
}
        
        /* Projects Section */
        .projects {
            padding: clamp(3rem, 6vw, 6.25rem) 0;
            background: var(--light);
        }
        
        .projects-filter {
            display: flex;
            justify-content: center;
            margin-bottom: clamp(2rem, 4vw, 3rem);
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        
        .filter-btn {
            padding: clamp(0.5rem, 1vw, 0.75rem) clamp(1rem, 2vw, 1.5rem);
            background: white;
            border: 2px solid #ddd;
            cursor: pointer;
            border-radius: var(--radius);
            font-weight: 500;
            transition: var(--transition);
            font-size: clamp(0.85rem, 1.5vw, 1rem);
            min-height: 44px;
            touch-action: manipulation;
        }
        
        .filter-btn:hover, .filter-btn:focus-visible {
        }
        
        .filter-btn.active, .filter-btn:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
            gap: clamp(1.5rem, 3vw, 2rem);
        }
        
        .project-card {
            position: relative;
            border-radius: var(--radius);
            overflow: hidden;
            height: clamp(250px, 40vw, 300px);
            box-shadow: var(--shadow);
            transition: all 0.8s ease;
            cursor: pointer;
        }
        
        
        
        .project-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .project-card:hover img {
            transform: scale(1.1);
        }
        
        .project-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
            padding: clamp(1rem, 2vw, 1.25rem);
            color: white;
            transition: transform 0.4s ease;
            transform: translateY(calc(100% - 70px));
        }
        
        .project-card:hover .project-overlay {
            transform: translateY(0);
        }
        
        .project-overlay h3, .project-overlay p {
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        .project-card:hover .project-overlay h3,
        .project-card:hover .project-overlay p {
            opacity: 1;
        }
        
        .project-overlay h3 {
            font-size: clamp(1.1rem, 2vw, 1.5rem);
            margin-bottom: 0.5rem;
        }
        
        .project-overlay p {
            font-size: 0.9rem;
            margin-bottom: 0.25rem;
            display: flex;
            align-items: center;
        }
        
        .project-btn {
            margin-top: 15px;
            padding: 0.4rem 1rem;
            font-size: 0.85rem;
            min-height: auto;
            border-color: rgba(255, 255, 255, 0.5);
            color: white;
        }

        .project-btn:hover, .project-card:hover .project-btn {
            border-color: white;
            background: var(--secondary);
            color: white;
        }
        
        /* Project Modal Enhancements */
        .project-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.95);
            z-index: 2000;
            overflow-y: auto;
            padding: 1rem;
        }
        
        .modal-content {
            position: relative;
            background-color: white;
            margin: clamp(1rem, 3vw, 2.5rem) auto;
            max-width: 75rem;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
            animation: modalFadeIn 0.5s ease;
        }
        
        .close-modal {
            position: absolute;
            top: clamp(0.75rem, 2vw, 1rem);
            right: clamp(0.75rem, 2vw, 1rem);
            font-size: clamp(1.5rem, 3vw, 1.8rem);
            color: white;
            background: rgba(0, 0, 0, 0.7);
            width: clamp(2.5rem, 4vw, 3rem);
            height: clamp(2.5rem, 4vw, 3rem);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: var(--transition);
            border: none;
            touch-action: manipulation;
        }
        
        .close-modal:hover, .close-modal:focus-visible {
            background: var(--secondary);
            transform: rotate(90deg);
        }
        
        .modal-header {
            position: relative;
            height: clamp(250px, 40vw, 400px);
            overflow: hidden;
        }
        
        .modal-header img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .modal-header-content {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
            padding: clamp(1rem, 3vw, 2rem);
            color: white;
        }
        
        .modal-header-content h2 {
            font-size: clamp(1.5rem, 3vw, 2.5rem);
            margin-bottom: 0.5rem;
        }
        
        .modal-header-content p {
            display: flex;
            align-items: center;
            font-size: clamp(0.9rem, 1.5vw, 1.1rem);
        }
        
        .modal-body {
            padding: clamp(1.5rem, 3vw, 2rem);
        }
        
        .modal-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr));
            gap: clamp(0.75rem, 1.5vw, 1rem);
            margin: clamp(1rem, 2vw, 1.5rem) 0;
        }
        
        .modal-gallery img {
            width: 100%;
            height: clamp(120px, 20vw, 150px);
            object-fit: cover;
            border-radius: calc(var(--radius) - 2px);
            cursor: pointer;
            transition: var(--transition);
            aspect-ratio: 4/3;
        }
        
        .modal-gallery img:hover {
            transform: scale(1.05);
            box-shadow: var(--shadow);
        }
        
        .modal-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
            gap: clamp(1rem, 2vw, 1.5rem);
            margin: clamp(1.5rem, 3vw, 2rem) 0;
        }
        
        .detail-card {
            background: var(--light);
            padding: clamp(1rem, 2vw, 1.25rem);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        
        .detail-card h4 {
            color: var(--primary);
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--secondary);
        }
        
        .detail-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .modal-description {
            line-height: 1.8;
            margin: 20px 0;
        }
        
        /* Certifications Section */
        .certifications {
            padding: clamp(3rem, 6vw, 6.25rem) 0;
        }
        
        .certs-slider {
            display: flex;
            overflow-x: auto;
            padding: 20px 0;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }
        
        .certs-slider::-webkit-scrollbar {
            display: none;
        }
        
        .cert-item {
            flex: 0 0 auto;
            width: clamp(250px, 40vw, 300px);
            margin-right: clamp(1rem, 2vw, 1.875rem);
            scroll-snap-align: start;
            background: white;
            border-radius: var(--radius);
            padding: clamp(1rem, 2vw, 1.25rem);
            box-shadow: var(--shadow);
            text-align: center;
            transition: all 0.8s ease;
        }
        
        
        
        .cert-icon {
            font-size: clamp(2rem, 4vw, 3rem);
            color: var(--primary);
            margin-bottom: 15px;
            transition: var(--transition);
        }
        
        .cert-item:hover .cert-icon {
            color: var(--secondary);
            transform: rotate(15deg) scale(1.2);
        }
                /* Enhanced Certifications Slider */
        .certifications-slider-container {
            position: relative;
            margin: 0 auto;
            max-width: 1000px;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }
        
        .certifications-slider {
            display: flex;
            transition: transform 0.5s ease;
            height: 400px;
        }
        
        .cert-slide {
            min-width: 100%;
            position: relative;
            overflow: hidden;
        }
        
        .cert-image-container {
            width: 100%;
            height: 100%;
        }
        
        .cert-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .cert-slide:hover .cert-image-container img {
            transform: scale(1.05);
        }
        
        .cert-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
            color: white;
            padding: 25px;
            transition: transform 0.3s ease;
        }
        
        .cert-slide:hover .cert-overlay {
        }
        
        .cert-overlay h3 {
            font-size: 1.5rem;
            margin-bottom: 5px;
            color: var(--secondary);
        }
        
        .cert-overlay p {
            font-size: 0.95rem;
            opacity: 0.9;
        }
        
        /* Slider Navigation Buttons */
        .slider-nav-btn {
            position: absolute;
            top: 50%;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: all 0.3s ease;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        }
        
        .slider-nav-btn:hover {
            background: var(--primary);
            color: white;
        }
        
        .slider-nav-btn:active {
        }
        
        .prev-btn {
            left: 20px;
        }
        
        .next-btn {
            right: 20px;
        }
        
        .slider-nav-btn i {
            font-size: 1.2rem;
        }
        
        /* Slider Dots */
        .slider-dots {
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 10px;
            z-index: 10;
        }
        
        .slider-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .slider-dot.active {
            background: var(--secondary);
            transform: scale(1.2);
        }
        
        .slider-dot:hover {
            background: white;
            transform: scale(1.1);
        }
        
        .certifications-info {
            text-align: center;
            margin-top: 30px;
            color: #666;
            font-style: italic;
        }
        
        /* Touch/swipe support */
        .certifications-slider-container {
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }
        
        /* Auto-play indicator */
        .auto-play-indicator {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            z-index: 10;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .auto-play-indicator i {
            animation: pulse 2s infinite;
        }
        
        /* Responsive adjustments for slider */
        @media (max-width: 992px) {
            .certifications-slider {
                height: 350px;
            }
            
            .cert-overlay {
                padding: 20px;
            }
            
            .cert-overlay h3 {
                font-size: 1.3rem;
            }
        }
        
        @media (max-width: 768px) {
            .certifications-slider {
                height: 300px;
            }
            
            .slider-nav-btn {
                width: 40px;
                height: 40px;
            }
            
            .prev-btn {
                left: 10px;
            }
            
            .next-btn {
                right: 10px;
            }
            
            .cert-overlay {
                padding: 15px;
                background: rgba(0, 0, 0, 0.7);
            }
            
            .cert-overlay h3 {
                font-size: 1.2rem;
            }
            
            .cert-overlay p {
                font-size: 0.85rem;
            }
            
            .slider-dots {
                bottom: 10px;
            }
            
            .slider-dot {
                width: 10px;
                height: 10px;
            }
        }
        
        @media (max-width: 480px) {
            .certifications-slider {
                height: 250px;
            }
            
            .slider-nav-btn {
                width: 35px;
                height: 35px;
                display: none; /* Hide arrows on very small screens */
            }
            
            .cert-overlay h3 {
                font-size: 1.1rem;
            }
        }
        
        /* Tablet landscape optimization */
        @media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
            .certifications-slider {
                height: 250px;
            }
        }
        
        /* Financials Section */
        .financials {
            padding: clamp(3rem, 6vw, 6.25rem) 0;
            background: var(--light);
        }
        
        .financial-highlights {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
            gap: clamp(1.5rem, 3vw, 1.875rem);
            margin-bottom: clamp(2rem, 4vw, 3.125rem);
        }
        
        .financial-card {
            background: white;
            padding: clamp(1.5rem, 3vw, 1.875rem);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            text-align: center;
            transition: all 0.8s ease;
        }
        
        
        
        .financial-card h3 {
            font-size: clamp(1.5rem, 3vw, 2rem);
            color: var(--primary);
            margin-bottom: 10px;
            transition: var(--transition);
        }
        
        .financial-card:hover h3 {
            color: var(--secondary);
            transform: scale(1.1);
        }
        
        .financial-chart {
            background: white;
            padding: clamp(1.5rem, 3vw, 1.875rem);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            margin-top: clamp(1.5rem, 3vw, 1.875rem);
        }
        
        /* Team Section */
        .team {
            padding: clamp(3rem, 6vw, 6.25rem) 0;
        }
        
        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
            gap: clamp(1.5rem, 3vw, 1.875rem);
        }
        
        .team-member {
            background: white;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            text-align: center;
            padding: clamp(1.5rem, 3vw, 1.875rem);
            transition: all 0.8s ease;
        }
        
        
        
        .team-member img {
            width: clamp(5rem, 10vw, 6.25rem);
            height: clamp(5rem, 10vw, 6.25rem);
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 1rem;
            transition: var(--transition);
        }
        
        .team-member:hover img {
            transform: scale(1.1);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        .team-member h3 {
            color: var(--primary);
            margin-bottom: 5px;
            font-size: clamp(1.1rem, 2vw, 1.3rem);
        }
        
        .team-member p {
            color: var(--secondary);
            margin-bottom: 10px;
            font-size: clamp(0.9rem, 1.5vw, 1rem);
        }
        
        /* Media Section */
        .media {
            padding: clamp(3rem, 6vw, 6.25rem) 0;
            background: var(--light);
        }
        
        .media-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
            gap: clamp(1.5rem, 3vw, 1.875rem);
        }
        
        .media-item {
            background: white;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: all 0.8s ease;
        }
        
        
        
        .media-item img, .media-item video {
            width: 100%;
            height: clamp(180px, 30vw, 200px);
            object-fit: cover;
            display: block;
        }
        
        .media-item div {
            padding: clamp(1rem, 2vw, 1.25rem);
        }
        
        .media-item h3 {
            color: var(--primary);
            margin-bottom: 10px;
            font-size: clamp(1.1rem, 2vw, 1.3rem);
        }
        
        /* Contact Section */
        .contact {
            padding: clamp(3rem, 6vw, 6.25rem) 0;
        }
        
        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: clamp(2rem, 4vw, 3.125rem);
        }
        
        .contact-info h3 {
            font-size: clamp(1.5rem, 3vw, 1.8rem);
            margin-bottom: 1.25rem;
            color: var(--primary);
        }
        
        .contact-details {
            margin-bottom: clamp(1.5rem, 3vw, 1.875rem);
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: clamp(1rem, 2vw, 1.25rem);
        }
        
        .contact-icon {
            width: clamp(2.5rem, 4vw, 3rem);
            height: clamp(2.5rem, 4vw, 3rem);
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: clamp(0.75rem, 2vw, 1rem);
            color: white;
            transition: var(--transition);
            flex-shrink: 0;
        }
        
        .contact-item:hover .contact-icon {
            background: var(--secondary);
            transform: rotate(15deg);
        }
        
        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: clamp(0.75rem, 1.5vw, 0.875rem) clamp(0.875rem, 2vw, 1rem);
            margin-bottom: clamp(1rem, 2vw, 1.25rem);
            border: 1px solid #ddd;
            border-radius: var(--radius);
            font-family: inherit;
            transition: var(--transition);
            font-size: clamp(0.9rem, 1.5vw, 1rem);
        }
        
        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.2);
            outline: none;
        }
        
        .contact-form textarea {
            height: clamp(120px, 20vw, 150px);
            resize: vertical;
        }
        
        /* Map container */
        .map {
            margin-top: clamp(1.5rem, 3vw, 2rem);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        
        /* Footer */
        footer {
            background: var(--dark);
            color: white;
            padding: clamp(2rem, 5vw, 3.125rem) 0 clamp(1rem, 3vw, 1.25rem);
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
            gap: clamp(1.5rem, 3vw, 1.875rem);
            margin-bottom: clamp(1.5rem, 3vw, 1.875rem);
        }
        
        .footer-column h3 {
            font-size: clamp(1.2rem, 2vw, 1.5rem);
            margin-bottom: clamp(1rem, 2vw, 1.25rem);
            position: relative;
            padding-bottom: 0.625rem;
        }
        
        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 3.125rem;
            height: 2px;
            background: var(--secondary);
            transition: var(--transition);
        }
        
        .footer-column:hover h3::after {
            width: 6.25rem;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 0.625rem;
        }
        
        .footer-links a {
            color: #bbb;
            transition: var(--transition);
            display: inline-block;
        }
        
        .footer-links a:hover {
            color: var(--secondary);
            padding-left: 5px;
        }
        
        .social-links {
            display: flex;
            gap: 0.75rem;
            margin-top: 1.25rem;
        }
        
        .social-links a {
            width: clamp(2.5rem, 4vw, 3rem);
            height: clamp(2.5rem, 4vw, 3rem);
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }
        
        .social-links a:hover {
            background: var(--secondary);
        }
        
        .copyright {
            text-align: center;
            padding-top: 1.25rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            color: #bbb;
        }
        
        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes fadeInUp {
            from { 
            }
            to { 
                opacity: 1; 
            }
        }
        
        @keyframes countUp {
            from { 
            }
            to { 
                opacity: 1; 
            }
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(242, 99, 10, 0.7); }
            70% { box-shadow: 0 0 0 10px rgba(242, 99, 10, 0); }
            100% { box-shadow: 0 0 0 0 rgba(242, 99, 10, 0); }
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-20px); }
            60% { transform: translateY(-10px); }
        }
        
        @keyframes modalFadeIn {
            from { opacity: 0; transform: translateY(-50px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* Reduced Motion Support */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
            
            html {
                scroll-behavior: auto;
            }
            
            .btn-pulse {
                animation: none;
            }
        }
        
        /* Responsive Design - Mobile First Approach */
        @media (max-width: 992px) {
            .about-content,
            .contact-content {
                grid-template-columns: 1fr;
            }
            
            .nav-links {
                position: fixed;
                top: var(--header-height);
                left: -100%;
                width: 100%;
                height: calc(100vh - var(--header-height));
                background: white;
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                transition: var(--transition);
                padding: 2rem;
                gap: 1.5rem;
                overflow-y: auto;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            }
            
            .nav-links.active {
                left: 0;
            }
            
            .nav-links a {
                font-size: 1.2rem;
                padding: 0.75rem 1.5rem;
            }
            
            .hamburger {
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .modal-content {
                width: 95%;
            }
            
            .hero-content {
                margin: 1rem;
                padding: 1.5rem;
            }
            
            .certs-slider {
                padding: 15px 0;
            }
            
            .cert-item {
                width: clamp(220px, 35vw, 280px);
                margin-right: clamp(0.75rem, 1.5vw, 1rem);
            }
        }
        
        @media (max-width: 768px) {
            .hero {
                min-height: 500px;
            }
            
            .hero-content h1 {
                font-size: 2rem;
            }
            
            .stats {
                position: relative;
                bottom: 0;
                margin-top: 2rem;
                background: rgba(0, 0, 0, 0.6);
                border-radius: var(--radius);
                padding: 1rem;
                gap: 0.5rem;
            }
            
            .stat-item {
                min-width: auto;
                flex: 1;
                padding: 0.5rem;
            }
            
            .stat-item .number {
                font-size: 1.5rem;
            }
            
            .stat-item .text {
                font-size: 0.8rem;
            }
            
            .hero-buttons {
                flex-direction: column;
                width: 100%;
            }
            
            .hero-buttons .btn,
            .hero-buttons .btn-outline {
                width: 100%;
                text-align: center;
            }
            
            .modal-header {
                height: 200px;
            }
            
            .modal-header-content h2 {
                font-size: 1.5rem;
            }
            
            .filter-btn {
                flex: 1;
                min-width: 120px;
                text-align: center;
            }
            
            .projects-filter {
                justify-content: flex-start;
                overflow-x: auto;
                padding-bottom: 0.5rem;
                margin-bottom: 1.5rem;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
            }
            
            .projects-filter::-webkit-scrollbar {
                display: none;
            }
            
            .logo h1 {
                font-size: 1.2rem;
            }
            
            .logo img {
                height: 2.5rem;
            }
            
            header.scrolled .logo img {
                height: 2.2rem;
            }
            
            .contact-form button[type="submit"] {
                width: 100%;
            }
            
            .cert-item {
                width: 200px;
                margin-right: 1rem;
            }
            
            .modal-gallery {
                grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            }
            
            .modal-gallery img {
                height: 100px;
            }
        }
        
        @media (max-width: 480px) {
            .container {
                padding: 0 1rem;
            }
            
            .hero-content {
                padding: 1rem;
                margin: 0.5rem;
            }
            
            .section-title h2 {
                font-size: 1.5rem;
            }
            
            .service-card, .project-card, .team-member, .media-item {
                margin-bottom: 1rem;
            }
            
            .modal-body {
                padding: 1rem;
            }
            
            .modal-details {
                grid-template-columns: 1fr;
            }
            
            .footer-column {
                text-align: center;
            }
            
            .footer-column h3::after {
                left: 50%;
            }
            
            .social-links {
                justify-content: center;
            }
            
            .cert-item {
                width: 180px;
                padding: 1rem;
            }
            
            .cert-icon {
                font-size: 2rem;
            }
            
            .financial-highlights {
                grid-template-columns: 1fr;
            }
        }
        
        /* Landscape Orientation for Mobile */
        @media (max-height: 500px) and (orientation: landscape) {
            .hero {
                height: auto;
                min-height: 100vh;
            }
            
            .nav-links {
                margin-left: 5px;
                padding: 1rem;
                gap: 0.75rem;
            }
            
            .nav-links a {
                padding: 0.5rem 1rem;
                font-size: 1rem;
            }
            
            .hero-content {
                padding: 1rem;
            }
        }
        
        /* FAQ Section Styles */
.faq {
    padding: clamp(3rem, 6vw, 6.25rem) 0;
    background: var(--light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}



.faq-question {
    width: 100%;
    padding: clamp(1rem, 2vw, 1.25rem);
    text-align: left;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    transition: var(--transition);
}

.faq-question:hover {
    background: #f8f9fa;
    color: var(--secondary);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 clamp(1rem, 2vw, 1.25rem);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 0 clamp(1rem, 2vw, 1.25rem) clamp(1rem, 2vw, 1.25rem);
    max-height: 1000px;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
}
/* FAQ Styling */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: #fff;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust based on content length */
    padding: 15px 20px;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 15px 20px;
    font-weight: 600;
    transition: var(--transition);
}

/* Rotate the icon when open */
.faq-item.active .fa-chevron-down {
    transform: rotate(180deg);
}

.fa-chevron-down {
    transition: transform 0.3s ease;
}
        /* Tablet-specific optimizations */
        @media (min-width: 769px) and (max-width: 1024px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .team-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .media-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .projects-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        /* High DPI Screens */
        @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
            .logo img {
                image-rendering: -webkit-optimize-contrast;
            }
        }
            /* Scroll Direction Indicator Arrows */
    .scroll-indicator {
        position: fixed;
        right: 20px;
        z-index: 999;
        display: flex;
        flex-direction: column;
        gap: 10px;
        transition: opacity 0.3s ease;
    }
    
    .scroll-indicator.show {
        opacity: 1;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
        background: var(--primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        cursor: pointer;
        transition: var(--transition);
        box-shadow: var(--shadow);
        border: none;
    }
    
    .scroll-arrow:hover {
        background: var(--secondary);
    }
    
    .scroll-arrow.up {
        transform: rotate(180deg);
    }
    
    .scroll-arrow.up:hover {
        transform: rotate(180deg) translateY(-3px);
    }
    
    .scroll-arrow i {
        font-size: 1.2rem;
    }
    
    /* Section entry animations */
    @keyframes slideInFromLeft {
        from {
        }
        to {
            opacity: 1;
        }
    }
    
    @keyframes slideInFromRight {
        from {
        }
        to {
            opacity: 1;
        }
    }
    
    @keyframes slideInFromBottom {
        from {
        }
        to {
            opacity: 1;
        }
    }
    
    .animate-left {
        animation: slideInFromLeft 0.8s ease forwards;
    }
    
    .animate-right {
        animation: slideInFromRight 0.8s ease forwards;
    }
    
    .animate-bottom {
        animation: slideInFromBottom 0.8s ease forwards;
    }
    
    /* Floating animation for elements */
    @keyframes float {
        0%, 100% {
        }
        50% {
        }
    }
    
    .floating {
        animation: float 3s ease-in-out infinite;
    }
    
    /* Bounce animation for CTA */
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
        }
        40% {
        }
        60% {
        }
    }
    
    .bounce {
        animation: bounce 2s infinite;
    }

    /* Back to Top Button - SIMPLE WORKING VERSION */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top:active {
}
/* Partners Section */
.partners-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background-color: var(--light);
}

.partners-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    /* Adding a gradient fade on the sides */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: slide 30s linear infinite; /* Slowed down slightly for better visibility */
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 2.5rem; /* Increased spacing between items */
    min-width: 180px;  /* Increased from ~140px */
    transition: var(--transition);
}

.partner-logo {
    width: 160px;       /* Increased size */
    height: 80px;       /* Increased size */
    object-fit: contain;
    filter: grayscale(100%); /* Keeps it clean and uniform */
    opacity: 0.6;
    transition: all 0.4s ease;
    margin-bottom: 0.75rem;
}

.partner-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: black;
    opacity: 3; /* Slightly more visible */
    transition: var(--transition);
}

/* Hover Effects */
.partner-item:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15); /* Slight pop out effect */
}

.partner-item:hover .partner-name {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partner-item {
        min-width: 140px; /* Slightly smaller for mobile but still larger than before */
        margin: 0 1.5rem;
    }
    
    .partner-logo {
        width: 120px;
        height: 60px;
    }
}

@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
        
        /* Affiliate Companies Section */
        .affiliates-section {
            background: var(--lighter);
            position: relative;
            overflow: hidden;
        }
        
        .affiliates-section:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
            opacity: 0.03;
            z-index: 0;
        }
        
        .affiliates-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            position: relative;
            z-index: 1;
        }
        
        .affiliate-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
        }
        
        .affiliate-card:hover {
            box-shadow: var(--shadow-lg);
        }
        
        .affiliate-logo {
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: white;
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }
        
        .affiliate-logo img {
            max-height: 80px;
            max-width: 80%;
            object-fit: contain;
            filter: grayscale(100%);
            opacity: 0.8;
            transition: var(--transition);
        }
        
        .affiliate-card:hover .affiliate-logo img {
            filter: grayscale(0);
            opacity: 1;
            transform: scale(1.1);
        }
        
        .affiliate-info {
            padding: 25px;
            text-align: center;
        }
        
        .affiliate-info h3 {
            color: var(--primary);
            margin-bottom: 10px;
            font-size: 1.4rem;
        }
        
        .affiliate-info p {
            font-size: 0.95rem;
            margin-bottom: 15px;
        }
        
        .affiliate-link {
            display: inline-block;
            color: var(--secondary);
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
        }
        
        .affiliate-link:after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary);
            transition: var(--transition);
        }
        
        .affiliate-link:hover:after {
            width: 100%;
        }




        /* Partners Section - Continuous Sliding Marquee */
.partners-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: var(--light);
    overflow: hidden;
    position: relative;
}

.partners-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: slide 30s linear infinite;
    padding: 1rem 0;
}

/* Pause animation on hover */
.partners-track:hover {
    animation-play-state: paused;
}

.partner-item {
    flex: 0 0 auto;
    margin: 0 clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
    padding: 1rem;
    border-radius: var(--radius);
    min-width: 180px;
}

.partner-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    box-shadow: var(--shadow);
    background: white;
}

.partner-logo {
    width: clamp(120px, 20vw, 160px);
    height: clamp(60px, 10vw, 80px);
    object-fit: contain;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.partner-item:hover .partner-logo {
    transform: scale(1.05);
}

.partner-name {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: var(--dark);
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
}

.partner-item:hover .partner-name {
    color: var(--secondary);
}

/* Animation for sliding */
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Gradient overlays for fading edges */
.partners-container::before,
.partners-container::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partners-container::before {
    left: 0;
    background: linear-gradient(to right, var(--light) 0%, transparent 100%);
}

.partners-container::after {
    right: 0;
    background: linear-gradient(to left, var(--light) 0%, transparent 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partners-track {
        animation: slide 20s linear infinite;
    }
    
    .partner-item {
        margin: 0 1rem;
        min-width: 140px;
    }
    
    .partner-logo {
        width: 100px;
        height: 50px;
    }
    
    .partners-container::before,
    .partners-container::after {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .partners-track {
        animation: slide 15s linear infinite;
    }
    
    .partner-item {
        margin: 0 0.75rem;
        min-width: 120px;
        padding: 0.75rem;
    }
    
    .partner-logo {
        width: 80px;
        height: 40px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .partners-track {
        animation: none;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        gap: 1.5rem;
    }
    
    .partners-container::before,
    .partners-container::after {
        display: none;
    }
}
