/* =======================
   Google Fonts
======================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

/* =======================
   Root Variables - Premium Edition
======================= */
:root {
    /* Primary Colors - Premium Blue */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --primary-soft: #3b82f6;
    --primary-glow: rgba(37, 99, 235, 0.5);
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #3b82f6 100%);
    --primary-gradient-reverse: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #2563eb 100%);
    --primary-gradient-light: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    /* Accent Colors */
    --accent-1: #7c3aed;
    --accent-2: #db2777;
    --accent-glow: rgba(124, 58, 237, 0.4);
    /* Neutral Colors - Premium Grayscale */
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748b;
    --gray-500: #94a3b8;
    --gray-400: #cbd5e1;
    --gray-300: #d1d5db;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    /* Shadows - Premium */
    --shadow-sm: 0 2px 4px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-2xl: 0 30px 60px -15px rgb(0 0 0 / 0.3);
    --shadow-glow: 0 0 20px var(--primary-glow);
    --shadow-glow-intense: 0 0 30px var(--primary-glow), 0 0 60px var(--primary-glow);
    /* Border Radius - Premium */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 40px;
    --radius-full: 9999px;
    /* Transitions - Premium */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-elastic: all 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    /* Glassmorphism - Premium */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-bg-dark: rgba(0, 0, 0, 0.2);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-border-strong: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --glass-blur: blur(12px);
    --glass-blur-strong: blur(20px);
    /* Gradients - Premium */
    --gradient-primary: linear-gradient(135deg, #2563eb, #1d4ed8, #3b82f6, #2563eb);
    --gradient-primary-shine: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa, #3b82f6, #2563eb);
    --gradient-dark: linear-gradient(135deg, #0f172a, #1e293b, #334155);
    --gradient-shine: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    --gradient-shine-strong: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    /* 3D Effects */
    --3d-perspective: 1000px;
    --3d-rotate: rotateY(10deg) rotateX(5deg);
}

/* =======================
   Base Styles
======================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

    /* Premium Background Effect */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.05) 0%, transparent 30%), radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.05) 0%, transparent 30%), radial-gradient(circle at 40% 80%, rgba(219, 39, 119, 0.03) 0%, transparent 30%);
        pointer-events: none;
        z-index: -1;
        animation: backgroundShift 20s ease-in-out infinite alternate;
    }

@keyframes backgroundShift {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* =======================
   Typography - Premium
======================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.3;
    color: var(--gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    position: relative;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--gray-900), var(--primary), var(--accent-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientFlow 8s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
}

@media (min-width: 992px) {
    h1 {
        font-size: 3.5rem;
    }
}

h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

@media (min-width: 768px) {
    h2 {
        font-size: 2.5rem;
    }
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    transition: var(--transition-elastic);
}

h2:hover::after {
    width: 120px;
    box-shadow: var(--shadow-glow);
}

h2.text-start::after {
    left: 0;
    transform: none;
}

.lead {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
    position: relative;
}

@media (min-width: 768px) {
    .lead {
        font-size: 1.2rem;
        line-height: 1.8;
    }
}

/* Gradient Text Effect */
.gradient-text {
    background: var(--gradient-primary-shine);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite;
}

/* =======================
   Navbar - Premium Glass Effect
======================= */
.navbar {
    background: rgba(30, 41, 59, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.6rem 0 !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    width: 100%;
    margin: 0 !important;
    min-height: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 992px) {
    .navbar {
        padding: 0.8rem 0 !important;
        min-height: 70px;
    }
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: navbarShine 8s infinite;
    pointer-events: none;
}

@keyframes navbarShine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.navbar > .container-fluid {
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
}

/* Navbar Brand - Premium */
.navbar-brand {
    color: var(--white) !important;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-elastic);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .navbar-brand {
        font-size: 1.3rem;
        gap: 0.6rem;
    }
}

@media (min-width: 992px) {
    .navbar-brand {
        font-size: 1.5rem;
        gap: 0.75rem;
    }
}

.navbar-brand i {
    color: var(--primary);
    font-size: 1.3rem;
    filter: drop-shadow(0 0 15px var(--primary-glow));
    animation: float 3s ease-in-out infinite;
    transition: var(--transition-elastic);
}

.navbar-brand:hover i {
    transform: rotate(360deg) scale(1.2);
    filter: drop-shadow(0 0 25px var(--primary-glow));
}

.navbar-brand:hover {
    transform: translateY(-3px);
    text-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

/* Navbar Toggler */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0.3rem;
    border-radius: var(--radius);
    transition: var(--transition-elastic);
    background: rgba(255,255,255,0.05);
}

    .navbar-toggler:hover {
        border-color: var(--primary);
        transform: scale(1.1) rotate(90deg);
        background: rgba(37,99,235,0.2);
    }

/* Navbar Links - Premium */
.nav-link {
    color: var(--gray-300) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius);
    transition: var(--transition-elastic);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 0.95rem;
}

    .nav-link::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(37, 99, 235, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
        z-index: -1;
    }

    .nav-link:hover::before {
        width: 200%;
        height: 200%;
    }

    .nav-link:hover {
        color: var(--white) !important;
        transform: translateY(-3px) scale(1.05);
        text-shadow: 0 2px 10px rgba(255,255,255,0.3);
    }

    .nav-link.active {
        color: var(--white) !important;
        background: var(--primary-gradient);
        box-shadow: var(--shadow-glow);
    }

