/* ========================================
   Nitade Academy - Main Stylesheet
   Primary: Blue | Secondary: Pink
   ======================================== */

:root {
    /* Primary Blue Palette */
    --primary-50: #EFF6FF;
    --primary-100: #DBEAFE;
    --primary-200: #BFDBFE;
    --primary-400: #60A5FA;
    --primary-500: #3B82F6;
    --primary-600: #2563EB;
    --primary-700: #1D4ED8;
    --primary-800: #1E40AF;
    --primary-900: #1E3A8A;

    /* Pink Secondary Palette */
    --pink-50: #FDF2F8;
    --pink-100: #FCE7F3;
    --pink-300: #F9A8D4;
    --pink-400: #F472B6;
    --pink-500: #EC4899;
    --pink-600: #DB2777;
    --pink-700: #BE185D;

    /* Accents */
    --yellow: #FCD34D;
    --green: #10B981;
    --purple: #8B5CF6;
    --orange: #F97316;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --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;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    --gradient-pink: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
    --gradient-hero: linear-gradient(135deg, #1E3A8A 0%, #6D28D9 50%, #EC4899 100%);
    --gradient-soft: linear-gradient(135deg, #EFF6FF 0%, #FDF2F8 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-pink: 0 10px 30px -5px rgba(236, 72, 153, 0.35);
    --shadow-blue: 0 10px 30px -5px rgba(30, 64, 175, 0.35);

    /* Layout */
    --container: 1200px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Prompt', 'Sarabun', system-ui, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: all 0.25s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ NAVBAR ============ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-900);
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: var(--shadow-blue);
    position: relative;
    overflow: hidden;
}
.logo-mark::after {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 70% 30%, rgba(236,72,153,0.6), transparent 60%);
}
.logo-mark span { position: relative; z-index: 1; }
.logo-text { line-height: 1.1; }
.logo-text small {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--pink-600);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-700);
    background: var(--primary-50);
}

.nav-links a.active {
    color: var(--primary-800);
    background: var(--primary-50);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--gradient-pink);
    border-radius: 3px;
}

.nav-actions { display: flex; gap: 10px; align-items: center; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 35px -5px rgba(30,64,175,0.5); }

.btn-pink {
    background: var(--gradient-pink);
    color: white;
    box-shadow: var(--shadow-pink);
}
.btn-pink:hover { transform: translateY(-2px); box-shadow: 0 14px 35px -5px rgba(236,72,153,0.5); }

.btn-outline {
    border: 2px solid var(--gray-200);
    color: var(--gray-700);
    background: white;
}
.btn-outline:hover {
    border-color: var(--primary-600);
    color: var(--primary-700);
}

.btn-ghost {
    color: var(--gray-700);
}
.btn-ghost:hover { background: var(--gray-100); }

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gray-100);
    place-items: center;
    color: var(--gray-700);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: 80px 0 120px;
    background: var(--gradient-soft);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236,72,153,0.18), transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.18), transparent 70%);
    border-radius: 50%;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(236,72,153,0.1);
    color: var(--pink-700);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--pink-500);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 .accent {
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
    padding-top: 36px;
    border-top: 1px solid var(--gray-200);
}
.stat-num {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-label {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Hero illustration */
.hero-art {
    position: relative;
    height: 540px;
}

.hero-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 20px;
}
.hero-card-1 {
    top: 0;
    right: 30px;
    width: 280px;
    transform: rotate(-3deg);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}
.hero-card-2 {
    bottom: 30px;
    left: 0;
    width: 260px;
    transform: rotate(4deg);
    z-index: 2;
    animation: float 6s ease-in-out infinite 1s;
}
.hero-card-3 {
    bottom: 90px;
    right: 0;
    width: 220px;
    transform: rotate(-2deg);
    z-index: 1;
    animation: float 6s ease-in-out infinite 2s;
}

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

.hero-card-1 { --rot: -3deg; }
.hero-card-2 { --rot: 4deg; }
.hero-card-3 { --rot: -2deg; }

.hero-thumb {
    height: 130px;
    border-radius: var(--radius);
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}
.thumb-1 { background: linear-gradient(135deg, #3B82F6, #1E3A8A); }
.thumb-2 { background: linear-gradient(135deg, #EC4899, #BE185D); }
.thumb-3 { background: linear-gradient(135deg, #8B5CF6, #6366F1); }

.thumb-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.85);
}

.hero-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
}
.hero-card small {
    font-size: 0.78rem;
    color: var(--gray-500);
}

/* ============ SECTION HEADERS ============ */
section { padding: 80px 0; }

.section-head {
    text-align: center;
    margin-bottom: 56px;
}

.eyebrow {
    display: inline-block;
    color: var(--pink-600);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.section-head p {
    color: var(--gray-500);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
}

/* ============ FEATURED COURSES ============ */
.featured {
    background: var(--white);
}

.featured-banner {
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
    color: white;
    margin-bottom: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    position: relative;
    overflow: hidden;
}
.featured-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.featured-banner h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.featured-banner p { opacity: 0.92; max-width: 480px; }
.featured-banner .btn { background: white; color: var(--primary-800); }
.featured-banner .btn:hover { transform: translateY(-2px); }

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 28px;
}

.course-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
}
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.course-thumb {
    height: 200px;
    position: relative;
    overflow: hidden;
}
.course-thumb-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.6s ease;
}
.course-card:hover .course-thumb-bg { transform: scale(1.08); }

.course-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,0.95);
    color: var(--primary-800);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}
