/* ----------------------------------------------------
   1. DESIGN SYSTEM & ROOT VARIABLES
---------------------------------------------------- */
:root {
    /* Color Palette */
    --primary: #4f46e5;         /* Premium Indigo */
    --primary-light: #818cf8;
    --primary-dark: #3730a3;
    --secondary: #06b6d4;       /* Bright Cyan */
    --secondary-light: #22d3ee;
    --accent: #d946ef;          /* Neon Fuchsia */
    --success: #10b981;         /* Emerald Green */
    --warning: #f59e0b;         /* Amber Gold */
    --danger: #ef4444;          /* Soft Crimson */
    
    /* Backgrounds */
    --bg-main: #f8fafc;         /* Light Slate 50 */
    --bg-card: rgba(255, 255, 255, 0.85); /* Glass card base */
    --bg-card-dark: #0f172a;    /* Deep Slate 900 */
    --bg-footer: #0b0f19;       /* Slate 950 */
    
    /* Text */
    --text-main: #1e293b;       /* Slate 800 */
    --text-light: #ffffff;
    --text-muted: #64748b;      /* Slate 500 */
    --text-indigo: #4338ca;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #d946ef 0%, #8b5cf6 100%);
    --gradient-gold: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    --gradient-silver: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
    --gradient-bronze: linear-gradient(135deg, #fed7aa 0%, #ea580c 100%);
    --gradient-glow: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(79, 70, 229, 0) 70%);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
    --shadow-premium: 0 20px 40px -15px rgba(79, 70, 229, 0.07), 0 0 0 1px rgba(79, 70, 229, 0.04);
    --shadow-hover: 0 30px 60px -15px rgba(79, 70, 229, 0.15), 0 0 0 1px rgba(79, 70, 229, 0.08);
    --shadow-whatsapp: 0 12px 24px -10px rgba(37, 211, 102, 0.5);

    /* Borders */
    --border-glass: 1px solid rgba(255, 255, 255, 0.6);
    --border-glass-dark: 1px solid rgba(255, 255, 255, 0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
}

/* ----------------------------------------------------
   2. GLOBAL STYLES & RESET
---------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    width: 0%;
    z-index: 10000;
    transition: width 0.1s ease-out;
}

/* Scroll Offset for Navigation */
.scroll-offset {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-2-1 {
    grid-template-columns: 2fr 1fr;
}

.text-center {
    text-align: center;
}

.mt-2 { margin-top: 1.5rem; }
.mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1.5rem; }
.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

/* ----------------------------------------------------
   3. BACKGROUND BLOBS (COSMIC LAYOUT)
---------------------------------------------------- */
.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

.bg-blob {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(140px);
    opacity: 0.45;
    mix-blend-mode: multiply;
}

.blob-1 {
    top: 5%;
    right: -10%;
    width: 500px;
    height: 500px;
    background-color: rgba(129, 140, 248, 0.4); /* soft indigo */
    animation: float-blob-1 30s infinite alternate ease-in-out;
}

.blob-2 {
    top: 30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background-color: rgba(34, 211, 238, 0.35); /* soft cyan */
    animation: float-blob-2 25s infinite alternate ease-in-out;
}

.blob-3 {
    top: 65%;
    right: 5%;
    width: 550px;
    height: 550px;
    background-color: rgba(217, 70, 239, 0.3); /* soft fuchsia */
    animation: float-blob-1 20s infinite alternate-reverse ease-in-out;
}

@keyframes float-blob-1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -70px) scale(1.1); }
    100% { transform: translate(-30px, 40px) scale(0.9); }
}

@keyframes float-blob-2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-60px, 80px) scale(0.85); }
    100% { transform: translate(40px, -50px) scale(1.05); }
}