/* Dropdown Menu - Premium */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(255,255,255,0.1);
    padding: 0.75rem;
    animation: fadeInDown 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: none;
    overflow: hidden;
}

    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--gradient-primary-shine);
        animation: gradientShift 3s infinite;
    }

@keyframes gradientShift {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.dropdown-item {
    padding: 0.75rem 1.2rem;
    border-radius: var(--radius);
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition-elastic);
    position: relative;
    overflow: hidden;
}

    .dropdown-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 3px;
        background: var(--primary-gradient);
        transform: scaleY(0);
        transition: transform 0.3s;
    }

    .dropdown-item:hover::before {
        transform: scaleY(1);
    }

    .dropdown-item:hover {
        background: var(--gray-100);
        color: var(--primary);
        transform: translateX(10px) scale(1.02);
        box-shadow: var(--shadow);
    }

    .dropdown-item i {
        margin-right: 0.75rem;
        color: var(--primary);
        width: 1.5rem;
        display: inline-block;
        transition: var(--transition-elastic);
    }

    .dropdown-item:hover i {
        transform: scale(1.2) rotate(10deg);
        color: var(--accent-1);
    }
/* =======================
   Hero Slider - Premium
======================= */
.hero-slider {
    width: 100%;
    height: 550px;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    top: -2px; /* Thora sa upar karne ke liye negative margin - navbar ke saath merge karne ke liye */
    z-index: 1;
}

@media (min-width: 992px) {
    .hero-slider {
        height: 700px;
        top: -3px; /* Desktop par thora aur adjust */
    }
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

    .heroSwiper .swiper-slide {
        position: relative;
        display: flex;
        align-items: center;
        background-size: cover;
        background-position: center;
        background-color: var(--gray-900);
        transition: transform 10s ease;
    }

        .heroSwiper .swiper-slide::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15,23,42,.97) 0%, rgba(37,99,235,.9) 100%);
            z-index: 1;
            animation: gradientShift 10s ease infinite;
        }

        .heroSwiper .swiper-slide::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.2) 0%, transparent 60%);
            z-index: 2;
            pointer-events: none;
            animation: pulse 4s ease infinite;
        }

        .heroSwiper .swiper-slide .container-fluid {
            position: relative;
            z-index: 3;
            display: flex;
            align-items: center;
            height: 100%;
            padding: 2rem 1rem;
            margin-top: 20px;
        }

        /* Hero Text Animations */
        .heroSwiper .swiper-slide h1 {
            color: #fff;
            font-size: 1.8rem;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 0.8rem;
            text-shadow: 2px 2px 10px rgba(0,0,0,.5);
            animation: fadeInUp 1s ease, glowPulse 3s infinite;
            -webkit-text-fill-color: white;
            transform: translateY(-15px);
        }

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 2px 2px 10px rgba(0,0,0,0.5), 0 0 20px rgba(37,99,235,0.3);
    }

    50% {
        text-shadow: 2px 2px 15px rgba(0,0,0,0.5), 0 0 40px rgba(37,99,235,0.6);
    }
}

