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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #111827;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Container adjustments for larger screens */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
    }
}

/* Specific container fix for 1024px to prevent button cutoff - REMOVED, handled in comprehensive 1024px fix */

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #374151;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    transform: translateY(0); /* Always visible */
    overflow-x: visible;
    width: 100%;
}

/* Ensure header container doesn't constrain content */
.header .container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.header.scrolled {
    background: rgba(17, 24, 39, 0.85); /* More transparent when scrolled */
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    width: 100%;
    gap: 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.nav-desktop {
    display: flex;
    gap: 32px;
    position: relative;
    z-index: 1;
    flex: 0 1 auto;
}

.nav-link {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: white;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #3b82f6);
    transition: width 0.3s ease;
}

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

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
    overflow: visible;
    position: relative;
    z-index: 10;
}

.btn-text {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

.btn-text:hover {
    background: #2563eb;
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-primary {
    background: #9333ea;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: #7c3aed;
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-primary:active {
    background: #6d28d9;
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    border: 1px solid #6b7280;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-base-content);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #374151;
    padding: 20px;
    max-height: 90vh;
    min-height: 70vh;
    overflow-y: auto;
    z-index: 1000;
}

.mobile-nav.active {
    display: block;
}

/* Custom scrollbar for mobile nav */
.mobile-nav::-webkit-scrollbar {
    width: 4px;
}

.mobile-nav::-webkit-scrollbar-track {
    background: rgba(55, 65, 81, 0.3);
}

.mobile-nav::-webkit-scrollbar-thumb {
    background: #7c3aed;
    border-radius: 2px;
}

.mobile-nav::-webkit-scrollbar-thumb:hover {
    background: #6d28d9;
}

/* Hide testimonial navigation buttons on desktop since we're using scroll */
.testimonial-btn {
    display: none !important;
}

/* Mobile Navigation (≤767px) - Show mobile menu */
@media (max-width: 767px) {
    .nav-desktop {
        display: none !important;
    }
    
    .nav-actions {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: block !important;
        color: var(--color-base-content);
    }
    
    .mobile-nav {
        background: var(--color-panel);
        border-top: 1px solid var(--color-panel-border);
    }
    
    .mobile-nav-link {
        color: var(--color-base-content);
    }
    
    .testimonial-btn {
        display: flex !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(147, 51, 234, 0.9);
        border: none;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 14px;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
    }

    .testimonial-btn:hover {
        background: rgba(147, 51, 234, 1);
        transform: translateY(-50%) scale(1.1);
    }

    .testimonial-btn-left {
        left: 5px;
    }

    .testimonial-btn-right {
        right: 5px;
    }

    .testimonials-carousel-container {
        position: relative;
        padding: 0 50px; /* Add padding to prevent text overlap */
    }

    .testimonials-carousel {
        padding: 0 10px; /* Additional padding for content */
    }
}

/* Extra small mobile screens (320px) - More spacing */
@media (max-width: 320px) {
    .testimonial-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .testimonial-btn-left {
        left: 2px;
    }

    .testimonial-btn-right {
        right: 2px;
    }

    .testimonials-carousel-container {
        padding: 0 40px; /* Reduced padding for very small screens */
    }

    .testimonials-carousel {
        padding: 0 5px; /* Minimal padding for content */
    }
}

.mobile-nav-link {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    padding: 12px 0;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link:hover {
    color: white;
    transform: translateX(8px);
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.1), transparent);
    padding-left: 16px;
    border-radius: 8px;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #3b82f6);
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::before {
    width: 4px;
}

.mobile-nav-actions {
    margin-top: 25px;
    margin-bottom: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(55, 65, 81, 0.3);
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: stretch;
}

.btn-text-mobile, .btn-primary-mobile, .btn-secondary-mobile {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-text-mobile {
    background: #3b82f6;
    color: white;
    transition: all 0.2s ease;
}

.btn-text-mobile:hover {
    background: #2563eb;
}

.btn-primary-mobile {
    background: #9333ea;
    color: white;
    border: none;
}

.btn-primary-mobile:hover {
    background: #7c3aed;
    transform: translateY(-1px);
}

.btn-primary-mobile:active {
    background: #6d28d9;
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-secondary-mobile {
    border: 1px solid #374151;
}

.btn-secondary-mobile:hover {
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4c1d95 0%, #1e1b4b 25%, #312e81 50%, #1e1b4b 75%, #4c1d95 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.highlight {
    color: #fbbf24;
}

.subtitle {
    font-size: 28px;
    font-weight: 400;
}

.hero-description {
    font-size: 20px;
    color: #d1d5db;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: #9333ea;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-white:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.btn-white:active {
    background: #e5e7eb;
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid #a855f7;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: #a855f7;
    color: #1f2937;
    transform: translateY(-2px);
}

.btn-outline:active {
    background: #9333ea;
    color: white;
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #1f2937, #374151);
}

.video-container:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 35px 70px -12px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(255, 255, 255, 0.2);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-container:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-container:hover .video-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #9333ea, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.video-container:hover .play-button {
    transform: scale(1.15);
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.6);
}

.video-description {
    color: #e5e7eb;
    text-align: center;
    margin-top: 24px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    max-width: 500px;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #111827;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: #1f2937;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #374151;
    transition: all 0.2s ease;
}

.service-card:hover {
    border-color: #a855f7;
    transform: translateY(-4px);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 24px;
}

.service-card:nth-child(1) .service-icon {
    background: #9333ea;
}

.service-card:nth-child(2) .service-icon {
    background: #3b82f6;
}

.service-card:nth-child(3) .service-icon {
    background: #059669;
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.service-description {
    color: #9ca3af;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    z-index: 1;
    animation: pricingGlow 8s ease-in-out infinite alternate;
}
@keyframes pricingGlow {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.pricing .container {
    position: relative;
    z-index: 2;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
.pricing-card {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(124, 58, 237, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(124, 58, 237, 0.4);
}

.pricing-card.popular {
    border-color: #a855f7;
    border-width: 2px;
    background: linear-gradient(145deg, #1e1b4b 0%, #312e81 50%, #0f172a 100%);
    box-shadow:
        0 4px 6px -1px rgba(168, 85, 247, 0.1),
        0 2px 4px -1px rgba(168, 85, 247, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(168, 85, 247, 0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow:
        0 4px 6px -1px rgba(168, 85, 247, 0.3),
        0 2px 4px -1px rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.plan-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.plan-price {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
}

.plan-period {
    font-size: 18px;
    color: #9ca3af;
    font-weight: 400;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
}

.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #d1d5db;
}

.plan-features i {
    color: #059669;
    margin-right: 12px;
    font-size: 14px;
}

.plan-features {
    flex-grow: 1;
    margin-bottom: 24px;
}

.plan-button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: auto;
    background: #374151;
    color: white;
}

.plan-button:hover {
    background: linear-gradient(135deg, #9333ea, #3b82f6);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}

.plan-button:active {
    background: #1f2937;
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.plan-button.popular-btn {
    background: linear-gradient(135deg, #9333ea, #3b82f6);
}

.plan-button.popular-btn:hover {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    transform: translateY(-1px);
}

.plan-button.popular-btn:active {
    background: linear-gradient(135deg, #6d28d9, #1d4ed8);
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Active state for selected plan buttons */
.plan-button.active {
    background: #1f2937 !important;
    border: 2px solid #9333ea !important;
    color: #9333ea !important;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
}

.plan-button.popular-btn.active {
    background: linear-gradient(135deg, #6d28d9, #1d4ed8) !important;
    border: 2px solid #a855f7 !important;
    color: white !important;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
}

/* Plan notification styles */
.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-content i {
    font-size: 18px;
    color: #10b981;
}

.notification-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notification-text span {
    font-weight: 600;
    font-size: 14px;
}

.notification-text small {
    font-size: 12px;
    opacity: 0.9;
    color: #e5e7eb;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.notification-close:hover {
    opacity: 1;
}

/* Videos Section */
.videos {
    padding: 80px 0;
    background: #111827;
}

/* Videos Carousel */
.videos-carousel-container {
    position: relative;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 60px; /* Reduced padding since arrows are now inside */
}

.videos-carousel {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

/* Hide scrollbar for desktop/tablet - keep functionality */
.videos-carousel::-webkit-scrollbar {
    display: none !important;
}

.videos-carousel {
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
}

/* Hide scrollbar for videos section globally */
.videos *::-webkit-scrollbar {
    display: none !important;
}

.videos * {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

/* Ensure exactly 3 videos are visible on desktop */
@media (min-width: 1200px) {
    .videos-carousel {
        width: calc(3.5 * 350px + 3 * 24px); /* 3.5 cards + 3 gaps to show half of 4th video */
        margin: 0 auto; /* Center the videos */
        position: relative;
    }

    .videos-track {
        width: calc(3.5 * 350px + 3 * 24px);
        justify-content: flex-start; /* Align videos to the left to show half of 4th */
    }

    .carousel-btn-left {
        left: 20px;
    }

    .carousel-btn-right {
        right: 5px; /* Much closer to the third video */
    }
}

.videos-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
    align-items: stretch;
    width: max-content;
}

/* Hide scrollbar for videos track */
.videos-track::-webkit-scrollbar {
    display: none;
}

.videos-track {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(168, 85, 247, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(168, 85, 247, 0.4);
}

.carousel-btn:active {
    background: rgba(168, 85, 247, 1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.6);
}

.carousel-btn-left {
    left: 20px;
}

.carousel-btn-right {
    right: 5px; /* Closer to videos on desktop */
}

/* Responsive carousel */
@media (max-width: 1600px) {
    .videos-carousel-container {
        padding: 0 60px;
    }

    .video-card {
        flex: 0 0 330px;
        min-width: 330px;
    }

    .videos-carousel {
        margin: 0 auto 0 0; /* Move videos to the left */
    }

    .videos-track {
        justify-content: flex-start; /* Align videos to the left */
    }

    .carousel-btn-left {
        left: 20px;
    }

    .carousel-btn-right {
        right: 20px;
    }
}

@media (max-width: 1400px) {
    .videos-carousel-container {
        padding: 0 50px;
    }

    .video-card {
        flex: 0 0 320px;
        min-width: 320px;
    }

    .videos-carousel {
        margin: 0 auto 0 0; /* Move videos to the left */
    }

    .videos-track {
        justify-content: flex-start; /* Align videos to the left */
    }

    .carousel-btn-left {
        left: 20px;
    }

    .carousel-btn-right {
        right: 20px;
    }
}

@media (max-width: 1200px) {
    .videos-carousel-container {
        padding: 0 40px;
    }

    .video-card {
        flex: 0 0 300px;
        min-width: 300px;
    }

    .videos-carousel {
        margin: 0 auto 0 0; /* Move videos to the left */
    }

    .videos-track {
        justify-content: flex-start; /* Align videos to the left */
    }

    .carousel-btn-left {
        left: 20px;
    }

    .carousel-btn-right {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .videos-carousel-container {
        padding: 0 30px;
    }

    .video-card {
        flex: 0 0 280px;
        min-width: 280px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-btn-left {
        left: 20px;
    }

    .carousel-btn-right {
        right: 20px;
    }
}

@media (max-width: 480px) {
    .videos-carousel-container {
        padding: 0 20px;
    }

    .video-card {
        flex: 0 0 250px;
        min-width: 250px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .carousel-btn-left {
        left: 20px;
    }

    .carousel-btn-right {
        right: 20px;
    }
}

.video-card {
    background: #1f2937;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #374151;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    flex: 0 0 300px;
    min-width: 300px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    height: 400px;
    align-items: stretch;
}

.video-card:hover {
    border-color: #a855f7;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

.video-card:active {
    border-color: #a855f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

/* Features Section - Compact Cards */
#features .video-card {
    height: 320px;
}

#features .video-content {
    padding: 16px;
    min-height: 80px;
}

#features .video-title {
    margin-bottom: 6px;
    line-height: 1.3;
}

.video-thumbnail-container {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    flex-shrink: 0;
}

.video-thumbnail-container .video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-card:hover .video-play-overlay {
    background: rgba(168, 85, 247, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.5);
}

.video-card:active .video-play-overlay {
    background: rgba(168, 85, 247, 1);
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.6);
}

.video-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 140px;
}

.video-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    line-height: 1.4;
    flex-shrink: 0;
}

.video-desc {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #1f2937;
}

.testimonials-carousel-container {
    position: relative;
    margin-top: 40px;
    padding: 0 60px;
}

.testimonials-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    margin: 0 auto;
    scrollbar-width: thin;
    scrollbar-color: #7c3aed #1f2937;
    padding-bottom: 15px;
    scroll-behavior: smooth;
}

.testimonials-carousel::-webkit-scrollbar {
    height: 10px;
}

.testimonials-carousel::-webkit-scrollbar-track {
    background: #1f2937;
    border-radius: 5px;
}

.testimonials-carousel::-webkit-scrollbar-thumb {
    background: #7c3aed;
    border-radius: 5px;
}

.testimonials-carousel::-webkit-scrollbar-thumb:hover {
    background: #6d28d9;
}

/* Desktop (1024px+) - Show 3 cards */
@media (min-width: 1024px) {
    .testimonials-carousel-container {
        padding: 0 60px;
    }

    .testimonials-carousel {
        max-width: 1400px;
    }

    .testimonial-card {
        flex: 0 0 400px;
        min-width: 400px;
        max-width: 400px;
    }
}

/* Laptop L (1440px) - Fix testimonials card sizing */
@media (min-width: 1440px) {
    .testimonials-carousel-container {
        padding: 0 40px !important;
        max-width: 1400px !important;
        margin: 0 auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .testimonials-carousel {
        max-width: 1320px !important;
        margin: 0 auto !important;
        overflow-x: visible !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }

    .testimonials-track {
        display: flex !important;
        gap: 24px !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .testimonial-card {
        flex: 0 0 calc((100% - 48px) / 3) !important;
        min-width: 0 !important;
        max-width: calc((100% - 48px) / 3) !important;
        width: calc((100% - 48px) / 3) !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 32px !important;
        overflow: visible !important;
    }

    .testimonial-card:first-child {
        margin-left: 0 !important;
        padding-left: 32px !important;
        flex-shrink: 0 !important;
    }

    .testimonial-card:last-child {
        margin-right: 0 !important;
        padding-right: 32px !important;
        flex-shrink: 0 !important;
    }

    /* Contact section alignment for desktop */
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }

    .contact-info {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Laptop (1024px) - Show 3 cards */
@media (min-width: 1024px) and (max-width: 1024px) {
    .testimonials-carousel-container {
        padding: 0 50px;
    }

    .testimonials-carousel {
        max-width: 1300px;
    }

    .testimonial-card {
        flex: 0 0 380px;
        min-width: 380px;
        max-width: 380px;
    }

    /* Contact section alignment for laptop */
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
    }

    .contact-info {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
/* Tablet (768px-1023px) - Show cards with scroll */
@media (min-width: 768px) and (max-width: 1023px) {
    .testimonials {
        padding: 60px 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .testimonials-carousel-container {
        padding: 0 60px !important;
        position: relative !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .testimonials-carousel {
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scrollbar-width: thin !important;
        scrollbar-color: #7c3aed #1f2937 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 300px !important;
        height: auto !important;
        width: 100% !important;
        position: relative !important;
        padding: 0 !important;
        scroll-snap-type: x mandatory;
    }

    .testimonials-carousel::-webkit-scrollbar {
        height: 12px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-track {
        background: #1f2937 !important;
        border-radius: 6px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-thumb {
        background: #7c3aed !important;
        border-radius: 6px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-thumb:hover {
        background: #6d28d9 !important;
    }

    .testimonials-track {
        width: 100% !important;
        display: flex !important;
        gap: 16px !important;
        padding: 0 !important;
        margin: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-direction: row !important;
        align-items: stretch !important;
        transform: none !important;
        position: relative !important;
        justify-content: flex-start !important;
        scroll-padding-left: 0 !important;
    }

    .testimonial-card {
        flex: 0 0 calc(100% - 120px) !important;
        max-width: calc(100% - 120px) !important;
        padding: 30px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #111827 !important;
        border: 1px solid #374151 !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        height: auto !important;
        min-height: 200px !important;
        scroll-snap-align: start;
    }

    #testimonialsTrack .testimonial-card,
    .testimonials-track .testimonial-card {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .testimonial-header {
        display: flex !important;
        align-items: center !important;
        margin-bottom: 20px !important;
        visibility: visible !important;
    }

    .testimonial-info {
        display: block !important;
        visibility: visible !important;
    }

    .testimonial-text {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        visibility: visible !important;
        display: block !important;
    }

    .testimonial-name {
        font-size: 1.2rem !important;
        visibility: visible !important;
        display: block !important;
    }

    .testimonial-role {
        font-size: 1rem !important;
        visibility: visible !important;
        display: block !important;
    }

    .testimonial-avatar {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.1rem !important;
        display: flex !important;
        visibility: visible !important;
    }

    .testimonial-btn {
        display: flex !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: rgba(147, 51, 234, 0.9) !important;
        border: none !important;
        border-radius: 50% !important;
        width: 45px !important;
        height: 45px !important;
        align-items: center !important;
        justify-content: center !important;
        color: white !important;
        font-size: 16px !important;
        cursor: pointer !important;
        z-index: 20 !important;
        transition: all 0.3s ease !important;
        visibility: visible !important;
    }

    .testimonial-btn-left {
        left: 10px !important;
    }

    .testimonial-btn-right {
        right: 10px !important;
    }
}

/* Tablet (768px) - Specific breakpoint */
@media (min-width: 768px) and (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
        align-items: stretch;
    }

    .contact-info {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .contact-form-container {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Further reduce text sizes for 768px tablet */
    .contact-info-title {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 10px;
        background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #06b6d4 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .contact-info-description {
        font-size: 13px;
        line-height: 1.4;
    }

    .contact-title {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .contact-text {
        font-size: 11px;
        line-height: 1.3;
    }

    .quote-text {
        font-size: 12px;
        line-height: 1.3;
    }

    .form-title {
        font-size: 18px;
        margin-bottom: 14px;
        background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .form-group label {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 12px;
        padding: 8px 10px;
    }

    .contact-btn {
        font-size: 12px;
        padding: 8px 16px;
    }
}

/* Mobile (425px-767px) - Show 1 card at a time */
@media (min-width: 425px) and (max-width: 767px) {
    .testimonials-carousel-container {
        padding: 0 20px;
    }

    .testimonials-carousel {
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: thin !important;
        scrollbar-color: #7c3aed #1f2937 !important;
    }

    .testimonials-carousel::-webkit-scrollbar {
        height: 10px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-track {
        background: #1f2937 !important;
        border-radius: 5px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-thumb {
        background: #7c3aed !important;
        border-radius: 5px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-thumb:hover {
        background: #6d28d9 !important;
    }

    .testimonials-track {
        width: max-content !important;
        display: flex !important;
        gap: 20px !important;
        padding: 0 10px !important;
    }

    .testimonial-card {
        flex: 0 0 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
        padding: 24px !important;
    }

    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .testimonial-name {
        font-size: 1rem;
    }

    .testimonial-role {
        font-size: 0.85rem;
    }

    .testimonial-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    /* Contact section alignment for mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: center;
    }

    .contact-info {
        height: auto;
        display: flex;
        flex-direction: column;
    }

    /* Video carousel for mobile - show 1 card at a time - ULTRA SPECIFIC OVERRIDE */
    .videos .videos-carousel-container {
        padding: 0 20px !important;
    }

    .videos .videos-carousel {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none !important; /* Hide scrollbar for Firefox */
        -ms-overflow-style: none !important; /* Hide scrollbar for IE and Edge */
    }

    .videos .videos-carousel::-webkit-scrollbar {
        display: none !important; /* Hide scrollbar for Chrome, Safari, and Opera */
    }

    .videos .videos-track {
        display: flex !important;
        gap: 16px !important;
        width: max-content !important;
        max-width: none !important;
        padding: 0 8px !important;
        justify-content: flex-start !important;
    }

    .videos .video-card {
        flex: 0 0 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }

    .videos .carousel-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
    }

    .videos .carousel-btn-left {
        left: 15px !important;
    }

    .videos .carousel-btn-right {
        right: 15px !important;
    }
}

/* ULTRA CRITICAL OVERRIDE: Force single card display for ALL mobile screens */
@media (max-width: 767px) {
    .videos .videos-carousel {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none !important; /* Hide scrollbar for Firefox */
        -ms-overflow-style: none !important; /* Hide scrollbar for IE and Edge */
    }

    .videos .videos-carousel::-webkit-scrollbar {
        display: none !important; /* Hide scrollbar for Chrome, Safari, and Opera */
    }

    .videos .videos-track {
        width: max-content !important;
        max-width: none !important;
        display: flex !important;
        gap: 16px !important;
        padding: 0 8px !important;
        transform: none !important; /* Disable JavaScript transforms */
    }

    .videos .video-card {
        flex: 0 0 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }
}

/* NUCLEAR OPTION: Force single card for specific screen sizes */
@media (min-width: 425px) and (max-width: 767px) {
    .videos .videos-carousel {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .videos .videos-track {
        width: max-content !important;
        max-width: none !important;
        transform: none !important;
    }

    .videos .video-card {
        flex: 0 0 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }
}

/* FINAL NUCLEAR OPTION: Reset everything for mobile */
@media (max-width: 767px) {
    .videos .videos-track {
        transform: translateX(0) !important;
        transition: none !important;
    }
}

/* FORCE FIRST POSITION: Ensure carousel starts from first video */
@media (max-width: 767px) {
    .videos .videos-track {
        transform: translateX(0) !important;
        transition: none !important;
    }

    #featuresTrack {
        transform: translateX(0) !important;
        transition: none !important;
    }

    #newsTrack {
        transform: translateX(0) !important;
        transition: none !important;
    }
}

.testimonials-track {
    display: flex;
    gap: 24px;
    width: max-content;
    padding: 0 12px;
    scroll-behavior: smooth;
}

.testimonial-card {
    flex: 0 0 400px;
    min-width: 400px;
    max-width: 400px;
    background: #111827;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #374151;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.testimonial-btn {
    display: none; /* Hide arrow buttons, using scroll instead */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: #111827;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #374151;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #9333ea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 16px;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.testimonial-role {
    color: #9ca3af;
    font-size: 14px;
}

.testimonial-text {
    color: #d1d5db;
    font-style: italic;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #111827;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: #1f2937;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #374151;
    height: 100%;
    justify-content: center;
}

.contact-info-header {
    text-align: left;
}

.contact-info-title {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-info-description {
    font-size: 16px;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: #374151;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #4b5563;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background: #4b5563;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
}

.contact-card:nth-child(1) .contact-icon {
    background: #25d366;
}

.contact-card:nth-child(2) .contact-icon {
    background: #ef4444;
}

.contact-details {
    flex: 1;
}

.contact-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    line-height: 1.4;
}

.contact-text {
    color: #d1d5db;
    font-size: 13px;
    line-height: 1.4;
}

.contact-text a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.contact-text a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.contact-quote {
    margin-top: 12px;
    padding: 20px;
    background: #374151;
    border-radius: 12px;
    border-left: 4px solid #8B5CF6;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.quote-text {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
    margin: 0;
    text-align: left;
}

.contact-form-container {
    background: #1f2937;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #374151;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    color: #d1d5db;
    font-weight: 500;
    margin-bottom: 8px;
}
.form-input, .form-textarea {
    background: #374151;
    border: 1px solid #4b5563;
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #a855f7;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background: linear-gradient(135deg, #9333ea, #3b82f6);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-submit:hover {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1f2937;
    border-top: 1px solid #374151;
    padding: 70px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: start;
    width: 100%;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

/* Company Section */
.company-section {
    max-width: 100%;
    text-align: left;
    padding-right: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 32px;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
}
.company-quote {
    color: #d1d5db;
    font-size: 17px;
    line-height: 1.8;
    font-style: italic;
    margin: 0;
    padding-left: 25px;
    border-left: 4px solid #9333ea;
    max-width: 400px;
}

/* Quick Links Section */
.quick-links-section {
    text-align: left;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 4px 0;
}

.footer-link:hover {
    color: white;
    transform: translateX(8px);
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #3b82f6);
    transition: all 0.3s ease;
}

.footer-link:hover::before {
    width: 8px;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #7c3aed, #3b82f6);
    transition: width 0.3s ease;
}

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

/* Social Section */
.social-section {
    text-align: left;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    justify-content: flex-start;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.social-link.youtube {
    background: #dc2626;
}

.social-link.linkedin {
    background: #0077b5;
}

.social-link.whatsapp {
    background: #25d366;
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d5db;
    font-size: 15px;
    font-weight: 400;
}

.contact-info-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* Newsletter Section */
.newsletter-section {
    max-width: 100%;
    text-align: left;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
}

.newsletter-form {
    margin-top: 0;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    width: 100%;
}

.newsletter-input {
    flex: 1;
    background: #374151;
    border: 1px solid #4b5563;
    border-radius: 8px 0 0 8px;
    padding: 16px 18px;
    color: white;
    font-size: 15px;
    transition: all 0.2s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #a855f7;
    background: #4b5563;
}

.newsletter-input::placeholder {
    color: #9ca3af;
}

.newsletter-button {
    background: linear-gradient(135deg, #9333ea, #3b82f6);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.newsletter-button:hover {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    transform: translateY(-1px);
}

.newsletter-button:active {
    background: linear-gradient(135deg, #6d28d9, #1d4ed8);
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #9ca3af;
    font-size: 14px;
    flex-wrap: wrap;
}

.footer-bottom-link {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    position: relative;
    padding: 4px 8px;
    border-radius: 4px;
}

.footer-bottom-link:hover {
    color: white;
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-1px);
}

.footer-bottom-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #7c3aed, #3b82f6);
    transition: width 0.3s ease;
}

.footer-bottom-link:hover::after {
    width: 80%;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a855f7;
    font-weight: 600;
}

.company-link {
    color: #a855f7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 8px;
    border-radius: 4px;
}

.company-link:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.company-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #7c3aed);
    transition: width 0.3s ease;
}

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

.company-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: black;
    border-radius: 12px;
    overflow: hidden;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 2001;
}

.video-modal-iframe {
    width: 100%;
    height: 100%;
}

/* Responsive Design */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 56px;
    }

    .section-title {
        font-size: 42px;
    }

    .video-card {
        height: 450px;
        flex: 0 0 320px;
        min-width: 320px;
        max-width: 320px;
    }

    .videos-carousel {
        width: calc(3.5 * 350px + 3 * 24px); /* 3.5 cards + 3 gaps to show half of 4th video */
    }

    .videos-track {
        width: calc(3.5 * 350px + 3 * 24px);
        justify-content: flex-start; /* Align videos to the left to show half of 4th */
    }

    .carousel-btn-right {
        right: 5px; /* Consistent with desktop positioning */
    }

    .footer-content {
        grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
        gap: 50px;
        align-items: start;
    }

    .company-section {
        text-align: left;
    }

    .quick-links-section {
        text-align: left;
    }

    .social-section {
        text-align: left;
    }

    .newsletter-section {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Laptop (1024px) */
@media (min-width: 1024px) and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1.6fr 0.9fr 0.7fr 1.6fr;
        gap: 20px 30px;
        align-items: start;
    }

    .company-section {
        text-align: left;
    }

    .company-section .company-quote {
        font-size: 14px;
        line-height: 1.4;
    }

    .quick-links-section {
        text-align: left;
    }

    .quick-links-section h3 {
        white-space: nowrap;
    }

    .social-section {
        text-align: left;
    }

    .social-section h3 {
        white-space: nowrap;
    }

    .social-icons {
        gap: 6px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }

    .contact-info {
        font-size: 13px;
    }

    .newsletter-section {
        text-align: left;
    }

    .newsletter-section h3 {
        white-space: nowrap;
    }

    .newsletter-section .newsletter-form {
        max-width: 100%;
    }

    .newsletter-section .newsletter-input {
        width: 100%;
        max-width: 100%;
        background-color: #374151;
        border: 1px solid #4B5563;
        color: #F9FAFB;
        padding: 12px 16px;
        font-size: 14px;
    }

    .newsletter-section .newsletter-input::placeholder {
        color: #9CA3AF;
        opacity: 1;
    }

    .newsletter-section .newsletter-input:focus {
        outline: none;
        border-color: #8B5CF6;
        box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Desktop (1025px-1399px) */
@media (min-width: 1025px) and (max-width: 1399px) {
    .container {
        max-width: 1200px;
    }

    .hero-content {
        gap: 60px;
    }

    .services-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
        gap: 40px;
        align-items: start;
    }

    .company-section {
        text-align: left;
    }

    .quick-links-section {
        text-align: left;
    }

    .social-section {
        text-align: left;
    }

    .newsletter-section {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Laptop screens (769px-1023px) - Optimize navigation layout */
@media (min-width: 769px) and (max-width: 1023px) {
    .nav-wrapper {
        gap: 15px;
        padding: 0 15px;
        justify-content: space-between;
    }
    
    .nav-desktop {
        display: flex !important;
        gap: 16px !important;
        flex-wrap: nowrap;
        flex: 1;
        justify-content: center;
        min-width: 0;
    }
    
    .nav-actions {
        display: flex !important;
        gap: 6px !important;
        flex-shrink: 0;
        min-width: 0;
    }
    
    .nav-action-btn {
        padding: 6px 10px !important;
        font-size: 11px !important;
        white-space: nowrap;
        min-width: 0;
    }
    
    .nav-btn-text {
        display: inline;
    }

    .nav-link {
        padding: 8px 6px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo {
        gap: 8px;
        flex-shrink: 0;
    }

    .mobile-menu-btn {
        display: none !important;
    }
    
    .mobile-nav {
        display: none !important;
    }
}
/* CRITICAL: 1024px specific fix - Must come after 769px-1023px to override */
@media (min-width: 1024px) and (max-width: 1024px) {
    /* Header and container fixes */
    .header {
        padding: 12px 0 !important;
        min-height: 70px !important;
        overflow: visible !important;
    }
    
    /* Reset any conflicting styles first */
    .nav-wrapper {
        gap: 10px !important;
        padding: 0 12px !important;
        overflow: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        justify-content: space-between !important;
        box-sizing: border-box !important;
        height: auto !important;
        min-height: 46px !important;
        position: relative !important;
    }
    
    /* Logo - Must be on top, no overlap, moved more to left */
    .logo {
        flex-shrink: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        gap: 8px !important;
        min-width: 0 !important;
        position: relative !important;
        z-index: 10 !important;
        max-width: 160px !important;
        padding-left: 0 !important;
    }
    
    .logo-text {
        font-size: 19px !important;
    }
    
    .logo-icon {
        width: 34px !important;
        height: 34px !important;
    }
    
    .logo-image {
        height: 34px !important;
    }
    
    /* Navigation menu - Must not overlap logo or buttons */
    .nav-desktop {
        display: flex !important;
        gap: 10px !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
        flex: 0 1 auto !important;
        justify-content: center !important;
        max-width: 420px !important;
        align-items: center !important;
        position: relative !important;
        z-index: 1 !important;
        margin: 0 auto !important;
    }
    
    .nav-link {
        font-size: 12px !important;
        padding: 8px 3px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    
    /* Action buttons - Must be on top, no overlap, reduced padding */
    .nav-actions {
        display: flex !important;
        gap: 5px !important;
        flex-shrink: 0 !important;
        overflow: visible !important;
        margin-right: 0 !important;
        padding-right: 0 !important;
        min-width: 0 !important;
        align-items: center !important;
        position: relative !important;
        z-index: 10 !important;
        max-width: 300px !important;
    }
    
    .nav-action-btn {
        padding: 5px 8px !important;
        font-size: 10px !important;
        white-space: nowrap !important;
        overflow: visible !important;
        min-width: auto !important;
        line-height: 1.2 !important;
        flex-shrink: 0 !important;
    }
    
    .nav-action-btn .nav-btn-text {
        font-size: 10px !important;
        display: inline !important;
    }
    
    /* Ensure container doesn't cause overflow */
    .container {
        padding: 0 12px !important;
        overflow-x: visible !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .header .container {
        padding: 0 12px !important;
        max-width: 100% !important;
        overflow-x: visible !important;
    }
    
    /* Override Tailwind padding classes at this breakpoint - More aggressive reduction */
    .nav-action-btn.px-3 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    .nav-action-btn.py-1\.5,
    .nav-action-btn[class*="py-1"] {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }
    
    /* Ensure text size is readable */
    .nav-action-btn.text-sm,
    .nav-action-btn[class*="text-sm"],
    .nav-action-btn[class*="leading-5"] {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }
    
    /* Icon size - smaller */
    .nav-action-btn i {
        font-size: 0.8em !important;
        margin-right: 2px !important;
    }
    
    /* Gap between icon and text - smaller */
    .nav-action-btn.gap-1\.5,
    .nav-action-btn[class*="gap-"] {
        gap: 3px !important;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
    
    .mobile-nav {
        display: none !important;
    }

    /* Hero Section - Single Column Layout for Laptop/Tablet */
    .hero {
        padding: 100px 0 70px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 50px;
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }

    .hero-text {
        order: 1;
    }

    .hero-video {
        order: 2;
        display: flex;
        justify-content: center;
    }

    .hero-title {
        font-size: 42px;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 17px;
        line-height: 1.6;
        max-width: 700px;
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .video-container {
        max-width: 550px;
        margin: 0 auto;
    }

    .video-description {
        font-size: 16px;
        margin-top: 20px;
    }

    .play-button {
        width: 75px;
        height: 75px;
        font-size: 26px;
    }
}

/* Tablet (768px-1023px) - Single Column Hero Layout */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero {
        padding: 100px 0 70px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 45px;
        text-align: center;
        max-width: 750px;
        margin: 0 auto;
        padding: 0 30px;
    }

    .hero-text {
        order: 1;
    }

    .hero-video {
        order: 2;
        display: flex;
        justify-content: center;
    }

    .hero-title {
        font-size: 40px;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .subtitle {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.7;
        max-width: 650px;
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .video-container {
        max-width: 520px;
        margin: 0 auto;
    }

    .video-description {
        font-size: 15px;
        margin-top: 18px;
        line-height: 1.5;
    }

    .play-button {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }

    /* Testimonials for Tablet - Single Card Display with Auto-load */
    .testimonials-carousel {
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .testimonials-track {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        transform: translateX(0) !important;
        transition: none !important;
    }

    .testimonial-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        display: none !important;
    }

    .testimonial-btn {
        display: flex !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(147, 51, 234, 0.9);
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 14px;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
    }

    .testimonial-btn:hover {
        background: rgba(147, 51, 234, 1);
        transform: translateY(-50%) scale(1.1);
    }

    .testimonial-btn-left {
        left: 10px;
    }

    .testimonial-btn-right {
        right: 10px;
    }

    .testimonials-carousel-container {
        position: relative;
        padding: 0 60px;
    }
}

/* Tablet (768px) */
@media (min-width: 768px) and (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: #d1d5db;
        font-size: 24px;
        cursor: pointer;
        padding: 8px;
        border-radius: 4px;
        transition: all 0.2s ease;
    }

    .mobile-menu-btn:hover {
        color: white;
        background: rgba(55, 65, 81, 0.5);
    }

    .mobile-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(17, 24, 39, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid #374151;
        padding: 24px;
        flex-direction: column;
        gap: 0;
        z-index: 1000;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        max-height: 80vh;
        overflow-y: auto;
    }

    .mobile-nav.active {
        display: flex;
    }

    .mobile-nav-link {
        color: #d1d5db;
        text-decoration: none;
        font-weight: 500;
        padding: 16px 0;
        border-bottom: 1px solid #374151;
        transition: color 0.2s ease;
        font-size: 16px;
    }

    .mobile-nav-link:last-child {
        border-bottom: none;
    }

    .mobile-nav-link:hover {
        color: white;
        background: rgba(55, 65, 81, 0.3);
        margin: 0 -24px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .mobile-nav-actions {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #374151;
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        align-items: stretch;
    }

    .btn-text-mobile, .btn-primary-mobile, .btn-secondary-mobile {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        font-weight: 500;
        text-align: center;
        text-decoration: none;
        transition: all 0.2s ease;
        display: block;
    }

    .btn-primary-mobile {
        background: linear-gradient(135deg, #8B5CF6, #A855F7);
        color: white;
    }

    .btn-primary-mobile:hover {
        background: linear-gradient(135deg, #7C3AED, #9333EA);
        transform: translateY(-1px);
    }

    .btn-secondary-mobile {
        border: 1px solid #374151;
    }

    .btn-secondary-mobile:hover {
    }

    .footer-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px 30px !important;
        align-items: start !important;
    }

    .company-section {
        grid-column: 1 !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    .company-quote {
        font-size: 15px !important;
        line-height: 1.6 !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        word-wrap: break-word !important;
        word-break: normal !important;
        white-space: normal !important;
        hyphens: auto !important;
        margin-top: 0 !important;
    }

    .quick-links-section {
        grid-column: 2 !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        box-sizing: border-box !important;
    }

    .social-section {
        grid-column: 1 !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    .newsletter-section {
        grid-column: 2 !important;
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        box-sizing: border-box !important;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Tablet (769px-1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
    .container {
        padding: 0 24px;
    }

    .nav-desktop {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: #d1d5db;
        font-size: 24px;
        cursor: pointer;
        padding: 8px;
        border-radius: 4px;
        transition: all 0.2s ease;
    }

    .mobile-menu-btn:hover {
        color: white;
        background: rgba(55, 65, 81, 0.5);
    }

    .mobile-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(17, 24, 39, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid #374151;
        padding: 24px;
        flex-direction: column;
        gap: 0;
        z-index: 1000;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        max-height: 80vh;
        overflow-y: auto;
    }

    .mobile-nav.active {
        display: flex;
    }

    .mobile-nav-link {
        color: #d1d5db;
        text-decoration: none;
        font-weight: 500;
        padding: 16px 0;
        border-bottom: 1px solid #374151;
        transition: color 0.2s ease;
        font-size: 16px;
    }

    .mobile-nav-link:last-child {
        border-bottom: none;
    }

    .mobile-nav-link:hover {
        color: white;
        background: rgba(55, 65, 81, 0.3);
        margin: 0 -24px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .mobile-nav-actions {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #374151;
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        align-items: stretch;
    }

    .btn-text-mobile, .btn-primary-mobile, .btn-secondary-mobile {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        font-weight: 500;
        text-align: center;
        text-decoration: none;
        transition: all 0.2s ease;
        display: block;
    }

    .btn-primary-mobile {
        background: linear-gradient(135deg, #8B5CF6, #A855F7);
        color: white;
    }

    .btn-primary-mobile:hover {
        background: linear-gradient(135deg, #7C3AED, #9333EA);
        transform: translateY(-1px);
    }

    .btn-secondary-mobile {
        border: 1px solid #374151;
    }

    .btn-secondary-mobile:hover {
    }

    .hero {
        padding: 100px 0 60px;
    }

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

    .video-container {
        max-width: 500px;
    }

    .video-description {
        font-size: 16px;
        margin-top: 20px;
    }

    .play-button {
        width: 75px;
        height: 75px;
        font-size: 26px;
    }

    .hero-title {
        font-size: 42px;
    }

    .subtitle {
        font-size: 28px;
    }

    .hero-description {
        font-size: 18px;
    }

    .services-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .testimonials-carousel-container {
        padding: 0 40px;
    }

    .videos-carousel-container {
        padding: 0 40px;
    }

    .videos-carousel {
        width: calc(2 * 300px + 1 * 24px); /* 2 cards + 1 gap */
    }

    .video-card {
        flex: 0 0 300px;
        min-width: 300px;
    }

    .carousel-btn-left {
        left: 20px;
    }

    .carousel-btn-right {
        right: 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: center;
    }

    .contact-info {
        gap: 20px;
    }

    .contact-cards {
        gap: 16px;
    }

    .contact-card {
        padding: 16px;
    }

    .contact-quote {
        margin-top: 16px;
        padding: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px 40px;
        align-items: start;
    }

    .company-section {
        grid-column: 1;
        text-align: left;
    }

    .quick-links-section {
        grid-column: 2;
        text-align: left;
    }

    .social-section {
        grid-column: 1;
        text-align: left;
    }

    .newsletter-section {
        grid-column: 2;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
/* Mobile (481px-767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .container {
        padding: 0 20px;
    }

    .nav-desktop {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(17, 24, 39, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid #374151;
        padding: 20px;
        flex-direction: column;
        gap: 16px;
    }

    .mobile-nav.active {
        display: flex;
    }

    .mobile-nav-link {
        color: #d1d5db;
        text-decoration: none;
        font-weight: 500;
        padding: 12px 0;
        border-bottom: 1px solid #374151;
        transition: color 0.2s ease;
    }

    .mobile-nav-link:hover {
        color: white;
    }

    .hero {
        padding: 100px 0 60px;
    }

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

    .hero-title {
        font-size: 36px;
    }

    .subtitle {
        font-size: 24px;
    }

    .hero-description {
        font-size: 18px;
    }

    .services-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonials-carousel-container {
        padding: 0 30px;
    }

    .videos-carousel-container {
        padding: 0 30px;
    }

    .videos-carousel {
        width: 100%; /* Full width to center the single video */
        display: flex;
        justify-content: center;
    }

    .videos-track {
        justify-content: center; /* Center the single video */
    }

    .video-card {
        flex: 0 0 280px;
        min-width: 280px;
    }

    .carousel-btn-left {
        left: 20px;
    }

    .carousel-btn-right {
        right: 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: center;
    }

    .contact-info {
        gap: 18px;
    }

    .contact-cards {
        gap: 14px;
    }

    .contact-card {
        padding: 14px;
    }

    .contact-quote {
        margin-top: 14px;
        padding: 14px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* Extra Small Mobile (≤425px) */
@media (max-width: 425px) {
    .videos-carousel-container {
        padding: 0 15px;
    }

    .videos .videos-carousel {
        width: 100%; /* Full width to center the single video */
        display: flex;
        justify-content: center;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none !important; /* Hide scrollbar for Firefox */
        -ms-overflow-style: none !important; /* Hide scrollbar for IE and Edge */
    }

    .videos .videos-carousel::-webkit-scrollbar {
        display: none !important; /* Hide scrollbar for Chrome, Safari, and Opera */
    }

    .videos .videos-track {
        justify-content: center; /* Center the single video */
        width: max-content !important;
        display: flex !important;
        gap: 12px !important;
        padding: 0 6px !important;
    }

    .videos .video-card {
        flex: 0 0 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
    }

    .videos .carousel-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
    }

    .carousel-btn-left {
        left: 2px;
    }

    .carousel-btn-right {
        right: 2px;
    }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-desktop {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 100px 0 60px;
    }

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

    .video-container {
        max-width: 400px;
    }

    .video-description {
        font-size: 14px;
        margin-top: 16px;
    }

    .play-button {
        width: 70px;
        height: 70px;
        font-size: 22px;
    }

    .hero-title {
        font-size: 28px;
    }

    .subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn-white,
    .btn-outline {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 28px;
    }

    .services-grid,
    .pricing-grid,
    .videos-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .videos-carousel-container {
        padding: 0 20px;
    }

    .videos .videos-carousel {
        width: 100%; /* Full width to center the single video */
        display: flex;
        justify-content: center;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none !important; /* Hide scrollbar for Firefox */
        -ms-overflow-style: none !important; /* Hide scrollbar for IE and Edge */
    }

    .videos .videos-carousel::-webkit-scrollbar {
        display: none !important; /* Hide scrollbar for Chrome, Safari, and Opera */
    }

    .videos .videos-track {
        justify-content: center; /* Center the single video */
        width: max-content !important;
        display: flex !important;
        gap: 14px !important;
        padding: 0 7px !important;
    }

    .videos .video-card {
        flex: 0 0 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
    }

    .videos .carousel-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 13px !important;
    }

    .carousel-btn-left {
        left: 5px;
    }

    .carousel-btn-right {
        right: 5px;
    }

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

    .contact-info {
        gap: 16px;
    }

    .contact-cards {
        gap: 12px;
    }

    .contact-card {
        padding: 12px;
    }

    .contact-quote {
        margin-top: 12px;
        padding: 12px;
    }

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

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

    .company-section {
        order: 1;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .company-quote {
        text-align: center;
        padding-left: 0;
        border-left: none;
        border-top: 3px solid #9333ea;
        padding-top: 15px;
        margin-top: 15px;
    }

    .quick-links-section {
        order: 2;
        text-align: center;
    }

    .social-section {
        order: 3;
        text-align: center;
    }

    .newsletter-section {
        order: 4;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        align-items: center;
    }

    .footer-bottom-left,
    .footer-bottom-right {
        justify-content: center;
        text-align: center;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-input {
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .newsletter-button {
        border-radius: 8px;
        width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info-footer {
        align-items: center;
    }
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(180deg, #3b82f6 0%, #8b5cf6 100%) !important;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.9) 0%, rgba(139, 92, 246, 0.9) 100%) !important;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.1) !important;
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
}

/* Dark theme - Ensure description text is visible */
[data-theme="dark"] .cta-description,
html:not([data-theme]):not([data-theme="light"]):not([data-theme="light-blue"]) .cta-description {
    color: rgba(255, 255, 255, 1) !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 0, 0, 0.2) !important;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 160px;
    text-align: center;
    border: 2px solid transparent;
}

.cta-btn-primary {
    background: white;
    color: #7c3aed;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn-primary:hover {
    background: #f8fafc;
    color: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-btn-secondary {
    background: #6d28d9;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-btn-secondary:hover {
    background: #5b21b6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* CTA Section Responsive Design */
@media (max-width: 1023px) {
    .cta-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 2.8rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .cta-btn {
        padding: 14px 28px;
        font-size: 1rem;
        min-width: 140px;
    }
}

@media (max-width: 767px) {
    .cta-section {
        padding: 50px 0;
    }

    .cta-title {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }

    .cta-description {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .cta-btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .cta-title {
        font-size: 1.8rem;
    }

    .cta-description {
        font-size: 0.95rem;
    }

    .cta-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #7c3aed;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9333ea;
}

/* News Section Mobile Navigation Arrows */
.news-mobile-nav {
    display: none !important;
}

/* Show mobile navigation arrows only on mobile screens */
@media (max-width: 767px) {
    .news-mobile-nav {
        display: flex !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(147, 51, 234, 0.9);
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 14px;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
    }

    .news-mobile-nav:hover {
        background: rgba(147, 51, 234, 1);
        transform: translateY(-50%) scale(1.1);
    }

    .news-mobile-nav.carousel-btn-left {
        left: 10px;
    }

    .news-mobile-nav.carousel-btn-right {
        right: 10px;
    }

    #news .videos-carousel-container {
        position: relative;
        padding: 0 60px !important;
    }
}

/* Mobile Extra Small - Adjust arrow positioning */
@media (max-width: 320px) {
    .news-mobile-nav {
        width: 35px !important;
        height: 35px !important;
        font-size: 12px !important;
    }

    .news-mobile-nav.carousel-btn-left {
        left: 5px !important;
    }

    .news-mobile-nav.carousel-btn-right {
        right: 5px !important;
    }

    #news .videos-carousel-container {
        padding: 0 50px !important;
    }
}

/* News Carousel Styles */
.news-carousel-container {
    position: relative;
    overflow: hidden;
}

.news-carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.news-carousel-image.active {
    opacity: 1;
}

.news-carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.news-carousel-indicators .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.news-carousel-indicators .indicator.active {
    background: #7c3aed;
}

.news-carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* News Section - Centered Layout with Responsive Design - REMOVED CONFLICTING CSS */

#news .videos-track {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 24px !important;
    justify-content: center !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

#news .video-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 280px !important;
    background: #1f2937;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

#news .video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

#news .video-thumbnail {
    height: 250px !important;
    width: 100% !important;
    object-fit: cover !important;
}

#news .video-title {
    font-size: 1.3rem !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
    color: #ffffff;
    font-weight: 600;
}

#news .video-desc {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #9ca3af;
    font-weight: 400;
}

#news .video-content {
    padding: 20px !important;
}

/* Additional responsive grid styles for news section */
@media (min-width: 768px) and (max-width: 1023px) {
    #news .videos-track {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 767px) {
    #news .videos-track {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}
/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    #news .videos-track {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px !important;
        max-width: 1000px !important;
    }

    #news .video-card {
        min-height: 500px !important;
    }

    #news .video-thumbnail {
        height: 280px !important;
    }

    #news .video-content {
        padding: 30px !important;
    }

    #news .video-title {
        font-size: 1.5rem !important;
        color: #ffffff;
        margin-bottom: 18px !important;
        font-weight: 600;
    }

    #news .video-desc {
        font-size: 1.1rem !important;
        color: #9ca3af;
        font-weight: 400;
    }
}

/* Desktop (1024px-1399px) - Fixed for laptop screens */
@media (min-width: 1024px) and (max-width: 1399px) {
    #news .videos-track {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px !important;
        max-width: 1000px !important;
    }

    #news .video-card {
        min-height: 400px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    #news .video-thumbnail {
        height: 200px !important;
        flex-shrink: 0 !important;
    }

    #news .video-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 20px !important;
    }

    #news .video-title {
        font-size: 1.2rem !important;
        color: #ffffff;
        font-weight: 600;
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
    }

    #news .video-desc {
        font-size: 0.9rem !important;
        color: #9ca3af;
        font-weight: 400;
        line-height: 1.5 !important;
        margin: 0 !important;
        flex: 1 !important;
        display: flex !important;
        align-items: flex-start !important;
    }
}

/* Tablet (768px-1023px) - Show cards with scroll */
@media (min-width: 768px) and (max-width: 1023px) {
    .testimonials {
        padding: 60px 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .testimonials-carousel-container {
        padding: 0 60px !important;
        position: relative !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .testimonials-carousel {
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scrollbar-width: thin !important;
        scrollbar-color: #7c3aed #1f2937 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 300px !important;
        height: auto !important;
        width: 100% !important;
        position: relative !important;
        padding: 0 !important;
        scroll-snap-type: x mandatory;
    }

    .testimonials-carousel::-webkit-scrollbar {
        height: 12px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-track {
        background: #1f2937 !important;
        border-radius: 6px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-thumb {
        background: #7c3aed !important;
        border-radius: 6px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-thumb:hover {
        background: #6d28d9 !important;
    }

    .testimonials-track {
        width: 100% !important;
        display: flex !important;
        gap: 16px !important;
        padding: 0 !important;
        margin: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-direction: row !important;
        align-items: stretch !important;
        transform: none !important;
        position: relative !important;
        justify-content: flex-start !important;
        scroll-padding-left: 0 !important;
    }

    .testimonial-card {
        flex: 0 0 calc(100% - 120px) !important;
        max-width: calc(100% - 120px) !important;
        padding: 30px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #111827 !important;
        border: 1px solid #374151 !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        height: auto !important;
        min-height: 200px !important;
        scroll-snap-align: start;
    }

    #testimonialsTrack .testimonial-card,
    .testimonials-track .testimonial-card {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .testimonial-header {
        display: flex !important;
        align-items: center !important;
        margin-bottom: 20px !important;
        visibility: visible !important;
    }

    .testimonial-info {
        display: block !important;
        visibility: visible !important;
    }

    .testimonial-text {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        visibility: visible !important;
        display: block !important;
    }

    .testimonial-name {
        font-size: 1.2rem !important;
        visibility: visible !important;
        display: block !important;
    }

    .testimonial-role {
        font-size: 1rem !important;
        visibility: visible !important;
        display: block !important;
    }

    .testimonial-avatar {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.1rem !important;
        display: flex !important;
        visibility: visible !important;
    }

    .testimonial-btn {
        display: flex !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: rgba(147, 51, 234, 0.9) !important;
        border: none !important;
        border-radius: 50% !important;
        width: 45px !important;
        height: 45px !important;
        align-items: center !important;
        justify-content: center !important;
        color: white !important;
        font-size: 16px !important;
        cursor: pointer !important;
        z-index: 20 !important;
        transition: all 0.3s ease !important;
        visibility: visible !important;
    }

    .testimonial-btn-left {
        left: 10px !important;
    }

    .testimonial-btn-right {
        right: 10px !important;
    }
}

/* Tablet (768px-1023px) - Fixed for tablet screens */
@media (min-width: 768px) and (max-width: 1023px) {
    #news .videos-carousel-container {
        max-width: 800px;
        padding: 0 15px !important;
    }

    #news .video-card {
        width: calc(48% - 12px) !important;
    }

    #news .videos-track {
        gap: 24px !important;
    }

    #news .video-thumbnail {
        height: 200px !important;
    }

    #news .video-title {
        font-size: 1.2rem !important;
        color: #ffffff;
        font-weight: 600;
    }

    #news .video-desc {
        font-size: 0.9rem !important;
        color: #9ca3af;
        font-weight: 400;
    }

    #news .video-content {
        padding: 16px !important;
    }
}

/* Mobile Large (481px-767px) */
@media (min-width: 481px) and (max-width: 767px) {
    #news .videos-carousel-container {
        max-width: 100%;
        padding: 0 15px;
        overflow: hidden;
    }

    #news .videos-carousel {
        overflow: hidden;
    }

    #news .videos-track {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 0 0 20px 0 !important;
        scroll-behavior: smooth !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(124, 58, 237, 0.3) transparent !important;
        -webkit-overflow-scrolling: touch !important;
        width: max-content !important;
    }

    #news .videos-track::-webkit-scrollbar {
        height: 6px !important;
    }

    #news .videos-track::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 3px !important;
    }

    #news .videos-track::-webkit-scrollbar-thumb {
        background: rgba(124, 58, 237, 0.5) !important;
        border-radius: 3px !important;
    }

    #news .videos-track::-webkit-scrollbar-thumb:hover {
        background: rgba(124, 58, 237, 0.7) !important;
    }

    #news .video-card {
        flex: 0 0 300px !important;
        width: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }

    #news .video-thumbnail {
        height: 200px !important;
    }

    #news .video-title {
        font-size: 1.2rem !important;
        color: #ffffff;
        font-weight: 600;
    }

    #news .video-desc {
        font-size: 0.95rem !important;
        color: #9ca3af;
        font-weight: 400;
    }
}

/* Mobile Medium (376px-480px) - Simple vertical stack for 425px */
@media (min-width: 376px) and (max-width: 480px) {
    #news .videos-carousel-container {
        max-width: 100%;
        padding: 0 15px;
    }

    #news .videos-carousel {
        overflow: visible;
    }

    #news .videos-track {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        align-items: center !important;
        width: 100% !important;
    }

    #news .video-card {
        width: 100% !important;
        max-width: 400px !important;
        flex: none !important;
    }

    #news .video-thumbnail {
        height: 200px !important;
    }

    #news .video-title {
        font-size: 1.2rem !important;
        color: #ffffff;
        font-weight: 600;
    }

    #news .video-desc {
        font-size: 0.95rem !important;
        color: #9ca3af;
        font-weight: 400;
    }
}

/* Mobile Small (321px-375px) */
@media (min-width: 321px) and (max-width: 375px) {
    #news .videos-carousel-container {
        max-width: 100%;
        padding: 0 15px;
        overflow: hidden;
    }

    #news .videos-carousel {
        overflow: hidden;
    }

    #news .videos-track {
        display: flex !important;
        flex-direction: row !important;
        gap: 15px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 0 0 15px 0 !important;
        scroll-behavior: smooth !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(124, 58, 237, 0.3) transparent !important;
        -webkit-overflow-scrolling: touch !important;
        width: max-content !important;
    }

    #news .videos-track::-webkit-scrollbar {
        height: 4px !important;
    }

    #news .videos-track::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 2px !important;
    }

    #news .videos-track::-webkit-scrollbar-thumb {
        background: rgba(124, 58, 237, 0.5) !important;
        border-radius: 2px !important;
    }

    #news .videos-track::-webkit-scrollbar-thumb:hover {
        background: rgba(124, 58, 237, 0.7) !important;
    }

    #news .video-card {
        flex: 0 0 260px !important;
        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }

    #news .video-thumbnail {
        height: 160px !important;
    }

    #news .video-title {
        font-size: 1rem !important;
        color: #ffffff;
        font-weight: 600;
    }

    #news .video-desc {
        font-size: 0.85rem !important;
        color: #9ca3af;
        font-weight: 400;
    }
}

/* Mobile News Cards - Prevent Shrinking */
@media (max-width: 767px) {
    #news .video-card {
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        flex-basis: auto !important;
    }

    #news .video-card * {
        flex-shrink: 0 !important;
    }
}
@media (max-width: 320px) {
    #news .videos-track {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
    }

    #news .video-card {
        width: 100% !important;
        max-width: 280px !important;
        flex: none !important;
    }

    #news .video-thumbnail {
        height: 140px !important;
    }

    #news .video-title {
        font-size: 0.95rem !important;
        color: #ffffff;
        font-weight: 600;
    }

    #news .video-desc {
        font-size: 0.8rem !important;
        color: #9ca3af;
        font-weight: 400;
    }

    #news .video-content {
        padding: 15px !important;
    }
}
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.4);
    background: linear-gradient(135deg, #6d28d9, #9333ea);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Mobile header adjustments */
@media (max-width: 768px) {
    .header.scrolled {
        background: rgba(17, 24, 39, 0.9); /* Slightly more opaque on mobile */
        backdrop-filter: blur(20px);
    }

    .header {
        /* Ensure header stays fixed on mobile */
        position: fixed !important;
        top: 0 !important;
        transform: translateY(0) !important;
    }

    /* Increase mobile menu height for better content visibility */
    .mobile-nav {
        max-height: 100vh !important;
        min-height: 85vh !important;
        padding: 25px !important;
        padding-bottom: 40px !important;
    }
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .mobile-nav {
        max-height: 98vh !important;
        min-height: 80vh !important;
        padding: 30px !important;
        padding-bottom: 40px !important;
    }
}

/* Responsive scroll to top button */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
        z-index: 10000;
    }
}

