/* ====== Custom Styles & Animations ====== */
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --primary: #1c64f2;
    --secondary: #3f83f8;
    --darkbg: #0a1128;
}

body {
    background-color: var(--darkbg);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1128; 
}
::-webkit-scrollbar-thumb {
    background: #1c64f2; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3f83f8; 
}

/* Typing Effect Cursor */
#dynamic-roles::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: var(--primary);
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger reveals for children if needed */
.reveal.active .delay-1 { transition-delay: 0.1s; }
.reveal.active .delay-2 { transition-delay: 0.2s; }
.reveal.active .delay-3 { transition-delay: 0.3s; }

/* Timeline Circle Active State (Experience) */
.is-active .border-4 {
    border-color: #1c64f2 !important;
    background-color: #fff !important;
    box-shadow: 0 0 15px rgba(28, 100, 242, 0.8);
}
