/* ============================================================
   PRIVEDU — Global Animation & Interaction System
   ============================================================ */

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-32px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(32px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-16px); max-height: 0; }
    to   { opacity: 1; transform: translateY(0); max-height: 600px; }
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.4); opacity: 0.7; }
}

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

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes ripple {
    0%   { transform: scale(0); opacity: 0.6; }
    100% { transform: scale(4); opacity: 0; }
}

/* --- Page Transition Overlay --- */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: #1e3b2b;
    z-index: 9999;
    transform-origin: bottom;
    transform: scaleY(0);
    pointer-events: none;
}

/* --- Scroll Reveal System --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.reveal-left {
    transform: translateX(-40px);
}
.reveal.reveal-right {
    transform: translateX(40px);
}
.reveal.reveal-scale {
    transform: scale(0.92);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

html {
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
#contact {
    scroll-margin-top: 88px;
}

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

:root {
    --font-sans: 'Outfit', sans-serif;
    --font-display: 'Outfit', sans-serif;
    --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.36s cubic-bezier(0.34, 1.56, 0.64, 1);
    --border-radius-sm: 10px;
    --border-radius-md: 16px;
    --border-radius-lg: 28px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 16px 32px rgba(15, 23, 42, 0.08), 0 6px 12px rgba(15, 23, 42, 0.05);
    --shadow-colored: 0 8px 24px -6px rgba(var(--primary-rgb), 0.22);
    --glow-primary: 0 0 20px rgba(var(--primary-rgb), 0.15);

    /* Fluid spacing scale — an 8px base progression that scales with viewport
       instead of jumping between fixed breakpoint values. Use these instead of
       one-off pixel margins/paddings/gaps wherever the value marks a rhythm
       step rather than an exact, deliberate pixel measurement. */
    --space-1: clamp(0.5rem, 0.46rem + 0.2vw, 0.625rem);   /* ~8-10px */
    --space-2: clamp(0.75rem, 0.68rem + 0.35vw, 1rem);     /* ~12-16px */
    --space-3: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);        /* ~16-24px */
    --space-4: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);        /* ~24-32px */
    --space-5: clamp(2rem, 1.7rem + 1.5vw, 3rem);          /* ~32-48px */
    --space-6: clamp(2.5rem, 2rem + 2.2vw, 4rem);          /* ~40-64px */
    --space-7: clamp(3.5rem, 2.7rem + 3.6vw, 6rem);        /* ~56-96px */
    --space-8: clamp(4.5rem, 3.2rem + 5.8vw, 8rem);        /* ~72-128px */

    /* Fluid type scale — same idea, for headline/body sizes that recur across
       sections. Component-specific sizes (e.g. the oversized hero/statement
       display type) still set their own clamp() since they don't share this
       rhythm. */
    --text-sm: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
    --text-base: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
    --text-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
    --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
    --text-2xl: clamp(1.625rem, 1.4rem + 1.1vw, 2.125rem);
    --text-3xl: clamp(2rem, 1.6rem + 2vw, 2.875rem);

    /* 12-column grid — a shared token so any section can opt into the same
       column math instead of inventing its own fr-values. */
    --grid-cols: 12;
    --grid-gap: var(--space-4);
}

/* Opt-in 12-column grid + span utilities. Sections keep their own semantic
   class names (.hero-grid-modern etc.) for layout-specific rules, but can
   compose these where a plain column split is all they need. */
.grid-12 {
    display: grid;
    grid-template-columns: repeat(var(--grid-cols), 1fr);
    gap: var(--grid-gap);
}
.col-span-4  { grid-column: span 4; }
.col-span-5  { grid-column: span 5; }
.col-span-6  { grid-column: span 6; }
.col-span-7  { grid-column: span 7; }
.col-span-8  { grid-column: span 8; }
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 900px) {
    .grid-12 {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
    }
    .grid-12 > [class*="col-span-"] {
        width: 100%;
        max-width: 100%;
    }
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ── Display / Heading Font System ───────────────────────── */
h1, h2, h3, h4, h5, h6,
.section-title, .section-title-left,
.hero-main-title, .statement-text,
.parents-banner-title, .parents-text h2,
.support-info h3, .blog-card-title,
.faq-question, .trust-text h3,
.step-card h4, .category-card h3,
.teacher-name, .footer-logo {
    font-family: var(--font-display);
    font-feature-settings: 'ss01' 1, 'kern' 1, 'liga' 1;
    letter-spacing: -0.02em;
}

main, .main-content {
    flex: 1 0 auto;
}

/* Theme Configurations */
.theme-green {
    /* Privedu brand palette — derived only from Deep Green (#0F2E15), Sage/Cream (#DAE2CB) and White */
    --primary: #0F2E15;
    --primary-dark: #081b0c;
    --primary-light: #DAE2CB;
    --primary-light-rgb: 218, 226, 203;
    --primary-accent: #7C9670;
    --primary-rgb: 15, 46, 21;
    --secondary: #DAE2CB;
    --secondary-hover: #cbd5b8;
    --text-dark: #0F2E15;
    --text-light: #ffffff;
    --text-muted: rgba(15, 46, 21, 0.62);
    --bg-main: #ffffff;
    --bg-soft: #DAE2CB;
    --bg-card: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.55);
    --bg-header-scrolled: rgba(255, 255, 255, 0.88);
    --header-text: #0F2E15;
    --header-text-muted: rgba(15, 46, 21, 0.62);
    --header-border: rgba(15, 46, 21, 0.10);
    --header-hover-bg: rgba(218, 226, 203, 0.55);
    --header-cta-bg: #0F2E15;
    --header-cta-bg-hover: #081b0c;
    --header-cta-text: #ffffff;
    --border-color: rgba(15, 46, 21, 0.14);
    --success: #0F2E15;
    --danger: #b3392f;
}

.theme-darkgreen {
    /* Same two-hue brand system, inverted for a dark surface — no separate accent hue introduced */
    --primary:       #DAE2CB;
    --primary-dark:  #c3cdad;
    --primary-light: rgba(218, 226, 203, 0.14);
    --primary-light-rgb: 218, 226, 203;
    --primary-accent:#DAE2CB;
    --primary-rgb:   218, 226, 203;
    --secondary:     #0F2E15;
    --secondary-hover:#081b0c;
    --text-dark:     #F2F5EA;
    --text-light:    #ffffff;
    --text-muted:    rgba(242, 245, 234, 0.62);
    --bg-main:       #0F2E15;
    --bg-soft:       #0a2010;
    --bg-card:       #143a1c;
    --bg-header:     rgba(11, 26, 15, 0.55);
    --bg-header-scrolled: rgba(12, 30, 17, 0.88);
    --header-text:   #F2F5EA;
    --header-text-muted: rgba(242, 245, 234, 0.62);
    --header-border: rgba(218, 226, 203, 0.18);
    --header-hover-bg: rgba(218, 226, 203, 0.14);
    --header-cta-bg: #DAE2CB;
    --header-cta-bg-hover: #c3cdad;
    --header-cta-text: #0F2E15;
    --border-color:  rgba(218, 226, 203, 0.16);
    --success:       #DAE2CB;
    --danger:        #e5847a;
}

/* ── Dark theme: global ──────────────────────────────────── */
.theme-darkgreen body {
    background-color: var(--bg-main);
    color: var(--text-dark);
}

/* Navigation Overrides */
.theme-darkgreen .logo { color: var(--text-dark); }
.theme-darkgreen .btn-primary   { background-color: var(--primary) !important; color: var(--header-cta-text) !important; border-color: var(--primary) !important; }
.theme-darkgreen .btn-secondary { background-color: var(--primary-light) !important; color: var(--primary) !important; border-color: var(--border-color) !important; }
.theme-darkgreen .btn-outline   { color: var(--primary) !important; border-color: var(--border-color) !important; }
.theme-darkgreen .btn-outline:hover { background-color: var(--primary-light) !important; }

/* Section titles & headings */
.theme-darkgreen h1,
.theme-darkgreen h2,
.theme-darkgreen h3,
.theme-darkgreen h4,
.theme-darkgreen h5,
.theme-darkgreen h6,
.theme-darkgreen .hero-title,
.theme-darkgreen .section-title,
.theme-darkgreen .section-title-left,
.theme-darkgreen .category-card h3,
.theme-darkgreen .parents-text h2,
.theme-darkgreen .support-info h3,
.theme-darkgreen .faq-question,
.theme-darkgreen .blog-card-title,
.theme-darkgreen .form-group label,
.theme-darkgreen .about-hero h1,
.theme-darkgreen .how-header h1,
.theme-darkgreen .support-header h1,
.theme-darkgreen .partner-header h1,
.theme-darkgreen .career-header h1,
.theme-darkgreen .faq-header h1,
.theme-darkgreen .tutors-header h1,
.theme-darkgreen .blog-header h1,
.theme-darkgreen .courses-header h1,
.theme-darkgreen .page-header h1,
.theme-darkgreen .story-left h2,
.theme-darkgreen .values-header h2,
.theme-darkgreen .partner-card h3,
.theme-darkgreen .career-card h3,
.theme-darkgreen .info-box-title,
.theme-darkgreen .calc-header h1 {
    color: #e8f5ee !important;
}

/* Muted / descriptive text */
.theme-darkgreen p,
.theme-darkgreen .section-desc,
.theme-darkgreen .about-hero p,
.theme-darkgreen .how-header p,
.theme-darkgreen .support-header p,
.theme-darkgreen .partner-header p,
.theme-darkgreen .career-header p,
.theme-darkgreen .faq-header p,
.theme-darkgreen .tutors-header p,
.theme-darkgreen .blog-header p,
.theme-darkgreen .courses-header p,
.theme-darkgreen .story-p,
.theme-darkgreen .partner-card p,
.theme-darkgreen .career-card p,
.theme-darkgreen .stat-item p,
.theme-darkgreen .calc-desc,
.theme-darkgreen .footer-desc {
    color: #86b09a !important;
}

/* Page / wrapper backgrounds */
.theme-darkgreen .about-wrapper,
.theme-darkgreen .how-wrapper,
.theme-darkgreen .support-wrapper,
.theme-darkgreen .partner-wrapper,
.theme-darkgreen .career-wrapper,
.theme-darkgreen .faq-wrapper,
.theme-darkgreen .tutors-wrapper,
.theme-darkgreen .blog-wrapper,
.theme-darkgreen .courses-wrapper,
.theme-darkgreen .auth-wrapper,
.theme-darkgreen .auth-container,
.theme-darkgreen .calculator-wrapper,
.theme-darkgreen .teacher-profile-wrapper,
.theme-darkgreen .main-container,
.theme-darkgreen section {
    background-color: var(--bg-main) !important;
    color: var(--text-dark) !important;
}

/* Alternating section bg */
.theme-darkgreen .how-it-works,
.theme-darkgreen .parents-section,
.theme-darkgreen .trust-bar {
    background-color: var(--bg-soft) !important;
}