@media (min-width: 576px) {
    .heroSwiper .swiper-slide h1 {
        font-size: 2.2rem;
        transform: translateY(-20px);
    }
}

@media (min-width: 768px) {
    .heroSwiper .swiper-slide h1 {
        font-size: 2.8rem;
        margin-bottom: 1rem;
        transform: translateY(-25px);
    }
}

@media (min-width: 992px) {
    .heroSwiper .swiper-slide h1 {
        font-size: 3.2rem;
        margin-bottom: 1.2rem;
        transform: translateY(-30px);
    }
}

.heroSwiper .swiper-slide p {
    color: rgba(255,255,255,.95);
    font-size: 0.95rem;
    max-width: 600px;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
    transform: translateY(-10px);
}

@media (min-width: 768px) {
    .heroSwiper .swiper-slide p {
        transform: translateY(-15px);
        font-size: 1.1rem;
    }
}

/* Hero Buttons */
.heroSwiper .swiper-slide .btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    transition: var(--transition-elastic);
    position: relative;
    overflow: hidden;
    border: none;
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translateY(-5px);
}

@media (min-width: 768px) {
    .heroSwiper .swiper-slide .btn {
        transform: translateY(-10px);
        padding: 0.7rem 1.8rem;
        font-size: 1rem;
    }
}

.heroSwiper .swiper-slide .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.heroSwiper .swiper-slide .btn:hover::before {
    left: 100%;
}

.heroSwiper .swiper-slide .btn-light {
    background: rgba(255,255,255,0.95);
    color: var(--gray-900);
    backdrop-filter: blur(5px);
}

    .heroSwiper .swiper-slide .btn-light:hover {
        background: white;
        transform: translateY(-15px) scale(1.05) !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.3), 0 0 20px rgba(37,99,235,0.5);
    }

.heroSwiper .swiper-slide .btn-outline-light {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(5px);
}

    .heroSwiper .swiper-slide .btn-outline-light:hover {
        background: white;
        color: var(--gray-900);
        transform: translateY(-15px) scale(1.05) !important;
        border-color: white;
        box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }

/* Hero Image - UPDATED: Mobile size reduced */
.heroSwiper .swiper-slide img {
    animation: float 4s ease-in-out infinite, rotate 20s linear infinite;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,.5)) drop-shadow(0 0 20px rgba(37,99,235,0.3));
    transform: translateY(-15px);
    max-height: 300px; /* Default max-height */
    width: auto;
}

@media (min-width: 768px) {
    .heroSwiper .swiper-slide img {
        transform: translateY(-25px);
        max-height: 400px; /* Desktop par normal size */
    }
}

/* MOBILE SPECIFIC - Icon size reduced */
@media (max-width: 767px) {
    .heroSwiper .swiper-slide img {
        max-height: 200px !important; /* Mobile par icon size chota kiya */
        transform: translateY(-5px);
    }

    .heroSwiper .swiper-slide .container-fluid {
        padding-top: 30px;
    }

    .heroSwiper .swiper-slide h1 {
        transform: translateY(-10px);
        font-size: 1.6rem;
    }

    .heroSwiper .swiper-slide p {
        transform: translateY(-5px);
    }

    .heroSwiper .swiper-slide .btn {
        transform: translateY(0);
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Stats Preview */
.heroSwiper .stats-preview {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 1rem;
    animation: fadeInUp 1s ease 0.3s both, glow 3s infinite;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(-15px);
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0,0,0,0.2), 0 0 20px rgba(37,99,235,0.2);
    }

    50% {
        box-shadow: 0 15px 40px rgba(0,0,0,0.3), 0 0 40px rgba(37,99,235,0.4);
    }
}

