@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM TOKENS --- */
:root {
    --primary: #5046e6;
    --primary-light: #eef2ff;
    --primary-hover: #3f35c6;
    --secondary: #10b981;
    --secondary-light: #ecfdf5;
    --accent: #f59e0b;
    --accent-light: #fffbeb;
    
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    
    --text-title: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --course-placeholder-from: #7a94c4;
    --course-placeholder-to: #6baf9e;

    --shadow-md: 0 4px 20px -2px rgba(80, 70, 230, 0.08);
    --shadow-lg: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-body);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.page-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.page-stack__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.container--wide {
    max-width: 1280px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-title);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* --- LAYOUT UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 60px 0;
}

/* Anasayfa katalog bölümü footer öncesi boşluk */
[data-catalog-section] {
    padding-top: 28px;
    padding-bottom: 80px;
}

/* --- PREMIUM NAVIGATION HEADER --- */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.logo i {
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    height: 46px;
    padding: 0 20px 0 46px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background-color: var(--bg-main);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.search-box input:focus {
    border-color: var(--primary);
    background-color: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(80, 70, 230, 0.1);
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

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

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

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

/* --- HERO SECTION --- */
.hero {
    background: radial-gradient(circle at 10% 20%, rgba(238, 242, 255, 0.8) 0%, rgba(248, 250, 252, 0.9) 90%);
    position: relative;
    padding: 80px 0 44px;
    border-bottom: 1px solid var(--border);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 72px;
    background: linear-gradient(to top, var(--bg-main), transparent);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 550px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-lbl {
    font-size: 13px;
    color: var(--text-muted);
}

.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-image-placeholder {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 64px;
    box-shadow: var(--shadow-lg);
}

.hero-image--small img,
.hero-image--small .hero-image-placeholder { height: 250px; object-fit: cover; width: 100%; }
.hero-image--medium img,
.hero-image--medium .hero-image-placeholder { height: 320px; object-fit: cover; width: 100%; }
.hero-image--large img,
.hero-image--large .hero-image-placeholder { height: 420px; object-fit: cover; width: 100%; }
.hero-image--full img,
.hero-image--full .hero-image-placeholder { width: 100%; min-height: 320px; object-fit: cover; }

.hero-title--gradient .hero-title-highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title--primary .hero-title-highlight { color: var(--primary); -webkit-text-fill-color: var(--primary); }
.hero-title--dark { color: var(--text-title); }
.hero-title--dark .hero-title-highlight { color: var(--text-title); -webkit-text-fill-color: var(--text-title); }
.hero-title--light,
.hero-title--light .hero-title-highlight { color: #fff; -webkit-text-fill-color: #fff; }
.hero-title--underline .hero-title-highlight {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    border-bottom: 4px solid var(--secondary);
    padding-bottom: 2px;
}

.hero-stats--light .stat-val { color: #fff; }
.hero-stats--light .stat-lbl { color: rgba(255, 255, 255, 0.85); }
.hero-stats--card { gap: 16px; flex-wrap: wrap; }
.hero-stats--card .stat-item {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    min-width: 120px;
}
.hero-stats--compact { gap: 18px; }
.hero-stats--compact .stat-val { font-size: 24px; }
.hero-stats--compact .stat-lbl { font-size: 12px; }

/* --- HERO SLIDER --- */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider-track {
    position: relative;
    display: grid;
}

.hero-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.hero-slide--fullscreen {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 520px;
}

.hero-slide--fullscreen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.45));
    pointer-events: none;
}

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

.hero-slide--fullscreen .hero-content p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 640px;
}

.hero-grid--left { direction: rtl; }
.hero-grid--left > * { direction: ltr; }

.hero-slider:has(.hero-slider-controls) .hero-slide {
    padding-bottom: 72px;
}

.hero-slider-controls {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    pointer-events: none;
}

.hero-slider-controls > * {
    pointer-events: auto;
}

.hero-slider .hero.hero-slide::after {
    display: none;
}

.hero-slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-body);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.hero-slider-arrow:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.hero-slider-dots {
    display: flex;
    gap: 8px;
}

.hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: var(--transition);
}

.hero-slider-dot.is-active {
    width: 28px;
    background: var(--primary);
}

/* --- DYNAMIC FILTER TABS --- */
.filter-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    margin-top: 8px;
}

.tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    background: rgba(226, 232, 240, 0.3);
    padding: 8px;
    border-radius: var(--radius-md);
    width: max-content;
    max-width: 100%;
}

.tab-btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: transparent;
    color: var(--text-muted);
}

.tab-btn:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.5);
}

.tab-btn.active {
    background: var(--bg-card);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Seviye seçimi: kategori ile aynı kutu stili, 6 sütun (12'de 2) */
.tabs-wrapper-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
}

.tabs-wrapper-grid .tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.35;
}

/* --- CATALOG HEADER --- */
.catalog-header {
    width: 100%;
    margin-bottom: 30px;
}

.catalog-intro {
    width: 100%;
    margin-bottom: 20px;
}

.catalog-intro p {
    max-width: none;
}

.catalog-dynamic {
    width: 100%;
    transition: opacity 0.2s ease;
}

.catalog-dynamic.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.catalog-filters {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.catalog-filters > .tabs-wrapper {
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
}

.catalog-level-filters {
    margin-top: 0;
}

.catalog-level-empty {
    font-size: 14px;
    color: var(--text-muted);
    padding: 12px 16px;
    background: rgba(226, 232, 240, 0.3);
    border-radius: var(--radius-md);
}

.active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
    background-color: var(--primary-light);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: var(--primary);
    width: max-content;
    max-width: 100%;
}

.active-filters a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

/* --- COURSE GRID & CARDS --- */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.catalog-load-more {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    margin-top: 32px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.catalog-load-more.is-loading {
    opacity: 1;
}

.catalog-load-more-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: catalog-spin 0.7s linear infinite;
}

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

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

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(80, 70, 230, 0.2);
}

.card-img-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background: #e2e8f0;
    overflow: hidden;
}

.card-img-wrapper--placeholder {
    background: linear-gradient(135deg, var(--course-placeholder-from), var(--course-placeholder-to));
}

.card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    padding: 10px;
    text-align: center;
}

.card-img-placeholder i {
    font-size: 36px;
    margin-bottom: 8px;
}

.card-img-placeholder span {
    font-size: 12px;
    font-weight: 700;
}

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

.course-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.8);
    color: white;
    backdrop-filter: blur(4px);
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-cat {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.card-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 50px;
}

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

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-top: auto;
}

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

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 20px;
}

.card-price {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-title);
}

.card-price.free {
    color: var(--secondary);
}

.no-courses {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border);
}

.no-courses i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* --- COURSE DETAIL PAGE --- */
.detail-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.detail-banner-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
}

.detail-banner-content .breadcrumb {
    font-size: 13px;
    color: var(--border);
    margin-bottom: 16px;
}

.detail-banner-content h1 {
    color: white;
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.detail-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
}

.detail-badge.success {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
}

.detail-instructor {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.detail-sidebar {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    color: var(--text-body);
}

.detail-price {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--text-title);
    margin-bottom: 20px;
}

.detail-features {
    list-style: none;
    margin-bottom: 24px;
}

.detail-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
}

.detail-features li i {
    color: var(--primary);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.detail-body-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    margin-top: 40px;
}

.detail-body-grid-single {
    grid-template-columns: 1fr;
}

.detail-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 30px;
    margin-bottom: 30px;
}

.detail-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 10px;
}

.skills-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.skill-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.skill-item i {
    color: var(--secondary);
    margin-top: 4px;
}

/* --- FOOTER --- */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 0 20px;
    border-top: 1px solid #1e293b;
    margin-top: auto;
    flex-shrink: 0;
    width: 100%;
}

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

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact a:hover {
    color: white;
}

.footer-contact i {
    width: 16px;
    color: var(--secondary);
    flex-shrink: 0;
}