/* Cards */
.theme-darkgreen .about-story,
.theme-darkgreen .value-card,
.theme-darkgreen .info-box-card,
.theme-darkgreen .support-form-card,
.theme-darkgreen .partner-card,
.theme-darkgreen .career-card,
.theme-darkgreen .faq-card,
.theme-darkgreen .faq-item,
.theme-darkgreen .timeline-content,
.theme-darkgreen .hero-box,
.theme-darkgreen .calc-card,
.theme-darkgreen .auth-card,
.theme-darkgreen .login-card,
.theme-darkgreen .register-card,
.theme-darkgreen .role-card,
.theme-darkgreen .filter-panel,
.theme-darkgreen .seo-intro-card,
.theme-darkgreen .pcard,
.theme-darkgreen .stats-strip,
.theme-darkgreen .category-card,
.theme-darkgreen .course-card,
.theme-darkgreen .teacher-card,
.theme-darkgreen .blog-card,
.theme-darkgreen .feature-card,
.theme-darkgreen .trust-card,
.theme-darkgreen .modal-content,
.theme-darkgreen .parents-banner {
    background-color: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-dark) !important;
}
.theme-darkgreen .parents-banner-light {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.theme-darkgreen .btn-parents-action {
    background-color: var(--primary) !important;
    color: var(--secondary) !important;
    font-weight: 700 !important;
}
.theme-darkgreen .btn-parents-action:hover {
    background-color: var(--primary-dark) !important;
    color: var(--secondary) !important;
}
.theme-darkgreen .parents-img {
    box-shadow: none !important;
    border: none !important;
}
.theme-darkgreen .category-card h3,
.theme-darkgreen .teacher-card h3,
.theme-darkgreen .blog-card-title,
.theme-darkgreen .feature-card h3,
.theme-darkgreen .trust-card h3,
.theme-darkgreen .parents-banner-title,
.theme-darkgreen .parents-text h2 { color: #e8f5ee !important; }
.theme-darkgreen .category-card p,
.theme-darkgreen .teacher-card p,
.theme-darkgreen .blog-card p,
.theme-darkgreen .feature-card p,
.theme-darkgreen .parents-banner-desc,
.theme-darkgreen .parents-text p { color: #c8e6d4 !important; }

/* Forms */
.theme-darkgreen .form-control,
.theme-darkgreen input[type="text"],
.theme-darkgreen input[type="email"],
.theme-darkgreen input[type="password"],
.theme-darkgreen input[type="tel"],
.theme-darkgreen textarea,
.theme-darkgreen select,
.theme-darkgreen .filter-input {
    background-color: #0a1a10 !important;
    color: #e8f5ee !important;
    border-color: rgba(74,222,128,0.2) !important;
}
.theme-darkgreen .form-control::placeholder,
.theme-darkgreen input::placeholder,
.theme-darkgreen textarea::placeholder { color: #4d7a60 !important; }
.theme-darkgreen .form-group label { color: #c8e6d4 !important; }

/* Trust bar numbers */
.theme-darkgreen .trust-text h3 { color: var(--primary) !important; }
.theme-darkgreen .trust-text p  { color: var(--text-muted) !important; }

/* Steps */
.theme-darkgreen .step-num { background-color: var(--primary-light); color: var(--primary); }
.theme-darkgreen .step-card h4 { color: var(--text-dark) !important; }
.theme-darkgreen .step-card p  { color: var(--text-muted) !important; }

/* Section tags */
.theme-darkgreen .section-tag { background-color: var(--primary-light); color: var(--primary); }
.theme-darkgreen .section-see-all { color: var(--primary) !important; border-color: var(--border-color) !important; }
.theme-darkgreen .section-see-all:hover { background-color: var(--primary) !important; color: var(--header-cta-text) !important; }
.theme-darkgreen .section-title-left { color: var(--text-dark) !important; border-left-color: var(--primary) !important; }


/* Dark Green Theme Heading Text & Wrapper Overrides */
.theme-darkgreen h1,
.theme-darkgreen h2,
.theme-darkgreen h3,
.theme-darkgreen h4,
.theme-darkgreen h5,
.theme-darkgreen h6,
.theme-darkgreen .hero-title,
.theme-darkgreen .section-title,
.theme-darkgreen .category-card h3,
.theme-darkgreen .parents-text h2,
.theme-darkgreen .support-info h3,
.theme-darkgreen .faq-question,
.theme-darkgreen .blog-card-title,
.theme-darkgreen .form-group label,
.theme-darkgreen .about-hero h1,
.theme-darkgreen .how-header h1,
.theme-darkgreen .support-header h1,
.theme-darkgreen .partner-header h1,
.theme-darkgreen .career-header h1,
.theme-darkgreen .faq-header h1,
.theme-darkgreen .tutors-header h1,
.theme-darkgreen .blog-header h1,
.theme-darkgreen .courses-header h1,
.theme-darkgreen .page-header h1,
.theme-darkgreen .story-left h2,
.theme-darkgreen .values-header h2,
.theme-darkgreen .partner-card h3,
.theme-darkgreen .career-card h3,
.theme-darkgreen .info-box-title,
.theme-darkgreen .calc-header h1 {
    color: var(--text-dark) !important;
}

.theme-darkgreen .about-hero p,
.theme-darkgreen .how-header p,
.theme-darkgreen .support-header p,
.theme-darkgreen .partner-header p,
.theme-darkgreen .career-header p,
.theme-darkgreen .faq-header p,
.theme-darkgreen .tutors-header p,
.theme-darkgreen .blog-header p,
.theme-darkgreen .courses-header p,
.theme-darkgreen .story-p,
.theme-darkgreen .partner-card p,
.theme-darkgreen .career-card p,
.theme-darkgreen .stat-item p,
.theme-darkgreen .calc-desc {
    color: var(--text-muted) !important;
}

.theme-darkgreen .about-wrapper,
.theme-darkgreen .how-wrapper,
.theme-darkgreen .support-wrapper,
.theme-darkgreen .partner-wrapper,
.theme-darkgreen .career-wrapper,
.theme-darkgreen .faq-wrapper,
.theme-darkgreen .tutors-wrapper,
.theme-darkgreen .blog-wrapper,
.theme-darkgreen .courses-wrapper,
.theme-darkgreen .auth-wrapper,
.theme-darkgreen .auth-container,
.theme-darkgreen .calculator-wrapper,
.theme-darkgreen .teacher-profile-wrapper,
.theme-darkgreen .main-container {
    background: var(--bg-main) !important;
    background-color: var(--bg-main) !important;
    color: var(--text-dark) !important;
}

.theme-darkgreen .about-story,
.theme-darkgreen .value-card,
.theme-darkgreen .info-box-card,
.theme-darkgreen .support-form-card,
.theme-darkgreen .partner-card,
.theme-darkgreen .career-card,
.theme-darkgreen .faq-card,
.theme-darkgreen .faq-item,
.theme-darkgreen .timeline-content,
.theme-darkgreen .hero-box,
.theme-darkgreen .calc-card,
.theme-darkgreen .auth-card,
.theme-darkgreen .filter-panel,
.theme-darkgreen .seo-intro-card,
.theme-darkgreen .pcard,
.theme-darkgreen .stats-strip,
.theme-darkgreen .category-card,
.theme-darkgreen .course-card,
.theme-darkgreen .teacher-card,
.theme-darkgreen .blog-card,
.theme-darkgreen .feature-card,
.theme-darkgreen .trust-card,
.theme-darkgreen .modal-content {
    background-color: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-dark) !important;
}

.theme-darkgreen .btn-outline {
    color: var(--primary) !important;
    border-color: var(--primary);
}

.theme-darkgreen .btn-outline:hover {
    background-color: var(--primary-light);
}

.theme-darkgreen .form-control,
.theme-darkgreen input[type="text"],
.theme-darkgreen input[type="email"],
.theme-darkgreen input[type="password"],
.theme-darkgreen input[type="tel"],
.theme-darkgreen textarea,
.theme-darkgreen select,
.theme-darkgreen .filter-input {
    background-color: var(--bg-card) !important;
    color: var(--text-dark) !important;
    border-color: var(--border-color) !important;
}

.theme-blue {
    --primary: #2b5c8f;
    --primary-dark: #1b3d60;
    --primary-light: #f0f5fa;
    --primary-rgb: 43, 92, 143;
    --secondary: #e67e22;
    --secondary-hover: #d35400;
    --text-dark: #0e1621;
    --text-light: #ffffff;
    --text-muted: #505c6d;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.95);
    --border-color: #e4ebf3;
    --success: #2980b9;
    --danger: #e74c3c;
}

/* Typography & Layout Elements */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 3vw, 40px);
}

/* ── Full-bleed section wrapper — hero, statement, CTA banners ── */
.section-full {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* ── Content panels inside full-bleed sections ── */
.section-full .container-wide,
.section-full .container {
    padding-left: clamp(20px, 4vw, 64px);
    padding-right: clamp(20px, 4vw, 64px);
}

/* Wider canvas — breaks out of 1200px column for editorial impact */
.container-wide {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 72px);
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px auto;
}

/* Sol bordür section başlık — editorial stil */
.section-header-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title-left {
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    color: var(--text-dark);
    padding-left: 14px;
    border-left: 3px solid var(--primary);
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.section-see-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.section-see-all:hover {
    background: var(--primary);
    color: var(--header-cta-text);
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.section-desc {
    color: var(--text-muted);
    font-size: 18px;
}

/* Helper Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.25);
}

.btn-secondary {
    background: #DAE2CB;
    color: var(--primary);
    border: 1px solid #DAE2CB;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background: #cbd5b8;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

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

.btn-outline:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}



/* ============================================================
   PRIVEDU SLEEK FULL-WIDTH HORIZONTAL HERO
   ============================================================ */
.hero-section {
    width: 100%;
    background: var(--bg-main);
    padding: clamp(56px, 6.5vw, 88px) 0 clamp(48px, 5.5vw, 76px) 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.hero-content {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background-color: var(--primary-light);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-badge-pill svg {
    color: var(--primary);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 4.2vw, 3.85rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    margin: 0 0 18px 0;
    text-wrap: balance;
    max-width: 840px;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    line-height: 1.62;
    color: var(--text-muted);
    max-width: 660px;
    margin: 0 auto 30px auto;
    text-wrap: balance;
}

.search-box-wrap {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 20px auto;
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 6px 8px 6px 18px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.search-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}

.search-icon {
    color: var(--text-muted);
    margin-right: 12px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: var(--font-sans);
    background: transparent;
    color: var(--text-dark);
    min-width: 0;
}

.quick-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.quick-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 650;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.quick-pill:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.12);
}

/* Solid CTA pill — same bg/text pairing as the header CTA, so the one
   conversion action reads identically wherever it appears */
.hero-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--header-cta-bg);
    color: var(--header-cta-text) !important;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.22);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.hero-cta-pill:hover {
    background: var(--header-cta-bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(var(--primary-rgb), 0.3);
}

.hero-cta-pill .cta-arrow {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.hero-cta-pill:hover .cta-arrow {
    transform: translateX(4px);
}

.hero-cta-pill:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* ============================================================
   HERO VISUAL — hand-drawn 2D vector illustration + one product card
   (replaces the earlier photo-stack composition; no stock/real photography)
   ============================================================ */
.hero-visual-wrap {
    grid-column: span 6;
    position: relative;
    width: 100%;
    max-width: 660px;
    margin: 0 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-uploaded-img-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-custom-illustration {
    width: 100%;
    height: auto;
    max-height: 590px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 24px 48px rgba(12, 24, 18, 0.08));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-custom-illustration:hover {
    transform: translateY(-4px) scale(1.01);
}

.hero-illus-float {
    will-change: transform;
}

.hero-product-card {
    position: absolute;
    right: 2%;
    bottom: -4%;
    width: 178px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 16px 32px -12px rgba(var(--primary-rgb), 0.35);
    z-index: 3;
}

.hpc-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.hpc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

.hpc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hpc-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 3px 0;
}

.hpc-list li.done {
    color: var(--text-dark);
}

.hpc-list li svg {
    width: 14px;
    height: 14px;
    color: var(--primary);
    flex-shrink: 0;
}

.hpc-pill {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-dark);
    background: var(--primary-light);
    padding: 3px 8px;
    border-radius: 20px;
}

@media (max-width: 991px) {
    .hero-section {
        padding: 16px 0 24px 0;
    }
    .hero-card-banner {
        padding: 32px 24px;
        border-radius: 20px;
    }
    /* Content order stays headline → description → CTA → illustration: the
       grid already places .hero-left-content before .hero-visual-wrap in the
       source, so collapsing to a single column preserves that reading order. */
    .hero-grid-modern {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .hero-left-content,
    .hero-visual-wrap {
        grid-column: 1 / -1;
    }
    .hero-left-content {
        align-items: center;
        text-align: center;
    }
    .hero-sub-text {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-visual-wrap {
        margin: 0 auto;
        max-width: 340px;
    }
    .hero-product-card {
        width: 150px;
        padding: 10px 12px;
        right: 0;
    }
    .hero-blob {
        width: 80vw;
        height: 80vw;
        right: -30%;
    }
}

/* ============================================================
   STATEMENT SECTION — "Ezber yok, Privedu var."
   A full-bleed campaign beat between the hero and the content-heavy sections.
   ============================================================ */
/* Deliberately inverted from the hero: var(--primary) is the deep green in
   light theme and the cream in dark theme, so this section always lands as
   the opposite field from whatever the hero just showed — a call-and-response
   beat rather than a section that quietly matches its neighbors. */
.statement-section {
    width: 100%;
    background: var(--primary);
    position: relative;
    padding: clamp(44px, 10vw, 120px) 0;
    overflow: hidden;
    isolation: isolate;
}

/* The blanket ".theme-darkgreen section" rule elsewhere repaints every
   section to the page's own surface colors; this section is the one
   deliberate exception, so it needs to out-rank that rule here. */
.theme-darkgreen .statement-section {
    background-color: var(--primary) !important;
    color: var(--bg-main) !important;
}
.theme-darkgreen .statement-text {
    color: var(--bg-main) !important;
}
.theme-darkgreen .testimonial-quote-text {
    color: var(--bg-main) !important;
}

/* Subtle paper grain — keeps the flat brand-green field from reading as a plain
   digital gradient; a fixed SVG turbulence tile, not a photo or a library. */
.statement-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.5;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.059  0 0 0 0 0.18  0 0 0 0 0.082  0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.statement-inner {
    position: relative;
    z-index: 1;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
}

.statement-text {
    margin: 0;
    color: var(--bg-main);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(44px, 9vw, 136px);
    line-height: 0.96;
    letter-spacing: -0.045em;
    text-align: center;
    text-wrap: balance;
}

/* JS wraps each word in a .sw span for the staggered reveal; if JS hasn't run
   yet (or is disabled) the plain text node above is still fully readable. */
.statement-text .sw {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}
.statement-text .sw > span {
    display: inline-block;
    transform: translateY(105%);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--i, 0) * 0.05s);
}
.statement-section.is-visible .statement-text .sw > span {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .statement-text .sw > span {
        transition: none;
        transform: translateY(0);
    }
}

/* ── Sınav Statement Section ─────────────────────────────────────────── */
/* "Sınavda Neler Yapabilirim?" — same full-bleed beat as the Ezber section
   but with a smaller headline + sub-text + CTA below it. */
.sinav-statement-section {
    padding: clamp(40px, 9vw, 112px) 0;
}

/* Scattered math-doodle field behind the headline — the same "ink" as the
   text itself, just faint enough to read as texture rather than content. */
.sinav-doodle-bg,
.ezber-doodle-bg,
.testimonial-doodle-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--bg-main);
    opacity: 0.05;
    pointer-events: none;
}

.sinav-statement-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Scale the headline down slightly so it feels like a companion beat,
   not a copy of the Ezber section. */
.sinav-statement-label {
    font-size: clamp(36px, 7vw, 108px);
    line-height: 1;
    text-align: center;
    margin: 0;
}

.sinav-statement-sub {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 640px;
}

.sinav-statement-sub p {
    color: rgba(255,255,255,0.85);
    font-size: clamp(14px, 1.6vw, 17px);
    line-height: 1.65;
    margin: 0;
    font-weight: 500;
}

.sinav-statement-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #DAE2CB;
    color: #0F2E15;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 100px;
    transition: background-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.sinav-statement-cta:hover {
    background-color: #fff;
    color: #0F2E15;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}

.sinav-statement-cta .cta-arrow {
    transition: transform 0.22s ease;
}

.sinav-statement-cta:hover .cta-arrow {
    transform: translateX(4px);
}

.theme-darkgreen .sinav-statement-sub p {
    color: rgba(0,0,0,0.75) !important;
}

@media (max-width: 600px) {
    .sinav-statement-inner {
        gap: 24px;
    }
    .sinav-statement-sub {
        max-width: 100%;
    }
}

/* ── Testimonial Section ─────────────────────────────────────────────── */
/* "Yorumlar" — same full-bleed statement beat as Ezber/Sınav sections,
   but the content slot holds a single-quote carousel instead of a
   headline. One slide visible at a time; the rest cross-fade in/out. */
.testimonial-section {
    padding: clamp(48px, 8vw, 96px) 0;
    position: relative;
    overflow: hidden;
}

.testimonial-inner {
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(20px, 4vw, 32px);
    width: 100%;
}

.testimonial-carousel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(8px, 2.5vw, 28px);
    width: 100%;
    position: relative;
}

.testimonial-nav-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--bg-main);
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.05);
    color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    z-index: 10;
    transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.testimonial-nav-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.06);
}