/* Small Mobile Testimonials (320px-424px) */
@media (min-width: 320px) and (max-width: 424px) {
    .testimonials-carousel-container {
        padding: 0 16px;
    }

    .testimonials-carousel {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: thin !important;
        scrollbar-color: #7c3aed #1f2937 !important;
        display: flex !important;
        justify-content: center !important;
        padding-bottom: 15px !important;
    }

    .testimonials-carousel::-webkit-scrollbar {
        height: 8px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-track {
        background: #1f2937 !important;
        border-radius: 4px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-thumb {
        background: #7c3aed !important;
        border-radius: 4px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-thumb:hover {
        background: #6d28d9 !important;
    }

    .testimonials-carousel::-webkit-scrollbar {
        height: 10px !important;
    }

    .testimonials-track {
        width: max-content !important;
        display: flex !important;
        gap: 16px !important;
        padding: 0 8px !important;
    }

    .testimonial-card {
        flex: 0 0 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        padding: 18px !important;
        margin: 0 auto !important;
    }


    .testimonial-text {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .testimonial-name {
        font-size: 0.9rem;
    }

    .testimonial-role {
        font-size: 0.75rem;
    }

    .testimonial-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .scroll-to-top {
        bottom: 80px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 14px;
        z-index: 10000;
    }
}

/* Very Small Mobile Testimonials (≤319px) */
@media (max-width: 319px) {
    .testimonials-carousel-container {
        padding: 0 12px;
    }

    .testimonials-carousel {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: thin !important;
        scrollbar-color: #7c3aed #1f2937 !important;
    }

    .testimonials-carousel::-webkit-scrollbar {
        height: 8px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-track {
        background: #1f2937 !important;
        border-radius: 4px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-thumb {
        background: #7c3aed !important;
        border-radius: 4px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-thumb:hover {
        background: #6d28d9 !important;
    }

    .testimonials-track {
        width: max-content !important;
        display: flex !important;
        gap: 16px !important;
        padding: 0 8px !important;
    }

    .testimonial-card {
        flex: 0 0 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
        padding: 16px !important;
    }

    .testimonial-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .testimonial-name {
        font-size: 0.85rem;
    }

    .testimonial-role {
        font-size: 0.7rem;
    }

    .testimonial-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
}

/* FINAL OVERRIDE: Force single card display for mobile - HIGHEST PRIORITY */
@media (max-width: 767px) {
    .videos .videos-carousel-container {
        padding: 0 20px !important;
    }

    .videos .videos-carousel {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .videos .videos-track {
        width: max-content !important;
        max-width: none !important;
        display: flex !important;
        gap: 16px !important;
        padding: 0 8px !important;
        transform: translateX(0) !important;
        transition: none !important;
    }

    .videos .video-card {
        flex: 0 0 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }

    #featuresTrack {
        transform: translateX(0) !important;
        transition: none !important;
    }

    #newsTrack {
        transform: translateX(0) !important;
        transition: none !important;
    }
}

/* NEW SIMPLE CAROUSEL SYSTEM */
.videos-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #7c3aed #1f2937;
}

.videos-carousel::-webkit-scrollbar {
    height: 8px;
}

.videos-carousel::-webkit-scrollbar-track {
    background: #1f2937;
    border-radius: 4px;
}

.videos-carousel::-webkit-scrollbar-thumb {
    background: #7c3aed;
    border-radius: 4px;
}

.videos-carousel::-webkit-scrollbar-thumb:hover {
    background: #6d28d9;
}
.videos-track {
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 0 8px;
}

.video-card {
    flex: 0 0 300px;
    min-width: 300px;
    max-width: 300px;
}

@media (max-width: 767px) {
    .video-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
    }
}

/* Force carousel to start from first position on mobile */
@media (max-width: 767px) {
    .videos-carousel {
        scroll-behavior: smooth;
    }

    .videos-carousel:not(:focus) {
        scroll-left: 0;
    }

    #featuresCarousel {
        scroll-left: 0 !important;
    }

    #newsCarousel {
        scroll-left: 0 !important;
    }

    /* Force first card to be visible */
    .videos-track {
        justify-content: flex-start !important;
    }

    /* Ensure first video card is fully visible */
    .video-card:first-child {
        margin-left: 0 !important;
    }
}

/* MOBILE SINGLE CARD DISPLAY - MOBILE ONLY (INCLUDING 425px) */
@media (max-width: 767px) {
    .videos-carousel {
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        width: 100% !important;
    }

    .videos-track {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        transform: translateX(0) !important;
        transition: none !important;
    }

    .video-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        display: none !important; /* Hidden by default */
    }

    .video-card .video-thumbnail {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover !important;
    }

    /* Testimonials mobile single card display - ONLY for mobile, not tablet */
    @media (max-width: 767px) {
    .testimonial-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        display: none !important; /* Hidden by default */
        }
    }

    /* Remove the forced first-child display - let JavaScript control it */
    /* .video-card:first-child {
        display: block !important;
    } */

    /* Force carousel to start position */
    #featuresCarousel {
        scroll-left: 0 !important;
        scroll-behavior: auto !important;
    }

    #newsCarousel {
        scroll-left: 0 !important;
        scroll-behavior: auto !important;
    }
}

