.students-hero {
    position: relative;
    min-height: 720px;
    padding: 170px 0 96px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 15%, rgba(232, 201, 138, .22), transparent 27%),
        linear-gradient(135deg, #24120c 0%, #3d2314 52%, #6b3d2a 100%);
    color: var(--cream-light);
}

.students-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .14;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.students-orb { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.students-orb-one { width: 390px; height: 390px; inset-inline-end: -130px; top: 90px; background: rgba(201,160,90,.14); border: 1px solid rgba(232,201,138,.25); }
.students-orb-two { width: 210px; height: 210px; inset-inline-start: 42%; bottom: -105px; background: rgba(255,255,255,.06); }

.students-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr); gap: 90px; align-items: center; }
.students-hero-copy { max-width: 720px; }
.students-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--gold-light); font-size: 12px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.students-eyebrow::before { content: ''; width: 38px; height: 1px; background: currentColor; }
.students-hero h1 { color: #fff; font-size: clamp(3rem, 5.8vw, 5.7rem); line-height: .98; margin-bottom: 28px; text-wrap: balance; }
.students-hero h1 span { color: var(--gold-light); font-style: italic; }
.students-hero-copy > p { max-width: 650px; color: rgba(255,255,255,.75); font-size: 18px; line-height: 1.9; }
.students-hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.btn-students-primary { background: var(--gold-light); color: var(--brown-deep); }
.btn-students-primary:hover { background: #f0d8a6; transform: translateY(-2px); box-shadow: 0 12px 34px rgba(0,0,0,.22); }
.btn-students-secondary { color: #fff; border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.btn-students-secondary:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }

.students-journey { display: flex; flex-direction: column; align-items: stretch; padding: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: 28px; background: rgba(255,255,255,.07); box-shadow: 0 30px 70px rgba(0,0,0,.22); backdrop-filter: blur(16px); }
.journey-card { display: flex; align-items: center; gap: 17px; padding: 15px 18px; border-radius: 14px; color: #fff; background: rgba(255,255,255,.07); transition: transform .3s ease, background .3s ease; }
.journey-card:hover { transform: translateX(-5px); background: rgba(255,255,255,.12); }
html[dir="rtl"] .journey-card:hover { transform: translateX(5px); }
.journey-card span { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; border-radius: 50%; background: var(--gold-light); color: var(--brown-deep); font-size: 12px; font-weight: 800; }
.journey-card strong { font-size: 15px; letter-spacing: .02em; }
.journey-line { width: 1px; height: 30px; margin-inline-start: 39px; background: linear-gradient(var(--gold-light), rgba(232,201,138,.12)); }

.student-stories-section { padding: 112px 0 124px; background: var(--cream-white); }
.student-stories-header { max-width: 720px; margin: 0 auto 62px; text-align: center; }
.student-stories-header > span { color: var(--brown-warm); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.student-stories-header h2 { margin: 12px 0 16px; text-wrap: balance; }
.student-stories-header p { color: var(--text-muted); font-size: 17px; }

.student-stories-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.student-story-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border); border-radius: 24px; background: #fff; box-shadow: 0 8px 34px rgba(44,24,16,.08); transition: transform .35s ease, box-shadow .35s ease; animation: studentCardIn .65s both; animation-delay: min(calc(var(--story-index) * 80ms), 480ms); }
.student-story-card:hover { transform: translateY(-7px); box-shadow: 0 22px 52px rgba(44,24,16,.14); }
.student-photo-wrap { position: relative; aspect-ratio: 4 / 3.65; overflow: hidden; background: var(--cream-deep); }
.student-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .55s ease; }
.student-story-card:hover .student-photo-wrap img { transform: scale(1.035); }
.student-photo-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--cream-deep), var(--gold-light)); color: var(--brown-dark); font-family: 'Jost','Cairo','Tajawal','Segoe UI',Tahoma,Arial,sans-serif; font-size: 7rem; font-weight: 700; }
.student-quote-mark { position: absolute; inset-inline-end: 20px; bottom: -24px; width: 62px; height: 62px; display: grid; place-items: center; padding-top: 17px; border-radius: 50%; background: var(--brown-dark); color: var(--gold-light); font-family: Georgia, serif; font-size: 48px; line-height: 1; box-shadow: 0 7px 20px rgba(44,24,16,.25); }
.student-story-body { display: flex; flex-direction: column; flex: 1; padding: 35px 27px 27px; }
.student-study { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 18px; color: var(--brown-mid); font-size: 13px; font-weight: 600; }
.student-study span { padding: 4px 9px; border-radius: 20px; background: var(--cream-deep); color: var(--brown-warm); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.student-story-body blockquote { flex: 1; margin: 0 0 25px; color: var(--text-body); font-size: 15px; line-height: 1.9; }
.student-identity { display: flex; align-items: center; gap: 11px; padding-top: 18px; border-top: 1px solid var(--border); }
.student-avatar { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 36px; border-radius: 50%; background: var(--brown-deep); color: var(--gold-light); font-family: 'Jost','Cairo','Tajawal','Segoe UI',Tahoma,Arial,sans-serif; font-size: 18px; font-weight: 700; }
.student-identity strong { color: var(--brown-deep); font-size: 15px; }
.student-story-card.is-featured { border-color: rgba(201,160,90,.48); }

.students-empty-state { max-width: 680px; margin: 0 auto; padding: 58px 34px; text-align: center; border: 1px dashed rgba(107,61,42,.25); border-radius: 24px; background: linear-gradient(145deg, #fff, var(--cream-light)); }
.students-empty-icon { width: 70px; height: 70px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--cream-deep); color: var(--brown-warm); font-size: 29px; }
.students-empty-state h3 { margin-bottom: 12px; }
.students-empty-state p { max-width: 520px; margin: 0 auto 26px; color: var(--text-muted); }

.students-cta-section { padding: 0 0 112px; background: var(--cream-white); }
.students-cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 50px; align-items: center; padding: 56px 62px; border-radius: 26px; background: linear-gradient(130deg, var(--brown-deep), var(--brown-mid)); color: #fff; box-shadow: var(--shadow-lg); }
.students-cta-card::after { content: ''; position: absolute; width: 290px; height: 290px; inset-inline-end: -120px; top: -140px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.students-cta-card > div, .students-cta-card > a { position: relative; z-index: 1; }
.students-cta-card span { color: var(--gold-light); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.students-cta-card h2 { max-width: 700px; margin: 9px 0 12px; color: #fff; font-size: clamp(2rem, 3.4vw, 3rem); }
.students-cta-card p { max-width: 680px; color: rgba(255,255,255,.7); }
.btn-students-light { background: #fff; color: var(--brown-deep); box-shadow: 0 10px 30px rgba(0,0,0,.16); }
.btn-students-light:hover { transform: translateY(-3px); background: var(--gold-light); }

html[dir="rtl"] .students-hero-copy,
html[dir="rtl"] .student-story-body { text-align: right; }

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

@media (max-width: 1024px) {
    .students-hero { min-height: auto; padding-top: 145px; }
    .students-hero-inner { grid-template-columns: 1fr; gap: 52px; }
    .students-journey { max-width: 680px; width: 100%; }
    .student-stories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .students-hero { padding: 125px 0 70px; }
    .students-hero-inner { gap: 38px; }
    .students-hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
    .students-hero-copy > p { font-size: 16px; }
    .students-hero-actions { flex-direction: column; }
    .students-hero-actions .btn { width: 100%; justify-content: center; }
    .students-journey { padding: 20px; border-radius: 20px; }
    .student-stories-section { padding: 76px 0 82px; }
    .student-stories-header { margin-bottom: 38px; }
    .student-stories-grid { grid-template-columns: 1fr; gap: 22px; }
    .students-cta-section { padding-bottom: 76px; }
    .students-cta-card { grid-template-columns: 1fr; gap: 26px; padding: 40px 26px; }
    .students-cta-card .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .student-story-card { animation: none; }
    .student-story-card, .student-photo-wrap img, .journey-card { transition: none; }
}
