/* ============================================
   PrimeTech Institute - Complete Stylesheet
   ============================================ */

/* ============================================
   VARIABLES
   ============================================ */
:root {
    --navy: #0F172A;
    --royal-blue: #2563EB;
    --cyan: #06B6D4;
    --emerald: #10B981;
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 50px rgba(0,0,0,0.15);
    --radius: 16px;
    --radius-sm: 8px;
}

/* ============================================
   RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--light-bg);
    color: var(--gray-800);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--royal-blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cyan {
    color: var(--cyan);
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--cyan);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-badge i {
    margin-right: 8px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   NAVIGATION
   ============================================ */
#mainNav {
    padding: 12px 0;
    background: transparent;
    transition: all 0.3s ease;
}

#mainNav.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
}

.brand-icon {
    font-size: 1.8rem;
}

.brand-text {
    color: var(--white);
}

.nav-link {
    color: rgba(255,255,255,0.7) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white) !important;
    background: rgba(255,255,255,0.08);
}

.nav-link i {
    margin-right: 6px;
}

.dropdown-menu {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 8px;
    min-width: 240px;
}

.dropdown-item {
    color: rgba(255,255,255,0.8);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
}

.btn-enroll {
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    transition: all 0.3s ease;
    color: var(--white);
    background: linear-gradient(135deg, var(--royal-blue), var(--cyan));
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.btn-enroll:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.45);
    color: var(--white);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, #1a2a4a 50%, #0a1628 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-shapes {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--royal-blue);
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--cyan);
    bottom: -50px;
    right: 20%;
    animation: float 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--emerald);
    top: 30%;
    right: 60%;
    animation: float 15s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.badge-hero {
    display: inline-block;
    background: rgba(37, 99, 235, 0.15);
    color: var(--cyan);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge-hero i {
    margin-right: 8px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.7);
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero {
    background: linear-gradient(135deg, var(--royal-blue), var(--cyan));
    color: var(--white);
    border: none;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.45);
    color: var(--white);
}

.btn-hero i {
    margin-right: 8px;
}

.btn-hero-outline {
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

.btn-hero-outline i {
    margin-right: 8px;
}

/* Hero Cards */
.hero-cards {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 24px;
}

.hero-card-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hero-card-item:last-child {
    border-bottom: none;
}

.hero-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card-icon i {
    font-size: 1.5rem;
    color: var(--cyan);
}

.hero-card-info {
    flex: 1;
}

.hero-card-info h6 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.hero-card-info small {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}

.badge-popular {
    background: var(--emerald);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 12px;
    border-radius: 50px;
}

.badge-new {
    background: #F59E0B;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 12px;
    border-radius: 50px;
}

/* ============================================
   FEATURED COURSES
   ============================================ */
.featured-courses {
    padding: 80px 0;
    background: var(--light-bg);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.course-image {
    height: 180px;
    background: linear-gradient(135deg, var(--navy), var(--royal-blue));
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.badge-level {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    color: var(--white);
    z-index: 2;
}

.badge-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    background: linear-gradient(135deg, #F59E0B, #F97316);
    color: var(--white);
    z-index: 2;
}

.badge-featured i {
    margin-right: 4px;
}

.course-body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-meta i {
    font-size: 0.75rem;
}

.course-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 6px;
    line-height: 1.3;
}

.course-description {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 16px;
    flex: 1;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-view {
    margin-top: auto;
    border-radius: 50px;
    font-weight: 600;
    padding: 10px 20px;
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--royal-blue), var(--cyan));
    color: var(--white);
    border: none;
    transition: all 0.3s ease;
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    color: var(--white);
}

.btn-view i {
    margin-right: 8px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--light-bg);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-card .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--royal-blue), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.testimonial-card .stars {
    color: #F59E0B;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.testimonial-card .stars i {
    margin: 0 1px;
}

.testimonial-card .quote {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-card .name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--gray-800);
}

.testimonial-card .role {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--navy), #1a2a4a);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.cta-text h2 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.cta-text p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.cta-button {
    flex-shrink: 0;
}

.cta-button .btn {
    padding: 14px 40px;
    font-size: 1rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    background: linear-gradient(135deg, var(--royal-blue), var(--cyan));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
    transition: all 0.3s ease;
}

.cta-button .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.45);
    color: var(--white);
}

.cta-button .btn i {
    margin-right: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--royal-blue), var(--cyan));
    color: var(--white);
    transform: translateY(-2px);
}

.footer-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

.footer-contact i {
    color: var(--cyan);
    margin-top: 4px;
}

.newsletter-form .input-group {
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(255,255,255,0.06);
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 12px 16px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form .btn {
    padding: 12px 20px;
    border: none;
    border-radius: 0;
    background: linear-gradient(135deg, var(--royal-blue), var(--cyan));
    color: var(--white);
}

.footer-divider {
    border-color: rgba(255,255,255,0.06);
    margin: 30px 0;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--white);
}

/* ============================================
   MOBILE NAVIGATION TOGGLE FIX
   ============================================ */