/* FORCE SINGLE CARD FOR 425px SCREENS */
@media (min-width: 425px) and (max-width: 767px) {
    .videos-carousel {
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        width: 100% !important;
    }

    .videos-track {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        transform: translateX(0) !important;
        transition: none !important;
    }

    .video-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        display: none !important;
    }

    .video-card .video-thumbnail {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover !important;
    }

    .testimonial-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        display: none !important;
    }

    .testimonials-carousel {
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        width: 100% !important;
    }

    .testimonials-track {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        transform: translateX(0) !important;
        transition: none !important;
    }
}
/* AGGRESSIVE MOBILE CAROUSEL FIX */
@media (max-width: 767px) {
    #featuresCarousel {
        scroll-left: 0 !important;
        scroll-behavior: auto !important;
    }

    #newsCarousel {
        scroll-left: 0 !important;
        scroll-behavior: auto !important;
    }

    .videos-track {
        transform: translateX(0) !important;
        transition: none !important;
    }

    /* Force first card to be visible */
    .video-card:first-child {
        margin-left: 0 !important;
        flex-shrink: 0 !important;
    }

    /* Hide any overflow that might show other cards */
    .videos-carousel {
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }
}

/* COMPLETELY REWRITTEN MOBILE CAROUSEL SYSTEM */
/* Mobile 320px */
@media (max-width: 320px) {
    .videos-carousel-container {
        padding: 0 8px !important;
    }

    .videos-carousel {
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: thin !important;
        scrollbar-color: #7c3aed #1f2937 !important;
    }

    .videos-carousel::-webkit-scrollbar {
        height: 6px !important;
    }

    .videos-carousel::-webkit-scrollbar-track {
        background: #1f2937 !important;
        border-radius: 3px !important;
    }

    .videos-carousel::-webkit-scrollbar-thumb {
        background: #7c3aed !important;
        border-radius: 3px !important;
    }

    .videos-track {
        width: max-content !important;
        display: flex !important;
        gap: 8px !important;
        padding: 0 4px !important;
        transform: translateX(0) !important;
        transition: none !important;
    }

    .video-card {
        flex: 0 0 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
    }

    .carousel-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 10px !important;
    }

    .carousel-btn-left {
        left: 8px !important;
    }

    .carousel-btn-right {
        right: 8px !important;
    }

    /* Testimonial section for 320px */
    .testimonials-carousel-container {
        padding: 0 8px !important;
    }

    .testimonials-carousel {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: thin !important;
        scrollbar-color: #7c3aed #1f2937 !important;
    }

    .testimonials-carousel::-webkit-scrollbar {
        height: 6px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-track {
        background: #1f2937 !important;
        border-radius: 3px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-thumb {
        background: #7c3aed !important;
        border-radius: 3px !important;
    }

    .testimonials-track {
        width: max-content !important;
        display: flex !important;
        gap: 8px !important;
        padding: 0 4px !important;
    }

    .testimonial-card {
        flex: 0 0 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
        padding: 16px !important;
    }
}

/* Mobile 375px */
@media (min-width: 321px) and (max-width: 375px) {
    .videos-carousel-container {
        padding: 0 10px !important;
    }

    .videos-carousel {
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: thin !important;
        scrollbar-color: #7c3aed #1f2937 !important;
    }

    .videos-carousel::-webkit-scrollbar {
        height: 7px !important;
    }

    .videos-carousel::-webkit-scrollbar-track {
        background: #1f2937 !important;
        border-radius: 3px !important;
    }

    .videos-carousel::-webkit-scrollbar-thumb {
        background: #7c3aed !important;
        border-radius: 3px !important;
    }

    .videos-track {
        width: max-content !important;
        display: flex !important;
        gap: 10px !important;
        padding: 0 5px !important;
        transform: translateX(0) !important;
        transition: none !important;
    }

    .video-card {
        flex: 0 0 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
    }

    .carousel-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 11px !important;
    }

    .carousel-btn-left {
        left: 10px !important;
    }

    .carousel-btn-right {
        right: 10px !important;
    }

    /* Testimonial section for 375px */
    .testimonials-carousel-container {
        padding: 0 10px !important;
    }

    .testimonials-carousel {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: thin !important;
        scrollbar-color: #7c3aed #1f2937 !important;
    }

    .testimonials-carousel::-webkit-scrollbar {
        height: 7px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-track {
        background: #1f2937 !important;
        border-radius: 3px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-thumb {
        background: #7c3aed !important;
        border-radius: 3px !important;
    }

    .testimonials-track {
        width: max-content !important;
        display: flex !important;
        gap: 10px !important;
        padding: 0 5px !important;
    }

    .testimonial-card {
        flex: 0 0 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
        padding: 18px !important;
    }
}

/* Mobile 425px */
@media (min-width: 376px) and (max-width: 425px) {
    .videos-carousel-container {
        padding: 0 12px !important;
    }

    .videos-carousel {
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: thin !important;
        scrollbar-color: #7c3aed #1f2937 !important;
    }

    .videos-carousel::-webkit-scrollbar {
        height: 8px !important;
    }

    .videos-carousel::-webkit-scrollbar-track {
        background: #1f2937 !important;
        border-radius: 4px !important;
    }

    .videos-carousel::-webkit-scrollbar-thumb {
        background: #7c3aed !important;
        border-radius: 4px !important;
    }

    .videos-track {
        width: max-content !important;
        display: flex !important;
        gap: 12px !important;
        padding: 0 6px !important;
        transform: translateX(0) !important;
        transition: none !important;
    }

    .video-card {
        flex: 0 0 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;
    }

    .carousel-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }

    .carousel-btn-left {
        left: 12px !important;
    }

    .carousel-btn-right {
        right: 12px !important;
    }

    /* Testimonial section for 425px */
    .testimonials-carousel-container {
        padding: 0 12px !important;
    }

    .testimonials-carousel {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: thin !important;
        scrollbar-color: #7c3aed #1f2937 !important;
    }

    .testimonials-carousel::-webkit-scrollbar {
        height: 8px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-track {
        background: #1f2937 !important;
        border-radius: 4px !important;
    }

    .testimonials-carousel::-webkit-scrollbar-thumb {
        background: #7c3aed !important;
        border-radius: 4px !important;
    }

    .testimonials-track {
        width: max-content !important;
        display: flex !important;
        gap: 12px !important;
        padding: 0 6px !important;
    }

    .testimonial-card {
        flex: 0 0 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;
        padding: 20px !important;
    }
}

/* ============================================================================
   CUSTOMER STORIES PAGE STYLES
   ============================================================================ */

/* Customer Stories Hero Section */
.customers-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #1e293b 75%, #0f172a 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.customers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.customers-hero .hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.customers-hero .hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #7c3aed, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: left;
}

.customers-hero .hero-subtitle {
    font-size: 22px;
    color: #d1d5db;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 100%;
    font-weight: 400;
    text-align: left;
    grid-column: 2;
    align-self: center;
}

/* Customer Stories Grid */
.customer-stories {
    padding: 80px 0;
    background: #111827;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.story-card {
    background: #1f2937;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #374151;
    transition: all 0.3s ease;
    cursor: pointer;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #7c3aed;
}

.story-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hospital-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.story-card:hover .hospital-image {
    transform: scale(1.05);
}

.story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.8), rgba(59, 130, 246, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-card:hover .story-overlay {
    opacity: 1;
}

.hospital-logo {
    font-size: 48px;
    color: #ffffff;
}

.story-content {
    padding: 24px;
}

.story-header {
    margin-bottom: 16px;
}

.hospital-name {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.hospital-location {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

.story-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.story-description {
    font-size: 14px;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 20px;
}

.story-metrics {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    padding: 4px 12px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 12px;
    font-size: 12px;
    color: #a855f7;
    font-weight: 500;
}

.story-quote {
    background: #111827;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #7c3aed;
}

.story-quote i {
    color: #7c3aed;
    font-size: 16px;
    margin-bottom: 8px;
}

.story-quote p {
    font-size: 14px;
    color: #d1d5db;
    font-style: italic;
    margin-bottom: 8px;
    line-height: 1.5;
}

.story-quote cite {
    font-size: 12px;
    color: #9ca3af;
    font-style: normal;
}

.read-more-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

/* Story Modal */
.story-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-modal.show {
    opacity: 1;
}

.modal-content {
    position: relative;
    background: #1f2937;
    margin: 2% auto;
    padding: 0;
    border-radius: 16px;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid #7c3aed;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.story-modal.show .modal-content {
    transform: scale(1);
}
.close-modal {
    position: sticky;
    top: 15px;
    right: 15px;
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    background: rgba(124, 58, 237, 0.9);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    float: right;
    margin-bottom: -45px;
}

.close-modal:hover {
    background: rgba(220, 38, 127, 0.9);
    transform: scale(1.1);
}

.modal-body {
    padding: 40px;
}

/* Modal Mobile Responsiveness */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }

    .modal-header-section {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }

    .modal-logo-container {
        width: 150px !important;
        height: 120px !important;
        margin: 0 auto !important;
    }

    .modal-text-container {
        text-align: center !important;
    }

    .modal-title {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    .modal-hospital-name {
        font-size: 18px !important;
    }

    .modal-location {
        font-size: 14px !important;
    }

    .modal-body {
        padding: 20px !important;
    }

    .close-modal {
        top: 10px !important;
        right: 10px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 24px !important;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        margin: 2% auto;
    }

    .modal-logo-container {
        width: 120px !important;
        height: 100px !important;
    }

    .modal-title {
        font-size: 18px !important;
    }

    .modal-hospital-name {
        font-size: 16px !important;
    }

    .modal-body {
        padding: 15px !important;
    }
}

/* General Navigation Improvements */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}
/* Laptop Screen Navigation (769px to 1024px) - ONLY LAPTOP */
@media (min-width: 769px) and (max-width: 1023px) {
    .header {
        padding: 8px 0 !important;
        min-height: 60px !important;
    }

    .nav-wrapper {
        gap: 15px !important;
        justify-content: space-between !important;
        height: 64px !important;
    }

    .logo {
        flex-shrink: 0 !important;
        margin-right: 0 !important;
    }

    .logo-image {
        height: 40px !important;
    }

    .logo-text {
        font-size: 20px !important;
    }

    .nav-desktop {
        gap: 16px !important;
        flex: 1 !important;
        justify-content: center !important;
    }

    .nav-link {
        font-size: 13px !important;
        padding: 6px 8px !important;
        white-space: nowrap !important;
    }

    .nav-actions {
        gap: 6px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        margin-left: 30px !important;
    }

    .btn-text, .btn-primary, .btn-secondary {
        font-size: 11px !important;
        padding: 4px 8px !important;
        white-space: nowrap !important;
        height: 28px !important;
    }

    .mobile-menu-btn {
        width: 30px !important;
        height: 30px !important;
    }

    /* Hero Section for Laptop */
    .customers-hero {
        padding: 50px 0 !important;
        min-height: 350px !important;
    }

    .customers-hero .hero-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
        align-items: center !important;
        max-width: 1000px !important;
        margin: 0 auto !important;
    }

    .customers-hero .hero-title {
        font-size: 42px !important;
        line-height: 1.1 !important;
        margin-bottom: 0 !important;
        text-align: left !important;
    }

    .customers-hero .hero-subtitle {
        font-size: 16px !important;
        line-height: 1.4 !important;
        text-align: left !important;
        grid-column: 2 !important;
        align-self: center !important;
    }
}