.heroSwiper .stats-preview h3 {
    color: #fff;
    margin: 0;
    font-weight: 800;
    font-size: 1.2rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    animation: countUp 2s ease;
}

/* Swiper Navigation - UPDATED: Positioned more to the right */
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    display: none;
}

@media (min-width: 992px) {
    .heroSwiper .swiper-button-next,
    .heroSwiper .swiper-button-prev {
        display: flex;
        color: #fff;
        background: rgba(255,255,255,0.15);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255,255,255,0.3);
        transition: var(--transition-elastic);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    /* Next button - more to the right */
    .heroSwiper .swiper-button-next {
        right: 30px !important; /* Increased from default */
    }

    /* Previous button - adjusted accordingly */
    .heroSwiper .swiper-button-prev {
        left: auto !important;
        right: 90px !important; /* Positioned relative to next button */
    }

        .heroSwiper .swiper-button-next:hover,
        .heroSwiper .swiper-button-prev:hover {
            background: var(--primary-gradient);
            transform: scale(1.2) rotate(360deg);
            border-color: transparent;
            box-shadow: var(--shadow-glow-intense);
        }
}

/* Even larger screens ke liye aur right shift */
@media (min-width: 1400px) {
    .heroSwiper .swiper-button-next {
        right: 50px !important;
    }

    .heroSwiper .swiper-button-prev {
        right: 110px !important;
    }
}

/* Swiper Pagination */
.heroSwiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #fff;
    opacity: .5;
    transition: var(--transition-elastic);
    margin: 0 4px !important;
}

.heroSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px var(--primary);
}
/* =======================
   Statistics Cards - Premium 3D Effect
======================= */
.stat-card {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-900));
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 1.5rem 0.5rem;
    text-align: center;
    transition: var(--transition-elastic);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform-style: preserve-3d;
    perspective: var(--3d-perspective);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

    .stat-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
        opacity: 0;
        transition: var(--transition);
        z-index: -1;
        animation: rotate 20s linear infinite;
    }

    .stat-card:hover::before {
        opacity: 1;
    }

    .stat-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, transparent, rgba(37, 99, 235, 0.3));
        transform: translateY(100%);
        transition: var(--transition);
        z-index: -1;
    }

    .stat-card:hover::after {
        transform: translateY(0);
    }

    .stat-card:hover {
        transform: translateY(-15px) scale(1.05) rotateX(5deg);
        box-shadow: var(--shadow-2xl), 0 0 40px var(--primary-glow);
        border-color: rgba(37, 99, 235, 0.3);
    }

    .stat-card i {
        color: var(--white);
        font-size: 2rem;
        margin-bottom: 0.8rem;
        filter: drop-shadow(0 0 20px rgba(255,255,255,0.5));
        transition: var(--transition-elastic);
        animation: float 3s ease-in-out infinite;
    }

    .stat-card:hover i {
        transform: scale(1.3) rotateY(180deg) translateZ(20px);
        color: var(--primary-light);
        filter: drop-shadow(0 0 30px rgba(37,99,235,0.8));
    }

    .stat-card h2, .stat-card h3 {
        color: var(--white);
        font-size: 1.5rem;
        font-weight: 800;
        margin-bottom: 0.3rem;
        background: linear-gradient(135deg, #fff, var(--primary-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        transform: translateZ(10px);
        animation: countUp 2s ease;
    }

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transform: translateZ(5px);
}

