/* ============================================
   AI Coding Mastery — Styles
   Based on Adava University design language
   Purple/magenta gradients with teal/green CTAs
   ============================================ */

:root {
    /* Core palette - matching Adava */
    --purple-dark: #1a0a2e;
    --purple-mid: #2d1b4e;
    --purple-light: #8b5cf6;
    --magenta: #c026d3;
    --cyan: #06b6d4;
    
    /* School colors */
    --mit-blue: #5ba3e0;
    --stanford-green: #34d399;
    --oxford-green: #34d399;
    --cambridge-pink: #f472b6;
    --harvard-purple: #c084fc;
    
    /* CTA - Teal/Green (original Adava palette) */
    --cta-teal: #25877D;
    --cta-teal-hover: #2a9a8e;
    --cta-teal-dark: #12756B;
    
    /* Backgrounds */
    --bg-dark: #0f0818;
    --bg-section: rgba(26, 10, 46, 0.8);
    --bg-card: rgba(45, 27, 78, 0.6);
    
    /* Text */
    --text-white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.6);
    
    /* Borders */
    --border-subtle: rgba(139, 92, 246, 0.2);
    
    /* Typography */
    --font-main: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1100px;
}

/* ============================================
   ANIMATED GRADIENT KEYFRAMES
   ============================================ */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(37, 135, 125, 0.4), 0 0 40px rgba(37, 135, 125, 0.2); }
    50% { box-shadow: 0 0 30px rgba(37, 135, 125, 0.6), 0 0 60px rgba(37, 135, 125, 0.3); }
}

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

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(180deg, 
        #1a0a2e 0%, 
        #2d1b4e 15%, 
        #1a0a2e 40%,
        #0f0818 100%
    );
    background-attachment: fixed;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Network Background Canvas */
#network-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 300%;
    z-index: 1; /* Above background, below content */
    pointer-events: none; /* Let clicks pass through */
    /* Transparent - particles only, no background */
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.gradient-text {
    background: linear-gradient(90deg, var(--purple-light), var(--cyan), var(--cta-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(15, 8, 24, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--magenta) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
}

.logo-img,
.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    width: 42px;
    height: 35px;
    flex-shrink: 0;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #ffffff;
}

.logo-subtitle {
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: #7c5caa;
    margin-top: 2px;
}

.logo-text {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-white);
}

.nav-cta {
    background: var(--cta-teal) !important;
    color: #000 !important;
    padding: 10px 20px !important;
    border-radius: 6px;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--cta-teal-hover) !important;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 8, 24, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 999;
        padding: 80px 24px;
    }
    
    .nav-links.nav-open {
        display: flex;
    }
    
    .nav-links a {
        font-size: 1.5rem;
        color: var(--text-white);
    }
    
    .nav-cta {
        margin-top: 16px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--cta-teal), #3bb8aa, var(--cta-teal));
    background-size: 200% 100%;
    color: #000;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3), 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: gradientShift 3s ease infinite;
}

.btn-primary:hover {
    background: var(--cta-teal-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.5), 0 0 60px rgba(245, 158, 11, 0.3), 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    border-color: var(--purple-light);
    background: rgba(139, 92, 246, 0.1);
}

/* Form Inputs */
.form-input {
    padding: 14px 18px;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
    transition: border-color 0.3s;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    outline: none;
    border-color: var(--purple-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    perspective: 1500px;
    perspective-origin: 50% 40%;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Floating Parallax Layers */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.15s ease-out;
}

.parallax-back { z-index: 1; }
.parallax-mid { z-index: 2; }
.parallax-front { z-index: 3; }
.hero-container { z-index: 10; position: relative; }

/* Floating Shapes - Subtle and consistent */
.float-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(2px);
}

