/* ============================================================
   RESET & VARIABLES
   ============================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
    --primary: #6c5ce7;
    --primary-dark: #6c5ce7dd;
    --primary-light: #6c5ce722;
    --secondary: #fd79a8;
    --accent: #fdcb6e;
    --success: #00b894;
    --dark: #0F0F1E;
    --dark-2: #1A1A2E;
    --gray: #636E72;
    --gray-light: #DFE6E9;
    --light: #F8F9FA;
    --white: #FFFFFF;
    
    --gradient-primary: linear-gradient(135deg, #6c5ce7, #fd79a8);
    --gradient-secondary: linear-gradient(135deg, #fd79a8, #fdcb6e);
    --gradient-accent: linear-gradient(135deg, #fdcb6e, #00b894);
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 60px #6c5ce740;
    
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --radius-full: 999px;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    --font: 'Vazirmatn', 'IRANSans', Tahoma, sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font);
    background: var(--light);
    color: var(--dark);
    direction: rtl;
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

/* ============================================================
   LOADER
   ============================================================ */
#pageLoader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#pageLoader.hidden {
    opacity: 0;
    visibility: hidden;
}
.loader-logo {
    font-size: 4rem;
    animation: bounceLoader 1.5s infinite;
}
.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: loading 1.2s infinite;
}
@keyframes bounceLoader {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50% { transform: translateY(-15px) rotate(8deg); }
}
@keyframes loading {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-200%); }
}

/* ============================================================
   BACKGROUND BLOBS
   ============================================================ */
.bg-blobs {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: floatBlob 20s infinite ease-in-out;
}
.blob:nth-child(1) { width:400px; height:400px; background: #6c5ce7; top:-100px; right:-100px; animation-delay:0s; }
.blob:nth-child(2) { width:350px; height:350px; background: #fd79a8; bottom:-100px; left:-100px; animation-delay:-5s; }
.blob:nth-child(3) { width:300px; height:300px; background: #fdcb6e; top:40%; left:30%; animation-delay:-10s; }
@keyframes floatBlob {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(50px,-50px) scale(1.1); }
    66% { transform: translate(-30px,30px) scale(0.9); }
}

/* ============================================================
   CURSOR
   ============================================================ */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99998;
    opacity: 0;
    transition: opacity 0.3s;
}
.cursor-dot {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
}
.cursor-outline {
    width: 40px; height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    transition: transform 0.2s, width 0.3s, height 0.3s, background 0.3s;
}
.cursor-outline.hover {
    width: 60px; height: 60px;
    background: #6c5ce720;
}
@media (max-width: 992px) {
    .cursor-dot, .cursor-outline { display: none !important; }
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
    background: rgba(255,255,255,0.90);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}
.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo a { display: flex; align-items: center; gap: 14px; }
.logo-icon { font-size: 32px; }
.logo img {
    height: 52px;
    width: auto;
    max-width: 180px;
    border-radius: 12px;
    object-fit: contain;
    transition: var(--transition-bounce);
}
.logo:hover img { transform: scale(1.05) rotate(-3deg); }
.logo-text .title {
    font-size: 1.25rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.logo-text .sub {
    font-size: 0.65rem;
    color: var(--gray);
    display: block;
    letter-spacing: 1px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a {
    padding: 9px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
    transition: var(--transition);
    position: relative;
}
.nav a:hover {
    color: var(--white);
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px #6c5ce740;
}
.nav a.active {
    color: var(--primary);
    background: #6c5ce714;
}

/* ============================================================
   HAMBURGER
   ============================================================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 10px;
    transition: var(--transition);
}
.hamburger:hover { background: #6c5ce714; }
.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.mobile-nav {
    display: none;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 100;
    max-height: 75vh;
    overflow-y: auto;
}
.mobile-nav.open { display: block; animation: slideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
    border-radius: 12px;
    color: var(--dark);
    font-size: 0.9rem;
}
.mobile-nav a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    padding-right: 24px;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO / SLIDER - اصلاح شده
   ============================================================ */
.hero {
    position: relative;
    height: 620px;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
    margin: 0 16px 60px;
    box-shadow: var(--shadow-glow);
}

.hero-slides {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

.hero-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 40px;
    animation: heroFadeIn 1s ease;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-tag {
    display: inline-block;
    padding: 6px 24px;
    background: rgba(255,255,255,0.20);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulseTag 2s infinite;
}

@keyframes pulseTag {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    50% { box-shadow: 0 0 0 15px rgba(255,255,255,0); }
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 16px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 32px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary, .btn-outline-light, .btn-outline, .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    text-decoration: none;
}
.btn-primary {
    padding: 16px 40px;
    background: var(--accent);
    color: var(--dark);
    border-radius: var(--radius-full);
    font-size: 1rem;
    box-shadow: 0 10px 30px #fdcb6e50;
}
.btn-primary:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 15px 40px #fdcb6e60; }

.btn-outline-light {
    padding: 16px 40px;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: var(--radius-full);
    font-size: 1rem;
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-4px) scale(1.05);
    border-color: var(--white);
}

.btn-outline {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 0.85rem;
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px #6c5ce740;
}

.btn-sm {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.8rem;
    box-shadow: 0 4px 15px #6c5ce730;
}
.btn-sm:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 25px #6c5ce750; }

/* ============================================================
   SLIDER CONTROLS
   ============================================================ */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.25);
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-btn:hover {
    background: rgba(255,255,255,0.30);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.slider-btn.prev { right: 24px; }
.slider-btn.next { left: 24px; }

.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.slider-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}
.slider-dots span.active {
    background: var(--accent);
    width: 40px;
    border-radius: 6px;
    box-shadow: 0 0 20px #fdcb6e;
}

/* ============================================================
   SECTION TITLE
   ============================================================ */
.section-title {
    text-align: center;
    margin: 70px 0 50px;
}
.section-title .tag {
    display: inline-block;
    padding: 6px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px #6c5ce730;
}
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    line-height: 1.2;
}
.section-title p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-top: 8px;
}

