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

html {
    scroll-behavior: smooth;
}

/* Animation Delays */
.ani-delay-0 {
    animation-delay: 0s;
}

.ani-delay-1000 {
    animation-delay: 1s;
}

.ani-delay-2000 {
    animation-delay: 2s;
}

.ani-delay-3000 {
    animation-delay: 3s;
}

.ani-delay-4000 {
    animation-delay: 4s;
}

.ani-delay-500 {
    animation-delay: 0.5s;
}

.ani-delay-1500 {
    animation-delay: 1.5s;
}

/* KPI Widths */
.kpi-w-15 {
    width: 15%;
}

.kpi-w-80 {
    width: 80%;
}

.kpi-w-100 {
    width: 100%;
}

/* Table Widths */
.tbl-w-95 {
    width: 95%;
}

.tbl-w-92 {
    width: 92%;
}

.tbl-w-88 {
    width: 88%;
}

body {
    font-family: 'Inter', sans-serif;
    /* Base dark color */
    background-color: #0a0a0f;
    /* Text color for readability */
    color: #e2e8f0;
    overflow-x: hidden;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glow Text */
.text-glow {
    text-shadow: 0 0 20px #39FF14, 0 0 40px #39FF14, 0 0 60px #39FF14;
}

.text-glow-gold {
    text-shadow: 0 0 20px #FFBF00, 0 0 40px #FFBF00;
}

/* CTA Button Shine Effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

/* Card Hover Effects */
.skill-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.skill-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(57, 255, 20, 0.2);
}

.skill-card:hover .card-icon {
    transform: scale(1.2) rotate(5deg);
    color: #FFBF00;
}

/* Timeline Styles */
.timeline-line {
    background: linear-gradient(180deg, #39FF14 0%, #FFBF00 50%, #39FF14 100%);
}

.timeline-node {
    transition: all 0.3s ease;
}

.timeline-node:hover {
    transform: scale(1.3);
    box-shadow: 0 0 30px #39FF14;
}

/* Floating Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, #39FF14 0%, transparent 70%);
    pointer-events: none;
    animation: float 8s infinite ease-in-out;
}

/* Grid Pattern Background - Fixed Layering */
.grid-pattern {
    background-color: #0a0a0f;
    background-image:
        /* Top: Green Grid Lines */
        linear-gradient(rgba(57, 255, 20, 0.03) 1px, transparent 1px),
        /* Top: Green Grid Lines (Vertical) */
        linear-gradient(90deg, rgba(57, 255, 20, 0.03) 1px, transparent 1px),
        /* Bottom: Dark Blue Gradient */
        linear-gradient(135deg, #0f172a 0%, #0a0a0f 50%, #1e1b4b 100%);

    background-size: 50px 50px, 50px 50px, 100% 100%;
    background-repeat: repeat, repeat, no-repeat;
    background-attachment: scroll, scroll, fixed;
}

/* Scroll indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

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

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Animations */
@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(57, 255, 20, 0.7);
    }
}

@keyframes float {

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

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

.animate-slide-up {
    animation: slide-up 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-fade-in {
    animation: fade-in 1.5s ease forwards;
}

.animate-glow {
    animation: glow 3s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem !important;
    }

    .hero-subtitle {
        font-size: 1.25rem !important;
    }
}