/* =======================
   Feature Cards - Premium
======================= */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-elastic);
    height: 100%;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: var(--3d-perspective);
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
        background: linear-gradient(135deg, var(--primary-light), var(--primary), var(--accent-1));
        clip-path: circle(0% at 50% 50%);
        transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
        opacity: 0.9;
    }

    .feature-card:hover::before {
        clip-path: circle(150% at 50% 50%);
    }

    .feature-card::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
        opacity: 0;
        transition: var(--transition);
        z-index: -1;
        animation: rotate 30s linear infinite;
    }

    .feature-card:hover::after {
        opacity: 1;
    }

    .feature-card:hover {
        transform: translateY(-20px) scale(1.05) rotateX(5deg);
        box-shadow: var(--shadow-2xl), 0 20px 40px rgba(37,99,235,0.4);
        border-color: transparent;
    }

        .feature-card:hover * {
            color: var(--white) !important;
            text-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

    .feature-card i {
        font-size: 2.5rem;
        color: var(--primary);
        margin-bottom: 1.2rem;
        transition: var(--transition-elastic);
        display: inline-block;
        filter: drop-shadow(0 5px 15px rgba(37,99,235,0.3));
        transform: translateZ(20px);
    }

    .feature-card:hover i {
        transform: scale(1.3) rotateY(360deg) translateZ(30px);
        color: var(--white) !important;
        filter: drop-shadow(0 0 30px rgba(255,255,255,0.8));
    }

    .feature-card h4 {
        color: var(--gray-900);
        font-size: 1.2rem;
        font-weight: 800;
        margin-bottom: 0.8rem;
        transition: var(--transition);
        transform: translateZ(15px);
    }

    .feature-card p {
        color: var(--gray-600);
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
        line-height: 1.6;
        flex-grow: 1;
        transform: translateZ(10px);
    }

    .feature-card .badge {
        background: var(--gray-100);
        color: var(--gray-700);
        padding: 0.5rem 1rem;
        border-radius: var(--radius-full);
        font-weight: 600;
        font-size: 0.85rem;
        transition: var(--transition-elastic);
        border: 1px solid var(--gray-200);
        display: inline-block;
        align-self: center;
        margin-top: auto;
        transform: translateZ(5px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .feature-card:hover .badge {
        background: var(--white);
        color: var(--primary);
        border-color: var(--white);
        transform: scale(1.1) translateZ(10px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

/* =======================
   Student Cards - Premium
======================= */
.student-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-elastic);
    cursor: pointer;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    height: 100%;
    transform-style: preserve-3d;
    perspective: var(--3d-perspective);
}

    .student-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 0;
        background: var(--primary-gradient);
        transition: height 0.4s ease;
        z-index: 2;
    }

    .student-card:hover::before {
        height: 100%;
    }

    .student-card::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 150px;
        height: 150px;
        background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
        opacity: 0;
        transition: var(--transition);
        border-radius: 50%;
        animation: pulse 3s infinite;
    }

    .student-card:hover::after {
        opacity: 1;
    }

    .student-card:hover {
        transform: translateX(15px) translateY(-10px) rotateX(2deg);
        box-shadow: var(--shadow-2xl), 10px 15px 30px rgba(37,99,235,0.3);
        border-color: transparent;
    }

    .student-card .d-flex {
        display: flex;
        align-items: center;
        height: 100%;
        position: relative;
        z-index: 3;
    }

.student-avatar {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-elastic);
    border: 3px solid var(--white);
    box-shadow: var(--shadow);
    margin-right: 1rem;
    transform: translateZ(10px);
}

.student-card:hover .student-avatar {
    background: var(--primary-gradient);
    transform: scale(1.15) rotate(360deg) translateZ(20px);
    border-color: var(--white);
    box-shadow: var(--shadow-glow-intense);
}

.student-avatar i {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition-elastic);
}

.student-card:hover .student-avatar i {
    color: var(--white);
    transform: scale(1.2) rotate(10deg);
}

.student-info {
    flex: 1;
    min-width: 0;
    transform: translateZ(5px);
}

    .student-info h5 {
        color: var(--gray-900);
        font-weight: 800;
        margin-bottom: 0.25rem;
        font-size: 1.1rem;
        transition: var(--transition);
    }