/* Active Navigation Link */
.nav-link.active,
.mobile-nav-link.active {
    color: #60a5fa !important;
    position: relative;
    font-weight: 600;
}

.nav-link.active::after,
.mobile-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #60a5fa, #34d399);
    border-radius: 1px;
}

/* Responsive Design for Customer Stories */
@media (max-width: 768px) {
    .customers-hero {
        padding: 120px 0 80px;
        min-height: 50vh;
    }

    .customers-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .customers-hero .hero-title {
        font-size: 42px;
        text-align: center;
    }

    .customers-hero .hero-subtitle {
        font-size: 20px;
        text-align: center;
        grid-column: 1;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .story-card {
        margin-bottom: 20px;
    }

    .story-metrics {
        justify-content: center;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .customers-hero .hero-title {
        font-size: 32px;
    }

    .customers-hero .hero-subtitle {
        font-size: 18px;
    }

    .story-content {
        padding: 20px;
    }

    .story-metrics {
        flex-direction: column;
        gap: 10px;
    }
}

/* CTA Section for Customer Stories Page */
.cta-section {
    background: linear-gradient(180deg, #3b82f6 0%, #8b5cf6 100%) !important;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.9) 0%, rgba(139, 92, 246, 0.9) 100%) !important;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.1) !important;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
}

/* Dark theme - Ensure description text is visible */
[data-theme="dark"] .cta-description,
html:not([data-theme]):not([data-theme="light"]):not([data-theme="light-blue"]) .cta-description {
    color: rgba(255, 255, 255, 1) !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 0, 0, 0.2) !important;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn-primary,
.cta-btn-secondary {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 180px;
    text-align: center;
}

.cta-btn-primary {
    background: white !important;
    color: #7c3aed !important;
    border: 2px solid transparent !important;
}

.cta-btn-primary:hover {
    background: #f8fafc !important;
    color: #6d28d9 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.cta-btn-secondary {
    background: #7c3aed !important;
    color: white !important;
    border: 2px solid #7c3aed !important;
}

.cta-btn-secondary:hover {
    background: #6d28d9 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3) !important;
}

/* Responsive CTA Section */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-description {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .cta-title {
        font-size: 24px;
    }

    .cta-description {
        font-size: 14px;
    }
}

/* ============================================================================
   CUSTOM NEWS MODAL - PROFESSIONAL & TRENDY DESIGN
   ============================================================================ */

.news-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.news-modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideIn 0.4s ease-out;
    position: relative;
}

.news-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.news-modal-close:hover {
    background: rgba(124, 58, 237, 0.8);
    transform: scale(1.1);
}

.news-modal-header {
    padding: 0;
    text-align: center;
    border-bottom: none;
}

.news-modal-body {
    padding: 0;
}

.news-modal-image-container {
    position: relative;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.news-modal-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-modal-image-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.modal-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.modal-indicator.active {
    background: #7c3aed;
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.modal-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.news-modal-text-content {
    padding: 30px;
    text-align: center;
}

.news-modal-text-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.news-modal-text-content p {
    font-size: 1rem;
    color: #94a3b8;
    font-style: italic;
    line-height: 1.5;
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
    .news-modal-content {
        width: 98%;
        margin: 1% auto;
        max-height: 95vh;
    }

    .news-modal-close {
        top: 10px;
        right: 10px;
        font-size: 24px;
        width: 35px;
        height: 35px;
    }

    .news-modal-main-image {
        height: 250px;
    }

    .news-modal-text-content {
        padding: 20px;
    }

    .news-modal-text-content h2 {
        font-size: 1.4rem;
    }

    .news-modal-text-content p {
        font-size: 0.9rem;
    }

    .modal-indicator {
        width: 10px;
        height: 10px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .news-modal-content {
        width: 90%;
        margin: 3% auto;
    }

    .news-modal-main-image {
        height: 350px;
    }

    .news-modal-text-content h2 {
        font-size: 1.6rem;
    }
}

@media (min-width: 1025px) {
    .news-modal-content {
        width: 85%;
        margin: 2% auto;
    }

    .news-modal-main-image {
        height: 400px;
    }

    .news-modal-text-content h2 {
        font-size: 1.8rem;
    }
}

/* News Section - Unique Glassmorphism Design */
#news {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

#news .container {
    position: relative;
    z-index: 2;
}

#news .section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#news .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

#news .videos-carousel-container {
    position: relative;
    padding: 0 !important;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

#news .videos-carousel {
    width: 100%;
    overflow: visible;
}

#news .videos-track {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 24px !important;
    justify-content: center !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

#news .video-card {
    background: rgba(30, 41, 59, 0.6) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    position: relative !important;
    min-height: 400px !important;
    display: flex !important;
    flex-direction: column !important;
    max-width: 100% !important;
}

#news .video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

#news .video-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15) !important;
    border-color: rgba(124, 58, 237, 0.2) !important;
}

#news .video-card:hover::before {
    opacity: 0.6;
}

