:root {
    --primary: #392c74;
    --primary-dark: #2b2159;
    --primary-light: #f4f1ff;
    --white: #ffffff;
    --gold: #f3c969;
    --text: #222222;
    --muted: #6f6f7b;
    --border: #e8e2ff;
    --bg: #fcfbff;
    --success-bg: #e7f8ee;
    --success-text: #1f8c4b;
    --warning-bg: #fff3df;
    --warning-text: #b06a00;
    --danger-bg: #fdeaea;
    --danger-text: #c0392b;
    --gray-bg: #efefef;
    --gray-text: #777;
    --shadow: 0 12px 35px rgba(57, 44, 116, 0.10);
    --shadow-hover: 0 18px 45px rgba(57, 44, 116, 0.16);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --transition: all 0.3s ease;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(to bottom, #ffffff 0%, #faf8ff 100%);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
select,
input,
textarea {
    font-family: inherit;
}

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

/* =========================
   GLOBAL SECTIONS
========================= */
section {
    padding: 110px 0;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-head .tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(57, 44, 116, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.section-head h2 {
    font-size: clamp(30px, 3.5vw, 42px);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-head p {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.9;
}

/* =========================
   BUTTONS
========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

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

.btn-secondary {
    background: #f4f1ff;
    color: var(--primary);
    border: 1px solid rgba(57, 44, 116, 0.10);
}

.btn-secondary:hover {
    background: #ece6ff;
    transform: translateY(-2px);
}

/* ========================================
   HERO SECTION
======================================== */
.animated-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2b2159, #392c74);
    color: #fff;
    overflow: hidden;
}

.animated-hero::before,
.animated-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.animated-hero::before {
    width: 320px;
    height: 320px;
    top: -100px;
    right: -80px;
}

.animated-hero::after {
    width: 260px;
    height: 260px;
    bottom: -90px;
    left: -90px;
}

.hero-stage {
    position: relative;
    min-height: 100vh;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 110px;
    padding-bottom: 40px;
}

.hero-visual {
    position: absolute;
    left: 50%;
    top: 54%;
    transform: translate(-50%, -50%) scale(1);
    width: min(500px, 38vw);
    z-index: 2;
    transition:
        left 1.1s ease,
        top 1.1s ease,
        transform 1.1s ease,
        width 1.1s ease,
        opacity 0.8s ease;
}

.hero-visual img {
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.18));
    transition: transform 0.35s ease;
}

.hero-visual img:hover {
    transform: translateY(-4px);
}

.hero-copy {
    position: absolute;
    right: 8%;
    top: 52%;
    transform: translateY(-50%) translateX(70px);
    width: 100%;
    max-width: 560px;
    opacity: 0;
    transition:
        opacity 0.8s ease 0.35s,
        transform 0.8s ease 0.35s;
    z-index: 3;
    pointer-events: none;
    text-align: right;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 13px;
    font-weight: 700;
    opacity: 0.95;
}

.hero-title {
    margin: 0 0 20px;
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.02em;
    max-width: 560px;
}

.hero-copy p {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.86);
    max-width: 430px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-actions .btn {
    min-width: 160px;
    height: 56px;
}

.animated-hero.hero-started .hero-visual {
    left: 24%;
    top: 56%;
    transform: translate(-50%, -50%) scale(1);
    width: min(430px, 33vw);
}

.animated-hero.hero-started .hero-copy {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

/* ========================================
   STATS SECTION
======================================== */
.stats {
    margin-top: -45px;
    position: relative;
    z-index: 5;
}

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

.stat-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(to left, var(--gold), var(--primary));
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-size: 34px;
    font-weight: 900;
    color: var(--primary);
}

.stat-label {
    color: var(--muted);
    font-weight: 700;
    font-size: 15px;
    margin-top: 8px;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f5ff 100%);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 50px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-image-box {
    width: 100%;
    max-width: 420px;
    height: 420px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(57, 44, 116, 0.12);
    border: 1px solid rgba(57, 44, 116, 0.08);
    background: #fff;
}

.about-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: var(--muted);
    font-weight: 700;
    background: #f5f3ff;
}

.about-card {
    background: #fff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(57, 44, 116, 0.08);
    border: 1px solid rgba(57, 44, 116, 0.06);
}

.about-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(57, 44, 116, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.about-card h3 {
    font-size: clamp(26px, 2.8vw, 34px);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 14px;
}

.about-card p {
    font-size: 16.5px;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 25px;
}

.about-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.about-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7f5ff;
    border-radius: 14px;
    padding: 14px 18px;
    font-weight: 700;
    font-size: 15px;
    color: #2b2b2b;
    transition: all 0.3s ease;
}

.about-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(57, 44, 116, 0.10);
}

