/* Custom Styles & Overrides */
body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8fafc;
    /* Slate 50 */
    color: #262626;
    /* Slate 800 */
}

header {
    position: relative;
    z-index: 100;
}


/* Chart Container Strict Styling */
.chart-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 300px;
    max-height: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .chart-container {
        height: 350px;
    }
}

/* Scrollytelling Animation Classes */
.process-stage {
    transition: all 0.8s ease-in-out;
    opacity: 0.5;
    transform: scale(0.9);
}

.process-stage.active {
    opacity: 1;
    transform: scale(1.05);
    border-color: #f97316;
    /* Orange-500 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Hide Scrollbar for clean UI in specific divs */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Modal transitions */
.modal-enter {
    opacity: 0;
    transform: scale(0.95);
}

.modal-enter-active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 300ms, transform 300ms;
}

.modal-exit {
    opacity: 1;
    transform: scale(1);
}

.modal-exit-active {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 200ms, transform 200ms;
}

/* Navigation Active State */
.nav-link.active {
    color: #f97316;
    /* Orange 500 */
    border-bottom: 2px solid #f97316;
}

/* Scroll Lock */
body.overflow-hidden {
    overflow: hidden !important;
}

/* Header and Footer gradients for darker edges */
.header-gradient {
    background: radial-gradient(circle at center, #111827 0%, rgba(0, 0, 0, 0.9) 100%);
}

.footer-gradient {
    background: radial-gradient(circle at center, #111827 0%, rgba(0, 0, 0, 0.9) 100%);
}

/* BUTTONS */
.btn-primary {
    background: linear-gradient(180deg, #f97316, #d65a00);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 28px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    font-weight: 600;
    position: relative;
    z-index: 60;
}

.glow-text {
    text-shadow:
        0 0 10px rgba(249, 115, 22, 0.35),
        0 0 30px rgba(249, 115, 22, 0.15);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.35s ease-out;
}

@keyframes spinSlow {
    to {
        transform: rotate(360deg);
    }
}

.animate-spinSlow {
    animation: spinSlow 1.4s linear infinite;
}

/* Video Parallax Styles */
.parallax-video {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Video text animation */
.video-text-content {
    transition: all 1s ease-out;
}