.shape-1 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--purple-light) 0%, transparent 70%);
    top: -50px;
    left: -50px;
    animation: float-slow 25s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--magenta) 0%, transparent 70%);
    top: 60%;
    right: -30px;
    animation: float-slow 30s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--cta-teal) 0%, transparent 70%);
    bottom: 15%;
    left: 25%;
    animation: float-slow 22s ease-in-out infinite;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, transparent 70%);
    top: 35%;
    left: 15%;
    animation: float-medium 18s ease-in-out infinite;
}

.shape-5 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(219, 39, 119, 0.4) 0%, transparent 70%);
    top: 25%;
    right: 20%;
    animation: float-medium 20s ease-in-out infinite reverse;
}

.shape-6 {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.6) 0%, transparent 70%);
    top: 45%;
    left: 30%;
    animation: float-fast 12s ease-in-out infinite;
}

.shape-7 {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.7) 0%, transparent 70%);
    bottom: 35%;
    right: 35%;
    animation: float-fast 14s ease-in-out infinite reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(15px, -10px) scale(1.02); }
    50% { transform: translate(-10px, 15px) scale(0.98); }
    75% { transform: translate(-15px, -5px) scale(1.01); }
}

@keyframes float-medium {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(20px, -15px); }
    66% { transform: translate(-15px, 20px); }
}

@keyframes float-fast {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(25px, -20px); }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

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

.hero-title {
    margin-bottom: 24px;
    will-change: transform;
    transform-style: preserve-3d;
    transform: translateZ(0);
    position: relative;
    z-index: 10;
}

.highlight {
    color: var(--cta-teal);
    position: relative;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
    will-change: transform;
    transform-style: preserve-3d;
    transform: translateZ(0);
    position: relative;
    z-index: 8;
}

/* Credential Box - Glassmorphism with 3D Depth */
.credential-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 32px 40px;
    max-width: 700px;
    margin: 0 auto;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    will-change: transform, box-shadow;
    transform-style: preserve-3d;
    transform: translateZ(0);
    position: relative;
    z-index: 20;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(139, 92, 246, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
}

.credential-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.credential-schools {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.school {
    font-weight: 700;
}

.school.mit { color: var(--mit-blue); }
.school.stanford { color: var(--stanford-green); }
.school.oxford { color: var(--oxford-green); }
.school.cambridge { color: var(--cambridge-pink); }
.school.harvard { color: var(--harvard-purple); }

.credential-companies {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 8px;
}

.company {
    font-weight: 700;
}

.company.google { color: #5ba3e0; }
.company.apple { color: #c0c5ca; }
.company.meta { color: #5ba3e0; }
.company.amazon { color: #34d399; }
.company.microsoft { color: #5ba3e0; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    animation: fadeInUp 1s ease 1.5s backwards;
    z-index: 100;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--purple-light);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--purple-light);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { 
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(12px);
    }
}

.scroll-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.scroll-arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--cta-teal);
    border-bottom: 2px solid var(--cta-teal);
    transform: rotate(45deg);
    animation: scrollArrow 1.5s ease-in-out infinite;
}

.scroll-arrow span:nth-child(2) {
    animation-delay: 0.15s;
}

@keyframes scrollArrow {
    0%, 100% { 
        opacity: 0.3;
        transform: rotate(45deg) translateY(0);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) translateY(4px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 0.7;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.cta-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 32px;
}

.cta-form {
    display: flex;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto 16px;
}

.cta-form .form-input {
    flex: 1;
}

.cta-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cta-button-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.urgency-timer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(37, 135, 125, 0.15);
    border: 1px solid rgba(37, 135, 125, 0.3);
    border-radius: 8px;
    padding: 8px 16px;
    animation: pulse-urgency 2s ease-in-out infinite;
}

@keyframes pulse-urgency {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(37, 135, 125, 0.2);
        border-color: rgba(37, 135, 125, 0.3);
    }
    50% { 
        box-shadow: 0 0 20px rgba(37, 135, 125, 0.4);
        border-color: rgba(37, 135, 125, 0.6);
    }
}

