@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

/* Hero slideshow */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Blob animation */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Custom button hover effects */
.btn-hover-effect {
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Custom form input focus */
.custom-input:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
}

/* Responsive video container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Custom shadow for cards */
.custom-card-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(90deg, #4F46E5, #10B981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Sticky header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #3f38b8;
}

/* Responsive typography */
@media (max-width: 640px) {
    .text-responsive {
        font-size: 1.8rem;
    }
    
    /* Mobile hero adjustments */
    section h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    section h2 {
        font-size: 1.875rem;
    }
    
    /* Mobile padding adjustments */
    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Mobile button sizing */
    a[href] {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    /* Mobile stats cards */
    .hero-slide {
        background-position: center;
    }
}

@media (max-width: 768px) {
    /* Tablet adjustments */
    .grid {
        gap: 1rem;
    }
}

/* Custom transition for hover effects */
.transition-custom {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Pulse animation for CTAs */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(79, 70, 229, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Logo carousel */
.logo-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.logo-track {
    display: flex;
    gap: 4rem;
    animation: scroll 30s linear infinite;
}

.logo-item {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
    flex-shrink: 0;
}

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

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

/* Testimonial carousel */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
}

.testimonial-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(25% - 18px);
    gap: 24px;
    transition: transform 0.5s ease;
    align-items: stretch;
}

@media (max-width: 767px) {
    .testimonial-track {
        grid-auto-columns: 100%;
        gap: 0;
    }
}

.testimonial-slide {
    width: 100%;
    display: flex;
}

.testimonial-prev,
.testimonial-next {
    cursor: pointer;
}

/* FAQ accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-question i {
    transition: transform 0.3s ease;
}