.testimonial-nav-btn:active {
    transform: scale(0.92);
    opacity: 1;
}

.testimonial-nav-btn:focus-visible {
    outline: 2px solid var(--bg-main);
    outline-offset: 2px;
    opacity: 1;
}

.testimonial-track {
    position: relative;
    width: 100%;
    min-width: 0;
    flex: 1;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}
.testimonial-track:active,
.testimonial-track.grabbing {
    cursor: grabbing;
}

.testimonial-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide.is-active {
    position: relative;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.testimonial-quote-mark {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-main);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.testimonial-quote-text {
    margin: 0 0 24px;
    color: var(--bg-main);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(20px, 3.2vw, 36px);
    line-height: 1.42;
    letter-spacing: -0.01em;
    text-wrap: balance;
    max-width: 820px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-main);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.testimonial-author-name {
    color: var(--bg-main);
    font-weight: 700;
    font-size: 16px;
}

.testimonial-author-role {
    color: var(--bg-main);
    opacity: 0.75;
    font-weight: 500;
    font-size: 13.5px;
}

.testimonial-dots {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    z-index: 10;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--bg-main);
    opacity: 0.25;
    cursor: pointer;
    padding: 0;
    touch-action: manipulation;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.testimonial-dot:hover {
    opacity: 0.65;
}

.testimonial-dot.is-active {
    opacity: 1;
    transform: scale(1.3);
}

.testimonial-dot:focus-visible {
    outline: 2px solid var(--bg-main);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 44px 0;
    }
    .testimonial-track {
        min-height: 280px;
    }
    .testimonial-nav-btn {
        width: 42px;
        height: 42px;
    }
    .testimonial-quote-mark {
        width: 44px;
        height: 44px;
        margin-bottom: 14px;
    }
    .testimonial-quote-mark svg {
        width: 22px;
        height: 22px;
    }
    .testimonial-quote-text {
        font-size: clamp(17px, 4.2vw, 22px);
        margin-bottom: 18px;
    }
    .testimonial-author {
        flex-direction: column;
        gap: 8px;
    }
    .testimonial-author-info {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .testimonial-carousel-row {
        gap: 6px;
    }
    .testimonial-nav-btn {
        width: 38px;
        height: 38px;
    }
    .testimonial-nav-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Floating Cards (legacy, kept for compatibility) */
.floating-card {
    position: absolute;
    background-color: rgba(255,255,255,0.12);
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(12px);
    transition: var(--transition);
    color: #fff;
}

.floating-card:hover {
    transform: translateY(-4px) !important;
}

.floating-card-1 {
    top: 10%;
    left: -40px;
    animation: float 5s ease-in-out infinite;
}

.floating-card-2 {
    bottom: 10%;
    right: -20px;
    animation: float 5s ease-in-out infinite 2.5s;
}

.floating-card .icon-wrap {
    width: 44px;
    height: 44px;
    background-color: rgba(35,103,70,0.25);
    color: #a2e3bd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.floating-card .card-text h5 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.floating-card .card-text p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

/* Trust/Stats bar — rizedijital.com düz yatay bar stili */
.trust-bar {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 3px solid var(--primary);
    padding: 0;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.trust-bar::before {
    display: none;
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    padding: 28px 24px;
    border-right: 1px solid var(--border-color);
    position: relative;
}

.trust-item:last-child {
    border-right: none;
}

.trust-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.trust-item:hover::after {
    transform: scaleX(1);
}

.trust-item:hover {
    background: var(--primary-light);
}

.trust-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.trust-text h3 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary);
}

.trust-text p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 500;
}

/* How It Works Steps */
.how-it-works {
    background-color: var(--bg-card);
}

.steps-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 48px;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: repeating-linear-gradient(to right, var(--primary-light), var(--primary-light) 10px, transparent 10px, transparent 20px);
    z-index: 1;
}

.step-card {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    padding: 0 12px;
}

.step-num-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.step-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    border: 3px solid var(--bg-card);
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-card:hover .step-num {
    background-color: var(--primary);
    color: var(--bg-main);
    transform: scale(1.1);
}

.step-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.step-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Course Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px 24px;
    border-radius: var(--border-radius-md);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.25);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(var(--primary-rgb), 0.15) 100%);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
    transition: var(--transition-bounce);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.2);
}

.category-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.category-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.category-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.category-link:hover {
    color: var(--primary-dark);
}

/* Teachers grid showcase */
.teachers {
    background-color: var(--bg-card);
}

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

.teacher-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.teacher-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius-md);
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.2);
    transition: box-shadow 0.35s ease;
    pointer-events: none;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.teacher-card:hover::after {
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.teacher-avatar-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: #dfe6e9;
}

.teacher-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.teacher-card:hover .teacher-avatar {
    transform: scale(1.05);
}

.teacher-details {
    padding: 24px;
}

.teacher-branch {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.teacher-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.teacher-exp {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.teacher-bio {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Veliler Call-out Banner */
.parents-banner {
    background-color: var(--primary-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 64px;
}
/* No boxed card here — sits flush in the section like its sibling blocks,
   instead of reading as an inset frame */
.parents-banner-light {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}
.parents-banner-title {
    color: var(--text-dark);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}
.parents-banner-desc {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}
.btn-parents-action {
    background-color: var(--primary);
    color: var(--bg-main) !important;
    padding: 13px 30px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    display: inline-block;
    transition: all 0.25s ease;
}
.btn-parents-action:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.parents-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.parents-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.parents-text p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.parents-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.parents-img {
    width: 100%;
    max-width: 580px;
    height: auto;
    border-radius: 20px;
    box-shadow: none !important;
    border: none !important;
    object-fit: contain;
    display: block;
}

/* Support Form Section */
.support-section {
    background-color: var(--bg-card);
    padding: 72px 0;
}

.support-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: flex-start;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 72px);
}

.support-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.support-info p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-card {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-details h5 {
    font-size: 15px;
    font-weight: 700;
}

.contact-details p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.form-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 36px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    align-items: end;
}

.form-grid-2 .form-group {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background-color: #ffffff;
    font-family: var(--font-sans);
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}

.form-checkbox input {
    margin-top: 4px;
}

.form-checkbox label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.blog-cover-wrap {
    height: 180px;
    overflow: hidden;
    position: relative;
    background-color: #dfe6e9;
}

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

.blog-card:hover .blog-cover {
    transform: scale(1.05);
}

.blog-meta-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background-color: var(--primary);
    color: var(--bg-main);
    font-size: 11px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.blog-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--primary-dark);
}

.blog-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* FAQ Accordion Section */
.faq-section {
    background-color: var(--bg-card);
}

.faq-list {
    width: 100%;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    background-color: var(--bg-card);
}

.faq-question {
    width: 100%;
    padding: 22px 24px;
    text-align: left;
    background: none;
    border: none;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.2s ease;
}

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