.course-tag.hot {
    background: var(--gradient-pink);
    color: white;
}

.course-icon {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: white;
    font-size: 1.8rem;
}

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

.course-meta {
    display: flex;
    gap: 14px;
    color: var(--gray-500);
    font-size: 0.82rem;
    margin-bottom: 12px;
}
.course-meta span { display: inline-flex; align-items: center; gap: 4px; }

.course-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.4;
}

.course-card .desc {
    color: var(--gray-500);
    font-size: 0.92rem;
    margin-bottom: 20px;
    flex: 1;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.course-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-800);
}
.course-price small {
    font-size: 0.78rem;
    color: var(--gray-400);
    text-decoration: line-through;
    font-weight: 500;
    margin-left: 6px;
}
.course-price.free { color: var(--green); }

.course-btn {
    padding: 8px 16px;
    background: var(--primary-50);
    color: var(--primary-700);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.course-btn:hover {
    background: var(--gradient-primary);
    color: white;
}

/* ============ FEATURES ============ */
.features {
    background: var(--gradient-soft);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.feature-card {
    background: white;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}
.feature-icon.blue { background: var(--gradient-primary); }
.feature-icon.pink { background: var(--gradient-pink); }
.feature-icon.purple { background: linear-gradient(135deg, #8B5CF6, #6366F1); }
.feature-icon.green { background: linear-gradient(135deg, #10B981, #059669); }

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}
.feature-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* ============ CTA SECTION ============ */
.cta-section {
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: 64px 48px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin: 0 24px;
}
.cta-section::before, .cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}
.cta-section::before {
    top: -50px; left: -50px;
    width: 220px; height: 220px;
    background: rgba(255,255,255,0.1);
}
.cta-section::after {
    bottom: -80px; right: -80px;
    width: 280px; height: 280px;
    background: rgba(236,72,153,0.25);
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}
.cta-section p {
    font-size: 1.1rem;
    opacity: 0.93;
    margin-bottom: 30px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.cta-section .btn { position: relative; }
.cta-section .btn-white {
    background: white;
    color: var(--primary-800);
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    line-height: 1;
    color: var(--pink-100);
    font-family: serif;
}
.testimonial p {
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: grid;
    place-items: center;
    color: white;
    font-weight: 700;
}
.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}
.author-info span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ============ FOOTER ============ */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 80px 0 30px;
    margin-top: 80px;
}

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

.footer-brand p {
    margin: 16px 0 24px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer .logo { color: white; }
.footer .logo-text small { color: var(--pink-400); }

.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    display: grid;
    place-items: center;
    color: white;
    transition: all 0.2s ease;
}
.social-links a:hover {
    background: var(--gradient-pink);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    font-size: 0.92rem;
    transition: all 0.2s ease;
}
.footer-col a:hover { color: var(--pink-400); padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 26px;
    text-align: center;
    font-size: 0.85rem;
}

/* ============ PAGE HEADER (sub pages) ============ */
.page-header {
    background: var(--gradient-soft);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236,72,153,0.15), transparent 70%);
    border-radius: 50%;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 70%);
    border-radius: 50%;
}
.page-header .eyebrow { color: var(--pink-600); }
.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    position: relative;
}
.page-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

