/* =====================================================
   PREMIUM ANIMATIONS - SPECIALIZED COMPONENTS
   ===================================================== */

/* =====================================================
   TESTIMONIAL MARQUEE SLIDER
   ===================================================== */

.testimonial-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: var(--space-lg) 0;
    background: rgba(0, 0, 0, 0.3);
}

.marquee-track {
    display: flex;
    gap: var(--space-md);
    animation: marquee 30s linear infinite;
    will-change: transform;
}

.testimonial-item {
    flex: 0 0 400px;
    padding: var(--space-lg);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.testimonial-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.5) 0%,
            rgba(139, 92, 246, 0.5) 50%,
            rgba(236, 72, 153, 0.5) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.08) 50%,
            transparent 70%);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

.testimonial-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow:
        0 24px 48px rgba(59, 130, 246, 0.25),
        0 12px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.testimonial-item:hover::before {
    opacity: 1;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .testimonial-item {
        flex: 0 0 300px;
    }
}

/* =====================================================
   PREMIUM HERO SECTION
   ===================================================== */

.hero-premium {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.3) 0%,
            rgba(139, 92, 246, 0.3) 100%);
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 0.3;
        filter: hue-rotate(0deg);
    }

    50% {
        opacity: 0.5;
        filter: hue-rotate(30deg);
    }
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    bottom: 20%;
    right: 15%;
    animation-delay: 3s;
}

.hero-shape-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    top: 60%;
    left: 60%;
    animation-delay: 6s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content-premium {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 0 var(--space-md);
}

.hero-title {
    margin-bottom: var(--space-md);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    margin-bottom: var(--space-lg);
    animation: fadeInUp 1s 0.2s ease-out backwards;
}

.hero-cta {
    animation: fadeInUp 1s 0.4s ease-out backwards;
}

/* =====================================================
   STATS SECTION - PREMIUM
   ===================================================== */

.stats-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    padding: var(--space-xl) 0;
}

.stat-card {
    padding: var(--space-xl);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(28px) saturate(200%);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg,
            #3b82f6 0%,
            #8b5cf6 50%,
            #ec4899 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow:
        0 30px 60px rgba(59, 130, 246, 0.35),
        0 15px 30px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        0 0 80px rgba(59, 130, 246, 0.2);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover::after {
    width: 300px;
    height: 300px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: var(--space-sm);
    display: block;
}

.stat-label {
    font-size: 1.125rem;
    color: #000000;
    font-weight: 500;
}

/* =====================================================
   FACULTY CARDS - PREMIUM
   ===================================================== */

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.faculty-card {
    position: relative;
    padding: var(--space-xl);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.14) 0%,
            rgba(255, 255, 255, 0.09) 100%);
    backdrop-filter: blur(32px) saturate(190%);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    text-align: center;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.faculty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    transition: left 0.8s ease;
}

.faculty-card::after {
    content: '';
    position: absolute;
    inset: -1.5px;
    border-radius: inherit;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.6) 0%,
            rgba(139, 92, 246, 0.6) 50%,
            rgba(236, 72, 153, 0.6) 100%);
    z-index: -1;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.6s ease;
}

.faculty-card:hover {
    transform: translateY(-16px) rotateX(2deg);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow:
        0 32px 64px rgba(59, 130, 246, 0.3),
        0 16px 32px rgba(0, 0, 0, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        0 0 100px rgba(139, 92, 246, 0.25);
}

.faculty-card:hover::before {
    left: 100%;
}

.faculty-card:hover::after {
    opacity: 1;
}

.faculty-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--glass-border);
    transition: var(--transition-base);
    position: relative;
}

.faculty-card:hover .faculty-avatar {
    border-color: var(--electric-blue);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.faculty-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.faculty-card:hover .faculty-avatar img {
    transform: scale(1.1);
}

.faculty-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.faculty-subject {
    font-size: 1rem;
    color: var(--electric-blue);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.faculty-qualification {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =====================================================
   COURSE CARDS - BENTO STYLE
   ===================================================== */

.courses-bento {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-auto-rows: 300px;
    gap: var(--space-md);
}

.course-card {
    padding: var(--space-xl);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.16) 0%,
            rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(30px) saturate(195%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.course-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.15) 0%,
            rgba(139, 92, 246, 0.15) 50%,
            rgba(236, 72, 153, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.course-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
            rgba(59, 130, 246, 0.15) 0%,
            transparent 50%);
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.course-card:hover::before {
    opacity: 1;
}

.course-card:hover::after {
    transform: scale(1);
}

.course-card:hover {
    transform: translateY(-14px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow:
        0 28px 56px rgba(59, 130, 246, 0.3),
        0 14px 28px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        0 0 60px rgba(59, 130, 246, 0.15);
}

.course-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--electric-blue), var(--electric-violet));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.course-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.course-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

/* =====================================================
   CURSOR GLOW (Optional)
   ===================================================== */

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
}

/* =====================================================
   SECTION BACKGROUNDS
   ===================================================== */

.section-dark {
    background: var(--midnight);
    position: relative;
}

.section-darker {
    background: rgba(0, 0, 0, 0.5);
    position: relative;
}

.section-glow {
    position: relative;
}

.section-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(59, 130, 246, 0.5) 50%,
            transparent 100%);
}