/* ========================================
   LEVELS SECTION
======================================== */
.levels-section {
    background: linear-gradient(to bottom, #f8f5ff 0%, #ffffff 100%);
}

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

.level-cards .level-card:nth-child(4) {
    grid-column: 1 / 2;
}

.level-cards .level-card:nth-child(5) {
    grid-column: 2 / 3;
}

.level-card {
    position: relative;
    min-height: 320px;
    border-radius: 26px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(57, 44, 116, 0.08);
    box-shadow: 0 18px 40px rgba(57, 44, 116, 0.10);
    transition: all 0.35s ease;
}

.level-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 55px rgba(57, 44, 116, 0.16);
}

.level-front,
.level-overlay {
    position: absolute;
    inset: 0;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.45s ease;
}

.level-front {
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
}

.level-front::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--primary));
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), #4b3b95);
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    box-shadow: 0 12px 25px rgba(57, 44, 116, 0.22);
}

.level-front h3 {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 10px;
}

.level-front p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 16px;
}

.level-hint {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.7;
}

.level-overlay {
    background: linear-gradient(135deg, var(--primary), #2b2159);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
}

.level-card:hover .level-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.level-card:hover .level-front {
    opacity: 0;
}

.level-overlay h4 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 14px;
}

.level-overlay ul {
    list-style: none;
    margin-bottom: 20px;
}

.level-overlay li {
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.level-btn {
    margin-top: auto;
    width: 100%;
    height: 48px;
    border-radius: 14px;
    background: #fff;
    color: var(--primary);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.level-btn:hover {
    background: #f4f1ff;
}

.coming-soon .card-icon {
    background: #aaa;
    box-shadow: none;
}

.coming-soon .level-front {
    opacity: 0.85;
}

/* ========================================
   STUDY SECTION
======================================== */
.study-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f5ff 100%);
}

.study-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.study-option {
    background: #fff;
    border: 1px solid rgba(57, 44, 116, 0.08);
    border-radius: 26px;
    padding: 30px 26px;
    box-shadow: 0 16px 36px rgba(57, 44, 116, 0.08);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.study-option:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(57, 44, 116, 0.12);
}

.study-top {
    margin-bottom: 18px;
}

.study-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(57, 44, 116, 0.08);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.study-badge.alt {
    background: rgba(243, 201, 105, 0.18);
    color: #8a6200;
}

.study-option h3 {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
}

.study-list {
    list-style: none;
    margin: 20px 0;
    display: grid;
    gap: 10px;
}

.study-list li {
    position: relative;
    padding-right: 18px;
    font-size: 15px;
    color: var(--muted);
}

.study-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--primary);
    font-weight: 900;
}

.study-btn {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    transition: 0.25s ease;
}

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

/* ========================================
   EXAMS SECTION
======================================== */
.exam-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f5ff 100%);
}

.exam-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: center;
}