#news .video-thumbnail-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    flex-shrink: 0;
}

#news .video-thumbnail {
    height: 220px !important;
    width: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

/* Specific styling for report images */
#news .video-card img[src*="report1_Page_01.jpg"] {
    object-fit: contain !important;
    background: #ffffff !important;
    padding: 10px !important;
}

#news .video-card:hover .video-thumbnail {
    transform: scale(1.03) !important;
}
#news .video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

#news .video-play-overlay i {
    font-size: 24px;
    color: #ffffff;
    margin-left: 4px;
}

#news .video-card:hover .video-play-overlay {
    background: rgba(124, 58, 237, 0.7);
    border-color: rgba(124, 58, 237, 0.4);
    transform: translate(-50%, -50%) scale(1.05);
}

#news .video-content {
    padding: 25px !important;
    position: relative;
    z-index: 2;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

#news .video-title {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 15px !important;
    line-height: 1.3 !important;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: -0.02em !important;
    flex-shrink: 0;
}

#news .video-desc {
    font-size: 1rem !important;
    color: #cbd5e1 !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    margin: 0 !important;
    flex: 1 !important;
    display: flex !important;
    align-items: flex-start !important;
}

/* News Carousel Specific Styles */
#news .news-carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

#news .news-carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

#news .news-carousel-image.active {
    opacity: 1;
}