.faq-toggle-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-toggle-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer > p {
    overflow: hidden;
    margin: 0;
    padding: 0 24px;
    opacity: 0;
    transition: opacity 0.2s ease, padding-bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer > p {
    padding: 0 24px 24px;
    opacity: 1;
    transition: opacity 0.3s ease 0.1s, padding-bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active {
    border-color: var(--primary);
    background-color: var(--bg-card);
    box-shadow: var(--shadow-sm), 0 0 0 3px rgba(var(--primary-rgb), 0.06);
}

.faq-item.active .faq-toggle-icon {
    background: var(--primary);
    color: var(--bg-main);
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    color: var(--primary);
}

/* Alert styles */
.alert {
    padding: 16px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--border-color);
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer styling — Privedu Brand Design System */
.footer {
    background-color: #14291e;
    color: #edf5f0;
    padding: 40px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0;
    flex-shrink: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1.1fr 0.9fr 1.1fr;
    gap: 32px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.footer-logo svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-accent, #9ec69b);
}

.footer-desc {
    color: rgba(237, 245, 240, 0.72);
    font-size: 14px;
    margin-bottom: 20px;
    max-width: 300px;
    line-height: 1.65;
}

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

.social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
    color: rgba(237, 245, 240, 0.8);
}

.social-icon:hover {
    background-color: var(--primary-accent, #9ec69b);
    border-color: var(--primary-accent, #9ec69b);
    color: #0c1812;
    transform: translateY(-2px);
}

.footer-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-accent, #9ec69b);
}

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

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

.footer-links a {
    font-size: 14px;
    color: rgba(237, 245, 240, 0.75);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-accent, #9ec69b);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13.5px;
    color: rgba(237, 245, 240, 0.75);
    line-height: 1.5;
}

.footer-contact svg {
    margin-top: 3px;
    color: var(--primary-accent, #9ec69b);
    opacity: 0.9;
}

.footer-bottom-wrap {
    width: 100%;
    background-color: #0c1812;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0;
    background: transparent;
    border: none;
}

.footer-bottom p {
    font-size: 13.5px;
    color: rgba(237, 245, 240, 0.65);
    margin: 0;
}

.footer-bottom strong {
    color: #ffffff;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    font-size: 13px;
    color: rgba(237, 245, 240, 0.7);
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.footer-legal-links a:hover {
    color: var(--primary-accent, #9ec69b);
    text-decoration: underline;
}

/* Responsive Footer System */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
    }
    .footer-info-col {
        grid-column: 1 / -1;
    }
    .footer-desc {
        max-width: 540px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 36px 0 0 0;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 18px;
        margin-bottom: 24px;
        padding-bottom: 24px;
    }
    .footer-info-col {
        grid-column: 1 / -1;
        padding-bottom: 16px;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
        text-align: left;
    }
    .footer-logo {
        font-size: 22px;
        margin-bottom: 10px;
        justify-content: flex-start;
    }
    .footer-desc {
        max-width: 100%;
        font-size: 13.5px;
        line-height: 1.6;
        margin-bottom: 16px;
        color: rgba(237, 245, 240, 0.75);
    }
    .social-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .footer-title {
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 14px;
        letter-spacing: 0.5px;
    }
    .footer-links li {
        margin-bottom: 10px;
    }
    .footer-links a {
        font-size: 13.5px;
        line-height: 1.4;
        color: rgba(237, 245, 240, 0.75);
    }
    .footer-col.footer-contact-col,
    .footer-col:last-child {
        grid-column: 1 / -1;
        padding-top: 14px;
        border-top: 1px dashed rgba(255, 255, 255, 0.1);
    }
    .footer-contact li {
        font-size: 13px;
        gap: 10px;
        margin-bottom: 10px;
    }
    .footer-bottom-wrap {
        padding: 20px 0 24px 0;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        align-items: center;
        justify-content: center;
    }
    .footer-bottom p {
        font-size: 12.5px;
        text-align: center;
        color: rgba(237, 245, 240, 0.65);
    }
    .footer-legal-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 16px;
        text-align: center;
    }
    .footer-legal-links a {
        font-size: 12px;
        color: rgba(237, 245, 240, 0.75);
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 14px;
    }
    .footer-links a {
        font-size: 13px;
    }
}

/* Global Legal Modal Backdrop & Container */
.legal-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.legal-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}
.legal-modal-box {
    background: var(--bg-card, #ffffff);
    color: var(--text-dark, #1e293b);
    border-radius: var(--border-radius-lg, 16px);
    max-width: 760px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.legal-modal-backdrop.active .legal-modal-box {
    transform: scale(1);
}
.legal-modal-head {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-main, #f8fafc);
}
.legal-modal-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary, #16a34a);
}
.legal-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted, #64748b);
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}
.legal-modal-close:hover {
    color: #ef4444;
}
.legal-modal-body {
    padding: 24px;
    overflow-y: auto;
    font-size: 14.5px;
    line-height: 1.8;
    flex: 1;
}
.legal-modal-foot {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color, #e2e8f0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-main, #f8fafc);
}

/* Back to Top button */
.back-to-top {
    position: fixed;
    bottom: 92px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--header-cta-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: pointer;
    transform: translateY(16px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* SVG Icon styles */
.svg-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    fill: currentColor;
    vertical-align: middle;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    .categories-grid, .teachers-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-timeline::before {
        display: none;
    }
    .steps-timeline {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 10px 16px 20px 16px;
        margin: 24px -16px 0 -16px;
        scrollbar-width: none;
    }
    .steps-timeline::-webkit-scrollbar {
        display: none;
    }
    .step-card {
        flex: 0 0 240px;
        min-width: 240px;
        scroll-snap-align: start;
        background: var(--bg-card);
        padding: 24px 18px;
        border-radius: 16px;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-sm);
        text-align: center;
    }
    .step-num-wrap {
        margin-bottom: 12px;
    }
    .step-num {
        width: 48px;
        height: 48px;
        font-size: 17px;
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 64px 0;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-visual {
        display: flex;
        justify-content: center;
    }
    .floating-card-1 {
        left: 0;
    }
    .floating-card-2 {
        right: 0;
    }

    .support-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .parents-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .parents-visual {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .parents-img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    .parents-banner {
        padding: 32px;
    }
}

@media (max-width: 580px) {
    .parents-grid {
        gap: 24px;
    }
    .parents-visual {
        width: 100%;
        padding: 0;
    }
    .parents-img {
        width: 100%;
        max-width: 100%;
        transform: scale(1.05);
        margin: 10px auto 0;
    }
    .hero-title {
        font-size: 30px !important;
        line-height: 1.25 !important;
    }
    .hero-subtitle {
        font-size: 14.5px !important;
    }
    .categories-grid, .teachers-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .back-to-top {
        bottom: 78px;
        right: 22px;
        width: 44px;
        height: 44px;
    }
}

/* Homepage Hero Carousel Slider */
.hero-slider-wrapper {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4/3;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}
.hero-slider-wrapper:active {
    cursor: grabbing;
}
.hero-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}
.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
    color: white;
    padding: 20px;
    text-align: left;
}
.slide-caption h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}
.slider-dots {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-dot.active {
    background: #16A34A !important;
    width: 20px !important;
    border-radius: 4px !important;
}

/* Program Interactive Cards & Modal */
.feature-program-card {
    cursor: pointer;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.feature-program-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.12) !important;
    border-color: var(--primary) !important;
}

/* Program Info Popup Modal Window */
.program-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 16, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.program-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.program-modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 520px;
    padding: 32px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.program-modal-overlay.active .program-modal-card {
    transform: scale(1);
}
.program-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-light, #edf5f0);
    border: none;
    font-size: 22px;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.program-modal-close:hover {
    background: var(--primary);
    color: var(--bg-main);
}
.program-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.program-modal-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
}
.program-modal-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 4px 0;
}
.program-modal-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: 20px;
}
.program-modal-body p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}
.program-modal-highlights h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px 0;
}
.program-modal-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 13.5px;
    color: var(--text-dark);
}
.program-modal-highlights li {
    margin-bottom: 8px;
    line-height: 1.5;
}
.program-modal-info-box {
    background: rgba(var(--primary-rgb), 0.06);
    border-left: 4px solid var(--primary);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 24px;
}
.program-modal-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-modal-primary {
    display: none !important;
}
.btn-modal-secondary {
    background: #25d366;
    color: #ffffff !important;
    border: none;
    padding: 14px 20px;
    border-radius: 14px;
    font-weight: 750;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: all 0.25s ease;
}
.btn-modal-secondary:hover {
    background: #1eb956;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transform: translateY(-2px);
}
.btn-modal-secondary:active {
    transform: translateY(0);
}

/* ====================================================
   CONSOLIDATED AUTHENTICATION & PUBLIC MODULE STYLES
   ==================================================== */
body.auth-page {
    padding-top: 0 !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.auth-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 100vh;
    width: 100%;
}
.auth-container.single-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    background-color: var(--bg-main);
}
.auth-container.single-panel .auth-form-panel {
    width: 100%;
    max-width: 460px;
    padding: 0;
    background: transparent;
}
.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--header-border);
    color: var(--header-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.theme-toggle-btn:hover {
    background: var(--header-hover-bg);
    transform: translateY(-1px);
}
.theme-toggle-btn svg {
    stroke: currentColor;
    width: 20px;
    height: 20px;
}
.auth-info-panel {
    background: linear-gradient(135deg, #081b0c 0%, #0F172A 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px;
    position: relative;
    overflow: hidden;
}
.auth-info-panel::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.15) 0%, transparent 70%);
    z-index: 1;
}
.auth-info-panel::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.1) 0%, transparent 70%);
    z-index: 1;
}
.auth-info-header .logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    z-index: 2;
    position: relative;
}
.auth-info-header .logo-wrap svg {
    width: 38px;
    height: 38px;
    fill: var(--primary);
}
.auth-info-content {
    margin: auto 0;
    z-index: 2;
    position: relative;
    max-width: 480px;
}
.auth-info-content h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff !important;
}
.auth-info-content p {
    color: rgba(235, 245, 238, 0.88) !important;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 36px;
}
.auth-info-panel .feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.auth-info-panel .feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.auth-info-panel .feature-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 6px 0 !important;
}
.auth-info-panel .feature-text p {
    font-size: 13.5px !important;
    color: rgba(215, 235, 222, 0.82) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}
.auth-info-footer {
    z-index: 2;
    position: relative;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65) !important;
}
.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: var(--bg-main);
}
.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-md);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    transition: var(--transition);
}
.login-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}
.login-header {
    padding: 36px 36px 22px 36px;
    text-align: center;
    background: linear-gradient(180deg, var(--primary-light) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-color);
}
.login-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin: 0;
}
.login-header p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-top: 6px;
    margin-bottom: 0;
}
.role-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-main);
}
.role-tab {
    flex: 1;
    padding: 14px 6px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}
.role-tab:hover {
    color: var(--primary);
    background-color: var(--primary-light);
}
.role-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background-color: var(--bg-card);
}
.login-body {
    padding: 32px 36px;
}
.login-body .form-group {
    margin-bottom: 20px;
}
.login-body .form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.login-body .form-control {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--border-radius-sm);
    border: 1.5px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 14px;
    transition: var(--transition);
    box-sizing: border-box;
}
.login-body .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}
.btn-login {
    width: 100%;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: var(--bg-main) !important;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}
.btn-login:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.3);
}
.auth-links-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    margin-bottom: 24px;
}
.auth-links-row .register-link {
    font-size: 13.5px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}
.auth-links-row .register-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
.auth-links-row .forgot-link {
    font-size: 13.5px;
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}
.auth-links-row .forgot-link:hover {
    color: var(--primary);
    text-decoration: underline;
}
.login-footer {
    padding: 18px 24px;
    background: var(--bg-main);
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}
.login-footer a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}
.login-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    .auth-info-panel {
        display: none;
    }
    .mobile-brand-header {
        display: block !important;
    }
    .auth-form-panel {
        flex-direction: column;
        padding: 32px 16px;
    }
    .login-card {
        max-width: 100%;
        border-radius: 16px;
    }
    .login-header, .login-body {
        padding: 24px 20px;
    }
}

/* Student Guide & Resources */
.student-wrapper {
    padding: 120px 0 80px 0;
    background-color: var(--bg-main);
}
.student-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 24px;
}
.student-header {
    text-align: center;
    margin-bottom: 50px;
}
.student-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.student-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}
.guide-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01);
    margin-bottom: 32px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.guide-card:hover {
    box-shadow: var(--shadow-md);
}
.guide-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.guide-card-icon {
    font-size: 28px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.guide-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}