.exam-logos {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.exam-logo-box {
    width: 110px;
    height: 110px;
    padding: 12px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(57, 44, 116, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(57, 44, 116, 0.08);
    transition: 0.3s ease;
}

.exam-logo-box:hover {
    transform: translateY(-5px);
}

.exam-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.exam-main-card {
    background: linear-gradient(135deg, var(--primary), #2b2159);
    color: #fff;
    padding: 40px;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(57, 44, 116, 0.2);
}

.exam-main-card h3 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 18px;
}

.exam-features {
    list-style: none;
    margin-bottom: 20px;
}

.exam-features li {
    position: relative;
    padding-right: 18px;
    margin-bottom: 8px;
}

.exam-features li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--gold);
}

.exam-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 26px;
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-weight: 800;
}

.exam-btn:hover {
    background: #f4f1ff;
}

/* ========================================
   SCHEDULE SECTION
======================================== */
.schedule-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f5ff 100%);
}

.schedule-filters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.schedule-filters select {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1px solid rgba(57, 44, 116, 0.10);
    background: #fff;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    outline: none;
    transition: 0.25s ease;
}

.schedule-filters select:focus {
    border-color: rgba(57, 44, 116, 0.20);
    box-shadow: 0 10px 24px rgba(57, 44, 116, 0.08);
}

.schedule-wrap {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(57, 44, 116, 0.08);
    box-shadow: 0 16px 35px rgba(57, 44, 116, 0.08);
}

.schedule-head,
.schedule-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 14px;
    padding: 16px 20px;
    align-items: center;
}

.schedule-head {
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}

.schedule-row {
    border-bottom: 1px solid rgba(57, 44, 116, 0.06);
    transition: 0.25s ease;
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-row:hover {
    background: #faf9ff;
}

.schedule-level {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--primary);
}

.seats {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.seats.available {
    background: var(--success-bg);
    color: var(--success-text);
}

.seats.limited {
    background: var(--warning-bg);
    color: var(--warning-text);
}

.seats.full {
    background: var(--danger-bg);
    color: var(--danger-text);
}

.table-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    transition: 0.25s ease;
}

.table-action:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.table-action.alt {
    background: #f0ecff;
    color: var(--primary);
}

.schedule-empty {
    margin-top: 16px;
    padding: 16px;
    text-align: center;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(57, 44, 116, 0.08);
    color: var(--muted);
    font-weight: 700;
}

.schedule-note {
    text-align: center;
    margin-top: 16px;
    color: var(--muted);
    font-weight: 700;
}

/* ========================================
   CONVERSATION SECTION
======================================== */
.conversation-section {
    padding: 90px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f5ff 100%);
}

.conversation-head {
    margin-bottom: 50px;
}

.conversation-programs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.conversation-card {
    position: relative;
    min-height: 300px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(57, 44, 116, 0.08);
    box-shadow: 0 14px 30px rgba(57, 44, 116, 0.08);
    transition: 0.3s ease;
}

.conversation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(57, 44, 116, 0.14);
}

.conversation-front,
.conversation-overlay {
    position: absolute;
    inset: 0;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.35s ease;
}

.conversation-front {
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
    z-index: 2;
}

.conversation-front::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--primary));
}

.conversation-badge {
    display: inline-block;
    margin: 0 auto 16px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(57, 44, 116, 0.08);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.featured-badge {
    background: rgba(243, 201, 105, 0.18);
    color: #8a6200;
}

.conversation-front h3 {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 10px;
}

.conversation-front p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 18px;
}

.conversation-hint {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.7;
}

.conversation-overlay {
    background: linear-gradient(135deg, var(--primary), #2b2159);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    z-index: 3;
    text-align: right;
}

.conversation-card:hover .conversation-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.conversation-card:hover .conversation-front {
    opacity: 0;
    transform: scale(0.98);
}

.conversation-overlay h4 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 16px;
}

.conversation-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.conversation-list li {
    position: relative;
    padding-right: 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
}

.conversation-list li::before {
    content: "•";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--gold);
    font-weight: bold;
}

.conversation-price {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 16px;
    color: white;
}