#news .news-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

#news .news-carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

#news .news-carousel-indicators .indicator.active {
    background: #7c3aed;
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.3);
}

#news .news-carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* Responsive Design for News Section */
@media (max-width: 1200px) {
    #news .videos-track {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
        gap: 30px !important;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    #news .videos-track {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
        padding: 0 30px !important;
        max-width: 900px !important;
        margin: 0 auto !important;
    }

    #news .video-card {
        min-width: 0 !important;
        max-width: none !important;
        width: 100% !important;
    }

    #news .video-thumbnail {
        height: 220px !important;
    }

    #news .video-content {
        padding: 25px !important;
    }

    #news .video-title {
        font-size: 1.4rem !important;
        margin-bottom: 15px !important;
        line-height: 1.3 !important;
    }

    #news .video-desc {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
}

@media (max-width: 767px) {
    #news {
        padding: 60px 0;
    }

    #news .section-title {
        font-size: 2.2rem;
    }

    #news .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    #news .videos-track {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding: 0 20px !important;
    }

    #news .video-card {
        border-radius: 20px !important;
    }

    #news .video-thumbnail {
        height: 200px !important;
    }

    #news .video-content {
        padding: 25px !important;
    }

    #news .video-title {
        font-size: 1.4rem !important;
        margin-bottom: 18px !important;
    }

    #news .video-desc {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }
}

/* ============================================
   NEWS BLOG PAGE STYLES
   ============================================ */

/* News Hero Section */
.news-hero {
    margin-top: 64px;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 0 0 24px 24px;
}

.news-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.news-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.news-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Search Bar */
.news-search-container {
    margin-bottom: 30px;
}

.news-search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 8px 8px 8px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.news-search-icon {
    color: #6b7280;
    font-size: 1.2rem;
    margin-right: 12px;
}

.news-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #111827;
    background: transparent;
}

.news-search-input::placeholder {
    color: #9ca3af;
}

.news-search-btn {
    background: #6366f1;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.news-search-btn:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

/* Category Filters */
.news-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.news-filter-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 24px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.news-filter-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.news-filter-btn.active {
    background: #ffffff;
    color: #6366f1;
    border-color: #ffffff;
}

/* Featured Stories Section */
.news-featured {
    padding: 80px 0 0 0;
    background: #111827;
}

.news-featured-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-featured-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.news-featured-subtitle {
    font-size: 1.1rem;
    color: #9ca3af;
}

.news-featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
}

/* Left Column: Featured News + Items Below */
.news-featured-left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* News Items Below Breaking News (2x2 Grid) */
.news-featured-below-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-featured-below-card {
    background: #1f2937;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.news-featured-below-card:hover {
    transform: translateY(-4px);
}

.news-featured-below-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-featured-below-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-featured-below-card:hover .news-featured-below-image img {
    transform: scale(1.05);
}

.news-featured-below-content {
    padding: 20px;
}

.news-featured-below-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-featured-below-description {
    font-size: 0.9rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 12px;
}

.news-featured-below-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: #9ca3af;
}

.news-featured-main {
    background: #1f2937;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.news-featured-main:hover {
    transform: translateY(-4px);
}

.news-featured-main-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.news-featured-main-image .news-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.news-featured-main-image .news-carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.news-featured-main-image .news-carousel-indicators .indicator.active {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.3);
}

.news-featured-main-image .news-carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.news-featured-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-featured-main:hover .news-featured-main-image img {
    transform: scale(1.05);
}

.news-featured-main-content {
    padding: 30px;
}

.news-featured-main-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.news-featured-main-description {
    font-size: 1.05rem;
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-featured-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* Featured Side Articles */
.news-featured-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-featured-side-card {
    background: #1f2937;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.news-featured-side-card:hover {
    transform: translateY(-4px);
}

.news-featured-side-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.news-featured-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-featured-side-card:hover .news-featured-side-image img {
    transform: scale(1.05);
}

.news-featured-side-content {
    padding: 20px;
}

.news-featured-side-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-featured-side-description {
    font-size: 0.95rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 12px;
}

.news-featured-side-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* News Tags */
.news-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.news-tag-breaking {
    background: #ef4444;
    color: #ffffff;
}

.news-tag-latest {
    background: #3b82f6;
    color: #ffffff;
}

.news-tag-technology {
    background: #8b5cf6;
    color: #ffffff;
}

.news-tag-innovation {
    background: #10b981;
    color: #ffffff;
}

.news-tag-mental-health {
    background: #f59e0b;
    color: #ffffff;
}

.news-tag-blockchain {
    background: #6366f1;
    color: #ffffff;
}

.news-tag-surgery {
    background: #ec4899;
    color: #ffffff;
}

/* Main Content Section */
.news-main {
    padding: 30px 0 80px;
    background: #111827;
}

/* Removed news-main-wrapper as sidebar is now in featured section */

.news-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 100%;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 80px;
    align-self: start;
    height: fit-content;
    overflow-y: visible;
    z-index: 10;
}

.news-article-card {
    background: #1f2937;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    display: block;
    opacity: 1;
}

.news-article-card.active {
    display: block;
    opacity: 1;
}

.news-article-card:not(.active) {
    display: none;
    opacity: 0;
}

.news-article-card:hover {
    transform: translateY(-4px);
}

.news-article-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-article-card:hover .news-article-image img {
    transform: scale(1.05);
}

.news-article-content {
    padding: 24px;
}

.news-article-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-article-description {
    font-size: 0.95rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-article-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: #9ca3af;
}

.news-author,
.news-date,
.news-read-time {
    display: flex;
    align-items: center;
}

.news-sidebar-widget {
    background: #1f2937;
    border-radius: 16px;
    padding: 30px;
}