.student-card:hover .student-info h5 {
    color: var(--primary);
    transform: translateX(5px);
}

.student-info .badge {
    background: var(--gray-100);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.75rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition-elastic);
    display: inline-block;
    margin-top: 0.25rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.student-card:hover .badge {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.1) translateX(5px);
    box-shadow: 0 5px 15px rgba(37,99,235,0.3);
}

.student-info small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    transition: var(--transition);
}

.student-card:hover small {
    color: var(--gray-700) !important;
}

/* =======================
   Testimonial Cards - Premium
======================= */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-elastic);
    position: relative;
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: var(--3d-perspective);
}

    .testimonial-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: var(--radius-2xl);
        padding: 2px;
        background: linear-gradient(135deg, var(--primary), var(--accent-1), var(--accent-2));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .testimonial-card:hover::before {
        opacity: 1;
        animation: borderRotate 4s linear infinite;
    }

@keyframes borderRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.testimonial-card:hover {
    transform: translateY(-15px) scale(1.02) rotateX(2deg);
    box-shadow: var(--shadow-2xl), 0 20px 40px rgba(37,99,235,0.3);
}

.testimonial-card .bi-quote {
    color: var(--primary);
    opacity: 0.15;
    font-size: 5rem;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    transition: var(--transition-elastic);
    filter: drop-shadow(0 5px 15px rgba(37,99,235,0.3));
}

.testimonial-card:hover .bi-quote {
    opacity: 0.3;
    transform: scale(1.3) rotate(15deg) translateZ(20px);
    color: var(--accent-1);
}

.testimonial-card p {
    color: var(--gray-700);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    transition: var(--transition);
    transform: translateZ(10px);
}

.testimonial-card:hover p {
    color: var(--gray-900);
}

.testimonial-card .d-flex {
    display: flex;
    align-items: center;
    margin-top: auto;
    position: relative;
    z-index: 2;
    transform: translateZ(15px);
}

.testimonial-card .bi-person-circle {
    font-size: 2.5rem;
    color: var(--primary);
    margin-right: 1rem;
    transition: var(--transition-elastic);
    filter: drop-shadow(0 5px 10px rgba(37,99,235,0.3));
}

.testimonial-card:hover .bi-person-circle {
    transform: scale(1.2) rotate(360deg);
    color: var(--accent-1);
    filter: drop-shadow(0 10px 20px rgba(124,58,237,0.4));
}

.testimonial-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.1rem;
    transition: var(--transition);
}

.testimonial-card:hover h5 {
    color: var(--primary);
    transform: translateX(5px);
}

/* =======================
   Newsletter Section - Premium
======================= */
.newsletter-section {
    background: var(--gradient-primary-shine);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

    .newsletter-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
        animation: rotate 30s linear infinite;
        opacity: 0.5;
    }

    .newsletter-section::after {
        content: '';
        position: absolute;
        bottom: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
        animation: rotate 40s linear infinite reverse;
        opacity: 0.4;
    }

.newsletter-form .input-group {
    box-shadow: var(--shadow-2xl);
    border-radius: var(--radius-full);
    overflow: hidden;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: var(--transition-elastic);
}

    .newsletter-form .input-group:hover {
        box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(255,255,255,0.5);
        transform: scale(1.02);
    }

.newsletter-form .form-control {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    height: auto;
    flex: 1;
    background: transparent;
    color: white;
}

    .newsletter-form .form-control::placeholder {
        color: rgba(255,255,255,0.7);
    }

.newsletter-form .btn {
    margin: 0.25rem;
    border-radius: var(--radius-full);
    padding: 0.8rem 2rem;
    background: white;
    color: var(--primary);
    border: none;
    font-weight: 700;
    transition: var(--transition-elastic);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

    .newsletter-form .btn:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 15px 30px rgba(0,0,0,0.3), 0 0 30px rgba(255,255,255,0.5);
        background: var(--primary-gradient);
        color: white;
    }