.conversation-btn {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    width: 100%;
    border-radius: 14px;
    background: #fff;
    color: var(--primary);
    font-weight: 800;
    transition: 0.25s ease;
}

.conversation-btn:hover {
    background: #f4f1ff;
}

.featured-conversation {
    border-color: rgba(243, 201, 105, 0.35);
    box-shadow: 0 18px 36px rgba(243, 201, 105, 0.12);
}

.featured-conversation .conversation-front::before {
    background: linear-gradient(90deg, #f3c969, #d8ad37);
}

/* ========================================
   FAQ SECTION
======================================== */
.faq-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f5ff 100%);
}

.faq-head {
    margin-bottom: 60px;
}

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

.faq-group {
    background: #fff;
    border: 1px solid rgba(57, 44, 116, 0.08);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 16px 38px rgba(57, 44, 116, 0.07);
    transition: 0.3s ease;
}

.faq-group:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 45px rgba(57, 44, 116, 0.10);
}

.faq-group-head {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(57, 44, 116, 0.08);
}

.faq-group-tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(57, 44, 116, 0.08);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.faq-group-head h3 {
    font-size: 22px;
    color: var(--primary);
    font-weight: 900;
    line-height: 1.4;
}

.faq-accordion {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid rgba(57, 44, 116, 0.08);
    border-radius: 18px;
    overflow: hidden;
    background: #fcfbff;
    transition: 0.25s ease;
}

.faq-item.active {
    background: #fff;
    border-color: rgba(57, 44, 116, 0.14);
    box-shadow: 0 12px 24px rgba(57, 44, 116, 0.06);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: right;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
}

.faq-question span:first-child {
    flex: 1;
    line-height: 1.8;
}

.faq-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(57, 44, 116, 0.08);
    color: var(--primary);
    font-size: 18px;
    font-weight: 900;
    transition: 0.25s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--primary);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 18px;
}

.faq-answer p {
    padding: 0 0 18px;
    margin: 0;
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.9;
}

/* ========================================
   PLACEMENT TEST
======================================== */
.placement-section {
    background: linear-gradient(to bottom, #f8f5ff, #ffffff);
}

.placement-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 40px;
    background: #fff;
    border-radius: 30px;
    padding: 50px 40px;
    border: 1px solid rgba(57, 44, 116, 0.08);
    box-shadow: 0 20px 45px rgba(57, 44, 116, 0.10);
}

.placement-content h2 {
    font-size: 38px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 16px;
}

.placement-content p {
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.placement-features {
    list-style: none;
    margin-bottom: 26px;
}

.placement-features li {
    margin-bottom: 8px;
    font-size: 15px;
    color: #333;
    position: relative;
    padding-right: 18px;
}

.placement-features li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--primary);
    font-weight: 900;
}

.placement-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.placement-note {
    font-size: 13px;
    color: var(--muted);
}

.placement-visual {
    text-align: center;
}

.placement-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 40px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    box-shadow: 0 20px 40px rgba(57, 44, 116, 0.25);
}

.placement-label {
    font-weight: 800;
    color: var(--primary);
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f5ff 100%);
}

.contact-modern-box {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 60px 50px;
    background: linear-gradient(135deg, rgba(57, 44, 116, 0.96), rgba(43, 33, 89, 0.96));
    box-shadow: 0 24px 60px rgba(57, 44, 116, 0.20);
    isolation: isolate;
}

.contact-modern-box::before,
.contact-modern-box::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.contact-modern-box::before {
    width: 280px;
    height: 280px;
    top: -120px;
    right: -80px;
    background: rgba(255, 255, 255, 0.06);
}

.contact-modern-box::after {
    width: 220px;
    height: 220px;
    bottom: -100px;
    left: -60px;
    background: rgba(243, 201, 105, 0.10);
}

.contact-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.contact-tag {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}

.contact-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    margin-bottom: 14px;
    line-height: 1.2;
}