.exam-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    margin-left: auto;
}
.guide-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.resource-item {
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    text-decoration: none;
}
.resource-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    background-color: var(--bg-card);
    box-shadow: var(--shadow-sm);
}
.resource-info {
    display: flex;
    align-items: center;
    gap: 14px;
}
.resource-icon {
    font-size: 24px;
}
.resource-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-dark);
}
.resource-dl {
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    margin-left: 12px;
}
@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
    .guide-card {
        padding: 24px;
    }
}

/* Header & Mobile Drawer Navigation */
body {
    padding-top: 84px;
    font-family: 'Outfit', sans-serif;
}
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-header);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    box-shadow: none;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 84px;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 32px;
    transition: height 0.3s ease;
}
.header-nav.shrunk {
    background-color: var(--bg-header-scrolled);
    border-bottom-color: var(--header-border);
    box-shadow: 0 12px 30px -18px rgba(12, 24, 18, 0.35);
}
.header-nav.shrunk .header-container {
    height: 70px;
}
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 25px;
    font-weight: 800;
    color: var(--header-text);
    height: 100%;
    flex-shrink: 0;
}
.logo-wrap svg {
    width: 40px;
    height: 40px;
    fill: var(--primary);
    transition: var(--transition);
}
.logo-wrap img {
    max-height: 40px;
    max-width: 100%;
    display: block;
    object-fit: contain;
    transition: max-height 0.3s ease;
}
.header-nav.shrunk .logo-wrap img {
    max-height: 32px;
}
.logo-wrap .logo-light {
    display: block;
}
.logo-wrap .logo-dark {
    display: none;
}
.theme-darkgreen .logo-wrap .logo-light {
    display: none;
}
.theme-darkgreen .logo-wrap .logo-dark {
    display: block;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0 auto 0 40px;
    padding: 0;
    height: 100%;
    flex: 1;
}
.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
.nav-link {
    color: var(--header-text);
    text-decoration: none;
    font-size: 15.5px;
    font-weight: 550;
    padding: 10px 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.18s ease;
    white-space: nowrap;
}
.nav-link:hover, .nav-item:hover > .nav-link {
    background-color: var(--header-hover-bg);
}
.nav-item.active .nav-link {
    font-weight: 700;
    color: var(--primary);
}
.nav-item:hover .chevron-icon {
    transform: rotate(180deg);
}
.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 20px 44px -16px rgba(12, 24, 18, 0.3);
    width: 216px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
}
.dropdown-menu li {
    list-style: none;
}
.dropdown-item {
    display: block;
    padding: 10px 14px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 550;
    border-radius: 9px;
    transition: background-color 0.15s ease;
}
.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.mega-menu {
    width: 480px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 14px;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.btn-header-cta {
    background: var(--header-cta-bg) !important;
    color: var(--header-cta-text) !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 8px 18px -8px rgba(12, 24, 18, 0.35) !important;
    box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--header-cta-bg) 55%, transparent) !important;
    transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.2s ease, background-color 0.18s ease !important;
}
.btn-header-cta:hover {
    background: var(--header-cta-bg-hover) !important;
    color: var(--header-cta-text) !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -10px color-mix(in srgb, var(--header-cta-bg) 65%, transparent) !important;
}
.btn-topbar-action:not(.btn-header-cta) {
    color: var(--header-text) !important;
    background: transparent !important;
    border: 1px solid var(--header-border) !important;
}
.btn-topbar-action:not(.btn-header-cta):hover {
    background: var(--header-hover-bg) !important;
}
.btn-drawer-ghost {
    background: transparent !important;
    color: var(--text-dark) !important;
    border: 1px solid var(--border-color) !important;
}
.btn-drawer-ghost:hover {
    background: var(--primary-light) !important;
}
.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--header-border);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: var(--header-text);
    transition: var(--transition);
}
.menu-toggle:hover {
    background: var(--header-hover-bg);
}
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-card);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.mobile-drawer.open {
    right: 0;
}
.mobile-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(8, 16, 12, 0.45);
    backdrop-filter: blur(4px);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}
.drawer-header img {
    max-height: 24px;
}
.drawer-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
}
.drawer-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.drawer-item {
    display: flex;
    flex-direction: column;
}
.drawer-link {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    padding: 11px 6px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.15s ease;
}
.drawer-link:hover, .drawer-link.active {
    background-color: var(--primary-light);
    color: var(--primary);
}
.drawer-submenu {
    display: none;
    padding-left: 12px;
    border-left: 2px solid var(--primary-accent);
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}
.drawer-submenu.open {
    display: flex;
}
.drawer-sublink {
    font-size: 13.5px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 6px;
    font-weight: 500;
    border-radius: 8px;
    transition: background-color 0.15s ease;
}
.drawer-sublink:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
}
@media (max-width: 768px) {
    .header-container {
        padding: 0 14px;
    }
    .nav-actions {
        gap: 8px;
    }
    .btn-topbar-action {
        display: none !important;
    }
    .logo-wrap span {
        font-size: 19px;
    }
}

/* Support Page Styles */
.support-wrapper {
    padding: 120px 0 80px 0;
    background-color: var(--bg-main);
}
.support-wrapper .support-container {
    display: block;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.support-header {
    text-align: center;
    margin-bottom: 50px;
}
.support-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -1px;
}
.support-header p {
    font-size: 16px;
    color: var(--text-muted);
}
.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.support-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.info-box-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}
.info-box-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}
.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}
.contact-row:last-child {
    margin-bottom: 0;
}
.contact-icon {
    font-size: 20px;
    background-color: var(--primary-light);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-text h4 {
    margin: 0 0 4px 0;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-dark);
}
.contact-text p {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}
.support-form-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background-color: var(--bg-body);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}
.form-input:focus {
    border-color: var(--primary);
    background-color: var(--bg-card);
}

@media (max-width: 992px) {
    .support-wrapper {
        padding: 90px 0 60px 0;
    }
    .support-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .support-header {
        margin-bottom: 36px;
    }
    .support-header h1 {
        font-size: 30px;
    }
    .support-form-card {
        padding: 30px;
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .support-wrapper {
        padding: 76px 0 48px 0;
    }
    .support-wrapper .support-container {
        padding: 0 16px;
    }
    .support-header {
        margin-bottom: 24px;
    }
    .support-header h1 {
        font-size: 24px;
        letter-spacing: -0.5px;
        line-height: 1.25;
        margin-bottom: 8px;
    }
    .support-header p {
        font-size: 13.5px;
        line-height: 1.5;
        padding: 0 4px;
    }
    .support-grid {
        gap: 20px;
    }
    .support-form-card {
        padding: 22px 16px;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    }
    .support-form-card h3 {
        font-size: 17px !important;
        margin-bottom: 16px !important;
        padding-bottom: 10px !important;
    }
    .info-box-card {
        padding: 20px 16px;
        border-radius: 16px;
    }
    .info-box-title {
        font-size: 16px;
        margin-bottom: 16px;
        padding-bottom: 8px;
    }
    .contact-row {
        gap: 12px;
        margin-bottom: 14px;
    }
    .contact-icon {
        width: 36px;
        height: 36px;
        font-size: 17px;
        border-radius: 10px;
    }
    .contact-text h4 {
        font-size: 13.5px;
    }
    .contact-text p {
        font-size: 13px;
    }
    .form-grid-2 {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        margin-bottom: 14px !important;
    }
    .form-input,
    .form-control,
    .form-select,
    select.form-control {
        padding: 12px 14px;
        font-size: 15px; /* iOS auto-zoom prevention */
        border-radius: 10px;
        min-height: 48px;
        box-sizing: border-box;
        width: 100%;
    }
    .form-group {
        margin-bottom: 14px;
        width: 100%;
    }
    .form-group label {
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 6px;
        display: block;
        line-height: 1.4;
    }
}
/* Tutors Page Styles */
.tutors-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.tutors-header {
    text-align: center;
    margin-bottom: 48px;
}
.tutors-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.tutors-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}
.filter-panel {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    align-items: end;
    transition: var(--transition);
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.filter-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}
.filter-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--border-color);
    font-family: inherit;
    font-size: 14.5px;
    background-color: var(--bg-main);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}
.filter-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.tutors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    transition: all 0.4s ease;
}
.teacher-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, box-shadow 0.25s ease;
    opacity: 1;
    transform: scale(1);
}
.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.teacher-avatar-wrap {
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.teacher-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}
.experience-badge {
    position: absolute;
    bottom: 12px;
    right: 16px;
    background-color: #ffffff;
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}
.teacher-details {
    padding: 24px;
}
.teacher-branch-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.teacher-branch-badge {
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
}
.teacher-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.teacher-bio {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.empty-state {
    text-align: center;
    padding: 60px 24px;
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 2px dashed var(--border-color);
    display: none;
}
.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.empty-state p {
    color: var(--text-muted);
    font-size: 14.5px;
}
@media (max-width: 768px) {
    .filter-panel {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Homepage Hero & Module Styles */
.hero-slider-wrapper {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4/3;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}
.hero-slider-wrapper:active {
    cursor: grabbing;
}
.hero-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}
.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
    color: white;
    padding: 20px;
    text-align: left;
}
.slide-caption h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}
.slider-dots {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-dot.active {
    background: #16A34A !important;
    width: 20px !important;
    border-radius: 4px !important;
}

.exam-circle {
    border: 1.5px solid #cbd5e1;
    flex-shrink: 0;
}
.exam-circle.passed {
    border: 2px dashed rgba(22, 163, 74, 0.25) !important;
}
.exam-circle.highlighted, .exam-circle:hover {
    background-color: #e8f4ec !important;
    border: 2px dashed #16A34A !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(22, 163, 74, 0.12), 0 4px 6px -2px rgba(22, 163, 74, 0.06) !important;
}
.exam-circle:hover.active, .exam-circle.highlighted.active {
    border-style: solid !important;
}
.exam-circle:hover .exam-status, .exam-circle.highlighted .exam-status {
    color: #14532D !important;
}
.exam-circular-row {
    display: flex;
    flex-wrap: wrap;
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0;
    gap: 20px;
    margin-top: 32px;
    justify-content: flex-start;
    cursor: default;
    user-select: none;
    box-sizing: border-box;
}
.exam-circular-row.grabbing {
    cursor: grabbing;
}
.exam-circular-row::-webkit-scrollbar {
    height: 6px;
}
.exam-circular-row::-webkit-scrollbar-track {
    background: transparent;
}
.exam-circular-row::-webkit-scrollbar-thumb {
    background: var(--border-color, #E2E8F0);
    border-radius: 10px;
}
.exam-circular-row::-webkit-scrollbar-thumb:hover {
    background: var(--primary, #16A34A);
}

@media (max-width: 768px) {
    .exam-countdown-section {
        padding: 36px 0 !important;
        overflow: hidden;
    }
    .exam-countdown-section .section-header-left {
        margin-bottom: 8px;
    }
    .exam-countdown-section .section-title-left {
        font-size: 22px !important;
    }
    .exam-countdown-section .section-see-all {
        font-size: 13px !important;
    }
    .exam-circular-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 14px !important;
        padding: 10px 16px 20px 16px !important;
        margin-left: -16px !important;
        margin-right: -16px !important;
        margin-top: 16px !important;
    }
    .exam-circular-row::-webkit-scrollbar {
        display: none !important;
    }
    .exam-circle-wrap {
        flex: 0 0 auto !important;
        scroll-snap-align: center !important;
    }
    .exam-circle-wrap .exam-circle {
        width: 135px !important;
        height: 135px !important;
        border-radius: 50% !important;
    }
    .exam-circle-wrap .exam-title {
        font-size: 11.5px !important;
        margin-bottom: 4px !important;
    }
    .exam-circle-wrap .exam-days.days-val {
        font-size: 32px !important;
    }
    .exam-circle-wrap .exam-unit {
        font-size: 9px !important;
        margin-top: 2px !important;
    }
    .exam-circle-wrap .exam-status {
        font-size: 14px !important;
        padding: 0 8px !important;
    }
}

.programs-slider-wrapper {
    position: relative;
    width: 100%;
}
.programs-slider-container {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 20px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.programs-slider-container::-webkit-scrollbar {
    display: none;
}
.programs-slider-item {
    scroll-snap-align: start;
    flex: 0 0 calc(33.333% - 19px);
    min-width: 300px;
    box-sizing: border-box;
}
@media (max-width: 992px) {
    .programs-slider-item {
        flex: 0 0 calc(50% - 14px);
    }
}
@media (max-width: 768px) {
    .programs-slider-container {
        gap: 16px;
        padding-bottom: 12px;
    }
    .programs-slider-item {
        flex: 0 0 82%;
        min-width: 260px;
        max-width: 320px;
    }
    .feature-program-card {
        padding: 24px 20px !important;
        border-radius: 16px !important;
    }
    .feature-program-card h3 {
        font-size: 19px !important;
        margin-bottom: 8px !important;
    }
    .feature-program-card p {
        font-size: 13.5px !important;
        line-height: 1.5 !important;
        margin-bottom: 14px !important;
    }
}
.slider-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1.5px solid var(--border-color);
    color: var(--text-dark);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    font-weight: 800;
    transition: all 0.2s ease;
    user-select: none;
}
.slider-nav-btn:hover {
    background-color: var(--primary) !important;
    color: var(--header-cta-text) !important;
    border-color: var(--primary) !important;
}

/* Homepage Blog Carousel (isolated from blog.php's .blog-grid/.blog-card) */
.blog-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-top: 32px;
}
.blog-carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 6px 4px 20px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.blog-carousel-track:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}
.blog-carousel-track::-webkit-scrollbar {
    display: none;
}
.blog-carousel-item {
    scroll-snap-align: start;
    flex: 0 0 calc(25% - 18px);
    min-width: 260px;
    box-sizing: border-box;
}
.blog-carousel-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.blog-carousel-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}
.blog-carousel-cover-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--primary-light);
    overflow: hidden;
}
.blog-carousel-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-carousel-cover-fallback {
    background: linear-gradient(135deg, var(--primary-light), var(--bg-card));
}
.blog-carousel-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--bg-main);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
}
.blog-carousel-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}
.blog-carousel-title {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
    color: var(--text-dark);
}
.blog-carousel-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 16px;
    flex: 1;
}
.blog-carousel-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.blog-carousel-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
}
@media (max-width: 992px) {
    .blog-carousel-item {
        flex: 0 0 calc(50% - 12px);
    }
}
@media (max-width: 768px) {
    .blog-carousel-track {
        gap: 16px;
    }
    .blog-carousel-item {
        flex: 0 0 82%;
        min-width: 240px;
        max-width: 320px;
    }
}

