/* ============================================
   PREMIUM COURSE PLATFORM - MAIN STYLESHEET
   ============================================ */

/* Prevent horizontal scrolling globally */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

:root {
    /* Custom Color Template */
    --primary: #5DD62C; /* Bright Green */
    --primary-dark: #337418; /* Dark Green */
    --primary-light: #7EE857; /* Light Green */
    --secondary: #337418; /* Dark Green */
    --accent: #5DD62C; /* Bright Green */
    --accent-light: #7EE857; /* Light Green */
    
    /* Dark Theme Base */
    --bg-primary: #0F0F0F; /* Very Dark */
    --bg-secondary: #202020; /* Dark Gray */
    --bg-tertiary: #2a2a2a; /* Slightly Lighter */
    --bg-card: rgba(32, 32, 32, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.05);
    
    /* Text Colors */
    --text-primary: #F8F8F8; /* Almost White */
    --text-secondary: #d0d0d0; /* Light Gray */
    --text-muted: #a0a0a0; /* Medium Gray */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #5DD62C 0%, #337418 100%);
    --gradient-secondary: linear-gradient(135deg, #0F0F0F 0%, #202020 100%);
    --gradient-accent: linear-gradient(135deg, #7EE857 0%, #5DD62C 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(93, 214, 44, 0.4);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(93, 214, 44, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(51, 116, 24, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(93, 214, 44, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
    box-sizing: border-box;
    height: auto;
    min-height: auto;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(93, 214, 44, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    transition: all var(--transition-base);
    padding: 0;
}

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
    border-bottom: 1px solid rgba(93, 214, 44, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-link {
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-heading);
    display: inline-block;
    transition: transform var(--transition-base);
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.625rem 1.125rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(93, 214, 44, 0.1);
    border-radius: 10px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-1px);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
    color: var(--primary-light);
}

.nav-link.active::before {
    opacity: 1;
    background: rgba(93, 214, 44, 0.15);
}

.nav-link.btn-nav {
    background: var(--gradient-primary);
    color: var(--bg-primary) !important;
    padding: 0.625rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(93, 214, 44, 0.4);
    font-weight: 600;
    margin-left: 0.5rem;
}

.nav-link.btn-nav::before {
    display: none;
}

.nav-link.btn-nav::after {
    display: none;
}

.nav-link.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 214, 44, 0.5);
    background: linear-gradient(135deg, #7EE857 0%, #5DD62C 50%, #337418 100%);
}

.nav-link.admin-link {
    color: var(--accent-light);
    position: relative;
}

.nav-link.admin-link::before {
    background: rgba(93, 214, 44, 0.15);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    padding: 0.5rem;
    transition: all var(--transition-base);
    z-index: 1001;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(93, 214, 44, 0.3);
}

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

/* ============================================
   ALERTS
   ============================================ */

.alert {
    position: fixed;
    top: 80px;
    right: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: slideInRight 0.3s ease;
    max-width: 400px;
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    position: relative;
    z-index: 1;
    min-height: auto;
    padding-top: 80px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(var(--spacing-lg), 6vw, var(--spacing-xl)) var(--spacing-md);
    overflow: hidden;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 10;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(93, 214, 44, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(51, 116, 24, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(93, 214, 44, 0.08) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10 !important;
    max-width: 900px;
    pointer-events: auto;
}

/* ============================================
   HERO TITLE - WHITE & NEON GREEN
   ============================================ */
.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    font-family: var(--font-heading);
    margin: 0 0 var(--spacing-md) 0;
    padding: 0;
    background: linear-gradient(135deg, #ffffff 0%, #5DD62C 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 11;
    display: block;
    text-align: center;
    animation: fadeInUp 0.8s ease, gradientShift 3s ease infinite;
    filter: drop-shadow(0 0 5px rgba(93, 214, 44, 0.3));
}

/* ============================================
   HERO SUBTITLE - FRESH, CLEAN CSS
   ============================================ */
.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: #ffffff;
    margin: 0 0 var(--spacing-lg) 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 11;
    display: block;
    text-align: center;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 0 0 5px rgba(93, 214, 44, 0.2), 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
    padding: clamp(var(--spacing-sm), 2.5vw, var(--spacing-sm)) clamp(var(--spacing-md), 4vw, var(--spacing-lg));
    font-size: clamp(1rem, 3vw, 1.1rem);
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    font-family: var(--font-primary);
    box-sizing: border-box;
    white-space: nowrap;
    min-height: 44px;
}

.btn-primary {
    background: var(--gradient-primary);
    background-size: 200% auto;
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    animation: buttonGlow 2s ease-in-out infinite;
}

.btn-primary::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.5s ease;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05) rotateX(5deg);
    box-shadow: 
        0 10px 30px rgba(93, 214, 44, 0.6),
        0 0 40px rgba(93, 214, 44, 0.4);
    background-position: 100% 50%;
    animation: none;
}