/* ============================================================
   CONTENT GRID
   ============================================================ */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

.content-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-bounce);
    position: relative;
}
.content-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 60px #6c5ce730;
}

.content-card .poster {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #6c5ce715, #fd79a815);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}
.content-card .poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.content-card:hover .poster img { transform: scale(1.10); }

.content-card .badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--accent);
    color: var(--dark);
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2;
}

.content-card .info { padding: 22px 24px 24px; }
.content-card .info h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.4;
}
.content-card .info .meta {
    display: flex;
    gap: 14px;
    font-size: 0.78rem;
    color: var(--gray);
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.content-card .info .meta i { color: var(--primary); margin-left: 4px; }

.content-card .info .genre-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--gradient-primary);
    color: var(--white);
    margin-bottom: 12px;
    box-shadow: 0 4px 12px #6c5ce730;
}

.content-card .info p {
    font-size: 0.88rem;
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   EDUCATION BANNER
   ============================================================ */
.edu-banner {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 60px 50px;
    margin: 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}
.edu-content { position: relative; z-index: 2; }
.edu-tag {
    display: inline-block;
    padding: 5px 18px;
    background: rgba(255,255,255,0.20);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.edu-content h2 {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 14px;
    letter-spacing: -1px;
}
.edu-content p { opacity: 0.95; font-size: 1.05rem; margin-bottom: 20px; }
.edu-content ul { margin-bottom: 26px; }
.edu-content ul li { margin-bottom: 8px; font-size: 1rem; }
.edu-image { position: relative; z-index: 2; }
.edu-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: var(--transition-bounce);
}
.edu-image:hover img { transform: scale(1.05) rotate(-2deg); }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
    background: var(--gradient-primary);
    padding: 80px 0 60px;
    border-radius: 0 0 50px 50px;
    margin: 0 16px 60px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}
.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    position: relative;
    z-index: 2;
    letter-spacing: -1px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
.page-header p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

/* ============================================================
   FORM
   ============================================================ */
.form-container {
    max-width: 720px;
    margin: 0 auto 60px;
    background: var(--white);
    padding: 40px 44px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.form-container h2 {
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    font-size: 1.7rem;
    font-weight: 900;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 8px;
    color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8eef3;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    background: #fafbfc;
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    outline: none;
    box-shadow: 0 0 0 4px #6c5ce715;
    transform: translateY(-2px);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.btn-submit {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    transition: var(--transition-bounce);
    box-shadow: 0 10px 30px #6c5ce730;
}
.btn-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px #6c5ce750;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.85);
    padding: 70px 0 24px;
    border-radius: 50px 50px 0 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-logo img {
    height: 50px;
    width: auto;
    max-width: 150px;
    border-radius: 10px;
    object-fit: contain;
}
.footer-logo span { font-size: 30px; }
.footer-logo h3 {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 900;
}
.footer-col p { font-size: 0.9rem; opacity: 0.75; line-height: 1.9; }
.footer-col h4 {
    color: var(--white);
    font-weight: 800;
    margin-bottom: 18px;
    font-size: 1.05rem;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    opacity: 0.75;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
}
.footer-col ul li a:hover {
    opacity: 1;
    color: var(--accent);
    padding-right: 8px;
}

.social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.social a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: var(--transition-bounce);
    opacity: 0.75;
}
.social a:hover {
    background: var(--gradient-primary);
    opacity: 1;
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 25px #6c5ce740;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .nav { display: none; }
    .hamburger { display: flex; }
    .mobile-nav { display: none; }
    .mobile-nav.open { display: block; }
    .hero { height: 520px; border-radius: 0 0 30px 30px; margin: 0 8px 40px; }
    .hero-content h1 { font-size: 2.4rem; }
    .hero-content p { font-size: 1rem; }
    .section-title h2 { font-size: 1.9rem; }
    .edu-banner { grid-template-columns: 1fr; padding: 40px 24px; text-align: center; }
    .edu-image img { height: 240px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .form-row { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 2rem; }
    .page-header { padding: 60px 0 40px; border-radius: 0 0 30px 30px; margin: 0 8px 40px; }
}
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .hero { height: 460px; }
    .hero-content h1 { font-size: 1.7rem; letter-spacing: -0.5px; }
    .hero-content p { font-size: 0.9rem; }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline-light { padding: 12px 26px; font-size: 0.85rem; }
    .slider-btn { width: 42px; height: 42px; font-size: 1rem; }
    .slider-btn.prev { right: 10px; }
    .slider-btn.next { left: 10px; }
    .section-title { margin: 40px 0 30px; }
    .section-title h2 { font-size: 1.5rem; }
    .content-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-logo { justify-content: center; }
    .footer-col h4::after { right: 50%; transform: translateX(50%); }
    .social { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
    .form-container { padding: 26px 20px; }
    .form-container h2 { font-size: 1.3rem; }
    .page-header h1 { font-size: 1.5rem; }
    .page-header p { font-size: 0.95rem; }
    .page-header { padding: 50px 0 30px; }
    .edu-content h2 { font-size: 1.6rem; }
    .edu-banner { padding: 30px 20px; margin: 40px 0; }
}
@media (max-width: 480px) {
    .hero { height: 420px; }
    .hero-content h1 { font-size: 1.4rem; }
    .hero-content { padding: 20px; }
    .hero-tag { font-size: 0.7rem; padding: 4px 16px; }
    .content-card .poster { height: 180px; font-size: 3rem; }
}