/* Premium CONVXA Home Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Color Palette */
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --accent-gold: #d4af37;
    --accent-blue: #2563eb;
    --pure-white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #64748b;
    --dark-gray: #334155;
    --premium-gradient: linear-gradient(135deg, #0c9eb1 0%, #0f1ae6 100%);
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius - Set to 0 for sharp edges */
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --radius-xl: 0;
    --radius-2xl: 0;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--pure-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Premium Navigation */
.premium-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-container {
    width: 100%; /* Changed from max-width to span full viewport */
    margin: 0;   /* Removed auto margin */
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--premium-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.2rem;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--primary-black);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-blue);
}

.nav-btn {
    background: var(--primary-black);
    color: var(--pure-white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-xl); /* Sharp edges */
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--secondary-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Luxurious Hero Section */
.hero-section {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-content {
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--pure-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-xl); /* Sharp edges */
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.hero-badge span {
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-black);
    line-height: 1.1;
    color: var(--primary-black);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--premium-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    font-weight: var(--font-weight-regular);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--primary-black);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--medium-gray);
    font-weight: var(--font-weight-medium);
    text-align: center;
    margin-top: var(--space-xs);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

/* Premium Carousel */
.hero-carousel {
    position: relative;
    width: 200%;
    min-width: 0;
}

.premium-swiper {
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    width: 100%;
    height: 500px;
    border-radius: var(--radius-2xl); /* Sharp edges */
}

.swiper-wrapper {
    height: 100%;
}

.swiper-slide {
    height: 100%;
    width: 100%;
}

.slide-image {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

/* MODIFIED: Slider arrows with transparent background */
.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    background: transparent; /* No background color */
    color: var(--pure-white); /* White arrow for visibility on image */
    transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    transform: scale(1.1);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 28px; /* Larger arrow icon */
    font-weight: var(--font-weight-extrabold);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--pure-white);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-blue);
}

/* Premium Services Section */
.services-section {
    padding: var(--space-3xl) 0;
    background: var(--pure-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: var(--light-gray);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-xl); /* Sharp edges */
    margin-bottom: var(--space-lg);
}

.section-badge span {
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--primary-black);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.premium-card {
    background: var(--pure-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-2xl); /* Sharp edges */
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(37, 99, 235, 0.1);
}

.premium-card .card-icon {
    width: 60px;
    height: 60px;
    background: var(--premium-gradient);
    border-radius: var(--radius-lg); /* Sharp edges */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.premium-card h3 {
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-black);
    margin-bottom: var(--space-sm);
}

.premium-card p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-weight: var(--font-weight-regular);
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--premium-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.premium-card:hover .card-accent {
    transform: scaleX(1);
}

/* Premium Selection Section */
.selection-section {
    padding: var(--space-3xl) 0;
    background: var(--light-gray);
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.selection-card {
    background: var(--pure-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-2xl); /* Sharp edges */
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.selection-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
}

.selection-card .card-icon {
    width: 70px;
    height: 70px;
    background: var(--premium-gradient);
    border-radius: var(--radius-lg); /* Sharp edges */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.8rem;
}

.supplier-card .card-icon {
    background: var(--gold-gradient);
}

.card-badge {
    background: var(--accent-blue);
    color: var(--pure-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md); /* Sharp edges */
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.supplier-card .card-badge {
    background: var(--accent-gold);
}

.selection-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--primary-black);
    margin-bottom: var(--space-sm);
}