.btn-primary:hover::before {
    left: 100%;
}

@keyframes buttonGlow {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(93, 214, 44, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(93, 214, 44, 0.6);
    }
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid rgba(93, 214, 44, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(93, 214, 44, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-secondary:hover {
    background: rgba(93, 214, 44, 0.1);
    border-color: rgba(93, 214, 44, 0.5);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(93, 214, 44, 0.3);
}

.btn-secondary:hover::before {
    left: 100%;
}

/* ============================================
   FLOATING CARDS (3D EFFECT)
   ============================================ */

.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Add connecting lines between floating cards */
.floating-cards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(93, 214, 44, 0.05) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(51, 116, 24, 0.05) 50%, transparent 100%);
    opacity: 0.3;
    animation: pulse 6s ease-in-out infinite;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.1) 0%, rgba(51, 116, 24, 0.1) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(93, 214, 44, 0.3);
    border-radius: 20px;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(93, 214, 44, 0.2),
        inset 0 0 30px rgba(93, 214, 44, 0.15);
    overflow: hidden;
}

.floating-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(93, 214, 44, 0.3), transparent 70%);
    border-radius: 50%;
    opacity: 0.6;
    animation: glow 3s ease-in-out infinite, rotateGradient 8s linear infinite;
    pointer-events: none;
}

.floating-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(51, 116, 24, 0.2), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.floating-card:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation: float 6s ease-in-out infinite, rotate3d 20s linear infinite;
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.15) 0%, rgba(51, 116, 24, 0.1) 100%);
    border-color: rgba(93, 214, 44, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(93, 214, 44, 0.25),
        inset 0 0 30px rgba(93, 214, 44, 0.2);
}

.floating-card:nth-child(1)::before {
    background: radial-gradient(circle at 30% 30%, rgba(93, 214, 44, 0.4), transparent 70%);
}

.floating-card:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation: float 8s ease-in-out infinite, rotate3d 25s linear infinite reverse;
    background: linear-gradient(135deg, rgba(51, 116, 24, 0.15) 0%, rgba(93, 214, 44, 0.1) 100%);
    border-color: rgba(51, 116, 24, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(51, 116, 24, 0.25),
        inset 0 0 30px rgba(51, 116, 24, 0.2);
}

.floating-card:nth-child(2)::before {
    background: radial-gradient(circle at 70% 70%, rgba(51, 116, 24, 0.4), transparent 70%);
}

.floating-card:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    animation: float 7s ease-in-out infinite, rotate3d 22s linear infinite;
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.12) 0%, rgba(51, 116, 24, 0.12) 100%);
    border-color: rgba(93, 214, 44, 0.35);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 45px rgba(93, 214, 44, 0.22),
        inset 0 0 30px rgba(93, 214, 44, 0.18);
}

.floating-card:nth-child(3)::before {
    background: radial-gradient(circle at 50% 50%, rgba(93, 214, 44, 0.35), transparent 70%);
}

