/* style.css */

:root {
    --primary: #0001FC;
    --primary-dark: #DE2D25;
    --bg-color: #f0f4f8;
    --card-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
}

.dark {
    --bg-color: #0f172a;
    /* Tailwind slate-900 */
    --card-bg: rgba(30, 41, 59, 0.7);
    /* Tailwind slate-800 with opacity */
    --glass-border: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-color);
    overflow-x: hidden;
    transition: background-color 0.5s ease;
}

/* Glassmorphism utility */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    transition: background 0.3s ease, border 0.3s ease;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, background 0.3s ease, border 0.3s ease;
}

.dark .glass-card {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 45px 0 rgba(31, 38, 135, 0.15);
}

.dark .glass-card:hover {
    box-shadow: 0 15px 45px 0 rgba(0, 1, 252, 0.15);
}

/* Form Inputs */
.glass-input {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.dark .glass-input {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.glass-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 1, 252, 0.2);
}

/* Gradients */
.blue-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.blue-gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 1, 252, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 1, 252, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 1, 252, 0);
    }
}

.animate-pulse-glow {
    animation: pulse-glow 2s infinite;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Timeline Custom Styles */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid white;
    box-shadow: 0 0 0 4px rgba(0, 1, 252, 0.2);
    transition: all 0.3s ease;
}

.dark .timeline-item::before {
    border-color: #1e293b;
}

.timeline-item:hover::before {
    background: #fff;
    border-color: var(--primary);
    transform: scale(1.2);
}