.gallery-slider::-webkit-scrollbar {
    height: 6px;
}
.gallery-slider::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}
.gallery-slider::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}
.gallery-slider::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
.gallery-item-link:hover .gallery-item-card {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.gallery-item-link:hover img {
    transform: scale(1.05);
}
.gallery-item-link:hover .gallery-overlay {
    opacity: 1 !important;
}

.video-teacher-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.video-teacher-card:hover .thumb-zoom {
    transform: scale(1.05);
    opacity: 0.75 !important;
}
/* Register Page Styles */
.register-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-md);
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    transition: var(--transition);
}
.register-card:hover {
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}
.register-header {
    padding: 32px 40px 24px 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--primary-light) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-color);
}
.register-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
}
.register-header p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-top: 6px;
}
.role-selector-wrap {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: center;
}
.role-card {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px 20px;
    cursor: pointer;
    transition: all var(--transition);
    background: #fafdfc;
}
.role-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: #ffffff;
}
.role-card.selected {
    border-color: var(--primary);
    background-color: var(--primary-light);
}
.role-card .icon {
    font-size: 40px;
    margin-bottom: 12px;
}
.role-card h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 6px;
}
.role-card p {
    font-size: 12px;
    color: var(--text-muted);
}
.register-body {
    padding: 32px 40px;
}
.register-body .form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 640px) {
    .register-body .form-grid-2 {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }
}
.register-footer {
    padding: 20px;
    background: #fafdfc;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 13.5px;
    color: var(--text-muted);
}
.register-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.register-footer a:hover {
    text-decoration: underline;
}
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
    cursor: pointer;
}
.checkbox-label input {
    margin-top: 3px;
}
.section-divider {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin: 24px 0 16px 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.file-input-info {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

/* Online Courses Page Styles */
/* ════════════════════════════════════════════════════════════
   Online Dersler — Preply-style redesign
   ════════════════════════════════════════════════════════════ */

.od-page {
    background-color: var(--bg-main);
}

.od-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 80px);
}

/* ── Hero ──────────────────────────────────────────────────── */
.od-hero {
    padding: clamp(72px, 8vw, 100px) 0 clamp(48px, 5vw, 64px);
    border-bottom: 1px solid var(--border-color);
}

.od-hero-center {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.od-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
}

.od-hero-title {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 22px;
}

.od-hero-sub {
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto 36px;
}

.od-hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 52px;
    flex-wrap: wrap;
    justify-content: center;
}


.od-btn {
    display: inline-flex;
    align-items: center;
    padding: 13px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.od-btn.primary {
    background-color: var(--primary);
    color: var(--bg-main);
}

.od-btn.primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.od-btn.ghost {
    background-color: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--border-color);
}

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

.od-hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
}


.od-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.od-stat-num {
    font-size: 26px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
    font-family: var(--font-display);
}

.od-stat-lbl {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── Hero Right: mini chips ────────────────────────────────── */
.od-hero-right {
    padding-top: 20px;
}

.od-levels-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 18px;
}

.od-levels-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.od-level-chip {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px 14px;
    text-decoration: none;
    transition: all 0.18s ease;
}

.od-level-chip:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.od-chip-abbr {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-dark);
    font-family: var(--font-display);
    line-height: 1;
    letter-spacing: -0.02em;
}

.od-chip-name {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.3;
}

/* ── Full Courses Grid (Preply card style) ─────────────────── */
.od-courses-section {
    padding: clamp(64px, 9vw, 104px) 0;
    background-color: var(--bg-card);
}

.od-section-title {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.od-section-sub {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

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

/* Preply-style card: big abbr top-left, title, desc */
.od-course-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px 26px 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.od-course-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.od-card-abbr {
    font-size: clamp(40px, 4vw, 56px);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -0.04em;
    font-family: var(--font-display);
    margin-bottom: 12px;
}

.od-card-icon-img {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.od-card-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.od-card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.od-card-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.od-card-cta {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    transition: letter-spacing 0.2s ease;
}

.od-course-card:hover .od-card-cta {
    letter-spacing: 0.02em;
}

/* ── Dark theme ────────────────────────────────────────────── */
.theme-darkgreen .od-hero,
.theme-darkgreen .od-page {
    background-color: var(--bg-main) !important;
}
.theme-darkgreen .od-courses-section {
    background-color: var(--bg-card) !important;
}
.theme-darkgreen .od-course-card,
.theme-darkgreen .od-level-chip {
    background-color: var(--bg-main) !important;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .od-hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .od-hero-right {
        padding-top: 0;
    }
    .od-courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .od-levels-mini {
        grid-template-columns: repeat(2, 1fr);
    }
    .od-courses-grid {
        grid-template-columns: 1fr;
    }
    .od-hero-stats {
        gap: 24px;
    }
}


/* Blog Page Styles */
.blog-wrapper {
    padding: 120px 0 80px 0;
    background-color: var(--bg-main);
}
.blog-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.blog-header {
    text-align: center;
    margin-bottom: 40px;
}
.blog-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.blog-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}
.blog-cats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.blog-cat-btn {
    padding: 10px 20px;
    border-radius: 20px;
    background-color: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.blog-cat-btn.active, .blog-cat-btn:hover {
    background-color: var(--primary);
    color: var(--bg-main);
    border-color: var(--primary);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.blog-img-box {
    height: 200px;
    background-color: var(--primary-light);
    position: relative;
    overflow: hidden;
}
.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-cat-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    color: var(--bg-main);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.blog-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.blog-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}
.blog-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}
/* Blog Detail Page Styles */
.blog-detail-wrapper {
    padding: 120px 0 80px 0;
    background-color: var(--bg-main);
}
.blog-detail-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 48px;
    align-items: flex-start;
}
.blog-post-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.blog-main-cover {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}
.blog-post-content {
    padding: 40px;
}
.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}
.blog-detail-category {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.blog-post-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--primary-dark);
    margin-bottom: 24px;
}
.blog-body-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}
.blog-body-text p {
    margin-bottom: 20px;
}
.blog-body-text h2, .blog-body-text h3 {
    color: var(--primary-dark);
    margin: 32px 0 16px 0;
    font-weight: 700;
}
.blog-body-text ul, .blog-body-text ol {
    margin-bottom: 20px;
    padding-left: 20px;
}
.blog-body-text li {
    margin-bottom: 8px;
}
.sidebar-widget {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    overflow: visible;
}
.rec-blog-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
}
.rec-blog-item:last-child {
    margin-bottom: 0;
}
.rec-blog-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}
.rec-blog-info h4 {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary-dark);
    margin-bottom: 4px;
}
.rec-blog-info h4 a:hover {
    color: var(--primary);
}
.rec-blog-date {
    font-size: 11px;
    color: var(--text-muted);
}
.form-title-small {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 16px;
}
@media (max-width: 992px) {
    .blog-detail-grid {
        grid-template-columns: 1fr;
    }
}
.theme-darkgreen .blog-post-title,
.theme-darkgreen .blog-body-text h2,
.theme-darkgreen .blog-body-text h3,
.theme-darkgreen .widget-title,
.theme-darkgreen .rec-blog-info h4,
.theme-darkgreen .form-title-small {
    color: var(--text-dark) !important;
}
/* Standalone FAQ (SSS) Page Styles */
.faq-wrapper {
    padding: 120px 0 80px 0;
    background-color: var(--bg-main);
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}
.faq-header {
    text-align: center;
    margin-bottom: 50px;
}
.faq-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.faq-header p {
    font-size: 16px;
    color: var(--text-muted);
}
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.faq-item:hover, .faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.faq-question {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.faq-icon {
    font-size: 14px;
    color: var(--primary);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    background-color: rgba(22, 163, 74, 0.02);
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}
.faq-answer-content {
    overflow: hidden;
    padding: 0 24px;
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
    border-top: 1px solid transparent;
    opacity: 0;
    transition: opacity 0.2s ease, padding-bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-answer-content {
    padding: 0 24px 24px 24px;
    opacity: 1;
    transition: opacity 0.3s ease 0.1s, padding-bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Exam Countdown SEO Article Styles */
.custom-seo-article {
    line-height: 1.8;
    font-size: 15.5px;
    color: var(--text-dark);
}
.custom-seo-article h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 28px 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(30,59,43,0.12);
}
.custom-seo-article h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin: 24px 0 12px 0;
}
.custom-seo-article p {
    margin-bottom: 16px;
    line-height: 1.8;
}
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 28px 0;
}
.strategy-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
}
.strategy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.strategy-num {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}
.strategy-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}
.strategy-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}
.tip-box {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: 14px;
    padding: 20px 24px;
    margin: 32px 0;
}
/* Score Calculator & Level Placement Styles */
.calc-wrapper {
    padding: 100px 0 80px 0;
    background-color: var(--bg-main);
    min-height: 100vh;
}

/* Two-column full-width layout */
.calc-page-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 0;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 3vw, 48px);
    align-items: start;
    min-height: calc(100vh - 100px);
}

/* Left: Hero / branding column */
.calc-hero-col {
    position: sticky;
    top: 120px;
    padding: 60px 48px 60px 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.calc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    width: fit-content;
}

.calc-hero-title {
    font-size: clamp(32px, 3.8vw, 58px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0;
}

.calc-hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    max-width: 460px;
}

.calc-hero-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.calc-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    min-width: 90px;
}

.calc-stat-num {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.calc-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.4;
}

.calc-hero-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background-color: var(--primary-light);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    max-width: 420px;
}

.calc-hero-note svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 1px;
}