/* Fix navbar on mobile */
@media (max-width: 992px) {
    #mainNav {
        background: rgba(15, 23, 42, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    /* Toggle button styling */
    .navbar-toggler {
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        padding: 8px 12px !important;
        border-radius: 8px !important;
        transition: all 0.3s ease;
    }
    
    .navbar-toggler:hover {
        border-color: var(--cyan) !important;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.3) !important;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
    
    /* Collapse menu styling */
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        padding: 16px 20px !important;
        border-radius: 12px !important;
        margin-top: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
    }
    
    /* Nav links in mobile menu */
    .navbar-collapse .nav-link {
        color: rgba(255, 255, 255, 0.85) !important;
        padding: 10px 16px !important;
        border-radius: 8px !important;
        font-size: 1rem !important;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }
    
    .navbar-collapse .nav-link:hover {
        background: rgba(255, 255, 255, 0.08) !important;
        color: var(--white) !important;
        padding-left: 20px !important;
    }
    
    .navbar-collapse .nav-link.active {
        background: rgba(37, 99, 235, 0.15) !important;
        color: var(--cyan) !important;
    }
    
    .navbar-collapse .nav-link i {
        margin-right: 10px;
        color: var(--cyan);
        font-size: 1rem;
    }
    
    /* Dropdown in mobile menu */
    .navbar-collapse .dropdown-menu {
        background: rgba(255, 255, 255, 0.05) !important;
        backdrop-filter: none !important;
        border: none !important;
        padding: 4px 0 !important;
        margin: 4px 0 8px 0 !important;
        border-radius: 8px !important;
        box-shadow: none !important;
    }
    
    .navbar-collapse .dropdown-item {
        color: rgba(255, 255, 255, 0.7) !important;
        padding: 8px 16px !important;
        border-radius: 6px !important;
        font-size: 0.9rem !important;
    }
    
    .navbar-collapse .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.06) !important;
        color: var(--white) !important;
        padding-left: 20px !important;
    }
    
    .navbar-collapse .dropdown-divider {
        border-color: rgba(255, 255, 255, 0.06) !important;
        margin: 4px 0 !important;
    }
    
    /* Enroll button in mobile menu */
    .navbar-collapse .btn-enroll {
        width: 100% !important;
        text-align: center !important;
        margin-top: 8px !important;
        padding: 12px !important;
    }
    
    /* Search button in mobile menu */
    .navbar-collapse .nav-search-btn {
        display: none !important;
    }
}

/* Extra small phones */
@media (max-width: 576px) {
    .navbar-collapse {
        padding: 12px 16px !important;
        margin-top: 8px !important;
    }
    
    .navbar-collapse .nav-link {
        font-size: 0.9rem !important;
        padding: 8px 12px !important;
    }
    
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    
    .brand-icon {
        font-size: 1.4rem !important;
    }
    
    .btn-enroll {
        padding: 8px 20px !important;
        font-size: 0.8rem !important;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .course-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Hero Section - Mobile Optimized */
    .hero {
        min-height: auto !important;
        padding: 80px 0 30px !important;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        margin-bottom: 12px !important;
        line-height: 1.2 !important;
    }
    
    .hero .badge-hero {
        font-size: 0.75rem !important;
        padding: 4px 14px !important;
        margin-bottom: 12px !important;
    }
    
    .hero-text {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
        max-width: 100% !important;
    }
    
    /* Fix buttons - NOT full width */
    .hero-buttons {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
    }
    
    .btn-hero,
    .btn-hero-outline {
        padding: 12px 30px !important;
        font-size: 0.9rem !important;
        width: auto !important;
        min-width: 180px !important;
        text-align: center !important;
        display: inline-block !important;
    }
    
    .hero-shapes {
        display: none !important;
    }
    
    /* Hero Cards - Hide on mobile */
    .hero-cards {
        display: none !important;
    }
    
    /* Course Grid */
    .course-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }
    
    .section-header h2 {
        font-size: 1.75rem !important;
    }
    
    .section-header p {
        font-size: 0.95rem !important;
    }
    
    /* CTA */
    .cta-content {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .cta-text h2 {
        font-size: 1.5rem !important;
    }
    
    .cta-text p {
        font-size: 0.95rem !important;
    }
    
    .cta-button .btn {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Footer */
    .footer {
        text-align: center !important;
    }
    
    .footer-brand {
        justify-content: center !important;
    }
    
    .footer-description {
        margin: 0 auto !important;
    }
    
    .footer-social {
        justify-content: center !important;
    }
    
    .footer-legal {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
    }
}

@media (max-width: 576px) {
    /* Hero - Extra Small */
    .hero {
        padding: 70px 0 20px !important;
    }
    
    .hero h1 {
        font-size: 1.5rem !important;
    }
    
    .hero .badge-hero {
        font-size: 0.65rem !important;
        padding: 3px 10px !important;
    }
    
    .hero-text {
        font-size: 0.85rem !important;
    }
    
    /* Fix buttons on small phones */
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }
    
    .btn-hero,
    .btn-hero-outline {
        padding: 10px 28px !important;
        font-size: 0.85rem !important;
        width: auto !important;
        min-width: 160px !important;
        text-align: center !important;
        display: inline-block !important;
    }
    
    /* Course Grid - Single Column */
    .course-grid {
        grid-template-columns: 1fr !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }
    
    .section-header h2 {
        font-size: 1.5rem !important;
    }
    
    .section-header p {
        font-size: 0.85rem !important;
    }
    
    .course-body {
        padding: 14px 16px 16px !important;
    }
    
    .cta-button .btn {
        width: 100% !important;
        text-align: center !important;
    }
    
    .testimonial-card {
        padding: 18px !important;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-cyan {
    color: var(--cyan);
}

.bg-navy {
    background: var(--navy);
}

.bg-light {
    background: var(--light-bg);
}

.glass {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    display: none !important;
    z-index: 99999;
}

/* Scroll Progress */
#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--royal-blue), var(--cyan));
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--white);
    color: var(--navy);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 99999;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   END
   ============================================ */