/* =======================
   CTA Section - Premium
======================= */
.cta-section {
    background: var(--gradient-primary-shine);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

    .cta-section .btn-light {
        background: rgba(255,255,255,0.95);
        color: var(--gray-900);
        font-weight: 700;
        padding: 1rem 2.5rem;
        border-radius: var(--radius-full);
        transition: var(--transition-elastic);
        position: relative;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

        .cta-section .btn-light:hover {
            transform: translateY(-8px) scale(1.05);
            box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(255,255,255,0.5);
            background: white;
        }

/* =======================
   Footer - Premium
======================= */
.footer {
    background: linear-gradient(135deg, var(--gray-900), #0f172a, #1a1f2f);
    color: var(--gray-400);
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary), var(--accent-1), var(--accent-2), var(--primary), transparent);
        animation: shimmer 3s infinite;
        opacity: 0.7;
    }

    .footer::after {
        content: '';
        position: absolute;
        bottom: -100px;
        right: -100px;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
        border-radius: 50%;
        animation: pulse 6s infinite;
    }

    .footer h5 {
        color: var(--white);
        font-size: 1.1rem;
        font-weight: 800;
        margin-bottom: 1.5rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        position: relative;
        text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    }

        .footer h5::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--primary-gradient);
            border-radius: var(--radius-full);
            animation: widthPulse 3s infinite;
        }

@keyframes widthPulse {
    0%, 100% {
        width: 40px;
    }

    50% {
        width: 60px;
    }
}

.footer a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-elastic);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

    .footer a::before {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary-gradient);
        transition: var(--transition);
    }

    .footer a:hover::before {
        width: 100%;
    }

    .footer a:hover {
        color: var(--white);
        transform: translateX(8px);
    }

    .footer a i {
        color: var(--primary);
        font-size: 1rem;
        transition: var(--transition-elastic);
    }

    .footer a:hover i {
        transform: scale(1.2) rotate(360deg);
        color: var(--accent-1);
    }

/* Social Links - Premium */
.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
        border-radius: 50%;
        color: var(--white);
        transition: var(--transition-elastic);
        border: 1px solid rgba(255,255,255,0.1);
        position: relative;
        overflow: hidden;
        transform-style: preserve-3d;
    }

        .social-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--primary-gradient);
            opacity: 0;
            transition: var(--transition);
            z-index: -1;
        }

        .social-links a:hover::before {
            opacity: 1;
        }

        .social-links a:hover {
            transform: translateY(-8px) scale(1.2) rotateY(180deg);
            color: var(--white);
            border-color: transparent;
            box-shadow: var(--shadow-glow-intense);
        }

        .social-links a i {
            margin: 0;
            font-size: 1.3rem;
            transition: var(--transition-elastic);
        }

        .social-links a:hover i {
            transform: scale(1.2) rotate(360deg);
        }

/* =======================
   Premium Animations
======================= */
@keyframes float {
    0%, 100% {
        transform: translateY(0) translateZ(0);
    }

    50% {
        transform: translateY(-15px) translateZ(20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) translateZ(0);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateZ(10px);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateZ(0);
    }

    to {
        opacity: 1;
        transform: scale(1) translateZ(10px);
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.scale-in {
    animation: scaleIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* =======================
   Responsive Utilities
======================= */
@media (max-width: 576px) {
    .stat-card {
        padding: 1rem 0.3rem;
    }

        .stat-card i {
            font-size: 1.5rem;
        }

        .stat-card h2 {
            font-size: 1.2rem;
        }

    .feature-card {
        padding: 1.5rem 1rem;
    }

        .feature-card i {
            font-size: 2rem;
        }

    .student-card {
        padding: 1rem;
    }

    .student-avatar {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .student-info h5 {
        font-size: 1rem;
    }
}

/* =======================
   Loading Animation
======================= */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =======================
   Scrollbar Styling
======================= */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #0f172a;
    }