.contact-content p {
    max-width: 640px;
    margin: 0 auto 30px;
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.88);
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.contact-btn {
    min-width: 170px;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    transition: all 0.3s ease;
}

.primary-btn {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.10);
}

.primary-btn:hover {
    transform: translateY(-2px);
    background: #f7f4ff;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.secondary-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.16);
}

.contact-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.contact-meta-item {
    padding: 18px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(8px);
}

.meta-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.70);
    margin-bottom: 6px;
}

.meta-value {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1200px) {
    .animated-hero.hero-started .hero-visual {
        left: 22%;
        width: min(390px, 34vw);
    }

    .hero-copy {
        right: 6%;
        max-width: 500px;
    }

    .hero-title {
        font-size: clamp(32px, 4vw, 52px);
        max-width: 500px;
    }
}

@media (max-width: 1100px) {
    .faq-groups {
        grid-template-columns: 1fr;
    }

    .schedule-filters {
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule-head,
    .schedule-row {
        grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-wrapper,
    .exam-grid,
    .placement-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image-box {
        max-width: 360px;
        height: 360px;
    }

    .about-card {
        padding: 30px;
    }

    .about-list {
        grid-template-columns: 1fr;
    }

    .level-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .level-cards .level-card:nth-child(4),
    .level-cards .level-card:nth-child(5) {
        grid-column: auto;
    }

    .study-options,
    .conversation-programs {
        grid-template-columns: 1fr 1fr;
    }

    .contact-modern-box {
        padding: 50px 28px;
    }

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

    .hero-stage {
        min-height: auto;
        padding-top: 140px;
        padding-bottom: 50px;
        display: grid;
        gap: 30px;
    }

    .hero-visual,
    .animated-hero.hero-started .hero-visual {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: min(340px, 78vw);
        margin: 0 auto;
    }

    .hero-copy,
    .animated-hero.hero-started .hero-copy {
        position: relative;
        right: auto;
        top: auto;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .hero-title {
        max-width: 100%;
        font-size: clamp(32px, 6vw, 48px);
    }

    .hero-copy p {
        max-width: 100%;
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .animated-hero {
        min-height: auto;
        padding: 0 0 70px;
    }

    .hero-title {
        margin: 0 0 20px;
        font-size: clamp(28px, 8vw, 40px);
        line-height: 1.2;
        letter-spacing: -0.01em;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .stats-grid,
    .level-cards,
    .study-options,
    .conversation-programs,
    .schedule-filters {
        grid-template-columns: 1fr;
    }

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

    .conversation-card {
        min-height: 280px;
        border-radius: 20px;
    }

    .conversation-front,
    .conversation-overlay {
        padding: 24px 18px;
    }

    .conversation-front h3,
    .conversation-overlay h4 {
        font-size: 20px;
    }

    .faq-group {
        padding: 18px;
        border-radius: 22px;
    }

    .faq-group-head h3 {
        font-size: 20px;
    }

    .faq-question {
        padding: 16px;
        font-size: 14px;
    }

    .faq-answer {
        padding: 0 16px;
    }

    .faq-answer p {
        font-size: 14px;
    }

    .schedule-wrap {
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .schedule-head {
        display: none;
    }

    .schedule-body {
        display: grid;
        gap: 14px;
    }

    .schedule-row {
        grid-template-columns: 1fr;
        gap: 10px;
        background: #fff;
        border: 1px solid rgba(57, 44, 116, 0.08);
        border-radius: 20px;
        box-shadow: 0 12px 28px rgba(57, 44, 116, 0.06);
    }

    .table-action,
    .table-action.alt {
        width: 100%;
    }

    .placement-card {
        text-align: center;
        padding: 35px 20px;
    }

    .placement-actions {
        flex-direction: column;
    }

    .contact-modern-box {
        border-radius: 26px;
        padding: 40px 20px;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-btn {
        width: 100%;
    }

    .contact-content p {
        font-size: 16px;
    }
}