/* ----------------------------------------------------
   4. GLASSMORPHISM COMPONENTS
---------------------------------------------------- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(79, 70, 229, 0.25);
}

/* ----------------------------------------------------
   5. BUTTONS & UI CONTROLS
---------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px 0 rgba(79, 70, 229, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--text-light);
    box-shadow: var(--shadow-whatsapp);
    font-size: 1.05rem;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -10px rgba(37, 211, 102, 0.7);
}

.btn-full {
    width: 100%;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: 0.8s;
    opacity: 0;
}

.btn-glow:hover::after {
    opacity: 1;
    left: 120%;
}

/* ----------------------------------------------------
   6. HEADER & NAVIGATION
---------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    z-index: 999;
    transition: var(--transition-normal);
}

.site-header.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.logo-subtitle {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 2px;
    line-height: 1.1;
}

/* Nav Links */
.desktop-nav .nav-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.desktop-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

.desktop-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.desktop-nav .nav-link:hover {
    color: var(--primary);
}

.desktop-nav .nav-link:hover::after {
    width: 100%;
}

.desktop-nav .nav-link.active {
    color: var(--primary);
}

.desktop-nav .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    outline: none;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-normal);
}

/* Mobile Toggle Cross State */
.mobile-toggle.active .bar-1 {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .bar-2 {
    opacity: 0;
}

.mobile-toggle.active .bar-3 {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.1);
    z-index: 1000;
    padding: 100px 30px 40px;
    transition: var(--transition-slow);
    overflow-y: auto;
}

.mobile-drawer.open {
    right: 0;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.mobile-nav-link:hover {
    color: var(--primary);
    padding-left: 10px;
}

.mobile-drawer-cta {
    margin-top: 20px;
}

/* ----------------------------------------------------
   7. HERO SECTION
---------------------------------------------------- */
.hero-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    position: relative;
}

.hero-container {
    align-items: center;
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.15);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px var(--accent);
    animation: ripple 1.5s infinite;
}

.badge-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-dark);
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine-text 5s linear infinite;
}

@keyframes shine-text {
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 580px;
}

.typing-text {
    color: var(--primary);
    font-weight: 700;
    border-right: 2px solid var(--primary);
    padding-right: 4px;
    animation: cursor-blink 0.8s infinite;
}

@keyframes cursor-blink {
    50% { border-color: transparent; }
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-features {
    display: flex;
    gap: 24px;
}

.h-feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.h-feat-icon {
    color: var(--success);
    font-size: 1.1rem;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
    position: relative;
    padding: 20px;
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    z-index: -1;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.15);
}

.hero-img-element {
    border-radius: var(--radius-lg);
    width: 100%;
    object-fit: cover;
    border: var(--border-glass);
}

/* Floating Glass Tags */
.floating-tag {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-glass);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 30px -10px rgba(15, 23, 42, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 5s infinite ease-in-out;
}

