:root {
    --primary: #1e3a8a;
    --accent: #f59e0b;
    --dark: #0f172a;
    --light: #f8fafc;
    --radius: 0.5rem;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.font-heading {
    font-family: 'Montserrat', sans-serif;
}

/* Animated gradient background */
.hero-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1e40af 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Floating animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Fade in up animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger animation delays */
.stagger-1 {
    animation-delay: 0.1s;
    opacity: 0;
}

.stagger-2 {
    animation-delay: 0.2s;
    opacity: 0;
}

.stagger-3 {
    animation-delay: 0.3s;
    opacity: 0;
}

.stagger-4 {
    animation-delay: 0.4s;
    opacity: 0;
}

/* Card hover effects */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

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

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Timeline styling */
.timeline-item {
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: #f59e0b;
    border-radius: 50%;
    position: absolute;
    left: -10px;
    top: 5px;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px #f59e0b33;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px #f59e0b33;
    }

    50% {
        box-shadow: 0 0 0 8px #f59e0b22;
    }
}

/* Counter animation */
.counter {
    font-size: 3rem;
    font-weight: 800;
    color: #f59e0b;
}

/* Stats card gradient */
.stats-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
}

.stats-card::after {
    content: '';
    position: absolute;
    top: -50%;
    filter: blur(50px);
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Team card overlay */
.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.95), transparent);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    padding: 1.5rem;
}

.team-card:hover .team-overlay {
    transform: translateY(0);
}

/* Button effects */
.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

/* FAQ accordion */
.faq-item {
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

/* Mobile menu slide */
.mobile-menu-enter {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Parallax effect */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Number counter effect */
@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.count-animation {
    animation: countUp 0.6s ease-out;
}


/* New Section CSS */

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.card {
    background: #fff;
    border: 1px solid var(--color-muted);
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.section-title {
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(1.75rem, 1rem + 2vw, 2.5rem);
    line-height: 1.2;
}

.text-muted {
    color: rgba(31, 31, 31, 0.7);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.scroller-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.scroller {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.scroller-item {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    margin: 0 30px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.scroller-item:hover {
    transform: scale(1.1);
}

.scroller-item img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
}

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

    100% {
        transform: translateX(-50%);
    }
}

.scroller:hover {
    animation-play-state: paused;
}