/* ============ ABOUT PAGE ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--gray-900);
}
.about-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}
.about-img {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    height: 460px;
    display: grid;
    place-items: center;
    color: white;
    font-size: 6rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}
.about-img::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--gradient-pink);
    border-radius: 50%;
    opacity: 0.4;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}
.value-card {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 24px;
    background: var(--gradient-pink);
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    color: white;
}
.value-card:nth-child(2) .value-icon { background: var(--gradient-primary); }
.value-card:nth-child(3) .value-icon { background: linear-gradient(135deg, #8B5CF6, #6366F1); }
.value-card:nth-child(4) .value-icon { background: linear-gradient(135deg, #10B981, #059669); }

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-900);
}
.value-card p { color: var(--gray-500); font-size: 0.92rem; }

/* ============ STAFF PAGE ============ */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}
.staff-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.staff-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.staff-img {
    height: 300px;
    background: var(--gradient-primary);
    display: grid;
    place-items: center;
    color: white;
    font-size: 6rem;
    position: relative;
    overflow: hidden;
}
.staff-card:nth-child(2n) .staff-img { background: var(--gradient-pink); }
.staff-card:nth-child(3n) .staff-img { background: linear-gradient(135deg, #8B5CF6, #6366F1); }
.staff-card:nth-child(4n) .staff-img { background: linear-gradient(135deg, #F97316, #EC4899); }

.staff-info {
    padding: 24px;
    text-align: center;
}
.staff-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}
.staff-role {
    color: var(--pink-600);
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 14px;
}
.staff-bio {
    color: var(--gray-500);
    font-size: 0.88rem;
    margin-bottom: 16px;
}
.staff-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.staff-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    display: grid;
    place-items: center;
    color: var(--gray-600);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.staff-social a:hover {
    background: var(--gradient-primary);
    color: white;
}

/* ============ NEWS PAGE ============ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.news-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.news-thumb {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: white;
    font-size: 4rem;
}
.news-thumb-1 { background: linear-gradient(135deg, #3B82F6, #1E40AF); }
.news-thumb-2 { background: linear-gradient(135deg, #EC4899, #BE185D); }
.news-thumb-3 { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.news-thumb-4 { background: linear-gradient(135deg, #F97316, #EA580C); }
.news-thumb-5 { background: linear-gradient(135deg, #10B981, #047857); }
.news-thumb-6 { background: linear-gradient(135deg, #6366F1, #4338CA); }

.news-cat {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,0.95);
    color: var(--primary-800);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.news-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-date {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-bottom: 10px;
}
.news-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.4;
}
.news-body p {
    color: var(--gray-500);
    font-size: 0.93rem;
    margin-bottom: 18px;
    flex: 1;
}
.news-link {
    color: var(--pink-600);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.news-link:hover { gap: 12px; color: var(--pink-700); }

/* ============ FAQ ============ */
.faq-wrap {
    max-width: 820px;
    margin: 0 auto;
}
.faq-item {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}
.faq-item.open {
    border-color: var(--primary-300);
    box-shadow: var(--shadow);
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}
.faq-q:hover { background: var(--primary-50); }

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary-700);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item.open .faq-icon {
    background: var(--gradient-pink);
    color: white;
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    color: var(--gray-600);
    transition: all 0.35s ease;
}
.faq-item.open .faq-a {
    max-height: 400px;
    padding: 0 24px 22px;
}

/* ============ CONTACT ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}
.contact-info {
    background: var(--gradient-hero);
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.contact-info::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.contact-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 14px;
    position: relative;
}
.contact-info > p {
    opacity: 0.9;
    margin-bottom: 32px;
    position: relative;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
}
.contact-icon {
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-item h4 {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.contact-item p {
    font-size: 0.88rem;
    opacity: 0.85;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--gray-800);
    transition: all 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ============ COURSE FILTERS ============ */
.filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.filter-btn {
    padding: 10px 22px;
    background: white;
    border: 1.5px solid var(--gray-200);
    border-radius: 999px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--primary-400); color: var(--primary-700); }
.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
    .hero-grid, .about-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid { gap: 32px; }
    .hero-art { height: 420px; }
    .hero-stats { gap: 16px; }
    .stat-num { font-size: 1.6rem; }
}

@media (max-width: 768px) {
    .nav-toggle { display: grid; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 18px;
        gap: 6px;
        border-bottom: 1px solid var(--gray-100);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-links.open { max-height: 500px; }
    .nav-links a { padding: 14px 16px; }
    .nav-actions { display: none; }

    .hero { padding: 50px 0 80px; }
    .hero-art { height: 360px; }
    .hero-card { width: 220px !important; padding: 14px; }
    .hero-thumb { height: 100px; }

    .form-row { grid-template-columns: 1fr; }
    section { padding: 60px 0; }
    .featured-banner { padding: 28px; flex-direction: column; align-items: flex-start; }
    .cta-section { padding: 48px 28px; }
}

@media (max-width: 480px) {
    .hero-stats { grid-template-columns: 1fr; gap: 18px; }
    .hero-art { display: none; }
    .featured-banner h3 { font-size: 1.3rem; }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