.news-sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.news-sidebar-description {
    font-size: 0.95rem;
    color: #d1d5db;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Trending Topics */
.news-trending-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-trending-list li {
    margin-bottom: 12px;
}

.news-trending-link {
    color: #6366f1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: block;
}

.news-trending-link:hover {
    color: #818cf8;
    text-decoration: underline;
}

/* Newsletter Form */
.news-sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-sidebar-input {
    padding: 12px 16px;
    border: 1px solid #374151;
    border-radius: 8px;
    background: #111827;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.news-sidebar-input:focus {
    border-color: #6366f1;
}

.news-sidebar-input::placeholder {
    color: #6b7280;
}

.news-sidebar-btn {
    background: #6366f1;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}
.news-sidebar-btn:hover {
    background: #4f46e5;
}

/* Categories */
.news-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-categories-list li {
    margin-bottom: 12px;
}

.news-category-link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.news-category-link:hover {
    color: #6366f1;
}

.news-category-count {
    color: #6366f1;
    font-weight: 600;
}

/* Load More Button */
.news-load-more-container {
    text-align: center;
    margin-top: 40px;
    display: none; /* Hidden by default, shown when articles exist */
}

.news-load-more-container[style*="display: block"],
.news-load-more-container[style*="display: flex"] {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.news-load-more-btn {
    background: #6366f1;
    color: #ffffff;
    border: none;
    padding: 14px 40px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    min-width: 200px;
}

.news-load-more-btn:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.news-load-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

/* Responsive Design for News Page */
/* 1024px - Keep sidebar on right side */
@media (min-width: 1024px) and (max-width: 1024px) {
    .news-featured-grid {
        grid-template-columns: 1.8fr 1fr !important;
        gap: 24px !important;
    }

    .news-featured-left-column {
        width: 100% !important;
        max-width: 100% !important;
    }

    .news-sidebar {
        position: sticky !important;
        top: 80px !important;
        width: 100% !important;
        max-width: 100% !important;
        align-self: start !important;
        height: fit-content !important;
    }

    .news-sidebar-widget {
        padding: 20px !important;
    }

    .news-sidebar-title {
        font-size: 1.1rem !important;
        margin-bottom: 16px !important;
    }

    .news-sidebar-description {
        font-size: 0.9rem !important;
        margin-bottom: 16px !important;
    }

    .news-trending-list li,
    .news-categories-list li {
        margin-bottom: 10px !important;
    }

    .news-trending-link,
    .news-category-link {
        font-size: 0.9rem !important;
    }

    .news-sidebar-input {
        padding: 10px 14px !important;
        font-size: 0.9rem !important;
    }

    .news-sidebar-btn {
        padding: 10px !important;
        font-size: 0.9rem !important;
    }

    .news-featured-below-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .news-featured-main {
        margin-bottom: 0 !important;
    }
}

/* Tablet sizes (768px to 1023px) - Keep sidebar on right */
@media (min-width: 768px) and (max-width: 1023px) {
    .news-featured-grid {
        display: grid !important;
        grid-template-columns: 1.6fr 1fr !important;
        gap: 20px !important;
        align-items: start !important;
    }

    .news-featured-left-column {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        order: 0 !important;
    }

    .news-sidebar {
        position: sticky !important;
        top: 80px !important;
        width: 100% !important;
        max-width: 100% !important;
        align-self: start !important;
        height: fit-content !important;
        min-width: 0 !important;
        order: 0 !important;
    }

    .news-sidebar-widget {
        padding: 18px !important;
    }

    .news-sidebar-title {
        font-size: 1rem !important;
        margin-bottom: 14px !important;
    }

    .news-sidebar-description {
        font-size: 0.85rem !important;
        margin-bottom: 14px !important;
    }

    .news-trending-list li,
    .news-categories-list li {
        margin-bottom: 8px !important;
    }

    .news-trending-link,
    .news-category-link {
        font-size: 0.85rem !important;
    }

    .news-sidebar-input {
        padding: 10px 12px !important;
        font-size: 0.85rem !important;
    }

    .news-sidebar-btn {
        padding: 10px !important;
        font-size: 0.85rem !important;
    }

    .news-featured-below-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .news-articles-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile sizes (below 768px) - Stack vertically */
@media (max-width: 767px) {
    .news-featured-grid {
        grid-template-columns: 1fr;
    }

    .news-featured-below-grid {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        position: relative;
        right: auto;
        width: 100%;
        max-height: none;
        top: auto;
    }

    .news-articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .news-hero {
        padding: 60px 0 40px;
    }

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

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

    .news-search-bar {
        flex-direction: column;
        padding: 16px;
    }

    .news-search-input {
        margin-bottom: 12px;
        width: 100%;
    }

    .news-search-btn {
        width: 100%;
    }

    .news-category-filters {
        gap: 8px;
    }

    .news-filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .news-featured {
        padding: 60px 0;
    }

    .news-featured-title {
        font-size: 2rem;
    }

    .news-featured-main-image {
        height: 300px;
    }

    .news-featured-main-title {
        font-size: 1.5rem;
    }

    /* Mobile Layout - Stack Everything Vertically */
    .news-featured-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .news-featured-left-column {
        width: 100% !important;
        order: 1;
        display: flex !important;
        flex-direction: column !important;
    }

    /* Load More Button inside left column - appears after cards, before sidebar */
    .news-featured-left-column .news-load-more-container {
        order: 99 !important; /* Appears at the end of left column */
        margin-top: 30px !important;
        margin-bottom: 0 !important;
    }

    .news-sidebar {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        order: 2;
    }

    /* Stack Below Grid Cards Vertically on Mobile */
    .news-featured-below-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .news-featured-below-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Load More Button - Show after news cards, before sidebar on mobile */
    .news-load-more-container {
        margin-top: 30px !important;
        margin-bottom: 30px !important;
        padding: 0 !important;
        order: 1.5 !important;
        width: 100% !important;
        display: none !important; /* Hidden by default, shown when articles exist */
    }

    .news-load-more-container[style*="display: block"] {
        display: flex !important;
        justify-content: center !important;
    }

    .news-load-more-btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 32px !important;
        font-size: 1rem !important;
    }

    .news-main {
        padding: 30px 0 60px !important;
    }

    .news-articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 15px;
    }

    .news-sidebar-widget {
        padding: 24px;
    }
}

/* View All News Button Styles */
.news-view-all-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding: 20px 0;
}

.news-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    border: 2px solid transparent;
}

.news-view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
    background: linear-gradient(135deg, #8b5cf6 0%, #818cf8 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.news-view-all-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.news-view-all-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.news-view-all-btn:hover i {
    transform: translateX(4px);
}

/* Limit news cards to screen width - Desktop */
@media (min-width: 1200px) {
    #news .news-preview-container .videos-track {
        grid-template-columns: repeat(3, 1fr) !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
    }
}

/* 1024px - Single row with 3 cards, smaller sizes */
@media (min-width: 1024px) and (max-width: 1024px) {
    #news .news-preview-container {
        padding: 0 20px !important;
    }

    #news .news-preview-container .videos-carousel {
        overflow: visible !important;
        width: 100% !important;
    }

    #news .news-preview-container .videos-track {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        align-items: start !important;
        transform: none !important;
    }

    #news .news-preview-container .video-card {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        min-height: 380px !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 0 !important;
    }

    #news .news-preview-container .video-thumbnail-container {
        height: 200px !important;
    }

    #news .news-preview-container .video-thumbnail {
        height: 200px !important;
    }

    #news .news-preview-container .video-content {
        padding: 20px !important;
    }

    #news .news-preview-container .video-title {
        font-size: 1.3rem !important;
        margin-bottom: 8px !important;
    }

    #news .news-preview-container .video-desc {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    #news .news-preview-container .video-play-overlay {
        width: 70px !important;
        height: 70px !important;
    }

    #news .news-preview-container .video-play-overlay i {
        font-size: 24px !important;
    }

    /* Hide carousel buttons at 1024px since we're using grid */
    #news .news-preview-container .carousel-btn {
        display: none !important;
    }
}

/* Tablet sizes - 768px to 1023px - Single row with 3 cards, even smaller */
@media (min-width: 768px) and (max-width: 1023px) {
    #news .news-preview-container {
        padding: 0 15px !important;
    }

    #news .news-preview-container .videos-carousel {
        overflow: visible !important;
        width: 100% !important;
    }

    #news .news-preview-container .videos-track {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        align-items: start !important;
        transform: none !important;
    }

    #news .news-preview-container .video-card {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        min-height: 360px !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 0 !important;
    }

    #news .news-preview-container .video-thumbnail-container {
        height: 180px !important;
    }

    #news .news-preview-container .video-thumbnail {
        height: 180px !important;
    }

    #news .news-preview-container .video-content {
        padding: 16px !important;
    }

    #news .news-preview-container .video-title {
        font-size: 1.15rem !important;
        margin-bottom: 6px !important;
    }

    #news .news-preview-container .video-desc {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    #news .news-preview-container .video-play-overlay {
        width: 60px !important;
        height: 60px !important;
    }

    #news .news-preview-container .video-play-overlay i {
        font-size: 20px !important;
    }

    /* Hide carousel buttons at tablet sizes since we're using grid */
    #news .news-preview-container .carousel-btn {
        display: none !important;
    }
}

@media (max-width: 767px) {
    #news .news-preview-container .videos-track {
        grid-template-columns: 1fr !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }

    .news-view-all-btn {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .news-view-all-container {
        margin-top: 30px;
        padding: 15px 0;
    }
}

/* Features Page Styles */
.features-hero {
    margin-top: 64px;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 0 0 24px 24px;
}

.features-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.features-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.features-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.features-search-container {
    margin-bottom: 30px;
}

.features-search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 8px 8px 8px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.features-search-icon {
    color: #6b7280;
    font-size: 1.2rem;
    margin-right: 12px;
}

.features-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #111827;
    background: transparent;
}

.features-search-input::placeholder {
    color: #9ca3af;
}

.features-search-btn {
    background: #6366f1;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.features-search-btn:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

/* Features Main Section */
.features-main {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-section-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Grid - Normal Display */
.features-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 30px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Override for 320px screens - prevent overflow */
@media (max-width: 320px) {
    .features-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Feature Card - Normal Grid View */
.feature-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Search Results - Display in Same Grid Format as Normal Cards */
.feature-card.feature-search-result {
    /* Keep exactly the same style and size as normal cards, just add visual highlight */
    border: 2px solid rgba(124, 58, 237, 0.4) !important;
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2) !important;
    opacity: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    /* Same sizing as normal cards - grid handles layout */
    /* Don't force width - let grid column size control it */
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    /* Ensure it doesn't span multiple columns */
    grid-column: auto !important;
    grid-row: auto !important;
}

/* Normal Feature Card Hover Effects - Only when NOT search result */
.feature-card:not(.feature-search-result):hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.3);
}

/* Search Result Hover - Same as normal cards */
.feature-card.feature-search-result:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.2) !important;
    border-color: rgba(124, 58, 237, 0.3) !important;
}

.feature-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.feature-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-thumbnail {
    transform: scale(1.1);
}

.feature-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    z-index: 2;
}

.feature-play-overlay i {
    font-size: 24px;
    color: #ffffff;
    margin-left: 4px;
}

.feature-card:hover .feature-play-overlay {
    background: rgba(124, 58, 237, 0.8);
    border-color: rgba(124, 58, 237, 0.5);
    transform: translate(-50%, -50%) scale(1.1);
}

.feature-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(124, 58, 237, 0.9);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.feature-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-description {
    font-size: 1rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.feature-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #9ca3af;
}

.feature-duration i {
    font-size: 0.85rem;
}

.feature-category {
    font-size: 0.85rem;
    color: #6366f1;
    font-weight: 500;
    background: rgba(99, 102, 241, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
}

/* View All Features Button */
.features-view-all-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding: 20px 0;
}

.features-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    border: 2px solid transparent;
}

.features-view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
    background: linear-gradient(135deg, #8b5cf6 0%, #818cf8 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.features-view-all-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.features-view-all-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.features-view-all-btn:hover i {
    transform: translateX(4px);
}

/* Enhanced Feature Cards on Index Page - Larger and More Attractive */
#features .features-preview-container .video-card {
    min-width: 380px !important;
    max-width: 400px !important;
    min-height: 450px !important;
    background: rgba(30, 41, 59, 0.8) !important;
    backdrop-filter: blur(25px) !important;
    border: 2px solid rgba(124, 58, 237, 0.3) !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}
#features .features-preview-container .video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}
#features .features-preview-container .video-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 24px 60px rgba(124, 58, 237, 0.35) !important;
    border-color: rgba(124, 58, 237, 0.5) !important;
}

#features .features-preview-container .video-card:hover::before {
    opacity: 1;
}

#features .features-preview-container .video-thumbnail-container {
    height: 280px !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 20px 20px 0 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#features .features-preview-container .video-thumbnail {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

#features .features-preview-container .video-card:hover .video-thumbnail {
    transform: scale(1.15) !important;
}

#features .features-preview-container .video-play-overlay {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90px !important;
    height: 90px !important;
    background: rgba(124, 58, 237, 0.85) !important;
    border: 4px solid rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(15px) !important;
    z-index: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

#features .features-preview-container .video-play-overlay i {
    font-size: 32px !important;
    margin-left: 6px !important;
}

#features .features-preview-container .video-card:hover .video-play-overlay {
    background: rgba(124, 58, 237, 0.95) !important;
    transform: translate(-50%, -50%) scale(1.15) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6) !important;
}

#features .features-preview-container .video-content {
    padding: 30px !important;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, transparent, rgba(30, 41, 59, 0.95));
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

#features .features-preview-container .video-title {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#features .features-preview-container .video-desc {
    font-size: 1.05rem !important;
    color: #d1d5db !important;
    line-height: 1.7 !important;
    margin-top: 8px !important;
}

/* Base overflow handling for features container - prevents horizontal overflow on all screen sizes */
#features .features-preview-container {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#features .features-preview-container .videos-carousel {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 1200px to 1439px - Medium desktop sizes */
@media (min-width: 1200px) and (max-width: 1439px) {
    #features .features-preview-container {
        overflow-x: hidden !important;
        overflow: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container .videos-carousel {
        overflow: visible !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container .videos-track {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 32px !important;
        max-width: 1400px !important;
        margin: 0 auto !important;
        padding: 20px !important;
        align-items: start !important;
        width: 100% !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container .video-card {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        box-sizing: border-box !important;
    }

    /* Hide carousel buttons since we're using grid */
    #features .features-preview-container .carousel-btn {
        display: none !important;
    }
}

/* Laptop L (1440px) - Center and align features section like news section */
@media (min-width: 1440px) {
    #features .features-preview-container {
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 40px !important;
        overflow: visible !important;
        overflow-x: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container .videos-carousel {
        overflow: visible !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container .videos-track {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 40px !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        justify-content: center !important;
        align-items: stretch !important;
        width: 100% !important;
        transform: none !important;
    }

    #features .features-preview-container .video-card {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* Hide carousel buttons at 1440px since we're using grid */
    #features .features-preview-container .carousel-btn {
        display: none !important;
    }
}

/* 1024px to 1199px - Single row with 3 cards, smaller sizes - Covers 11-inch tablets */
@media (min-width: 1024px) and (max-width: 1199px) {
    #features .features-preview-container {
        padding: 0 20px !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container .videos-carousel {
        overflow: visible !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container .videos-track {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        align-items: start !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container .video-card {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        min-height: 380px !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 0 !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container .video-thumbnail-container {
        height: 200px !important;
    }

    #features .features-preview-container .video-content {
        padding: 20px !important;
    }

    #features .features-preview-container .video-title {
        font-size: 1.3rem !important;
        margin-bottom: 8px !important;
    }

    #features .features-preview-container .video-desc {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    #features .features-preview-container .video-play-overlay {
        width: 70px !important;
        height: 70px !important;
    }

    #features .features-preview-container .video-play-overlay i {
        font-size: 24px !important;
    }

    /* Hide carousel buttons since we're using grid */
    #features .features-preview-container .carousel-btn {
        display: none !important;
    }
}

/* Tablet sizes - 768px to 1023px - Single row with 3 cards, even smaller */
@media (min-width: 768px) and (max-width: 1023px) {
    #features .features-preview-container {
        padding: 0 15px !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container .videos-carousel {
        overflow: visible !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container .videos-track {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        align-items: start !important;
        transform: none !important;
    }

    #features .features-preview-container .video-card {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        min-height: 360px !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 0 !important;
    }

    #features .features-preview-container .video-thumbnail-container {
        height: 180px !important;
    }

    #features .features-preview-container .video-content {
        padding: 16px !important;
    }

    #features .features-preview-container .video-title {
        font-size: 1.15rem !important;
        margin-bottom: 6px !important;
    }

    #features .features-preview-container .video-desc {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    #features .features-preview-container .video-play-overlay {
        width: 60px !important;
        height: 60px !important;
    }

    #features .features-preview-container .video-play-overlay i {
        font-size: 20px !important;
    }

    /* Hide carousel buttons at tablet sizes since we're using grid */
    #features .features-preview-container .carousel-btn {
        display: none !important;
    }
}

