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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    background: #ffffff;
}

/* Glassmorphism Effect for Light Mode */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(67, 0, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.glass-dark {
    background: rgba(22, 17, 121, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(67, 0, 255, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #4300FF, #00CAFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient Button */
.btn-gradient {
    background: linear-gradient(135deg, #4300FF, #00CAFF);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(67, 0, 255, 0.4);
}

/* Glow Effect */
.glow {
    box-shadow: 0 0 30px rgba(0, 202, 255, 0.2);
}


.timeline-line {
    position: absolute;
    /* Mobile: Aligns with center of w-16 (4rem) icon -> 2rem center */
    left: 2rem;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: linear-gradient(180deg, rgba(67, 0, 255, 0) 0%, #4300FF 15%, #00CAFF 85%, rgba(0, 202, 255, 0) 100%);
    z-index: 0;
    border-radius: 4px;
}

/* Desktop: Move line to center */
@media (min-width: 768px) {
    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Optional: Add little arrows pointing to the center line on desktop */
    .arrow-right-md::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -10px;
        transform: translateY(-50%);
        border-width: 10px 0 10px 10px;
        border-color: transparent transparent transparent #fff;
    }
    .arrow-left-md::after {
        content: '';
        position: absolute;
        top: 50%;
        left: -10px;
        transform: translateY(-50%);
        border-width: 10px 10px 10px 0;
        border-color: transparent #fff transparent transparent;
    }
}


/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee {
    animation: marquee 15s linear infinite;
}

/* Accordion */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

/* Pulse Animation */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 202, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 202, 255, 0.6); }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-20px); }
    60% { transform: translateX(-50%) translateY(-10px); }
}

/* Counter Animation */
.counter {
    font-variant-numeric: tabular-nums;
}

/* Image Overlay Hover */
.image-overlay {
    position: relative;
    overflow: hidden;
}

.image-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(67, 0, 255, 0.8), rgba(0, 202, 255, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-overlay:hover::after {
    opacity: 0.9;
}

.image-overlay-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.image-overlay:hover .image-overlay-content {
    opacity: 1;
}


.helvetica-bold {
    font-family: 'Helvetica Neue', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}


.gradient-text {
    background: linear-gradient(135deg, #4300FF 0%, #00CAFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    background: linear-gradient(135deg, #4300FF 0%, #161179 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(67, 0, 255, 0.4);
}

.btn-secondary {
    border: 2px solid #00CAFF;
    color: #00CAFF;
    background: rgba(0, 202, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #00CAFF;
    color: #161179;
    transform: translateY(-2px);
}

.card {
    background: #ffffff;
    border: 1px solid rgba(67, 0, 255, 0.1);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(67, 0, 255, 0.15);
    border-color: #4300FF;
}

.section-bg-light {
    background: #EEF7FF;
}

.section-bg-dark {
    background: linear-gradient(135deg, #161179 0%, #4300FF 100%);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.process-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4300FF 0%, #00CAFF 100%);
    z-index: 0;
}

nav {
    /* background: rgba(255, 255, 255, 0.95); */
    border-bottom: 1px solid rgba(67, 0, 255, 0.1);
}

.tech-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(67, 0, 255, 0.1) 0%, rgba(0, 202, 255, 0.1) 100%);
    border-radius: 12px;
    font-weight: 700;
    color: #4300FF;
    font-size: 1.25rem;
}



html { scroll-behavior: smooth; }

/* Desktop Link underline animation */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #4300FF;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* Initial state for GSAP Overlay */
#mobile-menu-overlay { visibility: hidden; opacity: 0; }

/* =========================================
    CRITICAL FIXES FOR FULL BLUE BACKGROUND
    ========================================= */

/* 2. Turn the toggle button WHITE and rotate it */
body.menu-open #mobile-menu-btn {
    color: #ffffff !important;
    transform: rotate(180deg);
}

/* 3. Turn the logo WHITE (optional, looks better pro) */
/* If you want to HIDE the logo instead, use: opacity: 0 !important; */
body.menu-open #brand-logo img {
    filter: brightness(0) invert(1) !important;
}

/* Hero Specific Styles */
.hero-content h1 {
    font-feature-settings: "ss01", "ss02"; /* Modern Font Features */
}

/* Ensure the background gradient text works on all browsers */
.text-transparent {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Ensure navbar is transparent when menu is open */
body.menu-open #navbar {
    background-color: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

/* Add/Update this class */
.marquee-container {
    width: 100%;
    overflow: hidden; /* This stops the horizontal scrollbar */
    position: relative;
    display: flex;
    white-space: nowrap; /* Keeps items in a line */
}