.card-description {
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.features-list {
    margin-bottom: var(--space-xl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.feature-item i {
    color: var(--accent-blue);
    font-size: 0.9rem;
    width: 16px;
}

.feature-item span {
    color: var(--dark-gray);
    font-size: 0.95rem;
    font-weight: var(--font-weight-medium);
}

.premium-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-xl); /* Sharp edges */
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.premium-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: left 0.5s ease;
}

.premium-btn:hover::before {
    left: 100%;
}

.primary-btn {
    background: var(--primary-black);
    color: var(--pure-white);
}

.primary-btn:hover {
    background: var(--secondary-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.secondary-btn {
    background: var(--accent-gold);
    color: var(--primary-black);
}

.secondary-btn:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.premium-btn i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.premium-btn:hover i {
    transform: translateX(4px);
}

/* Luxurious Footer */
.premium-footer {
    background: var(--primary-black);
    color: var(--pure-white);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .brand-icon {
    background: var(--premium-gradient);
    margin-bottom: var(--space-md);
}

.footer-brand .brand-text {
    color: var(--pure-white);
    display: block;
    margin-bottom: var(--space-sm);
}

.brand-description {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
    color: var(--pure-white);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--space-xs);
}

.footer-section a {
    color: var(--medium-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-blue);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.contact-item i {
    color: var(--accent-blue);
    width: 16px;
    font-size: 0.9rem;
}

.contact-item span {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid var(--secondary-black);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--medium-gray);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    color: var(--medium-gray);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        display: flex;
        flex-direction: column;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .hero-content {
        order: 1;
        max-width: 100%;
    }
    
    .hero-carousel {
        order: 2;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .premium-swiper {
        height: 400px;
    }
    
    .hero-title {
        font-size: 3rem;
    }

    .hero-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--space-lg);
    }
    
    .selection-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 var(--space-md);
        height: 70px;
    }

    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--primary-black);
        font-size: 1.5rem;
        cursor: pointer;
    }
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    
    .brand-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .brand-text {
        font-size: 1.3rem;
    }
    
    .hero-section {
        padding-top: 100px;
        padding-bottom: var(--space-2xl);
    }
    
    .hero-container {
        padding: var(--space-lg) var(--space-md);
        gap: var(--space-lg);
    }
    
    .hero-badge span {
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        justify-content: space-around;
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .stat-item {
        flex: 1;
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-carousel {
        height: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .selection-grid {
        grid-template-columns: 1fr;
    }
    
    .selection-card {
        padding: var(--space-xl);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 var(--space-sm);
        height: 60px;
    }

    .nav-links.mobile-open {
        top: 60px;
    }
    
    .brand-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
    
    .hero-section {
        padding-top: 80px;
    }
    
    .hero-container {
        padding: var(--space-md) var(--space-sm);
        gap: var(--space-md);
    }
    
    .hero-badge span {
        font-size: 0.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .stat-item {
        flex: none;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-carousel {
        height: 250px;
    }
    
    .section-container {
        padding: 0 var(--space-sm);
    }
    
    .premium-card {
        padding: var(--space-xl);
    }
    
    .selection-card {
        padding: var(--space-lg);
    }
    
    .premium-btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.9rem;
    }
}

/* Animations, Loading, and Accessibility */
/* @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} */

*:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.nav-link:focus,
.premium-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (min-width: 1025px) {
    .hero-carousel[data-aos="fade-left"] {
        transform: none !important;
        opacity: 1 !important;
    }
}




        /* ============================================
           PARTNERS CAROUSEL SECTION (FIXED)
           ============================================ */

        .partners-section {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            padding: var(--space-3xl) 0;
            overflow: hidden;
            border-top: 1px solid #e2e8f0;
            position: relative;
        }

        .partners-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
        }

        .partners-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 var(--space-lg);
        }

        .partners-header {
            text-align: center;
            margin-bottom: var(--space-2xl);
        }

        .partners-title {
            font-size: 2.5rem;
            font-weight: var(--font-weight-bold);
            color: var(--primary-black);
            margin-bottom: var(--space-md);
            background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            color: transparent;
        }

        .partners-subtitle {
            font-size: 1.1rem;
            color: var(--medium-gray);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .partners-carousel-wrapper {
            position: relative;
            overflow: hidden;
            padding: var(--space-lg) 0;
        }

        .partners-carousel {
            position: relative;
            overflow: hidden;
            mask-image: linear-gradient(
                to right,
                transparent 0%,
                black 5%,
                black 95%,
                transparent 100%
            );
            -webkit-mask-image: linear-gradient(
                to right,
                transparent 0%,
                black 5%,
                black 95%,
                transparent 100%
            );
        }

        .partners-track {
            display: flex;
            /* Width for 6 logos (3 original + 3 duplicated) */
            width: calc((200px + 2 * var(--space-lg)) * 6);
            animation: scroll-partners 30s linear infinite;
        }

        .partner-logo {
            flex: 0 0 200px;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 var(--space-lg);
            background: var(--pure-white);
            border-radius: var(--radius-lg);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .partner-logo::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
            transition: left 0.6s ease;
        }

        .partner-logo:hover::before {
            left: 100%;
        }

        .partner-logo:hover {
            transform: translateY(-4px) scale(1.05);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        .partner-logo img {
            max-width: 120px;
            max-height: 60px;
            width: auto;
            height: auto;
            object-fit: contain;
            filter: grayscale(100%) opacity(0.7);
            transition: all 0.3s ease;
        }

        .partner-logo:hover img {
            filter: grayscale(0%) opacity(1);
            transform: scale(1.1);
        }

        /* FIXED: Single @keyframes declaration at root level */
        @keyframes scroll-partners {
            0% {
                transform: translateX(0);
            }
            100% {
                /* Move by exactly half the track width (3 logos) */
                transform: translateX(-50%);
            }
        }

        /* Pause animation on hover */
        .partners-carousel:hover .partners-track {
            animation-play-state: paused;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .partners-title {
                font-size: 2rem;
            }
            .partners-subtitle {
                font-size: 1rem;
            }
            .partner-logo {
                flex: 0 0 160px;
                height: 80px;
                margin: 0 var(--space-md);
            }
            .partner-logo img {
                max-width: 100px;
                max-height: 50px;
            }
            .partners-track {
                width: calc((160px + 2 * var(--space-md)) * 6);
                animation-duration: 25s;
            }
        }

        @media (max-width: 768px) {
            .partners-section {
                padding: var(--space-2xl) 0;
            }
            .partners-title {
                font-size: 1.75rem;
            }
            .partners-subtitle {
                font-size: 0.95rem;
                padding: 0 var(--space-md);
            }
            .partner-logo {
                flex: 0 0 140px;
                height: 70px;
                margin: 0 var(--space-sm);
            }
            .partner-logo img {
                max-width: 80px;
                max-height: 40px;
            }
            .partners-track {
                width: calc((140px + 2 * var(--space-sm)) * 6);
                animation-duration: 20s;
            }
        }

        @media (max-width: 480px) {
            .partners-title {
                font-size: 1.5rem;
            }
            .partner-logo {
                flex: 0 0 120px;
                height: 60px;
            }
            .partner-logo img {
                max-width: 70px;
                max-height: 35px;
            }
            .partners-track {
                width: calc((120px + 2 * var(--space-sm)) * 6);
            }
        }

        /* Accessibility */
        @media (prefers-reduced-motion: reduce) {
            .partners-track {
                animation: none;
            }
            .partner-logo {
                transition: none;
            }
            .partner-logo:hover {
                transform: none;
            }
        }

        /* High contrast mode */
        @media (prefers-contrast: high) {
            .partner-logo {
                border: 2px solid var(--primary-black);
            }
            .partner-logo img {
                filter: grayscale(100%) contrast(1.2);
            }
            .partner-logo:hover img {
                filter: grayscale(0%) contrast(1.2);
            }
        }