@media (max-width: 767px) {
    #features .features-preview-container {
        padding: 0 15px !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container .videos-carousel {
        overflow: visible !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container .videos-track {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        align-items: start !important;
        transform: none !important;
        flex-wrap: nowrap !important;
    }

    #features .features-preview-container .video-card {
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        flex: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        align-items: stretch !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container .video-card:nth-child(1),
    #features .features-preview-container .video-card:nth-child(2),
    #features .features-preview-container .video-card:nth-child(3) {
        display: flex !important;
    }

    #features .features-preview-container .video-thumbnail-container {
        border-radius: 20px 20px 0 0 !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #features .features-preview-container .video-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 20px !important;
        border-radius: 0 0 20px 20px !important;
        justify-content: space-between !important;
    }

    #features .features-preview-container .video-play-overlay {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .features-view-all-btn {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .features-view-all-container {
        margin-top: 30px;
        padding: 15px 0;
    }

    .features-hero {
        padding: 60px 0 40px;
    }

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

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

    .features-search-bar {
        flex-direction: column;
        padding: 16px;
    }

    .features-search-input {
        margin-bottom: 12px;
        width: 100%;
    }

    .features-search-btn {
        width: 100%;
    }
}

/* 320px - Fix features cards to fit screen properly */
@media (max-width: 320px) {
    #features .container {
        padding: 0 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container .videos-carousel {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: visible !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container .videos-track {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    #features .features-preview-container .video-card {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        flex: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        border-radius: 16px !important;
    }

    #features .features-preview-container .video-thumbnail-container {
        height: 160px !important;
        width: 100% !important;
    }

    #features .features-preview-container .video-content {
        padding: 16px !important;
    }

    #features .features-preview-container .video-title {
        font-size: 1.1rem !important;
        margin-bottom: 6px !important;
    }

    #features .features-preview-container .video-desc {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }

    #features .features-preview-container .video-play-overlay {
        width: 50px !important;
        height: 50px !important;
    }

    #features .features-preview-container .video-play-overlay i {
        font-size: 18px !important;
    }

    /* Hide carousel buttons at 320px */
    #features .features-preview-container .carousel-btn {
        display: none !important;
    }

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

    .features-section-subtitle {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 15px;
    }

    .feature-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* 320px - Fix features grid and cards to fit screen properly */
@media (max-width: 320px) {
    #features .container {
        padding: 0 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 0 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .feature-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        border-radius: 16px !important;
    }

    .feature-image {
        height: 180px !important;
        width: 100% !important;
    }

    .feature-content {
        padding: 16px !important;
    }

    .feature-title {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }

    .feature-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    .feature-meta {
        font-size: 0.75rem !important;
    }

    .feature-play-overlay {
        width: 50px !important;
        height: 50px !important;
    }

    .feature-play-overlay i {
        font-size: 18px !important;
    }
}

/* ============================================================================
   THEME TOGGLE BUTTON STYLES
   ============================================================================ */

.theme-toggle-container {
    display: flex;
    align-items: center;
}

.theme-toggle-btn {
    background: var(--color-panel);
    border: 1px solid var(--color-panel-border);
    color: var(--color-base-content);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn:hover {
    background: color-mix(in srgb, var(--color-base-content) 8%, var(--color-panel));
    transform: scale(1.05);
}

.theme-toggle-btn i {
    position: absolute;
    font-size: 16px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.theme-toggle-btn[data-theme="light"] .theme-icon-light,
.theme-toggle-btn[data-theme="dark"] .theme-icon-dark,
.theme-toggle-btn[data-theme="auto"] .theme-icon-auto {
    opacity: 1;
    transform: scale(1);
}

.theme-toggle-btn-mobile {
    background: color-mix(in srgb, var(--color-base-content) 8%, var(--color-panel));
    border: 1px solid var(--color-panel-border);
    color: var(--color-base-content);
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-bottom: 12px;
}

.theme-toggle-btn-mobile:hover {
    background: color-mix(in srgb, var(--color-base-content) 12%, var(--color-panel));
}

.theme-toggle-btn-mobile i {
    font-size: 16px;
}

.theme-toggle-btn-mobile[data-theme="light"] .theme-icon-light,
.theme-toggle-btn-mobile[data-theme="dark"] .theme-icon-dark,
.theme-toggle-btn-mobile[data-theme="auto"] .theme-icon-auto {
    display: inline-block;
}

.theme-toggle-btn-mobile .theme-icon-light,
.theme-toggle-btn-mobile .theme-icon-dark,
.theme-toggle-btn-mobile .theme-icon-auto {
    display: none;
}

/* ============================================================================
   COMPREHENSIVE RESPONSIVE FIXES FOR ALL SCREEN SIZES
   ============================================================================ */

/* Navigation Action Buttons - Responsive Text Hiding */
.nav-action-btn {
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-btn-text {
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

/* Large Desktop (1400px+) - Full buttons with text */
@media (min-width: 1400px) {
    .nav-wrapper {
        gap: 40px;
        padding: 0 20px;
    }
    
    .nav-desktop {
        gap: 32px;
        flex: 1;
        justify-content: center;
        margin: 0 auto;
    }
    
    .nav-actions {
        gap: 12px;
        flex-shrink: 0;
    }
    
    .nav-action-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .nav-btn-text {
        display: inline;
    }
    
    .logo {
        flex-shrink: 0;
    }
}

/* Specific fix for 1440px screens - Optimize spacing to fit everything */
@media (min-width: 1440px) {
    .nav-wrapper {
        gap: 20px;
        padding: 0 25px;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .nav-desktop {
        gap: 20px;
        flex: 1;
        justify-content: center;
        margin: 0 auto;
        max-width: 550px;
        min-width: 0;
    }
    
    .nav-actions {
        gap: 8px;
        flex-shrink: 0;
        min-width: 0;
    }
    
    .nav-action-btn {
        padding: 7px 12px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }
    
    .nav-action-btn .nav-btn-text {
        font-size: 13px !important;
    }
    
    .nav-link {
        font-size: 15px;
        padding: 8px 0;
        white-space: nowrap;
    }
    
    .logo {
        flex-shrink: 0;
        min-width: 0;
    }
    
    /* Override Tailwind classes */
    .nav-action-btn.px-3 {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Desktop (1200px-1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .nav-wrapper {
        gap: 30px;
        padding: 0 20px;
    }
    
    .nav-desktop {
        gap: 28px;
    }
    
    .nav-actions {
        gap: 10px;
        flex-shrink: 0;
    }
    
    .nav-action-btn {
        padding: 6px 14px;
        font-size: 13px;
    }
    
    .nav-btn-text {
        display: inline;
    }
    
    .logo {
        flex-shrink: 0;
    }
}

/* Laptop (1025px-1199px) - Show icons with abbreviated text */
@media (min-width: 1025px) and (max-width: 1199px) {
    .nav-wrapper {
        gap: 20px;
        padding: 0 15px;
        justify-content: space-between;
    }
    
    .nav-desktop {
        display: flex !important;
        gap: 16px;
        flex-wrap: nowrap;
        flex: 1;
        justify-content: center;
        min-width: 0;
    }
    
    .nav-actions {
        display: flex !important;
        gap: 6px;
        flex-shrink: 0;
        min-width: 0;
    }
    
    .nav-action-btn {
        padding: 6px 10px !important;
        font-size: 11px !important;
        white-space: nowrap;
        min-width: 0;
    }
    
    .nav-action-btn .nav-btn-text {
        font-size: 11px !important;
    }
    
    .nav-btn-text {
        display: inline;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 8px 6px;
        white-space: nowrap;
    }
    
    .logo {
        flex-shrink: 0;
        gap: 10px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
    
    .mobile-nav {
        display: none !important;
    }
    
    /* Override Tailwind padding for better fit */
    .nav-action-btn.px-3 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* REMOVED - Duplicate 1024px fix, using the one at line 2899 instead */

/* Tablet Large (992px-1023px) - Icons only or very short text */
@media (min-width: 992px) and (max-width: 1023px) {
    .nav-actions {
        gap: 6px;
    }
    
    .nav-action-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .nav-btn-text {
        display: none;
    }
    
    .nav-action-btn i {
        margin: 0;
    }
    
    .nav-desktop {
        gap: 16px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 8px 8px;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
}

/* Tablet (768px-991px) - Hide desktop nav, show mobile menu */
@media (min-width: 768px) and (max-width: 991px) {
    .nav-desktop {
        display: none !important;
    }
    
    .nav-actions {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: block !important;
        color: var(--color-base-content);
    }
    
    .mobile-nav {
        background: var(--color-panel);
        border-top: 1px solid var(--color-panel-border);
    }
    
    .mobile-nav-link {
        color: var(--color-base-content);
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 22px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
/* Mobile Large (481px-767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .nav-desktop {
        display: none !important;
    }
    
    .nav-actions {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: block !important;
        color: var(--color-base-content);
    }
    
    .mobile-nav {
        background: var(--color-panel);
        border-top: 1px solid var(--color-panel-border);
    }
    
    .mobile-nav-link {
        color: var(--color-base-content);
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 30px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .subtitle {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons button {
        width: 100%;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info,
    .contact-form-container {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
/* Mobile Medium (376px-480px) */
@media (min-width: 376px) and (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-description {
        font-size: 14px;
    }
    
    .pricing-card,
    .service-card {
        padding: 20px;
    }
    
    .plan-price {
        font-size: 32px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-input,
    .form-textarea {
        font-size: 14px;
    }
}

/* Mobile Small (321px-375px) */
@media (min-width: 321px) and (max-width: 375px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .hero-description {
        font-size: 13px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .section-description {
        font-size: 13px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .pricing-card,
    .service-card {
        padding: 16px;
    }
    
    .plan-price {
        font-size: 28px;
    }
    
    .plan-features {
        font-size: 14px;
    }
}

/* Mobile Extra Small (≤320px) */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }
    
    .hero {
        padding: 70px 0 30px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .hero-description {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .section-description {
        font-size: 12px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .pricing-card,
    .service-card {
        padding: 12px;
    }
    
    .plan-price {
        font-size: 24px;
    }
    
    .plan-features {
        font-size: 12px;
    }
    
    .btn-white,
    .btn-outline {
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* Fix for video carousels on all screen sizes */
@media (max-width: 767px) {
    .videos-carousel-container {
        padding: 0 10px;
    }
    
    .video-card {
        min-width: 280px !important;
        max-width: 280px !important;
    }
    
    .videos-track {
        gap: 16px;
    }
}

/* Fix for testimonials carousel */
@media (max-width: 767px) {
    .testimonials {
        padding: 50px 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .testimonials-carousel-container {
        padding: 0 32px !important;
        position: relative !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .testimonials-carousel {
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scrollbar-width: thin !important;
        scrollbar-color: #7c3aed #1f2937 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 260px !important;
        height: auto !important;
        width: 100% !important;
        position: relative !important;
        padding: 0 !important;
        scroll-snap-type: x mandatory;
    }

    .testimonials-track {
        width: 100% !important;
        display: flex !important;
        gap: 12px !important;
        padding: 0 !important;
        margin: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-direction: row !important;
        align-items: stretch !important;
        transform: none !important;
        position: relative !important;
        justify-content: flex-start !important;
        scroll-padding-left: 0 !important;
    }

    .testimonial-card {
        flex: 0 0 calc(100% - 64px) !important;
        max-width: calc(100% - 64px) !important;
        padding: 24px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #111827 !important;
        border: 1px solid #374151 !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        height: auto !important;
        min-height: 180px !important;
        scroll-snap-align: start;
    }

    #testimonialsTrack .testimonial-card,
    .testimonials-track .testimonial-card {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .testimonial-header {
        display: flex !important;
        align-items: center !important;
        margin-bottom: 16px !important;
    }

    .testimonial-avatar {
        width: 44px !important;
        height: 44px !important;
        font-size: 1rem !important;
        display: flex !important;
    }

    .testimonial-text {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    .testimonial-name {
        font-size: 1.05rem !important;
    }

    .testimonial-role {
        font-size: 0.9rem !important;
    }

    .testimonial-btn {
        display: flex !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: rgba(147, 51, 234, 0.9) !important;
        border: none !important;
        border-radius: 50% !important;
        width: 40px !important;
        height: 40px !important;
        align-items: center !important;
        justify-content: center !important;
        color: white !important;
        font-size: 15px !important;
        cursor: pointer !important;
        z-index: 20 !important;
        transition: all 0.3s ease !important;
        visibility: visible !important;
    }

    .testimonial-btn-left {
        left: 8px !important;
    }

    .testimonial-btn-right {
        right: 8px !important;
    }
}

/* Fix for contact section responsive layout */
@media (max-width: 991px) {
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info,
    .contact-form-container {
        width: 100%;
    }
}

/* Fix for footer responsive layout */
@media (max-width: 991px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Fix for CTA section */
@media (max-width: 767px) {
    .cta-content {
        text-align: center;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-description {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-btn {
        width: 100%;
    }
}

/* Ensure no horizontal overflow */
body {
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Fix for images to be responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for buttons to not overflow */
button,
a.btn-white,
a.btn-outline,
a.btn-primary,
a.btn-secondary,
.nav-action-btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Fix for text overflow in cards */
.pricing-card,
.service-card,
.testimonial-card,
.video-card {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Ensure proper spacing on all devices */
@media (max-width: 767px) {
    section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
}

/* Ensure all title texts have proper colors in both themes */
.section-title,
.hero-title,
.plan-title,
.service-title,
.video-title,
.testimonial-name,
.contact-info-title,
.form-title,
.cta-title,
.footer-title {
    color: var(--color-base-content) !important;
}

.subtitle,
.hero-description,
.section-description,
.service-description,
.video-desc,
.testimonial-text,
.testimonial-role,
.contact-info-description,
.contact-text,
.cta-description,
.footer-description,
.company-quote {
    color: var(--color-muted) !important;
}

/* Override for CTA section - ensure description is visible on gradient background */
.cta-section .cta-description {
    color: rgba(255, 255, 255, 0.95) !important;
}

[data-theme="dark"] .cta-section .cta-description,
html:not([data-theme]):not([data-theme="light"]):not([data-theme="light-blue"]) .cta-section .cta-description {
    color: rgba(255, 255, 255, 1) !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 0, 0, 0.2) !important;
}

/* Ensure all interactive elements have proper contrast */
.nav-link,
.mobile-nav-link,
.footer-link,
.contact-text a {
    color: var(--color-base-content) !important;
}

.nav-link:hover,
.mobile-nav-link:hover,
.footer-link:hover {
    color: var(--color-primary) !important;
}