/* Floating card hover effect */
.floating-card:hover {
    border-color: rgba(93, 214, 44, 0.6);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(93, 214, 44, 0.4),
        inset 0 0 40px rgba(93, 214, 44, 0.25);
    transform: scale(1.05);
    animation-play-state: paused;
}

.floating-card:hover::before {
    opacity: 0.8;
    animation: glow 2s ease-in-out infinite, rotateGradient 4s linear infinite;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: clamp(var(--spacing-md), 3vw, var(--spacing-lg)) var(--spacing-md);
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    min-height: auto;
    height: auto;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    font-family: var(--font-heading);
    text-align: center;
    margin-bottom: clamp(var(--spacing-md), 3vw, var(--spacing-lg));
    background: var(--gradient-primary);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    position: relative;
    transform-style: preserve-3d;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: expandLine 1s ease-out, gradientShift 3s ease infinite;
}

@keyframes expandLine {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: clamp(1rem, 3vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto clamp(var(--spacing-md), 3vw, var(--spacing-lg));
    margin: 0 auto var(--spacing-lg);
}

/* ============================================
   COURSE CARDS
   ============================================ */

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.course-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: clamp(var(--spacing-sm), 2.5vw, var(--spacing-md));
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: auto;
    align-items: center;
}

.course-card > * {
    width: 100%;
    max-width: 100%;
}