.timer-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timer-countdown {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cta-teal);
    font-variant-numeric: tabular-nums;
}

/* Promise Section */
.promise-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.promise-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
}

.promise-card:hover {
    border-color: var(--purple-light);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.35),
        0 0 30px rgba(139, 92, 246, 0.15);
}

.promise-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.promise-icon img {
    width: 100%;
    height: 100%;
}

.promise-card h3 {
    margin-bottom: 12px;
    color: var(--text-white);
}

.promise-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mentorship Section */
.mentorship-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.mentorship-header {
    text-align: center;
    margin-bottom: 60px;
}

.rotating-text {
    font-size: 2rem;
    font-weight: 600;
}

.rotating-word {
    color: var(--cta-teal);
    transition: opacity 0.3s;
    display: inline-block;
    min-width: 120px;
}

.mentorship-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.mentorship-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 32px;
}

.mentorship-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.mentorship-icon img {
    width: 100%;
    height: 100%;
}

.mentorship-card h3 {
    margin-bottom: 16px;
    color: var(--text-white);
}

.mentorship-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.mentorship-card strong {
    color: var(--text-white);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Instructors Section */
.instructors-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.instructor-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
}

.instructor-card:hover {
    border-color: var(--purple-light);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(139, 92, 246, 0.2);
}

.instructor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-light), var(--magenta));
    margin: 0 auto 16px;
    object-fit: cover;
    border: 3px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

img.instructor-avatar {
    background: none;
}

.avatar-initials {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.instructor-card h3 {
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.instructor-school {
    color: var(--purple-light);
    font-weight: 600;
    margin-bottom: 4px;
}

.instructor-role {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.instructor-bio {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Projects Section */
.projects-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.project-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
}

.project-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
}

.project-icon img {
    width: 100%;
    height: 100%;
}

.project-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Results Section */
.results-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.testimonials-grid .testimonial-card:not(.featured) {
    display: grid;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid .testimonial-card.featured {
        grid-column: span 2;
    }
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
}

.testimonial-card.featured {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(192, 38, 211, 0.1) 100%);
    border-color: var(--purple-light);
}

.testimonial-content {
    padding: 28px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-light), var(--magenta));
    flex-shrink: 0;
    object-fit: cover;
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

img.avatar {
    background: none;
}

.testimonial-meta h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.testimonial-meta p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.salary-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-left: auto;
}

blockquote {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-card.featured blockquote {
    font-size: 1.05rem;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--purple-light), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Certificate Section */
.certificate-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.certificate-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.certificate-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.certificate-card:hover {
    border-color: var(--cta-teal);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 135, 125, 0.15);
}

.certificate-card h3 {
    font-size: 1.2rem;
    margin: 16px 0 8px;
    color: var(--white);
}

.certificate-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.certificate-preview {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(192, 38, 211, 0.1));
    border-radius: 12px;
    padding: 20px;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-frame {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 8px;
    padding: 16px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.cert-header {
    text-align: center;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.cert-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}

.cert-logo svg {
    width: 24px;
    height: 24px;
}

.cert-logo span {
    font-size: 0.65rem;
    font-weight: 700;
    color: #8B5CF6;
    letter-spacing: 2px;
}

.cert-header h4 {
    font-size: 0.8rem;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.cert-body {
    text-align: center;
    padding: 8px 0;
}

.cert-text {
    font-size: 0.55rem;
    color: #666;
    margin: 2px 0;
}

.cert-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #8B5CF6;
    margin: 4px 0;
    font-style: italic;
}

.cert-program {
    font-size: 0.7rem;
    font-weight: 600;
    color: #333;
    margin: 4px 0;
}

.cert-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 12px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    margin-top: 8px;
}

.cert-signature,
.cert-date {
    flex: 1;
    text-align: center;
}

.sig-line {
    display: block;
    width: 60px;
    height: 1px;
    background: #333;
    margin: 0 auto 4px;
}

