/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

* {
    box-sizing: border-box;
}


@media (max-width: 768px) {
    body {
        padding: 0;
        margin: 0;
    }
    
    .hero-section, .video-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Fix any fixed widths */
    .fixed-width-element {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.navbar {
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

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

    .logo {
        height: 50px;
    }

    .nav-menu {
        display: flex;
        align-items: center;
        gap: 25px;
        list-style: none;
    }

    .nav-item {
        position: relative;
    }

    .nav-link {
        text-decoration: none;
        color: var(--text-secondary);
        font-weight: 500;
        transition: color 0.3s;
    }

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

    /* Hamburger (mobile) */
    .hamburger {
        display: none;
        flex-direction: column;
        cursor: pointer;
    }

    .bar {
        width: 25px;
        height: 3px;
        background-color: var(--primary-blue);
        border-radius: 3px;
        margin: 2px 0;
    }

    /* Dropdown */
    .nav-item.dropdown .dropdown-toggle i {
        font-size: 0.75rem;
        margin-left: 6px;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--pure-white);
        border: 1px solid var(--border-light);
        border-radius: 8px;
        box-shadow: var(--shadow-xl);
        min-width: 220px;
        padding: 8px 0;
        display: none;
        z-index: 200;
    }

    .dropdown-menu li {
        list-style: none;
    }

    .dropdown-link {
        display: block;
        padding: 12px 20px;
        color: var(--text-primary);
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.2s ease;
        border-left: 3px solid transparent;
    }

    .dropdown-link:hover {
        background: var(--primary-blue);
        color: var(--pure-white);
        border-left-color: var(--warning-orange);
        transform: translateX(2px);
    }

    /* Show dropdown on hover (desktop only) */
    @media (min-width: 769px) {
        .nav-item.dropdown:hover .dropdown-menu {
            display: block;
        }
    }

    @media (max-width: 768px) {
        .hamburger {
            display: flex;
        }

        .nav-menu {
            display: flex;
            position: fixed;
            left: -100%;
            top: 70px;
            height: calc(100vh - 130px);
            flex-direction: column;
            background-color: white;
            width: 100%;
            text-align: center;
            transition: 0.3s;
            box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
            padding: 20px 0;
            z-index: 999;

            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

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

        .nav-menu li {
            margin: 10px 0;
        }

        /* Dropdown on mobile */
        .dropdown-menu {
            position: static;
            background: var(--light-background);
            box-shadow: none;
            border: none;
            padding: 0;
            border-radius: 0;
        }

        .dropdown-link {
            padding: 12px 0;
            display: block;
            border-left: none;
            transform: none;
        }

        .dropdown-link:hover {
            background: var(--primary-blue);
            color: var(--pure-white);
            transform: none;
        }

        /* Extra adjustments for other sections (optional) */
        .hero-content {
            grid-template-columns: 1fr;
            gap: 40px;
            text-align: center;
        }

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

        .hero-stats {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

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

        .footer-content {
            grid-template-columns: 1fr;
            gap: 30px;
            text-align: center;
        }

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

        .social-links {
            display: flex;
            gap: 1rem;
            justify-content: center;
        }

        .dropdown-menu {
            position: static;
            box-shadow: none;
            border: none;
        }

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

        .nav-link.active::after {
            width: 100%;
        }
    }
/* Vendors Carousel Styles */
.vendors-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.vendors-carousel {
    position: relative;
    width: 100%;
    height: auto;
}

.carousel-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block;
    opacity: 1;
}

.vendors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    padding: 40px 0;
}

.vendor-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.vendor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

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

.vendor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.vendor-card.placeholder {
    opacity: 0.6;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
}

.vendor-card.placeholder:hover {
    transform: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-color: #dee2e6;
}

.vendor-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.vendor-card:hover .vendor-logo {
    transform: scale(1.1);
}

.vendor-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.vendor-card:hover h3 {
    color: #007bff;
}

.vendor-card p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

/* Carousel Navigation */
.carousel-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-btn {
    background: #007bff8e;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    
}

.carousel-btn:hover {
    background: #0056b3;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot.active {
    background: #007bff;
    transform: scale(1.2);
}

.dot:hover {
    background: #6c757d;
    transform: scale(1.1);
}
.vendor-card {
    text-decoration: none;
    color: inherit;
}

/* Customers Section Styles */
.customers-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgb(225 235 255) 0%, rgb(225 235 255) 100%);
    overflow: hidden;
}

.floating-logos-container {
    width: 100%;
    overflow: hidden;
    /* position: relative; */
    height: 120px;
    margin-top: 40px;
}

.floating-logos {
    display: flex;
    align-items: center;
    animation: floatLogos 30s linear infinite;
    width: calc(200% + 100px);
}

.logo-item {
    flex-shrink: 0;
    margin-right: 60px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

.customer-logo {
    height: 60px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    transition: all 0.3s ease;
}

.logo-item:hover .customer-logo {
    filter: grayscale(0%);
}

@keyframes floatLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .vendors-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    .vendor-card:nth-child(5) {
        display: none;
    }
}

@media (max-width: 992px) {
    .vendors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .vendor-card:nth-child(n+4) {
        display: none;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .vendors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 30px 0;
    }
    
    .vendor-card:nth-child(n+3) {
        display: none;
    }
    
    .vendor-card {
        padding: 20px 15px;
    }
    
    .vendor-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .vendor-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .vendor-card p {
        font-size: 0.8rem;
    }
    
    .carousel-navigation {
        gap: 15px;
        margin-top: 20px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .floating-logos {
        animation-duration: 20s;
    }
    
    .logo-item {
        margin-right: 40px;
    }
    
    .customer-logo {
        height: 45px;
        max-width: 90px;
    }
}

@media (max-width: 480px) {
    .vendors-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .vendor-card:nth-child(n+2) {
        display: none;
    }
    
    .customers-section {
        padding: 60px 0;
    }
    
    .floating-logos-container {
        height: 100px;
        margin-top: 30px;
    }
    
    .floating-logos {
        animation-duration: 15s;
    }
    
    .logo-item {
        margin-right: 30px;
    }
    
    .customer-logo {
        height: 40px;
        max-width: 80px;
    }
}

/* Animation for smooth transitions */
.vendor-card {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Loading animation for carousel */
.carousel-slide {
    animation: slideIn 0.5s ease-in-out;
}

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

/* Hover effects for better interactivity */
.carousel-navigation {
    position: relative;
}

.carousel-navigation::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #007bff, transparent);
    opacity: 0.3;
    z-index: -1;
}

/* Enhanced floating animation */
.floating-logos-container::before,
.floating-logos-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
/* 
.floating-logos-container::before {
    left: 0;
    background: linear-gradient(90deg, #f8f9fa, transparent);
}

.floating-logos-container::after {
    right: 0;
    background: linear-gradient(270deg, #f8f9fa, transparent);
} */
    