.course-card ul {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.course-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(93, 214, 44, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.course-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(2deg) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(93, 214, 44, 0.4),
        inset 0 0 30px rgba(93, 214, 44, 0.1);
    border-color: rgba(93, 214, 44, 0.6);
    animation: none;
}

.course-card:hover::before {
    transform: scaleX(1);
    box-shadow: 0 0 20px rgba(93, 214, 44, 0.6);
}

.course-card:hover::after {
    opacity: 1;
    animation: rotateGradient 3s linear infinite;
}

.course-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.course-status.open {
    background: rgba(93, 214, 44, 0.2);
    color: #7EE857;
    border: 1px solid rgba(93, 214, 44, 0.3);
}

.course-status.coming_soon {
    background: rgba(51, 116, 24, 0.2);
    color: #5DD62C;
    border: 1px solid rgba(51, 116, 24, 0.3);
}

.course-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.course-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.course-duration {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.course-link {
    display: block;
    text-align: center;
    padding: var(--spacing-sm);
    background: var(--gradient-primary);
    background-size: 200% auto;
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.course-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.course-link:hover {
    transform: scale(1.05) translateZ(10px);
    box-shadow: 
        0 8px 20px rgba(93, 214, 44, 0.5),
        0 0 30px rgba(93, 214, 44, 0.3);
    background-position: 100% 50%;
}

.course-link:hover::before {
    width: 300px;
    height: 300px;
}

/* ============================================
   FORMS
   ============================================ */

.form-container {
    max-width: 800px;
    margin: var(--spacing-lg) auto;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(93, 214, 44, 0.2);
    border-radius: 20px;
    padding: clamp(var(--spacing-md), 3vw, var(--spacing-lg));
    transform-style: preserve-3d;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 100%;
    box-sizing: border-box;
}

.form-container:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(93, 214, 44, 0.2);
    border-color: rgba(93, 214, 44, 0.4);
}

.form-group {
    margin-bottom: var(--spacing-md);
    width: 100%;
    box-sizing: border-box;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    width: 100%;
    box-sizing: border-box;
}

.contact-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-submit-btn {
    width: 100%;
    max-width: 100%;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: clamp(1rem, 3vw, 1.1rem);
    box-sizing: border-box;
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--spacing-sm);
    background: rgba(32, 32, 32, 0.8);
    border: 1px solid rgba(93, 214, 44, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(93, 214, 44, 0.2);
    transform: translateY(-2px);
    background: rgba(32, 32, 32, 1);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(93, 214, 44, 0.2);
    transform: translateY(-2px);
}

.form-textarea {
    resize: vertical;
    min-height: clamp(100px, 15vw, 120px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ============================================
   ACHIEVEMENTS SECTION
   ============================================ */

.achievements-grid {
    margin-top: clamp(var(--spacing-lg), 4vw, var(--spacing-xl));
}

.achievement-card {
    text-align: center;
    padding: clamp(var(--spacing-md), 3vw, var(--spacing-lg));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.achievement-icon {
    width: clamp(48px, 8vw, 64px);
    height: clamp(48px, 8vw, 64px);
    margin: 0 auto clamp(var(--spacing-sm), 2vw, var(--spacing-md));
    color: var(--primary-light);
    flex-shrink: 0;
}

.counter {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin: clamp(var(--spacing-xs), 2vw, var(--spacing-sm)) 0;
    animation: gradientShift 3s ease infinite;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.achievement-card .course-title {
    margin-top: clamp(var(--spacing-xs), 2vw, var(--spacing-sm));
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin-bottom: clamp(var(--spacing-xs), 2vw, var(--spacing-sm));
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.achievement-card .course-description {
    font-size: clamp(0.9rem, 3vw, 1rem);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0;
}

.timeline-section {
    background: var(--bg-secondary);
    margin-top: clamp(var(--spacing-lg), 4vw, var(--spacing-xl));
    padding: clamp(var(--spacing-md), 3vw, var(--spacing-lg)) var(--spacing-md);
}

.timeline-container {
    max-width: min(800px, 95vw);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.timeline-card {
    margin-bottom: clamp(var(--spacing-sm), 2.5vw, var(--spacing-md));
    border-left: clamp(3px, 0.5vw, 4px) solid var(--primary);
    padding: clamp(var(--spacing-sm), 2.5vw, var(--spacing-md));
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
    min-height: auto;
    text-align: left;
}

.timeline-card:nth-child(2) {
    border-left-color: var(--secondary);
}

.timeline-card:nth-child(3) {
    border-left-color: var(--accent);
}

.timeline-year {
    color: var(--primary-light);
    margin-bottom: clamp(var(--spacing-xs), 1.5vw, var(--spacing-sm));
    font-size: clamp(1.3rem, 4vw, 1.6rem);
    font-weight: 700;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.timeline-description {
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
}

/* ============================================
   ENROLL BUTTON
   ============================================ */

.enroll-btn {
    font-size: clamp(1.1rem, 3.5vw, 1.2rem);
    padding: clamp(var(--spacing-sm), 2.5vw, var(--spacing-md)) clamp(var(--spacing-lg), 5vw, var(--spacing-xl));
    width: auto;
    min-width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    position: relative;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(93, 214, 44, 0.1);
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
    margin-top: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.footer-title {
    font-size: clamp(1.3rem, 4vw, 1.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: flex-start;
}

.social-link {
    width: clamp(36px, 8vw, 40px);
    height: clamp(36px, 8vw, 40px);
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid rgba(93, 214, 44, 0.2);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    transform: translateY(-5px) rotate(360deg) scale(1.1);
    box-shadow: 
        0 8px 20px rgba(93, 214, 44, 0.5),
        0 0 25px rgba(93, 214, 44, 0.4);
    border-color: rgba(93, 214, 44, 0.5);
    animation: socialPulse 0.6s ease;
}

@keyframes socialPulse {
    0%, 100% {
        transform: translateY(-5px) rotate(360deg) scale(1.1);
    }
    50% {
        transform: translateY(-8px) rotate(360deg) scale(1.15);
    }
}

.footer-heading {
    font-size: clamp(1rem, 3vw, 1.1rem);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    line-height: 1.4;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.8;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-links li:not(:has(a)) {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(93, 214, 44, 0.1);
    color: var(--text-muted);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.footer-bg-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 100%, rgba(93, 214, 44, 0.08) 0%, transparent 70%);
    animation: pulse 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   FOOTER DECORATIVE OBJECTS
   ============================================ */

.footer-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(93, 214, 44, 0.1) 0%, rgba(51, 116, 24, 0.1) 100%);
    border: 2px solid rgba(93, 214, 44, 0.2);
    backdrop-filter: blur(10px);
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

.footer-shape-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    border-radius: 20% 80% 20% 80%;
}

.footer-shape-2 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 10%;
    animation-delay: 2s;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    border-radius: 30%;
}

.footer-shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
    clip-path: circle(50%);
    border-radius: 50%;
}

.footer-shape-4 {
    width: 90px;
    height: 90px;
    top: 50%;
    right: 5%;
    animation-delay: 1s;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.footer-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(93, 214, 44, 0.3) 0%, transparent 70%);
    box-shadow: 0 0 30px rgba(93, 214, 44, 0.4), inset 0 0 20px rgba(93, 214, 44, 0.2);
    animation: orbFloat 10s ease-in-out infinite, orbGlow 3s ease-in-out infinite;
}

.footer-orb-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.footer-orb-2 {
    width: 40px;
    height: 40px;
    bottom: 30%;
    left: 25%;
    animation-delay: 3s;
}

.footer-orb-3 {
    width: 50px;
    height: 50px;
    top: 60%;
    right: 25%;
    animation-delay: 6s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    33% {
        transform: translateY(-20px) translateX(10px);
    }
    66% {
        transform: translateY(10px) translateX(-10px);
    }
}

@keyframes orbGlow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(93, 214, 44, 0.4), inset 0 0 20px rgba(93, 214, 44, 0.2);
        opacity: 0.6;
    }
    50% {
        box-shadow: 0 0 50px rgba(93, 214, 44, 0.6), inset 0 0 30px rgba(93, 214, 44, 0.3);
        opacity: 0.8;
    }
}

/* Footer decorative lines */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(93, 214, 44, 0.3) 20%, 
        rgba(93, 214, 44, 0.5) 50%, 
        rgba(93, 214, 44, 0.3) 80%, 
        transparent 100%
    );
    z-index: 2;
    animation: lineGlow 2s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.02);
    }
}

/* ============================================
   FOOTER RESPONSIVE DESIGN
   ============================================ */

/* Tablet (992px and below) */
@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .course-card {
        min-height: auto;
        height: auto;
    }
    
    .container {
        height: auto;
        min-height: auto;
        padding: 0 var(--spacing-sm);
    }
    
    .section {
        min-height: auto;
        height: auto;
    }
    
    .form-container {
        max-width: 100%;
        padding: var(--spacing-md);
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .achievement-card {
        padding: clamp(var(--spacing-sm), 2.5vw, var(--spacing-md));
    }
    
    .achievement-icon {
        width: clamp(44px, 9vw, 60px);
        height: clamp(44px, 9vw, 60px);
    }
    
    .counter {
        font-size: clamp(2.2rem, 9vw, 3.8rem);
    }
    
    .timeline-container {
        max-width: min(750px, 95vw);
        padding: 0 var(--spacing-sm);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .footer-section.footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: var(--spacing-md);
    }

    .footer-text {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .footer {
        padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-md);
        margin-top: var(--spacing-lg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-md);
        text-align: center;
    }

    .footer-section {
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin-bottom: var(--spacing-md);
    }

    .footer-section:last-child {
        margin-bottom: 0;
    }

    .footer-section.footer-brand {
        text-align: center;
    }

    .footer-title {
        text-align: center;
    }

    .footer-text {
        text-align: center;
        max-width: 100%;
        padding: 0 var(--spacing-xs);
    }

    .social-links {
        justify-content: center;
        gap: var(--spacing-xs);
    }

    .footer-heading {
        text-align: center;
    }

    .footer-links {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links li {
        text-align: center;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .footer {
        padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
        margin-top: var(--spacing-md);
    }

    .footer-content {
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }

    .footer-section {
        margin-bottom: var(--spacing-md);
        padding: 0;
    }

    .footer-title {
        font-size: clamp(1.2rem, 6vw, 1.4rem);
        margin-bottom: var(--spacing-xs);
    }

    .footer-text {
        font-size: clamp(0.85rem, 3.5vw, 0.95rem);
        margin-bottom: var(--spacing-sm);
        line-height: 1.6;
    }

    .social-links {
        gap: var(--spacing-xs);
    }

    .social-link {
        width: clamp(36px, 9vw, 40px);
        height: clamp(36px, 9vw, 40px);
        min-width: 36px;
        min-height: 36px;
    }

    .social-link svg {
        width: clamp(18px, 4.5vw, 20px);
        height: clamp(18px, 4.5vw, 20px);
    }

    .footer-heading {
        font-size: clamp(0.95rem, 4vw, 1.05rem);
        margin-bottom: var(--spacing-xs);
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a,
    .footer-links li:not(:has(a)) {
        font-size: clamp(0.85rem, 3.5vw, 0.95rem);
    }

    .footer-bottom {
        padding-top: var(--spacing-sm);
        font-size: clamp(0.75rem, 3vw, 0.85rem);
        line-height: 1.6;
    }

    .footer-bg-animation {
        opacity: 0.4;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg);
    }
    50% {
        transform: translateY(-8px) rotateX(2deg);
    }
}

@keyframes featureFloat {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    50% {
        transform: translateY(-10px) rotateY(2deg);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(2deg);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1.15) rotate(5deg);
    }
    50% {
        transform: scale(1.25) rotate(5deg);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1.15) rotate(5deg);
    }
    50% {
        transform: scale(1.25) rotate(5deg);
    }
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate3d {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(10deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
        filter: hue-rotate(0deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(93, 214, 44, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(93, 214, 44, 0.8);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}


@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg);
    }
    50% {
        transform: translateY(-5px) rotateX(5deg);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .navbar .container {
        padding: 0.875rem var(--spacing-md);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 5rem var(--spacing-lg) var(--spacing-lg);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
        align-items: flex-start;
        gap: 0.5rem;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: -100%;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(2px);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
    }

    .nav-menu.active::before {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 1.25rem;
        border-radius: 12px;
        margin-bottom: 0.25rem;
        font-size: 1rem;
    }

    .nav-link.btn-nav {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active {
        background: rgba(93, 214, 44, 0.2);
        border-color: rgba(93, 214, 44, 0.4);
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    .form-container {
        max-width: 100%;
        padding: var(--spacing-md);
        margin: var(--spacing-md) auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .form-group {
        margin-bottom: var(--spacing-sm);
    }
    
    .contact-submit-btn {
        width: 100%;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1rem;
    }
    
    .enroll-btn {
        font-size: clamp(1rem, 4vw, 1.15rem);
        padding: var(--spacing-sm) var(--spacing-lg);
        min-width: 140px;
        width: auto;
    }
    
    .achievement-card {
        padding: var(--spacing-md);
    }
    
    .achievement-icon {
        width: clamp(40px, 10vw, 56px);
        height: clamp(40px, 10vw, 56px);
    }
    
    .counter {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }
    
    .timeline-container {
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }
    
    .timeline-card {
        padding: var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
    }

    .courses-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        padding: 0;
        gap: var(--spacing-sm);
        box-sizing: border-box;
    }

    .course-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
        padding: var(--spacing-sm);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .course-card > * {
        width: 100%;
        max-width: 100%;
    }
    
    .course-card ul {
        margin: var(--spacing-sm) 0;
        padding-left: 1.5rem;
        font-size: clamp(0.85rem, 3vw, 0.95rem);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .course-card li {
        margin-bottom: var(--spacing-xs);
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .course-card svg {
        flex-shrink: 0;
    }
    
    /* Progress bars in About section */
    .course-card > div[style*="height: clamp"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .footer {
        padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-md);
        margin-top: var(--spacing-lg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-md);
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

.footer-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.footer-section.footer-brand {
    text-align: left;
}

@media (max-width: 768px) {
    .footer-section.footer-brand {
        text-align: center;
    }
}

    .social-links {
        justify-content: center;
    }

    .footer-title {
        text-align: center;
    }

    .footer-text {
        text-align: center;
        max-width: 100%;
    }

    .footer-heading {
        text-align: center;
        margin-bottom: var(--spacing-sm);
    }

    .footer-links {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links li {
        text-align: center;
    }

    .footer-bottom {
        padding-top: var(--spacing-sm);
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }

    .section {
        padding: var(--spacing-md) var(--spacing-sm);
        width: 100%;
        max-width: 100%;
        min-height: auto;
        height: auto;
    }
    
    .hero {
        min-height: auto;
        height: auto;
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .main-content {
        min-height: auto;
        padding-top: 70px;
    }

    .container {
        padding: 0 var(--spacing-sm);
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 4rem);
        word-wrap: break-word;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem);
        word-wrap: break-word;
    }
}

/* ============================================
   FEATURES SECTION (Why Choose)
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    justify-items: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(93, 214, 44, 0.2);
    border-radius: 20px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
    width: 100%;
    min-height: auto;
    height: auto;
    transform-style: preserve-3d;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    animation: featureFloat 8s ease-in-out infinite;
}

.feature-card:nth-child(1) {
    animation-delay: 0s;
}

.feature-card:nth-child(2) {
    animation-delay: 2.5s;
}

.feature-card:nth-child(3) {
    animation-delay: 5s;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(93, 214, 44, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-12px) rotateX(3deg) rotateY(-2deg) scale(1.03);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(93, 214, 44, 0.5),
        inset 0 0 20px rgba(93, 214, 44, 0.1);
    border-color: rgba(93, 214, 44, 0.5);
    animation: none;
}

/* Feature Icon - PNG Logo Support */
.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(93, 214, 44, 0.3));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    animation: iconFloat 3s ease-in-out infinite;
    transform-style: preserve-3d;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg) translateZ(20px);
    filter: drop-shadow(0 8px 16px rgba(93, 214, 44, 0.5)) brightness(1.1);
    animation: iconPulse 1s ease-in-out;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-sm);
    color: var(--text-primary);
    font-family: var(--font-heading);
    text-align: center;
    width: 100%;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: center;
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
        place-items: center;
    }

    .feature-card {
        max-width: 90%;
        width: 90%;
        min-width: 280px;
        height: auto;
        min-height: auto;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: var(--spacing-md);
        box-sizing: border-box;
    }

    .feature-icon {
        width: clamp(50px, 12vw, 70px);
        height: clamp(50px, 12vw, 70px);
        margin: 0 auto var(--spacing-sm);
    }

    .feature-title {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
        margin: 0 auto var(--spacing-xs);
    }

    .feature-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
        line-height: 1.6;
    }

    .why-choose-section {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }

    .why-choose-section .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .why-choose-section .section-title {
        text-align: center;
        width: 100%;
        margin: 0 auto var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }

    .container {
        padding: 0 var(--spacing-sm);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        height: auto;
        min-height: auto;
    }

    .section {
        padding: var(--spacing-sm) var(--spacing-xs);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-left: 0;
        min-height: auto;
        height: auto;
    }
    
    .main-content {
        padding-top: 60px;
        min-height: auto;
        margin-right: 0;
    }

    .features-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        gap: var(--spacing-md);
        place-items: center;
    }

    .feature-card {
        width: 85%;
        max-width: 350px;
        min-width: 260px;
        height: auto;
        min-height: auto;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .feature-icon {
        width: clamp(50px, 12vw, 70px);
        height: clamp(50px, 12vw, 70px);
        margin: 0 auto var(--spacing-xs);
        text-align: center;
        object-fit: contain;
    }

    .feature-title {
        font-size: clamp(1.1rem, 5vw, 1.4rem);
        text-align: center;
        width: 100%;
        margin: 0 auto var(--spacing-xs);
        line-height: 1.3;
    }

    .feature-description {
        font-size: clamp(0.85rem, 3.5vw, 0.95rem);
        text-align: center;
        width: 100%;
        margin: 0 auto;
        line-height: 1.5;
        padding: 0 var(--spacing-xs);
    }

    .features-grid {
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-xs);
    }

    .courses-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        padding: 0;
        gap: var(--spacing-sm);
        box-sizing: border-box;
    }

    .form-container {
        padding: var(--spacing-sm);
        margin: var(--spacing-sm) auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }
    
    .form-group {
        margin-bottom: var(--spacing-xs);
    }
    
    .form-input {
        font-size: clamp(0.9rem, 4vw, 1rem);
        padding: var(--spacing-xs);
    }
    
    .form-textarea {
        font-size: clamp(0.9rem, 4vw, 1rem);
        padding: var(--spacing-xs);
        min-height: clamp(80px, 20vw, 100px);
    }
    
    .form-container {
        padding: var(--spacing-sm);
        margin: var(--spacing-sm) auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }
    
    .form-group {
        margin-bottom: var(--spacing-xs);
    }
    
    .contact-submit-btn {
        width: 100%;
        padding: var(--spacing-sm);
        font-size: clamp(0.95rem, 4vw, 1rem);
    }
    
    .enroll-btn {
        font-size: clamp(0.95rem, 4.5vw, 1.1rem);
        padding: var(--spacing-sm) var(--spacing-md);
        min-width: 130px;
        width: auto;
    }
    
    .achievement-card {
        padding: var(--spacing-sm);
    }
    
    .achievement-icon {
        width: clamp(36px, 12vw, 48px);
        height: clamp(36px, 12vw, 48px);
        margin-bottom: var(--spacing-xs);
    }
    
    .counter {
        font-size: clamp(1.8rem, 12vw, 2.8rem);
        margin: var(--spacing-xs) 0;
    }
    
    .achievement-card .course-title {
        font-size: clamp(1.1rem, 5vw, 1.3rem);
        margin-top: var(--spacing-xs);
        margin-bottom: var(--spacing-xs);
    }
    
    .achievement-card .course-description {
        font-size: clamp(0.85rem, 4vw, 0.95rem);
    }
    
    .timeline-container {
        max-width: 100%;
        padding: 0 var(--spacing-xs);
    }
    
    .timeline-card {
        padding: var(--spacing-xs);
        margin-bottom: var(--spacing-xs);
        border-left-width: 3px;
    }
    
    .timeline-year {
        font-size: clamp(1.1rem, 5vw, 1.4rem);
        margin-bottom: var(--spacing-xs);
    }
    
    .timeline-description {
        font-size: clamp(0.85rem, 4vw, 1rem);
    }
    
    .course-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
        margin: 0 auto;
        padding: var(--spacing-sm);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .course-card > * {
        width: 100%;
        max-width: 100%;
    }
    
    .course-card svg {
        width: clamp(48px, 12vw, 64px);
        height: clamp(48px, 12vw, 64px);
        margin-bottom: var(--spacing-sm);
        flex-shrink: 0;
    }
    
    .course-card ul {
        margin: var(--spacing-sm) 0;
        padding-left: 1.25rem;
        font-size: clamp(0.8rem, 3.5vw, 0.9rem);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .course-card li {
        margin-bottom: var(--spacing-xs);
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Progress bars in About section - ensure responsive */
    .course-card > div[style*="height: clamp"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .course-title {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
        line-height: 1.3;
    }

    .course-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
        line-height: 1.5;
    }

    .course-price {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
    }

    .why-choose-section {
        width: 100%;
        max-width: 100%;
        padding: var(--spacing-md) var(--spacing-sm);
        margin: 0;
    }

    .why-choose-section {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        padding: var(--spacing-md) var(--spacing-sm);
        box-sizing: border-box;
    }

    .why-choose-section .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .why-choose-section .section-title {
        text-align: center;
        width: 100%;
        margin: 0 auto var(--spacing-md);
    }

    .why-choose-section .features-grid {
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }

    .hero {
        padding: var(--spacing-lg) var(--spacing-sm);
        width: 100%;
        max-width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .enroll-btn {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .hero-cta {
        width: 100%;
        gap: var(--spacing-sm);
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