/* Right: Form column */
.calc-form-col {
    padding: 40px 0 80px 40px;
    border-left: 1px solid var(--border-color);
}

/* Legacy single-column container (kept for other pages using .calc-container) */
.calc-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Responsive: stack on tablet/mobile */
@media (max-width: 1024px) {
    .calc-page-layout {
        grid-template-columns: 1fr;
    }
    .calc-hero-col {
        position: static;
        padding: 24px 0 0 0;
        gap: 20px;
    }
    .calc-form-col {
        padding: 32px 0 60px 0;
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    .calc-hero-title {
        font-size: 32px;
    }
}
.calc-header {
    text-align: center;
    margin-bottom: 40px;
}
.calc-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.calc-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}
.calc-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}
.calc-tab-btn {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.calc-tab-btn.active, .calc-tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-light);
}
.calc-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.calc-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}
.calc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.calc-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.calc-item label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}
.input-group {
    display: flex;
    gap: 8px;
}
.input-group input {
    width: 100%;
    padding: 10px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    font-family: var(--font-sans);
    font-size: 13px;
    text-align: center;
}
.input-group input:focus {
    outline: none;
    border-color: var(--primary);
}
.obp-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    align-items: center;
    padding: 20px;
    background-color: var(--bg-main);
    border-radius: var(--border-radius-sm);
    margin-bottom: 30px;
}
.results-box {
    display: none;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-card) 100%);
    border: 2px solid var(--primary);
    border-radius: var(--border-radius-md);
    padding: 30px;
    margin-top: 40px;
    animation: fadeIn 0.4s ease-in-out;
}
.results-header {
    text-align: center;
    margin-bottom: 24px;
}
.results-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-dark);
}
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}
.result-card-inner {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    text-align: center;
}
.result-card-inner h5 {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
}
.result-card-inner h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}
.recommendation-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    margin-bottom: 30px;
}
.recommendation-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.recommendation-box p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
}
.level-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 8px;
}
.level-temel { background-color: var(--warning-light); color: var(--warning); }
.level-orta { background-color: var(--info-light); color: var(--info); }
.level-ileri { background-color: var(--success-light); color: var(--success); }

.lead-form-box {
    border-top: 1px dashed var(--border-color);
    padding-top: 24px;
}
.lead-form-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    text-align: center;
}
@media (max-width: 768px) {
    .calc-grid, .results-grid, .obp-container {
        grid-template-columns: 1fr;
    }
    .calc-tabs {
        flex-direction: column;
    }
}
.theme-darkgreen .calc-header h1,
.theme-darkgreen .calc-section-title,
.theme-darkgreen .results-header h3,
.theme-darkgreen .recommendation-box h4,
.theme-darkgreen .lead-form-box h4 {
    color: var(--text-dark) !important;
}
.theme-darkgreen .calc-tab-btn {
    background-color: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-muted);
}
.theme-darkgreen .calc-tab-btn.active {
    background-color: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}
/* Teacher Profile Page Styles */
.teacher-profile-wrapper {
    background-color: var(--bg-main);
    min-height: 100vh;
    padding-bottom: 60px;
}
.profile-cover-section {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.profile-cover {
    height: 240px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}
.cover-tag {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
.cover-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 32px 32px;
}
.profile-info-bar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 20px;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
}
.profile-avatar-wrap {
    margin-top: -60px;
    flex-shrink: 0;
    position: relative;
    z-index: 5;
}
.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--bg-card);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    background: var(--bg-card);
}
.profile-name-block {
    flex: 1;
    padding-bottom: 4px;
    min-width: 200px;
}
.profile-name-block h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
}
.profile-role-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin: 6px 0;
}
.profile-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 6px;
    font-size: 14px;
    color: var(--text-muted);
}
.profile-cta-btn {
    background: var(--primary);
    color: var(--bg-main) !important;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: var(--shadow-colored);
}
.profile-cta-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}
.profile-nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
}
.profile-nav-tab {
    padding: 14px 20px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}
.profile-nav-tab.active, .profile-nav-tab:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.profile-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 48px;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
}
@media(max-width: 768px) {
    .profile-main { grid-template-columns: 1fr; }
    .profile-cover { height: 160px; }
    .profile-info-bar { flex-direction: column; align-items: center; text-align: center; padding-top: 10px; }
    .profile-avatar-wrap { margin-top: -45px; }
    .profile-avatar { width: 110px; height: 110px; }
    .profile-name-block { text-align: center; }
    .profile-meta-line { justify-content: center; }
    .profile-nav { justify-content: center; }
}
.pcard {
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.pcard-head {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pcard-head h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}
.pcard-body { padding: 20px; }

.info-list { list-style: none; }
.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}
.info-list li:last-child { border-bottom: none; }
.info-icon { font-size: 18px; flex-shrink: 0; }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
.stats-strip {
    display: flex;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    background: var(--bg-card);
}
.stat-box {
    flex: 1;
    padding: 18px 12px;
    text-align: center;
    border-right: 1px solid var(--border-color);
}
.stat-box:last-child { border-right: none; }
.stat-num { font-size: 24px; font-weight: 800; color: var(--primary); }
.stat-lbl { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.pcard-body .timeline-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border-color); }
.pcard-body .timeline-item:last-child { border-bottom: none; }
.timeline-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--primary); margin-top: 5px; flex-shrink: 0; }
.timeline-content h5 { font-size: 14.5px; font-weight: 700; color: var(--text-dark); }
.timeline-content p { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* Hakkımızda Page Styles */
.about-wrapper {
    padding: 120px 0 80px 0;
    background-color: var(--bg-main);
}
.about-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.about-hero {
    text-align: center;
    margin-bottom: 60px;
}
.about-hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 12px;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.about-hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}
.about-story {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
    margin-bottom: 50px;
    align-items: center;
}
.story-left h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}
.story-p {
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}
.story-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}
.stat-item h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}
.stat-item p {
    font-size: 13.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
}
.story-right {
    display: flex;
    justify-content: center;
    align-items: center;
}
.story-illustration {
    width: 100%;
    max-width: 380px;
    height: auto;
    opacity: 0.95;
}
.values-section {
    margin-bottom: 60px;
}
.values-header {
    text-align: center;
    margin-bottom: 40px;
}
.values-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 8px;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.value-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    transition: all 0.25s ease;
}
.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
}
.value-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: inline-block;
}
.value-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.value-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}
.team-section {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
}
.team-header {
    text-align: center;
    margin-bottom: 36px;
}
.team-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 8px;
}
.team-header p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 10px auto 0 auto;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}
.team-member {
    text-align: center;
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 24px;
    transition: all 0.25s ease;
}
.team-member:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.member-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid var(--primary-light);
}
.member-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.member-role {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin: 0;
}
/* Nasıl Çalışır Page Styles */
/* ════════════════════════════════════════════════════════════
   Nasıl Çalışır — Preply-style full-page redesign
   ════════════════════════════════════════════════════════════ */

/* ── Shared wrapper ────────────────────────────────────────── */
.hiw-page {
    background-color: var(--bg-main);
}

.hiw-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 80px);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hiw-hero {
    padding: clamp(100px, 14vw, 160px) 0 clamp(60px, 8vw, 100px);
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-main);
}

.hiw-hero-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}

.hiw-hero-title {
    font-size: clamp(36px, 5.5vw, 76px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.06;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.hiw-hero-sub {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 680px;
    margin: 0;
}

/* ── Steps Grid — Preply-style ─────────────────────────────── */
.hiw-steps-section {
    padding: clamp(64px, 9vw, 112px) 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.hiw-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 40px;
}

.hiw-step-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Big coloured square number — like Preply's pink, we use brand green */
.hiw-step-num {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background-color: var(--primary);
    color: var(--bg-main);
    font-size: 42px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
    font-family: var(--font-display);
}

.hiw-step-title {
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin: 0;
}

.hiw-step-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ── Detailed Flow ─────────────────────────────────────────── */
.hiw-flow-section {
    padding: clamp(64px, 9vw, 112px) 0;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.hiw-flow-header {
    margin-bottom: 56px;
}

.hiw-flow-header h2 {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.hiw-flow-header p {
    font-size: 16px;
    color: var(--text-muted);
}

/* Flow grid — kompakt 2 kolon */
.hiw-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hiw-flow-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 22px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.hiw-flow-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}

.hiw-flow-card-num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background-color: var(--primary);
    color: var(--bg-main);
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hiw-flow-card-body h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.hiw-flow-card-body p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Why Privedu ───────────────────────────────────────────── */
.hiw-why-section {
    padding: clamp(64px, 9vw, 112px) 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.hiw-why-title {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 48px;
}

.hiw-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.hiw-why-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px 28px;
    transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.hiw-why-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.hiw-why-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.hiw-why-card h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.hiw-why-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ── CTA ────────────────────────────────────────────────────── */
.hiw-cta-section {
    padding: clamp(56px, 8vw, 96px) 0;
    background-color: var(--primary);
}

.hiw-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hiw-cta-left h2 {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.15;
}

.hiw-cta-left p {
    font-size: 16px;
    color: rgba(255,255,255,0.82);
    margin: 0;
}

.hiw-cta-right {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.hiw-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.22s ease;
    white-space: nowrap;
}

.hiw-cta-btn.primary {
    background-color: #ffffff;
    color: var(--primary-dark);
}

.hiw-cta-btn.primary:hover {
    background-color: #DAE2CB;
    transform: translateY(-2px);
}

.hiw-cta-btn.secondary {
    background-color: rgba(255,255,255,0.12);
    color: #ffffff;
    border: 1.5px solid rgba(255,255,255,0.4);
}

.hiw-cta-btn.secondary:hover {
    background-color: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.7);
}

/* ── Dark theme ────────────────────────────────────────────── */
.theme-darkgreen .hiw-hero,
.theme-darkgreen .hiw-steps-section,
.theme-darkgreen .hiw-why-section {
    background-color: var(--bg-main) !important;
}

.theme-darkgreen .hiw-flow-section {
    background-color: var(--bg-card) !important;
}

.theme-darkgreen .hiw-cta-section {
    background-color: var(--primary) !important;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hiw-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 32px;
    }
    .hiw-flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hiw-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hiw-steps-grid {
        grid-template-columns: 1fr;
    }
    .hiw-flow-grid {
        grid-template-columns: 1fr;
    }
    .hiw-why-grid {
        grid-template-columns: 1fr;
    }
}


/* ── Legacy classes (kept for index.php steps-timeline) ──── */
/* Veli Bilgilendirme Page Styles */
.parent-wrapper {
    padding: 120px 0 80px 0;
    background-color: var(--bg-main);
}
.parent-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}
.parent-header {
    text-align: center;
    margin-bottom: 50px;
}
.parent-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.parent-header p {
    font-size: 16px;
    color: var(--text-muted);
}
.feature-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.feature-row.reverse {
    grid-template-columns: 1fr 1.2fr;
}
.feature-text h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}
.feature-text p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}
.feature-img-box {
    background-color: var(--primary-light);
    border-radius: var(--border-radius-md);
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--primary);
}
.checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.checklist li {
    font-size: 14.5px;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.checklist li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 800;
    font-size: 16px;
}



/* ====================================================
   PREMIUM KARİYER & EĞİTMEN ALIMI STYLES
   ==================================================== */
.career-wrapper {
    padding: 120px 0 80px 0;
    background-color: var(--bg-main);
}
.career-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.career-header {
    text-align: center;
    margin-bottom: 50px;
}
.career-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 10px;
    margin-bottom: 12px;
}
.career-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}
.career-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.career-card.margin-bottom-lg {
    margin-bottom: 35px;
}
.career-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.benefit-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 20px;
    transition: var(--transition);
}
.benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.benefit-icon {
    font-size: 32px;
    margin-bottom: 14px;
}
.benefit-card h3 {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.benefit-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}
.jobs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.job-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 28px;
    transition: var(--transition);
}
.job-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 8px 20px rgba(30, 59, 43, 0.08);
}
.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.job-type-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.job-header h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.job-location {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.job-desc {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border-color);
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
}
@media (max-width: 992px) {
    .career-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 576px) {
    .career-benefits-grid {
        grid-template-columns: 1fr;
    }
    .career-card {
        padding: 24px 18px;
    }
    .career-header h1 {
        font-size: 28px;
    }
}