.tag-top-right {
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.tag-bottom-left {
    bottom: 12%;
    left: -8%;
    animation-delay: 2.5s;
}

.tag-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.gold-color {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.tag-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
}

.tag-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes ripple {
    0% { box-shadow: 0 0 0 0 rgba(217, 70, 239, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(217, 70, 239, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 70, 239, 0); }
}

/* ----------------------------------------------------
   8. STATS SECTION
---------------------------------------------------- */
.stats-section {
    padding-bottom: 60px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    padding: 36px 40px;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.75rem;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background-color: rgba(15, 23, 42, 0.08);
}

/* ----------------------------------------------------
   9. SECTION HEADERS
---------------------------------------------------- */
.section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ----------------------------------------------------
   10. ABOUT US SECTION
---------------------------------------------------- */
.about-section {
    padding: 80px 0;
}

.about-image-wrapper {
    position: relative;
    padding-right: 30px;
}

.about-frame {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.about-img-element {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 480px;
    object-fit: cover;
    border: var(--border-glass);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 24px 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-badge-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 1;
}

.about-badge-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.about-bullets {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.about-bullets li {
    display: flex;
    gap: 16px;
}

.bullet-icon {
    width: 44px;
    height: 44px;
    background: rgba(79, 70, 229, 0.08);
    border-radius: 50%;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.about-bullets h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.about-bullets p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ----------------------------------------------------
   11. COURSES SECTION
---------------------------------------------------- */
.courses-section {
    padding: 80px 0;
}

/* Course Filters */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.filter-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(79, 70, 229, 0.15);
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--text-light);
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

/* Course Cards */
.courses-grid {
    transition: all 0.4s ease;
}

.course-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Card Categories for Filtering Animations */
.course-card.hide {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    display: none;
}

.course-card.show {
    animation: zoom-in 0.4s ease forwards;
}

@keyframes zoom-in {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.course-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.tag-primary {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.tag-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.tag-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.course-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.25rem;
}

.bg-indigo { background: var(--gradient-primary); }
.bg-cyan { background: var(--gradient-secondary); }
.bg-purple { background: linear-gradient(135deg, #a855f7, #6366f1); }
.bg-pink { background: var(--gradient-accent); }

.course-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.course-description {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.course-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    padding-top: 16px;
}

.course-features li {
    font-size: 0.88rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-features i {
    color: var(--success);
    font-size: 0.85rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    padding-top: 16px;
}

.course-mode {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.course-card:hover .course-link {
    gap: 8px;
}

/* ----------------------------------------------------
   12. WHY CHOOSE US SECTION
---------------------------------------------------- */
.why-section {
    padding: 80px 0;
}

.why-card {
    padding: 30px;
    text-align: center;
}

.why-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: transform var(--transition-normal);
}

.why-card:hover .why-icon-box {
    transform: rotateY(180deg);
}

.bg-indigo-light { background-color: rgba(79, 70, 229, 0.08); }
.bg-cyan-light { background-color: rgba(6, 182, 212, 0.08); }
.bg-purple-light { background-color: rgba(139, 92, 246, 0.08); }
.bg-pink-light { background-color: rgba(217, 70, 239, 0.08); }

.text-indigo { color: var(--primary); }
.text-cyan { color: var(--secondary); }
.text-purple { color: #8b5cf6; }
.text-pink { color: var(--accent); }

.why-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ----------------------------------------------------
   13. FACULTY SECTION
---------------------------------------------------- */
.faculty-section {
    padding: 80px 0;
}

.faculty-card {
    overflow: hidden;
}

.faculty-img-wrapper {
    position: relative;
    height: 250px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faculty-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Faculty placeholders using stylish icons */
.faculty-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.bg-indigo-gradient { background: var(--gradient-primary); }
.bg-purple-gradient { background: linear-gradient(135deg, #a855f7, #6366f1); }
.bg-cyan-gradient { background: var(--gradient-secondary); }

.faculty-socials {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 10px 0;
    transition: var(--transition-normal);
}

.faculty-card:hover .faculty-socials {
    bottom: 0;
}

.faculty-socials a {
    color: var(--text-light);
    font-size: 1.1rem;
}

.faculty-socials a:hover {
    color: var(--secondary-light);
}

.faculty-info {
    padding: 24px;
    text-align: center;
}

.faculty-info h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 2px;
}

.faculty-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.faculty-expert {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.faculty-badge-exp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.04);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
}

/* ----------------------------------------------------
   14. RESULTS & ACHIEVEMENTS
---------------------------------------------------- */
.achievements-section {
    padding: 80px 0;
}

/* Featured Topper Card */
.featured-rank-card {
    padding: 0;
    overflow: hidden;
}

.featured-rank-img-col {
    position: relative;
    height: 100%;
}

.featured-rank-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 380px;
}

.gold-crown {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    background: var(--gradient-gold);
    border-radius: 50%;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.featured-rank-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rank-badge {
    align-self: flex-start;
    background: var(--gradient-gold);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25);
}

.featured-rank-info h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.rank-exam {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 16px;
    display: block;
}

.rank-quote {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary-light);
    padding-left: 14px;
}

.rank-verify {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--success);
}

/* Ranks Sub Grid */
.ranks-sub-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rank-sub-card {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.rank-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-shrink: 0;
    text-align: center;
}

.badge-silver {
    background: var(--gradient-silver);
    box-shadow: 0 4px 10px rgba(148, 163, 184, 0.3);
}

.badge-bronze {
    background: var(--gradient-bronze);
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.25);
}

.rank-sub-details h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
}

.rank-sub-exam {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    display: block;
}

.rank-sub-reg {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

/* ----------------------------------------------------
   15. TESTIMONIALS SECTION
---------------------------------------------------- */
.testimonials-section {
    padding: 80px 0;
}

.testimonial-slider-container {
    position: relative;
    max-w: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.testimonial-slide {
    width: 100%;
    flex-shrink: 0;
    opacity: 0.3;
    transform: scale(0.95);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.testimonial-slide.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-card {
    padding: 44px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 3rem;
    color: rgba(79, 70, 229, 0.08);
    pointer-events: none;
}

.rating-stars {
    color: var(--warning);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
}

.t-text {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 28px;
}

.t-student {
    display: flex;
    align-items: center;
    gap: 16px;
}

.t-student-initials {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t-student h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.2;
}

.t-exam-achieved {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--primary);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 28px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: var(--border-glass);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.slider-btn:hover {
    background: var(--gradient-primary);
    color: var(--text-light);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.15);
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-dots .dot.active {
    width: 28px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
}

/* ----------------------------------------------------
   16. GALLERY SECTION
---------------------------------------------------- */
.gallery-section {
    padding: 80px 0;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.g-filter-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-normal);
}

.g-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.g-filter-btn.active {
    background: var(--gradient-primary);
    color: var(--text-light);
    border-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    padding: 0;
    cursor: pointer;
}

.gallery-item.hide {
    display: none;
}

.gallery-item.show {
    animation: zoom-in 0.4s ease forwards;
}

.gallery-img-container {
    position: relative;
    width: 100%;
    height: 250px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.gallery-overlay h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.gallery-zoom-btn {
    align-self: flex-start;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition-normal);
}

.gallery-zoom-btn:hover {
    background: var(--text-light);
    color: var(--text-main);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 15, 25, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.lightbox-close-btn {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 3rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
}

.lightbox-close-btn:hover {
    color: var(--danger);
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: zoom-in-lite 0.3s ease-out;
}

@keyframes zoom-in-lite {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-caption {
    color: var(--text-light);
    margin-top: 16px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.1rem;
    text-align: center;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition-normal);
}

.lightbox-nav-btn:hover {
    background: var(--text-light);
    color: var(--text-main);
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

/* ----------------------------------------------------
   17. FAQS SECTION
---------------------------------------------------- */
.faqs-section {
    padding: 80px 0;
}

.faqs-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    overflow: hidden;
    padding: 0;
}

.faq-trigger {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
}

.faq-icon {
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
}

.faq-content {
    padding: 0 24px 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(15, 23, 42, 0.03);
}

/* ----------------------------------------------------
   18. CONTACT US & FORM
---------------------------------------------------- */
.contact-section {
    padding: 80px 0;
}

.contact-info {
    padding-right: 20px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
}

.c-method-card {
    padding: 20px;
    display: flex;
    gap: 20px;
}

.c-method-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.c-method-card h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.c-method-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-ctas {
    margin-top: 30px;
}

/* Contact Form */
.contact-form-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.contact-form-card h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 6px;
}

.contact-form-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(15, 23, 42, 0.15);
    border-radius: var(--radius-sm);
    outline: none;
    color: var(--text-main);
    transition: var(--transition-normal);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: var(--text-light);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* Floating Label Engine */
.floating-label-group {
    position: relative;
}

.floating-label-group label {
    position: absolute;
    top: 14px;
    left: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-fast);
    background: transparent;
    padding: 0 4px;
}

.floating-label-group .form-control:focus ~ label,
.floating-label-group .form-control:not(:placeholder-shown) ~ label {
    top: -8px;
    left: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background-color: var(--text-light);
    padding: 0 6px;
    border-radius: 4px;
    box-shadow: 0 -2px 0 var(--text-light);
}

.required {
    color: var(--danger);
}

/* Error Messages */
.error-msg {
    display: none;
    font-size: 0.8rem;
    color: var(--danger);
    margin-top: 4px;
}

.form-group.invalid .form-control {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-group.invalid .error-msg {
    display: block;
}

/* Submit Button Statuses */
#submit-form-btn .btn-spinner {
    display: none;
}

#submit-form-btn.loading .btn-text {
    display: none;
}

#submit-form-btn.loading .btn-spinner {
    display: inline-block;
}

/* Form Success Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--text-light);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.form-success-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.success-content .success-icon {
    font-size: 3.5rem;
    color: var(--success);
    margin-bottom: 16px;
    animation: scale-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-content h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.success-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@keyframes scale-up {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Map Wrapper */
.map-wrapper {
    padding: 32px;
}

.map-wrapper h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.map-wrapper p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.map-iframe-container {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

/* ----------------------------------------------------
   19. FOOTER
---------------------------------------------------- */
.site-footer {
    background-color: var(--bg-footer);
    color: #94a3b8; /* Slate 400 */
    font-size: 0.92rem;
    position: relative;
    z-index: 10;
}

.site-footer .logo-title {
    color: var(--text-light);
}

.site-footer .logo-subtitle {
    color: var(--secondary-light);
}

.footer-top {
    padding: 80px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col-desc {
    display: flex;
    flex-direction: column;
}

.footer-summary {
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.social-links a:hover {
    border-color: var(--primary-light);
    color: var(--text-light);
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.site-footer h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 24px;
    position: relative;
}

.site-footer h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--text-light);
    transform: translateX(4px);
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-details li {
    display: flex;
    gap: 12px;
}

.footer-contact-details i {
    color: var(--secondary-light);
    font-size: 1rem;
    margin-top: 4px;
}

.footer-contact-details a:hover {
    color: var(--text-light);
}

.footer-bottom {
    padding: 30px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-separator {
    color: rgba(255, 255, 255, 0.1);
}

.footer-legal-links a:hover {
    color: var(--text-light);
}

/* ----------------------------------------------------
   20. SCROLL TO TOP BUTTON
---------------------------------------------------- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
    outline: none;
}

.scroll-top-btn.show {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.scroll-top-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

/* ----------------------------------------------------
   21. INTERACTIVE SCROLL ANIMATION (AOS REPLACEMENT)
---------------------------------------------------- */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.animated, .reveal-left.animated, .reveal-right.animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* ----------------------------------------------------
   22. RESPONSIVE BREAKPOINTS (MEDIA QUERIES)
---------------------------------------------------- */

/* Laptop Screens (under 1200px) */
@media (max-width: 1200px) {
    :root {
        --container-width: 960px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-img-element {
        height: 420px;
    }
}

/* Tablet Screens (under 992px) */
@media (max-width: 992px) {
    :root {
        --container-width: 720px;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2, .grid-2-1 {
        grid-template-columns: 1fr;
    }
    
    /* Hero section wraps */
    .hero-container {
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Stats Layout */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 30px;
    }
    
    .stat-divider {
        display: none;
    }
    
    /* About us Section wraps */
    .about-image-wrapper {
        padding-right: 0;
        max-width: 500px;
        margin: 0 auto 30px;
    }
    
    .about-badge {
        right: -10px;
        bottom: -10px;
        padding: 16px 20px;
    }
    
    /* Achievements featured wrapper layout */
    .featured-rank-card {
        grid-template-columns: 1fr;
    }
    
    .featured-rank-img-col {
        height: 280px;
    }
    
    .featured-rank-info {
        padding: 30px;
    }
    
    /* Gallery grid spacing */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Header Mobile Toggle Transition Breakpoint (under 1080px) */
@media (max-width: 1080px) {
    .desktop-nav {
        display: none;
    }
    
    .nav-cta-btn {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
}

/* Mobile Toggles & Drawers (under 768px) */
@media (max-width: 768px) {
    :root {
        --container-width: 540px;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .t-text {
        font-size: 0.95rem;
    }
    
    .contact-form-card {
        padding: 24px;
    }
    
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

/* Small Mobile Screens (under 576px) */
@media (max-width: 576px) {
    :root {
        --container-width: 100%;
    }
    
    .grid-4, .grid-3, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .floating-tag {
        display: none; /* Hide floating tags on small screens to save space */
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
}