.sig-label {
    font-size: 0.45rem;
    color: #666;
}

.cert-seal {
    width: 40px;
    height: 40px;
}

.cert-seal svg {
    width: 100%;
    height: 100%;
}

/* Badge Preview */
.badge-preview {
    background: linear-gradient(135deg, rgba(37, 135, 125, 0.1), rgba(52, 211, 153, 0.1));
}

.achievement-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-outer {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #C026D3, #25877D);
    padding: 4px;
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 0 40px rgba(192, 38, 211, 0.6); }
}

.badge-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-inner svg {
    width: 50px;
    height: 50px;
}

.badge-ribbon {
    background: linear-gradient(135deg, #8B5CF6, #C026D3);
    padding: 6px 20px;
    border-radius: 4px;
    margin-top: -8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.badge-ribbon span {
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

/* Portfolio Preview */
.portfolio-preview {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(37, 135, 125, 0.1));
}

.portfolio-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    background: rgba(37, 135, 125, 0.2);
    border-color: var(--cta-teal);
    transform: scale(1.05);
}

.portfolio-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.portfolio-item span {
    font-size: 0.6rem;
    color: var(--text-muted);
}

.portfolio-item:last-child {
    grid-column: 2;
}

@media (max-width: 900px) {
    .certificate-showcase {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* Curriculum Section */
.curriculum-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

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

.day-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
}

.day-card:hover {
    border-color: var(--purple-light);
}

.day-card.bonus {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(245, 158, 11, 0.3);
}

.day-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: var(--purple-light);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.day-badge.bonus {
    background: rgba(245, 158, 11, 0.2);
    color: var(--cta-teal);
}

.day-card h3 {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.day-card ul {
    list-style: none;
}

.day-card li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.day-card li:last-child {
    border-bottom: none;
}

.day-card li::before {
    content: '→';
    color: var(--purple-light);
    margin-right: 8px;
}

.curriculum-note {
    text-align: center;
    margin-top: 32px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Pricing/Admissions Section */
.pricing-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.admissions-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto 32px;
}

.admission-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.admission-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.admission-card h3 {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: #8b5cf6 !important;
    -webkit-text-fill-color: #8b5cf6 !important;
    background: none !important;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
}

.deadline-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.deadline-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Scholarship Price Styles */
.scholarship-price {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInScale 0.5s ease-out;
}

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

.original-crossed {
    display: flex;
    align-items: baseline;
    gap: 2px;
    opacity: 0.5;
}

.crossed-out {
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: line-through;
    color: var(--text-muted);
    background: none;
    -webkit-text-fill-color: var(--text-muted);
}

.discounted-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.discounted-price .currency {
    font-size: 1.5rem;
    color: var(--cta-teal);
}

.scholarship-amount {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--cta-teal), #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scholarship-badge {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cta-teal);
    background: rgba(37, 135, 125, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 8px;
}

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

.scholarship-expiry h3 {
    font-size: 0.85rem;
    color: var(--cta-teal);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.expiry-countdown {
    font-size: 2rem;
    font-weight: 800;
    color: var(--cta-teal);
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.scholarship-box {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto 24px;
}

.scholarship-input {
    flex: 1;
}

.admissions-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Cohorts Section */
.cohorts-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.cohorts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.cohort-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.cohort-card.featured-cohort {
    border-color: var(--cta-teal);
    background: linear-gradient(135deg, rgba(37, 135, 125, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    box-shadow: 0 0 30px rgba(37, 135, 125, 0.2);
}

.cohort-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--cta-teal), #3bb8aa);
    color: #000;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(37, 135, 125, 0.4);
}

.cohort-card h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.cohort-type {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.cohort-dates {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
}

.date-icon {
    font-size: 1.5rem;
}

.date-range {
    font-weight: 600;
    margin-bottom: 4px;
}

.date-time {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.schedule-grid {
    margin-bottom: 24px;
}

.schedule-header,
.schedule-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    text-align: center;
}

.schedule-header {
    margin-bottom: 8px;
}

.schedule-header span {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.schedule-row span {
    padding: 8px 4px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 4px;
    font-size: 0.8rem;
}

.schedule-row.classes span {
    background: rgba(139, 92, 246, 0.2);
    color: var(--purple-light);
    font-weight: 600;
}

.cohort-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Guarantee Section */
.guarantee-section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.guarantee-box {
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.guarantee-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.guarantee-content h3 {
    color: #10b981;
    margin-bottom: 8px;
}

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

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--purple-light);
}

.faq-item.active {
    border-color: var(--cta-teal);
    box-shadow: 0 0 20px rgba(37, 135, 125, 0.2);
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--cta-teal);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--purple-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--cta-teal);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-answer em {
    color: var(--cta-teal);
    font-style: normal;
    font-weight: 600;
}

/* Footer */
/* Adava University Branding Section */
.adava-branding-section {
    padding: 80px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.adava-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--magenta) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.adava-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-muted);
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
}

/* World Map */
.world-map-container {
    max-width: 900px;
    margin: 0 auto;
}

.world-map {
    width: 100%;
    height: auto;
    max-height: 300px;
    margin-bottom: 40px;
}

.map-outline {
    animation: mapDraw 3s ease forwards;
}

@keyframes mapDraw {
    from {
        stroke-dasharray: 2000;
        stroke-dashoffset: 2000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.map-dot {
    fill: var(--cta-teal);
    filter: drop-shadow(0 0 8px rgba(37, 135, 125, 0.8));
    animation: mapDotPulse 2s ease-in-out infinite;
}

@keyframes mapDotPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

.map-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

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

.map-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--cta-teal);
    margin-bottom: 4px;
}

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

@media (max-width: 768px) {
    .map-stats {
        gap: 30px;
    }
    
    .map-stat-number {
        font-size: 1.5rem;
    }
}

.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 1;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Extra Large Desktop (1440px+) */
@media (min-width: 1440px) {
    :root {
        --container-max: 1200px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .credential-box {
        max-width: 800px;
        padding: 40px 60px;
    }
}

/* Large Desktop (1024px - 1439px) */
@media (max-width: 1439px) and (min-width: 1025px) {
    .instructors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Landscape / Small Desktop (768px - 1024px) */
@media (max-width: 1024px) {
    .instructors-grid,
    .curriculum-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cohorts-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .cohort-card {
        max-width: 100%;
    }
    
    .mentorship-grid {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .promise-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .promise-card {
        padding: 24px 16px;
    }
    
    .testimonials-grid {
        max-width: 900px;
        margin: 0 auto;
    }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--cta-teal);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, background-color 0.3s;
}

.custom-cursor.cursor-hover {
    width: 60px;
    height: 60px;
    border-color: var(--cta-teal);
    background: rgba(245, 158, 11, 0.1);
}

.cursor-dot.cursor-hover {
    transform: translate(-50%, -50%) scale(0.5);
    background: var(--purple-light);
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
    .custom-cursor,
    .cursor-dot {
        display: none;
    }
}

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
    .custom-cursor,
    .cursor-dot {
        display: none;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .promise-grid,
    .mentorship-grid,
    .instructors-grid,
    .curriculum-grid,
    .admissions-info,
    .cohorts-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .promise-card,
    .mentorship-card,
    .instructor-card,
    .day-card,
    .admission-card {
        text-align: center;
    }
    
    .mentorship-card h3,
    .mentorship-card p {
        text-align: left;
    }
    
    .day-card ul {
        text-align: left;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .testimonials-grid .testimonial-card.featured {
        grid-column: span 1;
    }
    
    .stats-bar {
        flex-direction: column;
        gap: 24px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .salary-badge {
        margin-left: 0;
    }
    
    .guarantee-box {
        flex-direction: column;
        text-align: center;
    }
    
    .credential-box {
        padding: 24px;
    }
    
    .credential-schools {
        font-size: 1.1rem;
    }
    
    /* Schedule grid - make cells smaller on tablet */
    .schedule-header span,
    .schedule-row span {
        font-size: 0.75rem;
        padding: 6px 2px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    :root {
        --section-padding: 60px 0;
    }
}

/* Tablet Small (600px - 767px) */
@media (max-width: 767px) and (min-width: 600px) {
    .promise-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        max-width: 100%;
    }
    
    .promise-card {
        padding: 20px 12px;
    }
    
    .promise-card h3 {
        font-size: 1rem;
    }
    
    .promise-card p {
        font-size: 0.85rem;
    }
}

/* Mobile Large (481px - 767px) */
@media (max-width: 767px) and (min-width: 481px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid .testimonial-card.featured {
        grid-column: span 1;
    }
}

/* Mobile Medium (481px - 599px) */
@media (max-width: 599px) and (min-width: 481px) {
    .promise-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 80px 16px 40px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .credential-box {
        padding: 20px 16px;
    }
    
    .credential-intro {
        font-size: 0.95rem;
    }
    
    .credential-schools {
        font-size: 1rem;
    }
    
    .credential-companies {
        font-size: 0.9rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        padding: 20px;
    }
    
    /* Schedule grid - even smaller on mobile */
    .schedule-header,
    .schedule-row {
        gap: 4px;
    }
    
    .schedule-header span,
    .schedule-row span {
        font-size: 0.65rem;
        padding: 4px 2px;
    }
    
    .cohort-card {
        padding: 20px;
    }
    
    .cohort-dates {
        padding: 12px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .form-input {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .admission-card {
        padding: 24px 16px;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    blockquote {
        font-size: 0.9rem;
    }
    
    .testimonial-content {
        padding: 20px;
    }
}

/* Extra Small Mobile (max-width: 375px) */
@media (max-width: 375px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.35rem;
    }
    
    .credential-schools {
        font-size: 0.9rem;
    }
    
    .schedule-header span,
    .schedule-row span {
        font-size: 0.6rem;
        padding: 3px 1px;
    }
    
    .instructor-card {
        padding: 20px;
    }
    
    .instructor-bio {
        font-size: 0.8rem;
    }
}


/* ============================================
   🔥 HIGH-TECH EFFECTS
   ============================================ */

/* Text Scramble Effect */
.scramble-char {
    color: var(--primary-purple);
    text-shadow: 0 0 10px var(--primary-purple);
}

/* Magnetic Buttons */
.magnetic-btn {
    transition: transform 0.15s ease-out;
    will-change: transform;
}

/* Cursor Spotlight */
.cursor-spotlight {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

/* Staggered Letter Animation */
.split-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: splitReveal 0.5s ease forwards;
}

@keyframes splitReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glitch Effect */
[data-glitch] {
    position: relative;
}

.glitching {
    animation: glitch 0.3s ease;
}

@keyframes glitch {
    0% { transform: translate(0); filter: hue-rotate(0deg); }
    20% { transform: translate(-3px, 2px); filter: hue-rotate(90deg); }
    40% { transform: translate(3px, -2px); filter: hue-rotate(180deg); }
    60% { transform: translate(-2px, -1px); filter: hue-rotate(270deg); }
    80% { transform: translate(2px, 1px); filter: hue-rotate(360deg); }
    100% { transform: translate(0); filter: hue-rotate(0deg); }
}

/* Morphing Gradient Blob */
.morphing-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(20, 184, 166, 0.3));
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    filter: blur(60px);
    animation: morphBlob 8s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes morphBlob {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%;
        transform: rotate(180deg) scale(1);
    }
    75% {
        border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%;
        transform: rotate(270deg) scale(1.1);
    }
}

/* Floating Animation for Decorative Elements */
.float-slow {
    animation: floatSlow 6s ease-in-out infinite;
}

.float-medium {
    animation: floatMedium 4s ease-in-out infinite;
}

.float-fast {
    animation: floatFast 3s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatMedium {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-3deg); }
}

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

/* Pulse Glow Effect */
.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(20, 184, 166, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(20, 184, 166, 0.6), 0 0 60px rgba(20, 184, 166, 0.3);
    }
}

/* Shimmer Effect for Text */
.shimmer-text {
    background: linear-gradient(
        90deg,
        var(--text-white) 0%,
        var(--primary-purple) 50%,
        var(--text-white) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* Neon Border Effect */
.neon-border {
    border: 2px solid transparent;
    background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
                linear-gradient(135deg, var(--primary-purple), var(--accent-teal)) border-box;
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(139, 92, 246, 0.3), inset 0 0 10px rgba(139, 92, 246, 0.1);
    }
    50% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.5), inset 0 0 20px rgba(139, 92, 246, 0.2);
    }
}

/* Typing Cursor Effect */
.typing-cursor::after {
    content: "|";
    animation: blink 0.7s infinite;
    color: var(--accent-teal);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Scale on Scroll */
.scale-on-scroll {
    will-change: transform, opacity;
}

/* Parallax Float */
.parallax-float {
    will-change: transform;
}

/* ============================================
   COMPANY LOGOS MARQUEE
   ============================================ */
.logos-marquee {
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(15, 8, 24, 0.95) 100%);
    padding: 2.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.marquee-track {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 4rem;
    animation: marqueeScroll 30s linear infinite;
    width: fit-content;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-item {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.logo-item:hover {
    color: var(--accent-teal);
}

.marquee-label {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* ============================================
   ENHANCED FOOTER
   ============================================ */
.footer {
    background: linear-gradient(180deg, rgba(15, 8, 24, 0.95) 0%, #050208 100%);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
}

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

.footer-logo-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.05em;
}

.footer-logo-subtitle {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--accent-teal);
    letter-spacing: 0.15em;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

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

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4 {
        margin-top: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .marquee-content {
        gap: 2.5rem;
    }
    
    .logo-item {
        font-size: 1.1rem;
    }
}

/* ============================================
   FORM VALIDATION STYLES
   ============================================ */
.form-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.form-input:focus {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
    outline: none;
}

.form-input.valid {
    border-color: #22c55e;
    background-color: rgba(34, 197, 94, 0.05);
}

.form-input.invalid {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.form-input.valid + .input-icon,
.form-input.valid ~ .input-icon {
    color: #22c55e;
}

.form-input.invalid + .input-icon,
.form-input.invalid ~ .input-icon {
    color: #ef4444;
}

/* Input wrapper for validation icons */
.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.form-input.valid ~ .input-icon,
.form-input.invalid ~ .input-icon {
    opacity: 1;
}

/* Submit button states */
.cta-button.loading {
    pointer-events: none;
    opacity: 0.8;
}

.cta-button.loading::after {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.cta-button.success {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
}

.cta-button.success::before {
    content: "✓ ";
}

/* ============================================
   NOISE TEXTURE OVERLAY
   ============================================ */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Smooth scroll behavior enhancement for Lenis */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* ============================================
   TYPEWRITER EFFECT
   ============================================ */
.typewriter-role {
    display: inline-block;
    min-width: 280px;
    text-align: left;
}

.typewriter-role.typing::after {
    content: "|";
    animation: cursorBlink 0.7s infinite;
    color: var(--accent-teal);
    font-weight: 300;
    margin-left: 2px;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ============================================
   SKIP TO CONTENT (ACCESSIBILITY)
   ============================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-teal);
    color: var(--dark-bg);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* ============================================
   CONFETTI CANVAS (ENSURE VISIBILITY)
   ============================================ */
canvas.confetti-canvas {
    pointer-events: none;
    z-index: 9998;
}