/* --- CONTACT PAGE --- */
.contact-section {
    padding-top: 48px;
    padding-bottom: 60px;
}

.contact-section .container--wide {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 1.4fr;
    gap: 40px;
    align-items: start;
    width: 100%;
}

.contact-info h2,
.contact-form-panel h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 15px;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-body);
    font-weight: 500;
    transition: var(--transition);
}

.contact-info-list a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.contact-info-list i {
    width: 20px;
    color: var(--primary);
    text-align: center;
}

.contact-form-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.contact-alert {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-alert ul {
    margin: 0;
    padding-left: 18px;
}

.contact-alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.contact-alert-error i {
    margin-top: 2px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-field {
    margin-bottom: 18px;
}

.contact-field label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-title);
    margin-bottom: 8px;
}

.contact-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-body);
    background: var(--bg-main);
    transition: var(--transition);
    outline: none;
}

.contact-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(80, 70, 230, 0.12);
    background: #fff;
}

.contact-textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-submit {
    width: 100%;
    margin-top: 8px;
    padding: 14px 24px;
    font-size: 16px;
}

/* --- COURSE ENROLLMENT MODAL --- */
body.enrollment-modal-open {
    overflow: hidden;
}

.enrollment-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.enrollment-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.enrollment-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
}

.enrollment-modal-panel {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: min(90vh, 820px);
    overflow-y: auto;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 28px 28px 32px;
}

.enrollment-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(226, 232, 240, 0.6);
    color: var(--text-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.enrollment-modal-close:hover {
    background: rgba(226, 232, 240, 1);
    color: var(--primary);
}

.enrollment-modal-header {
    padding-right: 40px;
    margin-bottom: 20px;
}

.enrollment-modal-header h2 {
    font-size: 22px;
    margin-bottom: 6px;
}

.enrollment-modal-header p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.enrollment-modal-alert {
    margin-bottom: 16px;
}

.enrollment-form-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin: 4px 0 0;
    line-height: 1.5;
}

.enrollment-form .contact-form-row {
    margin-bottom: 0;
}

.enrollment-form .contact-field {
    margin-bottom: 16px;
}

@media (max-width: 640px) {
    .enrollment-modal-panel {
        padding: 24px 20px 28px;
    }
}

.footer-brand h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}

.footer-links h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    font-size: 13px;
}

/* --- RESPONSIVE STYLES --- */
/* --- ABOUT PAGE --- */
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-body);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

.about-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 50%, var(--secondary) 100%);
    color: white;
    padding: 48px 0 56px;
}

.about-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

.about-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

.about-hero h1 {
    color: white;
    font-size: 40px;
    margin-bottom: 12px;
}

.about-hero-lead {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 560px;
}

.about-section {
    padding-top: 48px;
    padding-bottom: 60px;
}

.about-section .container--wide {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 1.15fr;
    gap: 48px;
    align-items: center;
}

.about-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
    max-height: 560px;
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-visual-accent {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(80, 70, 230, 0.15) 100%);
    pointer-events: none;
}

.about-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-body);
    margin-bottom: 20px;
}

.about-highlight {
    font-size: 17px;
    padding: 20px 24px;
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-top: 8px;
}

.about-highlight strong {
    color: var(--primary);
}

.about-cta {
    margin-top: 28px;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-visual {
        max-height: 360px;
        aspect-ratio: 16 / 10;
    }

    .hero-grid,
    .detail-banner-grid,
    .detail-body-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-sidebar {
        margin-top: 0;
    }
    
    .hero-slider .hero-image {
        display: none;
    }

    .hero-slide--fullscreen .hero-grid {
        min-height: 420px;
        align-items: center;
    }

    .tabs-wrapper-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .header-nav {
        flex-direction: column;
        height: auto;
        padding: 16px 0;
        gap: 12px;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .skills-list {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .tabs-wrapper-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tabs-wrapper-grid .tab-btn {
        font-size: 12px;
        min-height: 42px;
        padding: 8px 6px;
    }
}