/* ============================================================
   PRIVEDU — Sade Yuvarlak WhatsApp Butonu
   ============================================================ */
.privedu-whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: #25D366;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    text-decoration: none;
    z-index: 9999;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.privedu-whatsapp-btn:hover {
    background-color: #20ba59;
    transform: scale(1.08);
}

.privedu-whatsapp-btn:active {
    transform: scale(0.95);
}

.privedu-whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

@media (max-width: 768px) {
    .privedu-whatsapp-btn {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
    }
    .privedu-whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}





/* ==========================================================================
   PRIVEDU TERCIH MERKEZI — DATA & EXPLORER EXTENSIONS
   ========================================================================== */

/* Score Type Badges */
:root {
    --badge-say: #0f62fe;
    --badge-say-bg: #edf5ff;
    --badge-ea: #8a3ffc;
    --badge-ea-bg: #f6f2ff;
    --badge-soz: #d46b08;
    --badge-soz-bg: #fff7e6;
    --badge-dil: #0072c3;
    --badge-dil-bg: #e5f6ff;
    --badge-tyt: #0e6027;
    --badge-tyt-bg: #eef8f1;
}

body.theme-darkgreen {
    --badge-say-bg: rgba(15, 98, 254, 0.2);
    --badge-ea-bg: rgba(138, 63, 252, 0.2);
    --badge-soz-bg: rgba(212, 107, 8, 0.2);
    --badge-dil-bg: rgba(0, 114, 195, 0.2);
    --badge-tyt-bg: rgba(14, 96, 39, 0.2);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--border-radius-lg, 100px);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.badge-say { background: var(--badge-say-bg); color: var(--badge-say); }
.badge-ea  { background: var(--badge-ea-bg);  color: var(--badge-ea); }
.badge-soz { background: var(--badge-soz-bg); color: var(--badge-soz); }
.badge-dil { background: var(--badge-dil-bg); color: var(--badge-dil); }
.badge-tyt { background: var(--badge-tyt-bg); color: var(--badge-tyt); }

.badge-devlet { background: rgba(15, 46, 21, 0.08); color: var(--text-dark); }
.badge-vakif  { background: rgba(138, 63, 252, 0.12); color: #8a3ffc; }
.badge-kktc   { background: rgba(212, 107, 8, 0.12); color: #d46b08; }

/* Category Badges for Ranking Matcher */
.badge-safe {
    background: #e6f7ec;
    color: #0f7638;
    border: 1px solid #c2e8ce;
}
.badge-moderate {
    background: #fef8e7;
    color: #976400;
    border: 1px solid #fae6b2;
}
.badge-ambitious {
    background: #fdeeee;
    color: #b52a2a;
    border: 1px solid #f9c9c9;
}

/* Trend Indicator */
.trend-up {
    color: #0f7638;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.trend-down {
    color: #b52a2a;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.trend-neutral {
    color: var(--text-muted);
    font-weight: 600;
}

/* Header & Nav Extensions */
.logo-badge {
    background: var(--secondary);
    color: #0F2E15;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Breadcrumbs */
.breadcrumb-nav {
    padding: 12px 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8125rem;
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 8px;
}
.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}
.breadcrumb-item::after {
    content: "/";
    color: var(--border-color);
}
.breadcrumb-item:last-child::after {
    display: none;
}
.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 700;
}

/* Search Bar & Autocomplete */
.search-box-wrap {
    position: relative;
    max-width: 720px;
    margin: 0 auto 24px;
}
.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 6px 8px 6px 18px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.search-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}
.search-icon {
    color: var(--text-muted);
    margin-right: 12px;
    flex-shrink: 0;
}
.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: var(--font-sans);
    background: transparent;
    color: var(--text-dark);
}

.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: 380px;
    overflow-y: auto;
    display: none;
}
.autocomplete-dropdown.active {
    display: block;
}
.autocomplete-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}
.autocomplete-item:last-child {
    border-bottom: none;
}
.autocomplete-item:hover, .autocomplete-item.selected {
    background: var(--bg-soft);
}
.autocomplete-title {
    font-weight: 600;
    color: var(--text-dark);
}
.autocomplete-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Filter Bar & Chips */
.filter-chips-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-soft);
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}
.filter-chip-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    padding: 0;
}
.filter-chip-remove:hover {
    color: #b52a2a;
}

/* Quick Nav Pills */
.quick-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.quick-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: var(--transition);
}
.quick-pill:hover {
    border-color: var(--primary);
    background: var(--bg-soft);
    transform: translateY(-1px);
}

/* Explorer Layout */
.explorer-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    padding: 24px 0 60px;
}

.filter-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 90px;
}

.filter-group {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}
.filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.filter-group-title {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
    color: var(--text-dark);
}

.form-select, .form-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    outline: none;
    transition: var(--transition);
}
.form-select:focus, .form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

/* Results Section */
.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.results-count {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}
.results-count strong {
    color: var(--text-dark);
}

.results-sorting {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Data Table (Desktop) */
.data-table-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 24px;
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.875rem;
}
.data-table th {
    background: var(--bg-soft);
    color: var(--text-dark);
    font-weight: 700;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}
.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}
.data-table tbody tr {
    transition: var(--transition);
}
.data-table tbody tr:hover {
    background: rgba(var(--primary-rgb), 0.04);
}
.data-table tbody tr:last-child td {
    border-bottom: none;
}

.program-col-title {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 2px;
}
.program-col-uni {
    color: var(--text-muted);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.score-cell {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}
.rank-cell {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--primary);
}

/* Mobile Result Cards */
.mobile-results-list {
    display: none;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}
.program-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}
.program-card:active {
    transform: scale(0.99);
}
.program-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.program-card-title {
    font-size: 1.02rem;
    font-weight: 750;
    color: var(--text-dark);
    line-height: 1.35;
    text-decoration: none;
}
.program-card-title:hover {
    color: var(--primary);
}
.program-card-uni {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.45;
}
.program-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: var(--bg-soft);
    padding: 10px 8px;
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}
.stat-box {
    text-align: center;
}
.stat-box-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    margin-bottom: 3px;
}
.stat-box-value {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-dark);
}

/* Mobile Filter Bar & Drawer */
.mobile-filter-bar {
    display: none;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.mobile-filter-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.875rem;
    flex: 1;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 46, 21, 0.15);
}
.mobile-filter-open-btn span {
    background: rgba(255, 255, 255, 0.25);
    padding: 1px 6px;
    border-radius: 6px;
    font-size: 0.75rem;
}
.mobile-filter-clear-btn {
    padding: 10px 14px;
    font-size: 0.8125rem;
    border-radius: 10px;
    font-weight: 600;
}
.mobile-filter-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1095;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.mobile-filter-backdrop.active {
    display: block;
    opacity: 1;
}
.mobile-filter-drawer-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}
.mobile-filter-close-btn {
    background: none;
    border: none;
    font-size: 26px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

/* Mobile Sticky Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1050;
    padding: 0 12px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    justify-content: space-around;
    align-items: center;
}
.theme-dark .mobile-bottom-nav,
.theme-darkgreen .mobile-bottom-nav {
    background: rgba(15, 30, 20, 0.92);
    border-top-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}
.mobile-nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 650;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.18s ease, transform 0.18s ease;
    flex: 1;
    min-width: 0;
}
.mobile-nav-tab svg {
    stroke-width: 2.2;
    transition: transform 0.18s ease;
}
.mobile-nav-tab:active {
    transform: scale(0.92);
}
.mobile-nav-tab.active {
    color: var(--primary);
    font-weight: 800;
}
.mobile-nav-tab.active svg {
    color: var(--primary);
}

/* Mobile Quick Search Modal */
.mobile-search-modal {
    position: fixed;
    inset: 0;
    z-index: 1150;
    display: none;
    align-items: flex-end;
    justify-content: center;
}
.mobile-search-modal.active {
    display: flex;
}
.mobile-search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.mobile-search-card {
    position: relative;
    background: var(--bg-card);
    width: 100%;
    max-width: 500px;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    animation: slideUpModal 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}
@keyframes slideUpModal {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.mobile-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.mobile-search-close {
    background: var(--bg-soft);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    cursor: pointer;
}

/* Pagination */
.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 24px 0;
    flex-wrap: wrap;
}
.page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 600;
}
.page-btn.active {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}
.page-btn:hover:not(.active) {
    background: var(--bg-soft);
}

/* Ranking Matcher Page */
.matcher-hero {
    background: linear-gradient(135deg, #0F2E15 0%, #1e4527 100%);
    color: #ffffff;
    padding: 60px 0 50px;
    text-align: center;
}
.matcher-hero h1 {
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    margin-bottom: 12px;
}
.matcher-hero p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto 24px;
    font-size: 0.95rem;
    padding: 0 12px;
}

.matcher-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    max-width: 780px;
    margin: -40px auto 36px;
    position: relative;
    z-index: 10;
}

.matcher-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.matcher-category-section {
    margin-bottom: 36px;
}
.matcher-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    margin-bottom: 0;
}
.cat-safe-header { background: #e6f7ec; border-left: 6px solid #0f7638; }
.cat-moderate-header { background: #fef8e7; border-left: 6px solid #d46b08; }
.cat-ambitious-header { background: #fdeeee; border-left: 6px solid #b52a2a; }

/* Detail Pages */
.detail-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 28px 0;
    margin-bottom: 28px;
}
.detail-title {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    margin-bottom: 8px;
    line-height: 1.25;
}
.detail-meta-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.history-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    margin-bottom: 24px;
}
.history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}
.history-table th {
    background: var(--bg-soft);
    padding: 10px 14px;
    font-weight: 700;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}
.history-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
}

/* Disclaimer Notice */
.disclaimer-card {
    background: rgba(var(--primary-light-rgb, 218, 226, 203), 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 18px 20px;
    margin: 36px 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.disclaimer-icon {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
    .explorer-layout {
        grid-template-columns: 240px 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
        overflow-x: hidden;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    .mobile-filter-bar {
        display: flex;
    }

    .desktop-filter-header {
        display: none !important;
    }

    .mobile-filter-drawer-header {
        display: flex;
    }

    /* Filter sidebar as off-canvas drawer on mobile */
    .filter-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        max-height: 85vh;
        background: var(--bg-card);
        border-radius: 20px 20px 0 0;
        z-index: 1100;
        padding: 20px;
        overflow-y: auto;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        display: block;
    }

    .filter-sidebar.mobile-open {
        transform: translateY(0);
    }

    .explorer-layout {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-top: 12px;
    }

    .data-table-card {
        display: none;
    }

    .mobile-results-list {
        display: flex;
    }

    .matcher-card {
        margin: -24px 12px 24px;
        padding: 20px 16px;
    }

    .matcher-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .matcher-category-header {
        padding: 12px 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .quick-pills {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 4px 4px 10px;
        margin: 12px -16px 0;
        padding-left: 16px;
        padding-right: 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .quick-pills::-webkit-scrollbar {
        display: none;
    }
    .quick-pill {
        flex-shrink: 0;
        font-size: 0.78rem;
        padding: 7px 14px;
    }

    .search-box-wrap {
        margin-bottom: 16px;
    }

    .search-form {
        padding: 4px 6px 4px 14px;
    }

    .search-input {
        font-size: 16px; /* Prevents iOS auto-zoom */
    }

    .form-input, .form-select {
        font-size: 16px; /* Prevents iOS auto-zoom */
        min-height: 44px;
    }

    .detail-header {
        padding: 18px 0;
    }

    .detail-meta-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .disclaimer-card {
        flex-direction: column;
        gap: 8px;
        padding: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem !important;
    }
    .hero-subtitle {
        font-size: 0.95rem !important;
    }
    .program-card-stats {
        grid-template-columns: 1fr 1fr;
    }
}

