@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Inter:wght@400;600;800&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #059669 0%, #047857 100%);
    --accent-gradient: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.5);
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #f0fdf4;
    overflow-x: hidden;
}

/* --- Utilities --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Moving Banner / Ticker --- */
.ticker-wrap {
    position: fixed;
    top: 0;
    width: 100%;
    overflow: hidden;
    height: 2rem;
    /* Reduced height */
    background: linear-gradient(90deg, #b91c1c, #991b1b);
    padding-left: 100%;
    box-sizing: content-box;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
}

.ticker-item {
    display: inline-block;
    height: 2rem;
    /* Reduced height */
    line-height: 2rem;
    /* Reduced height */
    white-space: nowrap;
    padding-right: 100%;
    box-sizing: content-box;
    animation: ticker 40s linear infinite;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    /* Reduced font size */
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* --- Hero Section --- */
.hero-bg {
    margin-top: 2rem;
    /* Matched to ticker height */
    background-image: url('https://skill.jk.gov.in/cms/wp-content/uploads/2025/07/IMG_20240519_172359-1-scaled.jpg');
    background-size: cover;
    background-position: center 20%;
    /* Focused more on top-center */
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(6, 78, 59, 0.95), rgba(4, 120, 87, 0.8));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-animate-entry {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Animations --- */
.pulse-ring {
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* --- Component Cards --- */
.feature-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #10B981;
}

/* --- Enroll Button --- */
.enroll-btn-glow {
    background: var(--accent-gradient);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
}

.enroll-btn-glow:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.8);
}

.enroll-btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }

    100% {
        transform: translateX(100%) rotate(30deg);
    }
}

.accordion-arrow {
    transition: transform 0.3s ease;
}

.rotate-180 {
    transform: rotate(180deg);
}

/* --- Form Styling --- */
input,
select {
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

input:focus,
select:focus {
    transform: scale(1.01);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}