/* =====================================================
   LSS — LUXURY SCHOOL WEBSITE
   BILINGUAL / RTL / RESPONSIVE
   ===================================================== */

:root {
    --red: #C8102E;
    --green: #23883E;
    --dark-green: #092116;
    --gold: #c9a45c;
    --gold-light: #dfc98f;

    --cream: #FAF6F0;
    --white: #FFFFFF;
    --black: #101411;
    --gray: #68706a;

    --border: rgba(16, 20, 17, 0.10);

    --shadow-soft: 0 20px 55px rgba(0, 0, 0, 0.07);
    --shadow-hover: 0 30px 75px rgba(0, 0, 0, 0.11);
}


/* =====================================================
   RESET
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--cream);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: var(--gold);
    color: var(--dark-green);
}


/* =====================================================
   GLOBAL ARABIC FONT
   ===================================================== */

html[dir="rtl"],
html[dir="rtl"] body {
    font-family: "Tajawal", sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] p,
html[dir="rtl"] a,
html[dir="rtl"] button,
html[dir="rtl"] .brand strong,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .school-year,
html[dir="rtl"] .card-number,
html[dir="rtl"] .feature-info h3,
html[dir="rtl"] .person-info h3,
html[dir="rtl"] .about-year h2,
html[dir="rtl"] .about-cta h2,
html[dir="rtl"] .contact-card,
html[dir="rtl"] .footer {
    font-family: "Tajawal", sans-serif;
}


/* Keep 3D / Latin elements visually clean */

.cube,
.cube span,
.cube b,
.orbit-logo,
.orbit-text {
    font-family: "DM Sans", sans-serif;
}

html[dir="rtl"] .cube,
html[dir="rtl"] .cube span,
html[dir="rtl"] .cube b,
html[dir="rtl"] .orbit-logo,
html[dir="rtl"] .orbit-text {
    font-family: "DM Sans", sans-serif;
}


/* =====================================================
   RTL GLOBAL ALIGNMENT
   ===================================================== */

html[dir="rtl"] .hero,
html[dir="rtl"] .section,
html[dir="rtl"] .about-school,
html[dir="rtl"] .lss-people,
html[dir="rtl"] .about-year,
html[dir="rtl"] .about-cta {
    text-align: right;
}

html[dir="rtl"] .section-heading.center,
html[dir="rtl"] .about-cta,
html[dir="rtl"] .about-year {
    text-align: center;
}

html[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

html[dir="rtl"] .luxury-link span {
    transform: scaleX(-1);
}

html[dir="rtl"] .luxury-link:hover span {
    transform: scaleX(-1) translate(5px, -5px);
}

html[dir="rtl"] .about-cube-label {
    right: auto;
    left: 10%;
    text-align: left;
}

html[dir="rtl"] .about-cube-label strong,
html[dir="rtl"] .about-cube-label span {
    text-align: left;
}

html[dir="rtl"] .cube-label {
    right: auto;
    left: 10%;
    text-align: left;
}

html[dir="rtl"] .scroll-indicator {
    right: auto;
    left: 5%;
}

html[dir="rtl"] .school-year::before {
    order: 2;
}

html[dir="rtl"] .nav {
    direction: rtl;
}

html[dir="rtl"] .footer {
    text-align: right;
}

html[dir="rtl"] .footer-top,
html[dir="rtl"] .footer-bottom {
    direction: rtl;
}


/* =====================================================
   HEADER
   ===================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    height: 88px;
    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    background: rgba(255, 255, 255, 0.94);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;

    flex-shrink: 0;
}

.brand img {
    width: 55px;
    height: 55px;

    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand strong {
    font-family: "Playfair Display", serif;

    font-size: 24px;
    line-height: 1;

    letter-spacing: 2px;

    color: var(--red);
}

.brand span {
    margin-top: 5px;

    font-size: 9px;
    line-height: 1;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    color: var(--gray);
}


/* =====================================================
   LANGUAGE SWITCHER
   ===================================================== */

.language-switcher {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 4px;

    padding: 5px 8px;

    margin-left: auto;

    border: 1px solid rgba(201, 164, 92, 0.28);
    border-radius: 999px;

    background: rgba(250, 246, 240, 0.75);
}

.language-btn {
    border: 0;
    background: transparent;

    color: var(--gray);

    min-width: 38px;
    min-height: 30px;

    padding: 5px 8px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 700;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.language-btn:hover {
    color: var(--red);
    transform: translateY(-1px);
}

.language-btn.active {
    color: white;
    background: var(--red);

    box-shadow:
        0 6px 18px rgba(200, 16, 46, 0.18);
}

.language-divider {
    color: rgba(16, 20, 17, 0.22);
    font-size: 10px;
    user-select: none;
}

html[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .language-btn {
    font-family: "Tajawal", sans-serif;
}


/* =====================================================
   NAV
   ===================================================== */

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    position: relative;

    font-size: 13px;
    font-weight: 600;

    color: #303630;

    white-space: nowrap;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 0;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--red),
            var(--gold)
        );

    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--red);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a.active {
    color: var(--red);
}

html[dir="rtl"] .nav a::after {
    left: auto;
    right: 0;
}


/* =====================================================
   MOBILE MENU
   ===================================================== */

.menu-btn {
    display: none;

    width: 45px;
    height: 45px;

    flex-shrink: 0;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: var(--white);

    color: var(--dark-green);

    font-size: 20px;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.menu-btn:hover {
    background: var(--dark-green);
    color: white;

    transform: rotate(4deg);
}

.mobile-menu {
    display: none;

    position: fixed;

    top: 88px;
    left: 0;

    width: 100%;

    max-height: calc(100vh - 88px);
    overflow-y: auto;

    padding: 18px 7% 25px;

    background: rgba(255, 255, 255, 0.98);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-bottom: 1px solid var(--border);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.08);

    z-index: 999;
}

.mobile-menu.open {
    display: flex;
    flex-direction: column;
}

.mobile-menu a {
    padding: 16px 0;

    border-bottom: 1px solid var(--border);

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.25s ease,
        padding 0.25s ease;
}

.mobile-menu a:hover {
    color: var(--red);
    padding-left: 5px;
}

html[dir="rtl"] .mobile-menu a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.mobile-language {
    display: flex;
    align-items: center;
    gap: 7px;

    padding-top: 18px;
}

.mobile-language .language-btn {
    font-size: 12px;
}


/* =====================================================
   HERO
   ===================================================== */

.hero {
    min-height: calc(100vh - 88px);

    position: relative;

    overflow: hidden;

    display: flex;
    align-items: center;

    padding: 90px 8%;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(35, 136, 62, 0.14),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(200, 16, 46, 0.10),
            transparent 30%
        ),
        var(--cream);
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(201, 164, 92, 0.035) 50%,
            transparent 100%
        );
}

.hero-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    right: -200px;
    top: 50%;

    transform: translateY(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(201,164,92,0.16),
            transparent 65%
        );

    filter: blur(15px);

    pointer-events: none;
}

html[dir="rtl"] .hero-glow {
    right: auto;
    left: -200px;
}

.hero-content {
    position: relative;

    z-index: 5;

    max-width: 900px;

    text-align: left;
}

.eyebrow {
    margin-bottom: 20px;

    color: var(--gold);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;
}

.hero h1 {
    max-width: 900px;

    font-family: "Playfair Display", serif;

    font-size: clamp(55px, 8vw, 105px);

    line-height: 0.98;

    font-weight: 600;

    letter-spacing: -3px;

    margin-bottom: 30px;
}

.hero h1 span {
    display: block;

    color: var(--green);
}

.hero-text {
    max-width: 620px;

    margin-bottom: 38px;

    color: var(--gray);

    font-size: 18px;

    line-height: 1.8;
}

html[dir="rtl"] .hero-content {
    text-align: right;
}


/* =====================================================
   HERO — ROTATING LSS ORBIT
   ===================================================== */

.hero-orbit {
    position: absolute;

    z-index: 3;

    right: 6.5%;
    top: 50%;

    width: 330px;
    height: 330px;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}

html[dir="rtl"] .hero-orbit {
    right: auto;
    left: 6.5%;
}

.orbit-ring {
    position: absolute;

    inset: 0;

    border: 1px solid rgba(201, 164, 92, 0.55);

    border-radius: 50%;

    animation: orbitRotate 18s linear infinite;
}

.orbit-ring::before,
.orbit-ring::after {
    content: "";

    position: absolute;

    border-radius: 50%;
}

.orbit-ring::before {
    inset: 22px;

    border: 1px solid rgba(35, 136, 62, 0.25);
}

.orbit-ring::after {
    inset: 55px;

    border: 1px dashed rgba(200, 16, 46, 0.18);
}

.orbit-dot {
    position: absolute;

    width: 13px;
    height: 13px;

    top: 12px;
    left: 50%;

    transform: translateX(-50%);

    border-radius: 50%;

    background: var(--red);

    box-shadow:
        0 0 0 7px rgba(200, 16, 46, 0.08),
        0 0 25px rgba(200, 16, 46, 0.28);
}

.orbit-dot-two {
    width: 9px;
    height: 9px;

    top: auto;
    bottom: 40px;

    left: auto;
    right: 35px;

    transform: none;

    background: var(--green);

    box-shadow:
        0 0 0 6px rgba(35, 136, 62, 0.08),
        0 0 20px rgba(35, 136, 62, 0.25);
}

.orbit-logo {
    position: relative;

    z-index: 2;

    width: 145px;
    height: 145px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(255,255,255,0.98),
            rgba(250,246,240,0.90)
        );

    border: 2px solid rgba(201,164,92,0.7);

    box-shadow:
        0 25px 70px rgba(9,33,22,0.12),
        inset 0 0 35px rgba(201,164,92,0.10);
}

.orbit-logo::before {
    content: "";

    position: absolute;

    inset: 10px;

    border: 1px solid rgba(35,136,62,0.25);

    border-radius: 50%;
}

.orbit-logo span {
    position: relative;

    font-family: "Playfair Display", serif;

    font-size: 45px;
    font-weight: 700;

    letter-spacing: 5px;

    color: var(--red);
}

.orbit-text {
    position: absolute;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding-top: 23px;

    color: var(--dark-green);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 6px;

    text-transform: uppercase;

    opacity: 0.8;
}

@keyframes orbitRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =====================================================
   BUTTONS
   ===================================================== */

.hero-buttons {
    display: flex;
    align-items: center;

    gap: 14px;

    flex-wrap: wrap;
}

.btn {
    min-height: 54px;

    padding: 0 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 13px;

    border-radius: 5px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.4px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

.btn.primary {
    background:
        linear-gradient(
            135deg,
            #C8102E,
            #a80d26
        );

    color: white;

    border: 1px solid transparent;

    box-shadow:
        0 12px 30px rgba(200,16,46,0.18);
}

.btn.primary:hover {
    transform: translateY(-4px);

    box-shadow:
        0 20px 42px rgba(200,16,46,0.28);
}

.btn.primary span {
    font-size: 18px;

    transition: transform 0.3s ease;
}

.btn.primary:hover span {
    transform: translateX(5px);
}

html[dir="rtl"] .btn.primary:hover span {
    transform: translateX(-5px);
}

.btn.secondary {
    background: rgba(255,255,255,0.35);

    color: var(--dark-green);

    border: 1px solid rgba(9,33,22,0.65);
}

.btn.secondary:hover {
    background: var(--dark-green);

    color: white;

    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(9,33,22,0.15);
}

.btn:disabled,
.btn.disabled {
    transform: none !important;

    box-shadow: none !important;

    cursor: not-allowed;
}


/* =====================================================
   YEAR
   ===================================================== */

.school-year {
    display: flex;
    align-items: center;

    gap: 16px;

    margin-top: 55px;

    color: var(--gray);

    font-size: 12px;

    letter-spacing: 1px;
}

.school-year::before {
    content: "";

    width: 35px;
    height: 1px;

    background: var(--gold);
}

.school-year strong {
    color: var(--dark-green);

    font-size: 14px;
}


/* =====================================================
   3D CUBE SYSTEM
   ===================================================== */

.cube {
    position: relative;

    width: 130px;
    height: 130px;

    transform-style: preserve-3d;

    animation: cubeRotate 18s infinite linear;
}

.cube span {
    position: absolute;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(201,164,92,0.65);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.16),
            rgba(201,164,92,0.04)
        );

    backdrop-filter: blur(4px);

    box-shadow:
        inset 0 0 35px rgba(201,164,92,0.05);
}

.cube span:nth-child(1) {
    transform: translateZ(65px);
}

.cube span:nth-child(2) {
    transform: rotateY(180deg) translateZ(65px);
}

.cube span:nth-child(3) {
    transform: rotateY(90deg) translateZ(65px);
}

.cube span:nth-child(4) {
    transform: rotateY(-90deg) translateZ(65px);
}

.cube span:nth-child(5) {
    transform: rotateX(90deg) translateZ(65px);
}

.cube span:nth-child(6) {
    transform: rotateX(-90deg) translateZ(65px);
}

@keyframes cubeRotate {
    0% {
        transform: rotateX(-15deg) rotateY(0deg);
    }

    50% {
        transform: rotateX(15deg) rotateY(180deg);
    }

    100% {
        transform: rotateX(-15deg) rotateY(360deg);
    }
}


/* =====================================================
   FLOATING CUBES
   ===================================================== */

.floating-cube {
    position: absolute;

    z-index: 1;

    perspective: 900px;

    opacity: 0.65;

    pointer-events: none;
}

.cube-one {
    right: 13%;
    top: 18%;

    animation: floatOne 7s ease-in-out infinite;
}

.cube-two {
    right: 29%;
    bottom: 13%;

    animation: floatTwo 9s ease-in-out infinite;
}

.cube-three {
    left: 4%;
    top: 15%;

    animation: floatThree 8s ease-in-out infinite;
}

.small-cube {
    width: 75px;
    height: 75px;
}

.tiny-cube {
    width: 45px;
    height: 45px;
}

@keyframes floatOne {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-35px) rotate(8deg);
    }
}

@keyframes floatTwo {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(28px);
    }
}

@keyframes floatThree {
    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(25px, -25px);
    }
}


/* =====================================================
   SCROLL INDICATOR
   ===================================================== */

.scroll-indicator {
    position: absolute;

    right: 5%;
    bottom: 35px;

    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 10px;

    color: var(--gray);

    font-size: 9px;

    letter-spacing: 3px;

    z-index: 4;
}

.scroll-indicator div {
    width: 1px;
    height: 45px;

    background: var(--gold);

    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% {
        transform: scaleY(0.4);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
}

html[dir="rtl"] .scroll-indicator {
    right: auto;
    left: 5%;
}


/* =====================================================
   SECTIONS
   ===================================================== */

.section {
    padding: 120px 8%;
}

.section-heading {
    max-width: 800px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.section-heading h2,
.about-content h2,
.career-content h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 5.5vw, 70px);

    line-height: 1.05;

    font-weight: 600;

    letter-spacing: -1.5px;
}

.section-heading h2 span,
.about-content h2 span {
    color: var(--green);
}

.section-heading > p:not(.eyebrow) {
    margin-top: 24px;

    color: var(--gray);

    line-height: 1.8;
}


/* =====================================================
   HOME ABOUT
   ===================================================== */

.about-section {
    min-height: 700px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;

    background: var(--white);
}

.about-content {
    max-width: 650px;
}

.about-content h2 {
    margin-bottom: 30px;
}

.section-text {
    color: var(--gray);

    font-size: 17px;

    line-height: 1.9;
}

.luxury-link {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    margin-top: 35px;

    color: var(--red);

    font-size: 13px;

    font-weight: 700;
}

.luxury-link span {
    font-size: 20px;

    transition: transform 0.3s ease;
}

.luxury-link:hover span {
    transform: translate(5px, -5px);
}


/* =====================================================
   HOME ABOUT CUBE
   ===================================================== */

.about-visual {
    min-height: 500px;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    perspective: 1200px;

    background:
        radial-gradient(
            circle,
            rgba(35,136,62,0.09),
            transparent 60%
        );
}

.about-cube {
    width: 230px;
    height: 230px;

    animation:
        cubeRotate 20s infinite linear,
        cubeFloat 5s ease-in-out infinite;
}

.about-cube span:nth-child(1) {
    transform: translateZ(115px);
}

.about-cube span:nth-child(2) {
    transform: rotateY(180deg) translateZ(115px);
}

.about-cube span:nth-child(3) {
    transform: rotateY(90deg) translateZ(115px);
}

.about-cube span:nth-child(4) {
    transform: rotateY(-90deg) translateZ(115px);
}

.about-cube span:nth-child(5) {
    transform: rotateX(90deg) translateZ(115px);
}

.about-cube span:nth-child(6) {
    transform: rotateX(-90deg) translateZ(115px);
}

.about-cube span {
    border-color: rgba(35,136,62,0.45);

    background:
        linear-gradient(
            135deg,
            rgba(35,136,62,0.08),
            rgba(201,164,92,0.10)
        );
}

@keyframes cubeFloat {
    0%, 100% {
        margin-top: 0;
    }

    50% {
        margin-top: -25px;
    }
}

.cube-shadow {
    position: absolute;

    width: 230px;
    height: 55px;

    bottom: 105px;

    border-radius: 50%;

    background: rgba(0,0,0,0.10);

    filter: blur(20px);

    animation: shadowFloat 5s ease-in-out infinite;
}

@keyframes shadowFloat {
    0%, 100% {
        transform: scale(1);
        opacity: 0.35;
    }

    50% {
        transform: scale(0.7);
        opacity: 0.15;
    }
}

.cube-label {
    position: absolute;

    bottom: 40px;
    right: 10%;

    display: flex;
    flex-direction: column;

    text-align: right;
}

.cube-label span {
    font-family: "Playfair Display", serif;

    font-size: 30px;

    color: var(--red);
}

.cube-label strong {
    font-size: 9px;

    letter-spacing: 4px;

    color: var(--gold);
}


/* =====================================================
   ACADEMICS
   ===================================================== */

.academics {
    background: var(--cream);
}

.cards {
    margin-top: 70px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.card {
    position: relative;

    padding: 42px 35px;

    min-height: 300px;

    background: var(--white);

    border: 1px solid var(--border);

    overflow: hidden;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--red),
            var(--gold),
            var(--green)
        );
}

.card:hover {
    transform: translateY(-12px);

    box-shadow: var(--shadow-hover);
}

.card-number {
    font-family: "Playfair Display", serif;

    font-size: 30px;

    color: var(--gold);
}

.card-line {
    width: 45px;
    height: 1px;

    margin: 22px 0;

    background: var(--gold);
}

.card h3 {
    font-family: "Playfair Display", serif;

    font-size: 28px;

    margin-bottom: 15px;
}

.card p {
    color: var(--gray);

    font-size: 14px;

    line-height: 1.8;
}


/* =====================================================
   ADMISSIONS
   ===================================================== */

.admissions {
    position: relative;

    overflow: hidden;

    background: var(--dark-green);

    color: white;

    text-align: center;
}

.admission-decoration {
    position: absolute;

    right: -40px;
    top: 50%;

    transform: translateY(-50%);

    opacity: 0.35;

    perspective: 1000px;
}

html[dir="rtl"] .admission-decoration {
    right: auto;
    left: -40px;
}

.admission-cube {
    width: 300px;
    height: 300px;
}

.admission-cube span:nth-child(1) {
    transform: translateZ(150px);
}

.admission-cube span:nth-child(2) {
    transform: rotateY(180deg) translateZ(150px);
}

.admission-cube span:nth-child(3) {
    transform: rotateY(90deg) translateZ(150px);
}

.admission-cube span:nth-child(4) {
    transform: rotateY(-90deg) translateZ(150px);
}

.admission-cube span:nth-child(5) {
    transform: rotateX(90deg) translateZ(150px);
}

.admission-cube span:nth-child(6) {
    transform: rotateX(-90deg) translateZ(150px);
}

.admission-box {
    position: relative;

    z-index: 3;

    max-width: 850px;

    margin: auto;
}

.admission-box .eyebrow {
    color: var(--gold);
}

.admission-box h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(43px, 6vw, 75px);

    line-height: 1.05;

    margin-bottom: 25px;
}

.admission-box h2 span {
    display: block;

    color: var(--gold-light);
}

.admission-box p {
    max-width: 650px;

    margin: 0 auto 32px;

    color: rgba(255,255,255,0.72);

    line-height: 1.8;
}

.btn.disabled {
    background: rgba(255,255,255,0.15);

    color: rgba(255,255,255,0.5);

    border: 1px solid rgba(255,255,255,0.14);

    cursor: not-allowed;
}

.admission-box small {
    display: block;

    margin-top: 16px;

    color: rgba(255,255,255,0.45);

    font-size: 11px;

    letter-spacing: 1px;
}


/* =====================================================
   CAREERS
   ===================================================== */

.careers {
    position: relative;

    overflow: hidden;

    background: var(--white);
}

.career-content {
    position: relative;

    z-index: 2;

    max-width: 800px;
}

.career-content h2 {
    margin-bottom: 25px;
}

.career-content h2 span {
    color: var(--red);
}

.career-content p {
    max-width: 650px;

    margin-bottom: 32px;

    color: var(--gray);

    line-height: 1.8;
}

.career-mark {
    position: absolute;

    right: 7%;
    top: 50%;

    transform: translateY(-50%);

    width: 300px;
    height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(201,164,92,0.35);

    border-radius: 50%;

    animation: markRotate 20s linear infinite;

    pointer-events: none;
}

html[dir="rtl"] .career-mark {
    right: auto;
    left: 7%;
}

.career-mark::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    border: 1px solid rgba(35,136,62,0.20);

    border-radius: 50%;
}

.career-mark span {
    font-family: "Playfair Display", serif;

    font-size: 65px;

    color: var(--green);
}

@keyframes markRotate {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}


/* =====================================================
   CONTACT
   ===================================================== */

.contact {
    background: var(--cream);
}

.contact-grid {
    margin-top: 65px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.contact-card {
    position: relative;

    padding: 32px 27px;

    min-height: 220px;

    background: var(--white);

    border: 1px solid var(--border);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.contact-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--red),
            var(--gold),
            var(--green)
        );
}

.contact-card:hover {
    transform: translateY(-7px);

    border-color: rgba(201,164,92,0.28);

    box-shadow: var(--shadow-soft);
}

.contact-icon {
    font-family: "Playfair Display", serif;

    font-size: 24px;

    color: var(--gold);

    margin-bottom: 25px;
}

.contact-card h3 {
    font-family: "Playfair Display", serif;

    font-size: 23px;

    color: var(--dark-green);

    margin-bottom: 16px;
}

.contact-card a {
    display: block;

    margin: 7px 0;

    color: var(--gray);

    font-size: 13px;

    word-break: break-word;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.contact-card a:hover {
    color: var(--red);
}


/* =====================================================
   SOCIAL MEDIA CARD
   ===================================================== */

.social-card {
    min-height: 220px;
}

.social-links {
    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 5px;
}

.social-link {
    display: flex !important;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    padding: 10px 12px;

    margin: 0 !important;

    border: 1px solid rgba(16,20,17,0.07);

    background: rgba(250,246,240,0.6);

    border-radius: 5px;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.social-link:hover {
    background: white;

    border-color: rgba(201,164,92,0.35);

    transform: translateX(4px);
}

html[dir="rtl"] .social-link:hover {
    transform: translateX(-4px);
}

.social-name {
    color: var(--dark-green);

    font-size: 12px;
    font-weight: 700;
}

.social-handle {
    color: var(--gray);

    font-size: 10px;

    white-space: nowrap;
}


/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    padding: 55px 8% 35px;

    background: #0b110e;

    color: white;
}

.footer-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-brand {
    display: flex;

    align-items: center;

    gap: 13px;
}

.footer-brand img {
    width: 55px;
    height: 55px;

    object-fit: contain;
}

.footer-brand div {
    display: flex;

    flex-direction: column;
}

.footer-brand strong {
    font-family: "Playfair Display", serif;

    font-size: 25px;

    color: var(--gold-light);

    letter-spacing: 2px;
}

.footer-brand span {
    margin-top: 5px;

    color: rgba(255,255,255,0.5);

    font-size: 9px;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.footer-top > p {
    color: rgba(255,255,255,0.45);

    font-size: 12px;

    text-align: right;
}

html[dir="rtl"] .footer-top > p {
    text-align: left;
}

.footer-line {
    width: 100%;

    height: 1px;

    margin: 30px 0;

    background: rgba(255,255,255,0.10);
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: rgba(255,255,255,0.4);

    font-size: 10px;

    letter-spacing: 0.5px;
}


/* =====================================================
   SCROLL REVEAL
   ===================================================== */

.reveal {
    opacity: 0;

    transform: translateY(45px);

    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.reveal.show {
    opacity: 1;

    transform: translateY(0);
}


/* =====================================================
   ================= ABOUT US ==========================
   ===================================================== */


/* =====================================================
   ABOUT HERO
   ===================================================== */

.about-hero {
    min-height: calc(100vh - 88px);

    position: relative;

    overflow: hidden;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 50px;

    padding: 80px 8%;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(35,136,62,0.13),
            transparent 35%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(200,16,46,0.08),
            transparent 30%
        ),
        var(--cream);
}

.about-hero-glow {
    position: absolute;

    width: 600px;
    height: 600px;

    right: -250px;
    top: 50%;

    transform: translateY(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(201,164,92,0.14),
            transparent 65%
        );

    filter: blur(20px);
}

html[dir="rtl"] .about-hero-glow {
    right: auto;
    left: -250px;
}

.about-hero-content {
    position: relative;

    z-index: 5;

    max-width: 650px;
}

.about-hero-content h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(55px, 7vw, 95px);

    line-height: 0.98;

    letter-spacing: -3px;

    margin-bottom: 30px;
}

.about-hero-content h1 span {
    display: block;

    color: var(--green);
}

.about-hero-content p:not(.eyebrow) {
    max-width: 570px;

    color: var(--gray);

    font-size: 17px;

    line-height: 1.9;

    margin-bottom: 35px;
}


/* =====================================================
   BIG ABOUT CUBE
   ===================================================== */

.about-hero-visual {
    position: relative;

    min-height: 580px;

    display: flex;

    align-items: center;
    justify-content: center;

    perspective: 1400px;
}

.about-big-cube {
    width: 300px;
    height: 300px;

    animation:
        cubeRotate 18s infinite linear,
        aboutCubeFloat 5s ease-in-out infinite;
}

.about-big-cube span {
    border-color: rgba(201,164,92,0.65);

    background:
        linear-gradient(
            135deg,
            rgba(35,136,62,0.10),
            rgba(201,164,92,0.13)
        );

    box-shadow:
        inset 0 0 60px rgba(201,164,92,0.08);
}

.about-big-cube span:nth-child(1) {
    transform: translateZ(150px);
}

.about-big-cube span:nth-child(2) {
    transform: rotateY(180deg) translateZ(150px);
}

.about-big-cube span:nth-child(3) {
    transform: rotateY(90deg) translateZ(150px);
}

.about-big-cube span:nth-child(4) {
    transform: rotateY(-90deg) translateZ(150px);
}

.about-big-cube span:nth-child(5) {
    transform: rotateX(90deg) translateZ(150px);
}

.about-big-cube span:nth-child(6) {
    transform: rotateX(-90deg) translateZ(150px);
}

.about-big-cube b {
    font-family: "Playfair Display", serif;

    font-size: 52px;

    letter-spacing: 5px;

    color: var(--gold);

    text-shadow:
        0 5px 25px rgba(201,164,92,0.25);
}

@keyframes aboutCubeFloat {
    0%, 100% {
        margin-top: 0;
    }

    50% {
        margin-top: -25px;
    }
}

.about-big-shadow {
    position: absolute;

    width: 310px;
    height: 70px;

    bottom: 110px;

    border-radius: 50%;

    background: rgba(0,0,0,0.13);

    filter: blur(25px);

    animation: shadowFloat 5s ease-in-out infinite;
}

.about-cube-label {
    position: absolute;

    bottom: 45px;

    right: 4%;

    display: flex;

    flex-direction: column;

    text-align: right;
}

.about-cube-label strong {
    font-family: "Playfair Display", serif;

    font-size: 32px;

    color: var(--red);
}

.about-cube-label span {
    color: var(--gold);

    font-size: 9px;

    letter-spacing: 3px;
}


/* =====================================================
   ABOUT FLOATING CUBES
   ===================================================== */

.about-floating {
    position: absolute;

    perspective: 900px;

    opacity: 0.45;

    pointer-events: none;
}

.about-float-one {
    left: 5%;
    top: 15%;

    animation: aboutFloatOne 8s ease-in-out infinite;
}

.about-float-two {
    right: 5%;
    bottom: 10%;

    animation: aboutFloatTwo 9s ease-in-out infinite;
}

.about-small-cube {
    width: 90px;
    height: 90px;
}

.about-tiny-cube {
    width: 55px;
    height: 55px;
}

@keyframes aboutFloatOne {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-30px) rotate(8deg);
    }
}

@keyframes aboutFloatTwo {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(30px);
    }
}


/* =====================================================
   OUR SCHOOL
   ===================================================== */

.about-school {
    padding: 130px 8%;

    background: var(--white);
}

.about-school .section-heading {
    margin-bottom: 75px;
}

.about-school .section-heading > p:last-child {
    max-width: 680px;

    margin-left: auto;
    margin-right: auto;
}


/* =====================================================
   CUBE GRID
   ===================================================== */

.about-cube-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 35px;

    max-width: 1250px;

    margin: auto;
}

.about-cube-card {
    min-height: 500px;

    padding: 40px 30px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    background: var(--cream);

    border: 1px solid var(--border);

    position: relative;

    overflow: hidden;

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}

.about-cube-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--red),
            var(--gold),
            var(--green)
        );
}

.about-cube-card:hover {
    transform: translateY(-12px);

    box-shadow:
        0 35px 80px rgba(0,0,0,0.10);
}


/* =====================================================
   FEATURE CUBES
   ===================================================== */

.feature-cube-wrapper {
    height: 300px;

    display: flex;

    align-items: center;
    justify-content: center;

    perspective: 1100px;
}

.feature-cube {
    width: 145px;
    height: 145px;

    animation-duration: 15s;
}

.feature-cube span {
    border-color:
        rgba(201,164,92,0.7);

    background:
        linear-gradient(
            135deg,
            rgba(200,16,46,0.07),
            rgba(201,164,92,0.14)
        );
}

.feature-cube span:nth-child(1) {
    transform: translateZ(72.5px);
}

.feature-cube span:nth-child(2) {
    transform: rotateY(180deg) translateZ(72.5px);
}

.feature-cube span:nth-child(3) {
    transform: rotateY(90deg) translateZ(72.5px);
}

.feature-cube span:nth-child(4) {
    transform: rotateY(-90deg) translateZ(72.5px);
}

.feature-cube span:nth-child(5) {
    transform: rotateX(90deg) translateZ(72.5px);
}

.feature-cube span:nth-child(6) {
    transform: rotateX(-90deg) translateZ(72.5px);
}

.feature-cube b {
    font-family: "Playfair Display", serif;

    font-size: 30px;

    color: var(--gold);
}

.feature-cube-green span {
    border-color: rgba(35,136,62,0.55);

    background:
        linear-gradient(
            135deg,
            rgba(35,136,62,0.10),
            rgba(201,164,92,0.12)
        );
}

.feature-cube-red span {
    border-color: rgba(200,16,46,0.48);

    background:
        linear-gradient(
            135deg,
            rgba(200,16,46,0.10),
            rgba(201,164,92,0.12)
        );
}


/* =====================================================
   FEATURE INFO
   ===================================================== */

.feature-info > span {
    color: var(--gold);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 3px;
}

.feature-info h3 {
    margin-top: 12px;
    margin-bottom: 12px;

    font-family: "Playfair Display", serif;

    font-size: 31px;

    color: var(--dark-green);
}

.feature-info p {
    color: var(--gray);

    font-size: 14px;

    line-height: 1.8;
}


/* =====================================================
   PEOPLE
   ===================================================== */

.lss-people {
    padding: 130px 8%;

    background: var(--cream);
}

.people-cubes {
    max-width: 950px;

    margin: 80px auto 0;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;
}

.person-cube-card {
    text-align: center;

    padding: 50px 30px;

    background: var(--white);

    border: 1px solid var(--border);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.person-cube-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 30px 70px rgba(0,0,0,0.09);
}

.person-cube-wrap {
    height: 260px;

    display: flex;

    align-items: center;
    justify-content: center;

    perspective: 1000px;
}

.person-cube {
    width: 145px;
    height: 145px;
}

.person-cube span {
    font-family: "Playfair Display", serif;

    font-size: 35px;

    color: var(--red);

    border-color: rgba(200,16,46,0.35);

    background:
        linear-gradient(
            135deg,
            rgba(200,16,46,0.08),
            rgba(201,164,92,0.12)
        );
}

.person-cube span:nth-child(1) {
    transform: translateZ(72.5px);
}

.person-cube span:nth-child(2) {
    transform: rotateY(180deg) translateZ(72.5px);
}

.person-cube span:nth-child(3) {
    transform: rotateY(90deg) translateZ(72.5px);
}

.person-cube span:nth-child(4) {
    transform: rotateY(-90deg) translateZ(72.5px);
}

.person-cube span:nth-child(5) {
    transform: rotateX(90deg) translateZ(72.5px);
}

.person-cube span:nth-child(6) {
    transform: rotateX(-90deg) translateZ(72.5px);
}

.person-cube-green span {
    color: var(--green);

    border-color: rgba(35,136,62,0.35);

    background:
        linear-gradient(
            135deg,
            rgba(35,136,62,0.08),
            rgba(201,164,92,0.12)
        );
}

.person-info small {
    color: var(--gold);

    font-size: 9px;

    letter-spacing: 4px;
}

.person-info h3 {
    margin-top: 8px;

    font-family: "Playfair Display", serif;

    font-size: 32px;

    color: var(--dark-green);
}


/* =====================================================
   ABOUT YEAR
   ===================================================== */

.about-year {
    padding: 110px 8%;

    background: var(--dark-green);

    color: white;
}

.about-year-inner {
    max-width: 1150px;

    margin: auto;

    min-height: 350px;

    padding: 60px 70px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;

    border: 1px solid rgba(201,164,92,0.25);

    background:
        radial-gradient(
            circle at 90% 50%,
            rgba(201,164,92,0.10),
            transparent 35%
        );
}

html[dir="rtl"] .about-year-inner {
    direction: rtl;
}

.about-year h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 5vw, 65px);

    line-height: 1.05;
}

.about-year h2 span {
    display: block;

    color: var(--gold-light);
}

.about-year-inner > div:first-child > p:last-child {
    margin-top: 25px;

    max-width: 600px;

    color: rgba(255,255,255,0.65);

    line-height: 1.8;
}


/* =====================================================
   YEAR CUBE
   ===================================================== */

.year-cube-wrap {
    width: 230px;
    height: 230px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    perspective: 1000px;
}

.year-cube {
    width: 140px;
    height: 140px;
}

.year-cube span {
    color: var(--gold-light);

    font-family: "Playfair Display", serif;

    font-size: 18px;

    border-color:
        rgba(201,164,92,0.55);

    background:
        rgba(255,255,255,0.03);
}

.year-cube span:nth-child(1) {
    transform: translateZ(70px);
}

.year-cube span:nth-child(2) {
    transform: rotateY(180deg) translateZ(70px);
}

.year-cube span:nth-child(3) {
    transform: rotateY(90deg) translateZ(70px);
}

.year-cube span:nth-child(4) {
    transform: rotateY(-90deg) translateZ(70px);
}

.year-cube span:nth-child(5) {
    transform: rotateX(90deg) translateZ(70px);
}

.year-cube span:nth-child(6) {
    transform: rotateX(-90deg) translateZ(70px);
}


/* =====================================================
   ABOUT CTA
   ===================================================== */

.about-cta {
    padding: 130px 8%;

    text-align: center;

    background: var(--white);
}

.about-cta-content {
    max-width: 850px;

    margin: auto;
}

.about-cta h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(45px, 6vw, 75px);

    line-height: 1.05;

    margin-bottom: 25px;
}

.about-cta h2 span {
    display: block;

    color: var(--green);
}

.about-cta p:not(.eyebrow) {
    max-width: 600px;

    margin: 0 auto 35px;

    color: var(--gray);

    line-height: 1.8;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1200px) {

    .header {
        padding-left: 4%;
        padding-right: 4%;
    }

    .nav {
        gap: 18px;
    }

    .hero,
    .section,
    .about-school,
    .lss-people,
    .about-year,
    .about-cta {
        padding-left: 6%;
        padding-right: 6%;
    }

    .hero-orbit {
        right: 3%;
        width: 285px;
        height: 285px;
    }

    html[dir="rtl"] .hero-orbit {
        right: auto;
        left: 3%;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards .card:last-child {
        grid-column: 1 / -1;
    }

    .about-cube-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-cube-card:last-child {
        grid-column: 1 / -1;
    }
}


/* =====================================================
   TABLET / SMALL DESKTOP
   ===================================================== */

@media (max-width: 980px) {

    .header {
        height: 80px;
    }

    .nav {
        display: none;
    }

    .language-switcher {
        margin-left: auto;
    }

    html[dir="rtl"] .language-switcher {
        margin-left: 0;
        margin-right: auto;
    }

    .menu-btn {
        display: block;
    }

    .mobile-menu {
        top: 80px;
        max-height: calc(100vh - 80px);
    }

    .hero {
        min-height: calc(100vh - 80px);

        padding-top: 100px;
        padding-bottom: 90px;
    }

    .hero-orbit {
        width: 250px;
        height: 250px;

        right: 2%;
    }

    html[dir="rtl"] .hero-orbit {
        right: auto;
        left: 2%;
    }

    .orbit-logo {
        width: 115px;
        height: 115px;
    }

    .orbit-logo span {
        font-size: 36px;
    }

    .orbit-text {
        padding-top: 18px;
        font-size: 8px;
    }

    .hero-content {
        max-width: 68%;
    }

    .hero h1 {
        font-size: clamp(50px, 8vw, 82px);
    }

    .about-section {
        gap: 45px;
    }

    .about-hero {
        gap: 25px;
    }

    .about-year-inner {
        padding: 50px;
    }
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 760px) {

    .header {
        height: 76px;

        padding: 0 5%;

        gap: 10px;
    }

    .brand {
        gap: 9px;
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .brand strong {
        font-size: 21px;
    }

    .brand span {
        font-size: 8px;
    }

    .language-switcher {
        display: flex;

        margin-left: auto;

        padding: 3px 5px;

        gap: 2px;
    }

    html[dir="rtl"] .language-switcher {
        margin-left: 0;
        margin-right: auto;
    }

    .language-btn {
        min-width: 34px;
        min-height: 28px;

        padding: 4px 6px;

        font-size: 10px;
    }

    .menu-btn {
        width: 43px;
        height: 43px;
    }

    .mobile-menu {
        top: 76px;

        max-height: calc(100vh - 76px);

        padding-left: 6%;
        padding-right: 6%;
    }


    /* =================================================
       MOBILE HERO
       ================================================= */

    .hero {
        min-height: calc(100vh - 76px);

        padding: 55px 6% 75px;

        align-items: flex-start;

        text-align: center;
    }

    .hero-content {
        max-width: 100%;

        width: 100%;

        padding-top: 230px;

        text-align: center;
    }

    html[dir="rtl"] .hero-content {
        text-align: center;
    }

    .hero-orbit {
        width: 205px;
        height: 205px;

        top: 125px;

        right: 50%;

        transform: translate(50%, 0);

        opacity: 0.95;
    }

    html[dir="rtl"] .hero-orbit {
        left: 50%;
        right: auto;

        transform: translate(-50%, 0);
    }

    .orbit-logo {
        width: 92px;
        height: 92px;
    }

    .orbit-logo span {
        font-size: 29px;

        letter-spacing: 3px;
    }

    .orbit-ring::before {
        inset: 16px;
    }

    .orbit-ring::after {
        inset: 38px;
    }

    .orbit-dot {
        width: 10px;
        height: 10px;

        top: 7px;
    }

    .orbit-dot-two {
        width: 7px;
        height: 7px;

        right: 22px;
        bottom: 27px;
    }

    .orbit-text {
        padding-top: 15px;

        font-size: 6px;

        letter-spacing: 4px;
    }

    .hero h1 {
        font-size: clamp(46px, 14vw, 72px);

        letter-spacing: -2px;

        margin-bottom: 25px;
    }

    .eyebrow {
        font-size: 9px;

        letter-spacing: 3px;
    }

    .hero-text {
        font-size: 15px;

        line-height: 1.75;

        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;

        flex-direction: row;
    }

    html[dir="rtl"] .hero-buttons {
        flex-direction: row-reverse;
    }

    .school-year {
        justify-content: center;

        margin-top: 40px;
    }

    .floating-cube {
        opacity: 0.28;
    }

    .cube-one {
        right: -25px;
        top: 12%;
    }

    .cube-two {
        right: 5%;
        bottom: 7%;
    }

    .cube-three {
        left: -25px;
    }

    .scroll-indicator {
        display: none;
    }


    /* =================================================
       SECTIONS
       ================================================= */

    .section {
        padding: 85px 6%;
    }

    .section-heading h2,
    .about-content h2,
    .career-content h2 {
        font-size: clamp(40px, 12vw, 58px);

        letter-spacing: -1px;
    }


    /* =================================================
       HOME ABOUT
       ================================================= */

    .about-section {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .about-content {
        max-width: 100%;
    }

    .about-visual {
        min-height: 420px;
    }

    .about-cube {
        width: 180px;
        height: 180px;
    }

    .about-cube span:nth-child(1) {
        transform: translateZ(90px);
    }

    .about-cube span:nth-child(2) {
        transform: rotateY(180deg) translateZ(90px);
    }

    .about-cube span:nth-child(3) {
        transform: rotateY(90deg) translateZ(90px);
    }

    .about-cube span:nth-child(4) {
        transform: rotateY(-90deg) translateZ(90px);
    }

    .about-cube span:nth-child(5) {
        transform: rotateX(90deg) translateZ(90px);
    }

    .about-cube span:nth-child(6) {
        transform: rotateX(-90deg) translateZ(90px);
    }

    .cube-shadow {
        width: 180px;
    }


    /* =================================================
       CARDS
       ================================================= */

    .cards {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .cards .card:last-child {
        grid-column: auto;
    }


    /* =================================================
       ADMISSIONS
       ================================================= */

    .admission-decoration {
        right: -180px;

        opacity: 0.18;
    }

    html[dir="rtl"] .admission-decoration {
        right: auto;
        left: -180px;
    }


    /* =================================================
       CAREERS
       ================================================= */

    .career-mark {
        width: 200px;
        height: 200px;

        right: -100px;

        opacity: 0.16;
    }

    html[dir="rtl"] .career-mark {
        right: auto;
        left: -100px;
    }

    .career-mark::before {
        width: 150px;
        height: 150px;
    }


    /* =================================================
       CONTACT
       ================================================= */

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .contact-card {
        min-height: auto;

        padding: 28px 24px;
    }

    .social-links {
        gap: 8px;
    }

    .social-link {
        padding: 10px;
    }


    /* =================================================
       FOOTER
       ================================================= */

    .footer {
        padding: 45px 6% 30px;
    }

    .footer-top {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

    html[dir="rtl"] .footer-top {
        align-items: flex-start;
    }

    .footer-top > p {
        text-align: left;
    }

    html[dir="rtl"] .footer-top > p {
        text-align: right;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 7px;
    }


    /* =================================================
       ABOUT MOBILE
       ================================================= */

    .about-hero {
        min-height: auto;

        grid-template-columns: 1fr;

        padding: 80px 6% 65px;

        text-align: center;

        gap: 15px;
    }

    .about-hero-content {
        max-width: 100%;

        text-align: center;
    }

    html[dir="rtl"] .about-hero-content {
        text-align: center;
    }

    .about-hero-content h1 {
        font-size: clamp(48px, 14vw, 75px);

        letter-spacing: -2px;
    }

    .about-hero-content p:not(.eyebrow) {
        font-size: 15px;

        margin-left: auto;
        margin-right: auto;
    }

    .about-hero-visual {
        min-height: 440px;
    }

    .about-big-cube {
        width: 200px;
        height: 200px;
    }

    .about-big-cube span:nth-child(1) {
        transform: translateZ(100px);
    }

    .about-big-cube span:nth-child(2) {
        transform: rotateY(180deg) translateZ(100px);
    }

    .about-big-cube span:nth-child(3) {
        transform: rotateY(90deg) translateZ(100px);
    }

    .about-big-cube span:nth-child(4) {
        transform: rotateY(-90deg) translateZ(100px);
    }

    .about-big-cube span:nth-child(5) {
        transform: rotateX(90deg) translateZ(100px);
    }

    .about-big-cube span:nth-child(6) {
        transform: rotateX(-90deg) translateZ(100px);
    }

    .about-big-cube b {
        font-size: 38px;
    }

    .about-big-shadow {
        width: 210px;

        bottom: 75px;
    }

    .about-cube-label {
        right: 5%;

        bottom: 25px;
    }

    html[dir="rtl"] .about-cube-label {
        right: auto;
        left: 5%;

        text-align: left;
    }

    .about-cube-label strong {
        font-size: 25px;
    }

    .about-school {
        padding: 90px 6%;
    }

    .about-cube-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .about-cube-card:last-child {
        grid-column: auto;
    }

    .about-cube-card {
        min-height: 460px;
    }

    .people-cubes {
        grid-template-columns: 1fr;

        gap: 25px;

        margin-top: 55px;
    }

    .lss-people {
        padding: 90px 6%;
    }

    .about-year {
        padding: 80px 6%;
    }

    .about-year-inner {
        padding: 45px 25px;

        flex-direction: column;

        text-align: center;

        gap: 30px;
    }

    html[dir="rtl"] .about-year-inner {
        text-align: center;

        direction: rtl;
    }

    .year-cube-wrap {
        width: 190px;
        height: 190px;
    }

    .about-cta {
        padding: 90px 6%;
    }
}


/* =====================================================
   SMALL PHONES
   ===================================================== */

@media (max-width: 500px) {

    .header {
        padding: 0 4%;
    }

    .brand span {
        display: none;
    }

    .brand strong {
        font-size: 19px;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .language-switcher {
        padding: 2px 4px;
    }

    .language-btn {
        min-width: 31px;
        padding: 4px 5px;
        font-size: 9px;
    }

    .menu-btn {
        width: 40px;
        height: 40px;

        font-size: 18px;
    }

    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-content {
        padding-top: 215px;
    }

    .hero-orbit {
        width: 185px;
        height: 185px;

        top: 115px;
    }

    .orbit-logo {
        width: 82px;
        height: 82px;
    }

    .orbit-logo span {
        font-size: 25px;
    }

    .orbit-text {
        font-size: 5px;
        letter-spacing: 3px;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    html[dir="rtl"] .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .school-year {
        flex-direction: column;

        gap: 7px;
    }

    .school-year::before {
        width: 25px;
    }

    .about-big-cube {
        width: 170px;
        height: 170px;
    }

    .about-big-cube span:nth-child(1) {
        transform: translateZ(85px);
    }

    .about-big-cube span:nth-child(2) {
        transform: rotateY(180deg) translateZ(85px);
    }

    .about-big-cube span:nth-child(3) {
        transform: rotateY(90deg) translateZ(85px);
    }

    .about-big-cube span:nth-child(4) {
        transform: rotateY(-90deg) translateZ(85px);
    }

    .about-big-cube span:nth-child(5) {
        transform: rotateX(90deg) translateZ(85px);
    }

    .about-big-cube span:nth-child(6) {
        transform: rotateX(-90deg) translateZ(85px);
    }

    .about-big-cube b {
        font-size: 32px;
    }

    .about-cube-label {
        bottom: 20px;
    }

    .feature-cube-wrapper {
        height: 260px;
    }

    .about-cube-card {
        min-height: 430px;

        padding-left: 22px;
        padding-right: 22px;
    }

    .person-cube-card {
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-year-inner {
        padding: 35px 20px;
    }

    .year-cube-wrap {
        width: 170px;
        height: 170px;
    }

    .social-link {
        align-items: flex-start;

        flex-direction: column;

        gap: 3px;
    }

    .social-handle {
        white-space: normal;
    }
}


/* =====================================================
   VERY SMALL PHONES
   ===================================================== */

@media (max-width: 360px) {

    .brand strong {
        font-size: 17px;
    }

    .brand img {
        width: 40px;
        height: 40px;
    }

    .language-btn {
        min-width: 28px;
        font-size: 8px;
    }

    .menu-btn {
        width: 38px;
        height: 38px;
    }

    .hero-content {
        padding-top: 200px;
    }

    .hero-orbit {
        width: 165px;
        height: 165px;
    }

    .orbit-logo {
        width: 74px;
        height: 74px;
    }

    .orbit-logo span {
        font-size: 22px;
    }

    .hero h1 {
        font-size: 43px;
    }
}


/* =====================================================
   ACCESSIBILITY
   ===================================================== */

:focus-visible {
    outline: 2px solid var(--gold);

    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }
}/* =========================
   BUTTON ARROW
========================= */

.button-arrow {
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    display: inline-block;
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.btn:hover .button-arrow {
    transform: translateX(4px) rotate(45deg);
}

/* Arabic / RTL */
html[dir="rtl"] .btn {
    direction: rtl;
}

html[dir="rtl"] .button-arrow {
    transform: rotate(-135deg);
}

html[dir="rtl"] .btn:hover .button-arrow {
    transform: translateX(-4px) rotate(-135deg);
}


/* =========================
   ARABIC TYPOGRAPHY
========================= */

html[dir="rtl"],
html[dir="rtl"] body {
    font-family: "Tajawal", sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] p,
html[dir="rtl"] a,
html[dir="rtl"] button,
html[dir="rtl"] span,
html[dir="rtl"] li {
    font-family: "Tajawal", sans-serif;
}

/* Prevent Arabic letters from being artificially separated */
html[dir="rtl"] * {
    letter-spacing: normal;
    word-spacing: normal;
}

/* Keep cube numbers / Latin elements clean */
.cube,
.cube span,
.cube b,
.orbit-logo,
.orbit-text {
    font-family: "DM Sans", sans-serif;
}/* =====================================================
   CAREERS PAGE
   ===================================================== */

.careers-page {
    min-height: 100vh;
    background: var(--cream);
}

/* HERO */

.careers-hero {
    position: relative;
    overflow: hidden;
    padding: 95px 8% 85px;
    background:
        radial-gradient(circle at 85% 30%, rgba(35,136,62,0.12), transparent 32%),
        radial-gradient(circle at 10% 80%, rgba(200,16,46,0.08), transparent 30%),
        var(--cream);
}

.careers-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: auto;
}

.career-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 55px;
    color: var(--dark-green);
    font-size: 13px;
    font-weight: 700;
    transition: color 0.25s ease, transform 0.25s ease;
}

.career-back:hover {
    color: var(--red);
    transform: translateX(-4px);
}

html[dir="rtl"] .career-back:hover {
    transform: translateX(4px);
}

.career-back-arrow {
    width: 9px;
    height: 9px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

html[dir="rtl"] .career-back-arrow {
    transform: rotate(225deg);
}

.careers-hero h1 {
    max-width: 850px;
    font-family: "Playfair Display", serif;
    font-size: clamp(52px, 8vw, 92px);
    line-height: 0.98;
    letter-spacing: -3px;
    margin-bottom: 28px;
}

.careers-hero h1 span {
    color: var(--green);
}

.careers-hero-description {
    max-width: 680px;
    color: var(--gray);
    font-size: 17px;
    line-height: 1.9;
}

/* CAREER SECTIONS */

.career-sections {
    padding: 90px 8% 130px;
}

.career-section {
    max-width: 1150px;
    margin: 0 auto 35px;
    padding: 50px;
    background: var(--white);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.career-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--gold), var(--green));
}

.career-section-header {
    margin-bottom: 40px;
}

.career-section-number {
    display: block;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.career-section-header h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(35px, 5vw, 55px);
    line-height: 1.05;
    color: var(--dark-green);
    margin-bottom: 15px;
}

.career-section-header h2 span {
    color: var(--green);
}

.career-section-header p {
    max-width: 700px;
    color: var(--gray);
    line-height: 1.8;
}

/* JOB TYPE CARDS */

.career-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}

.career-choice {
    position: relative;
    display: block;
    padding: 28px 25px;
    min-height: 145px;
    border: 1px solid rgba(16,20,17,0.10);
    background: var(--cream);
    cursor: pointer;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.career-choice:hover {
    transform: translateY(-5px);
    border-color: rgba(201,164,92,0.55);
    box-shadow: var(--shadow-soft);
}

.career-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.career-choice input:checked + .career-choice-content {
    color: var(--red);
}

.career-choice:has(input:checked) {
    border-color: var(--red);
    background: rgba(200,16,46,0.035);
    box-shadow: 0 12px 35px rgba(200,16,46,0.08);
}

.career-choice-title {
    display: block;
    margin-bottom: 7px;
    color: var(--dark-green);
    font-size: 15px;
    font-weight: 700;
}

.career-choice-ar {
    display: block;
    color: var(--gray);
    font-size: 12px;
    line-height: 1.6;
}

/* FORM */

.career-form {
    margin-top: 35px;
}

.form-group-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 45px 0 22px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--border);
}

.form-group-title:first-child {
    margin-top: 0;
}

.form-group-title span {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.form-group-title h3 {
    color: var(--dark-green);
    font-family: "Playfair Display", serif;
    font-size: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--dark-green);
    font-size: 12px;
    font-weight: 700;
}

.form-field label span {
    color: var(--red);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid rgba(16,20,17,0.12);
    border-radius: 4px;
    background: #fff;
    color: var(--black);
    outline: none;
    font-size: 13px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field textarea {
    min-height: 130px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,164,92,0.10);
}

.form-field input[type="file"] {
    min-height: auto;
    padding: 12px;
    cursor: pointer;
    background: var(--cream);
}

.form-help {
    color: var(--gray);
    font-size: 10px;
    line-height: 1.5;
}

/* RADIO / CHECKBOX */

.career-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.career-option {
    position: relative;
}

.career-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.career-option label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 0 18px;
    border: 1px solid rgba(16,20,17,0.12);
    background: var(--cream);
    color: var(--dark-green);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.career-option label:hover {
    border-color: var(--gold);
}

.career-option input:checked + label {
    background: var(--red);
    border-color: var(--red);
    color: white;
}

/* DOCUMENT GRID */

.document-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.document-box {
    padding: 20px;
    border: 1px solid rgba(16,20,17,0.09);
    background: var(--cream);
}

.document-box label {
    display: block;
    margin-bottom: 10px;
    color: var(--dark-green);
    font-size: 12px;
    font-weight: 700;
}

/* CHECK CONFIRMATION */

.career-confirm {
    margin-top: 30px;
    padding: 18px 20px;
    border: 1px solid rgba(201,164,92,0.28);
    background: rgba(201,164,92,0.07);
}

.career-confirm label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray);
    font-size: 12px;
    line-height: 1.7;
    cursor: pointer;
}

.career-confirm input {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--red);
}

/* SUBMIT */

.career-submit {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.career-submit .btn {
    min-width: 210px;
}

/* SIMPLE APPLICATION */

.simple-career-form {
    max-width: 850px;
}

.simple-career-form .form-grid {
    margin-top: 25px;
}

/* CLOSED / STATUS */

.career-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(35,136,62,0.08);
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.career-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(35,136,62,0.10);
}

/* FOOTER CAREERS */

.careers-page .footer {
    margin-top: 0;
}

/* =====================================================
   CAREERS RTL
   ===================================================== */

html[dir="rtl"] .career-section,
html[dir="rtl"] .career-section-header,
html[dir="rtl"] .career-form,
html[dir="rtl"] .simple-career-form {
    text-align: right;
}

html[dir="rtl"] .career-back-arrow {
    border-left: 0;
    border-bottom: 0;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
}

html[dir="rtl"] .career-submit {
    justify-content: flex-start;
}

/* =====================================================
   CAREERS RESPONSIVE
   ===================================================== */

@media (max-width: 980px) {
    .careers-hero {
        padding-left: 6%;
        padding-right: 6%;
    }

    .career-sections {
        padding-left: 6%;
        padding-right: 6%;
    }

    .career-section {
        padding: 40px;
    }

    .career-choice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .careers-hero {
        padding: 65px 6% 60px;
    }

    .career-back {
        margin-bottom: 40px;
    }

    .careers-hero h1 {
        font-size: clamp(45px, 14vw, 68px);
        letter-spacing: -2px;
    }

    .careers-hero-description {
        font-size: 15px;
    }

    .career-sections {
        padding: 60px 5% 85px;
    }

    .career-section {
        padding: 32px 22px;
        margin-bottom: 22px;
    }

    .career-section-header {
        margin-bottom: 30px;
    }

    .career-section-header h2 {
        font-size: clamp(34px, 10vw, 48px);
    }

    .career-choice-grid {
        grid-template-columns: 1fr;
    }

    .career-choice {
        min-height: auto;
    }

    .form-grid,
    .document-grid {
        grid-template-columns: 1fr;
    }

    .form-field.full {
        grid-column: auto;
    }

    .career-options {
        flex-direction: column;
        align-items: stretch;
    }

    .career-option label {
        width: 100%;
    }

    .career-submit {
        flex-direction: column;
        align-items: stretch;
    }

    .career-submit .btn {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .careers-hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .career-sections {
        padding-left: 4%;
        padding-right: 4%;
    }

    .career-section {
        padding: 28px 18px;
    }

    .form-group-title h3 {
        font-size: 21px;
    }

    .career-choice {
        padding: 22px 19px;
    }
}/* =====================================================
   CAREERS — NEW CLEAN DESIGN
   ===================================================== */

.careers-page {
    background: var(--cream);
}

/* CAREERS HERO */

.careers-hero {
    padding: 95px 7% 75px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(201,164,92,.12), transparent 35%),
        var(--cream);
}

.careers-hero-inner {
    max-width: 900px;
    margin: auto;
}

.careers-hero .eyebrow {
    color: var(--gold);
}

.careers-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(52px, 8vw, 88px);
    line-height: 1;
    margin: 18px 0 25px;
    letter-spacing: -2px;
}

.careers-hero h1 span {
    display: block;
    color: var(--green);
}

.careers-hero-description {
    max-width: 650px;
    margin: auto;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.9;
}

/* BACK */

.career-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--dark-green);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 45px;
}

.career-back:hover {
    color: var(--red);
}

.career-back-arrow {
    width: 9px;
    height: 9px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

html[dir="rtl"] .career-back-arrow {
    transform: rotate(225deg);
}

/* THREE CAREER CATEGORIES */

.career-category-section {
    padding: 80px 7% 120px;
    background: var(--white);
}

.career-category-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.career-category {
    position: relative;
    min-height: 310px;
    padding: 38px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--cream);
    border: 1px solid var(--border);
    overflow: hidden;
    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;
}

.career-category::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--red),
        var(--gold),
        var(--green)
    );
}

.career-category:hover {
    transform: translateY(-9px);
    border-color: rgba(201,164,92,.4);
    box-shadow: var(--shadow-hover);
}

.career-category-number {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.career-category-icon {
    width: 65px;
    height: 65px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201,164,92,.45);
    border-radius: 50%;
    color: var(--red);
    font-family: "Playfair Display", serif;
    font-size: 25px;
}

.career-category h2 {
    font-family: "Playfair Display", serif;
    font-size: 31px;
    color: var(--dark-green);
    line-height: 1.1;
    margin-bottom: 8px;
}

.career-category h2 span {
    display: block;
    color: var(--green);
}

.career-category p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.career-explore {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
}

.career-explore-arrow {
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s ease;
}

.career-category:hover .career-explore-arrow {
    transform: translateX(4px) rotate(45deg);
}

html[dir="rtl"] .career-category:hover .career-explore-arrow {
    transform: translateX(-4px) rotate(-135deg);
}

html[dir="rtl"] .career-explore-arrow {
    transform: rotate(-135deg);
}

/* =====================================================
   CAREER APPLICATION AREA
   ===================================================== */

.career-application {
    display: none;
    padding: 80px 7% 120px;
    background: var(--cream);
}

.career-application.active {
    display: block;
}

.career-application-inner {
    max-width: 1000px;
    margin: auto;
}

.application-header {
    margin-bottom: 45px;
}

.application-header h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(40px, 6vw, 65px);
    line-height: 1;
    color: var(--dark-green);
}

.application-header h2 span {
    color: var(--green);
}

.application-header p {
    max-width: 650px;
    margin-top: 18px;
    color: var(--gray);
    line-height: 1.8;
}

/* JOB SELECT */

.job-selector {
    margin-bottom: 35px;
    padding: 35px;
    background: var(--white);
    border: 1px solid var(--border);
}

.job-selector-title {
    margin-bottom: 20px;
    color: var(--dark-green);
    font-family: "Playfair Display", serif;
    font-size: 24px;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.job-option {
    position: relative;
}

.job-option input {
    position: absolute;
    opacity: 0;
}

.job-option label {
    display: block;
    padding: 18px;
    border: 1px solid var(--border);
    background: var(--cream);
    cursor: pointer;
    transition: all .25s ease;
}

.job-option label strong {
    display: block;
    color: var(--dark-green);
    font-size: 13px;
    margin-bottom: 5px;
}

.job-option label small {
    color: var(--gray);
    font-size: 11px;
}

.job-option input:checked + label {
    border-color: var(--red);
    background: rgba(200,16,46,.045);
    box-shadow: 0 8px 25px rgba(200,16,46,.08);
}

.job-option input:checked + label strong {
    color: var(--red);
}

/* FORM CARD */

.application-form-card {
    padding: 45px;
    background: var(--white);
    border: 1px solid var(--border);
}

.application-form-card.is-hidden {
    display: none;
}

.application-section-title {
    margin: 35px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--dark-green);
    font-family: "Playfair Display", serif;
    font-size: 25px;
}

.application-section-title:first-child {
    margin-top: 0;
}

.application-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.application-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.application-field.full {
    grid-column: 1 / -1;
}

.application-field label {
    color: var(--dark-green);
    font-size: 11px;
    font-weight: 700;
}

.application-field input,
.application-field select,
.application-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 14px;
    border: 1px solid rgba(16,20,17,.12);
    border-radius: 4px;
    background: #fff;
    color: var(--black);
    font-size: 13px;
    outline: none;
}

.application-field textarea {
    min-height: 120px;
    resize: vertical;
}

.application-field input:focus,
.application-field select:focus,
.application-field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,164,92,.09);
}

/* PHONE */

.phone-field {
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 8px;
}

.country-select {
    position: relative;
}

.country-select select {
    width: 100%;
    height: 50px;
    padding: 0 10px;
    border: 1px solid rgba(16,20,17,.12);
    border-radius: 4px;
    background: white;
    font-size: 12px;
    cursor: pointer;
}

/* FILE UPLOAD */

.upload-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.upload-box {
    position: relative;
    min-height: 125px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px dashed rgba(201,164,92,.6);
    background: var(--cream);
    border-radius: 5px;
    transition: all .25s ease;
    cursor: pointer;
}

.upload-box:hover {
    border-color: var(--red);
    background: rgba(200,16,46,.025);
    transform: translateY(-2px);
}

.upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201,164,92,.12);
    color: var(--gold);
    font-size: 18px;
}

.upload-box strong {
    color: var(--dark-green);
    font-size: 12px;
}

.upload-box span {
    margin-top: 4px;
    color: var(--gray);
    font-size: 9px;
}

/* CONFIRM */

.application-confirm {
    margin-top: 25px;
    padding: 17px;
    background: rgba(201,164,92,.07);
    border: 1px solid rgba(201,164,92,.2);
}

.application-confirm label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray);
    font-size: 11px;
    line-height: 1.6;
}

.application-confirm input {
    margin-top: 2px;
    accent-color: var(--red);
}

/* SUBMIT */

.application-submit {
    margin-top: 25px;
}

.application-submit .btn {
    min-width: 210px;
}

/* MOBILE */

@media (max-width: 850px) {
    .career-category-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .job-grid {
        grid-template-columns: 1fr;
    }

    .application-form-grid {
        grid-template-columns: 1fr;
    }

    .application-field.full {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .careers-hero {
        padding: 65px 6%;
    }

    .career-category-section,
    .career-application {
        padding-left: 5%;
        padding-right: 5%;
    }

    .career-category {
        min-height: 280px;
        padding: 30px 25px;
    }

    .job-selector,
    .application-form-card {
        padding: 25px 20px;
    }

    .phone-field {
        grid-template-columns: 1fr;
    }

    .upload-grid {
        grid-template-columns: 1fr;
    }

    .application-submit .btn {
        width: 100%;
    }
}/* =========================================
   LSS CAREERS — FINAL FIX
========================================= */

.careers-page {
  background: var(--cream);
}

.careers-hero {
  padding: 70px 7% 85px;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(201,164,92,.14),
      transparent 38%
    ),
    var(--cream);
}

.careers-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.career-back {
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}

.careers-hero .career-back {
  display: inline-flex;
  margin-bottom: 40px;
}

.careers-hero .eyebrow {
  margin-bottom: 18px;
}

.careers-hero h1 {
  margin: 0 0 25px;
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 7vw, 82px);
  line-height: .98;
  letter-spacing: -2px;
}

.careers-hero h1 span {
  display: block;
}

.careers-hero h1 span:first-child {
  color: var(--dark-green);
}

.careers-hero h1 span:last-child {
  color: var(--green);
}

.careers-hero-description {
  max-width: 650px;
  margin: 0 auto;
  color: var(--gray);
  line-height: 1.8;
}


/* =========================================
   CATEGORY AREA
========================================= */

.career-category-section {
  padding: 75px 7% 120px;
  background: var(--white);
}

.career-category-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.career-category {
  position: relative;

  min-height: 340px;
  padding: 35px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: var(--cream);
  border: 1px solid rgba(16,20,17,.10);

  cursor: pointer;

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}

.career-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;

  background: linear-gradient(
    90deg,
    var(--red),
    var(--gold),
    var(--green)
  );
}

.career-category:hover {
  transform: translateY(-8px);
  border-color: rgba(201,164,92,.45);
  box-shadow: var(--shadow-hover);
}

.career-category-number {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}

.career-category-icon {
  width: 64px;
  height: 64px;

  margin: 25px 0 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(201,164,92,.45);
  border-radius: 50%;

  color: var(--red);
  font-family: "Playfair Display", serif;
  font-size: 24px;
}

.career-category h2 {
  margin: 0 0 12px;

  font-family: "Playfair Display", serif;
  font-size: 31px;
  line-height: 1.05;

  color: var(--dark-green);
}

.career-category h2 span {
  display: block;
}

.career-category h2 span:last-child {
  color: var(--green);
}

.career-category p {
  margin: 0;

  color: var(--gray);
  font-size: 13px;
  line-height: 1.75;
}

.career-explore {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-top: 25px;

  color: var(--red);
  font-size: 12px;
  font-weight: 700;

  cursor: pointer;
}

.career-explore-arrow {
  width: 8px;
  height: 8px;

  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;

  transform: rotate(45deg);
  transition: transform .25s ease;
}

.career-category:hover .career-explore-arrow {
  transform: translateX(5px) rotate(45deg);
}


/* =========================================
   APPLICATION
========================================= */

.career-application {
  display: none;

  padding: 70px 7% 120px;

  background: var(--cream);
}

.career-application.active {
  display: block;
}

.career-application-inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.application-header {
  margin-bottom: 40px;
}

.application-header h2 {
  margin: 12px 0 18px;

  font-family: "Playfair Display", serif;
  font-size: clamp(40px, 6vw, 65px);
  line-height: 1;
  color: var(--dark-green);
}

.application-header h2 span {
  display: block;
}

.application-header h2 span:last-child {
  color: var(--green);
}

.application-header p {
  max-width: 650px;
  color: var(--gray);
  line-height: 1.8;
}


/* =========================================
   JOB SELECTOR
========================================= */

.job-selector {
  padding: 35px;
  margin-bottom: 30px;

  background: var(--white);
  border: 1px solid rgba(16,20,17,.10);
}

.job-selector-title {
  margin-bottom: 20px;

  font-family: "Playfair Display", serif;
  font-size: 24px;
  color: var(--dark-green);
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.job-option {
  position: relative;
}

.job-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.job-option label {
  display: block;

  min-height: 80px;
  padding: 18px;

  background: var(--cream);
  border: 1px solid rgba(16,20,17,.10);

  cursor: pointer;

  transition:
    border-color .25s ease,
    background .25s ease,
    transform .25s ease;
}

.job-option label:hover {
  transform: translateY(-2px);
  border-color: rgba(201,164,92,.5);
}

.job-option input:checked + label {
  border-color: var(--red);
  background: rgba(200,16,46,.045);
}

.job-option label strong {
  display: block;
  margin-bottom: 6px;

  color: var(--dark-green);
  font-size: 13px;
}

.job-option input:checked + label strong {
  color: var(--red);
}

.job-option label small {
  color: var(--gray);
  font-size: 11px;
}


/* =========================================
   FORM
========================================= */

.application-form-card {
  display: block;

  padding: 45px;

  background: var(--white);
  border: 1px solid rgba(16,20,17,.10);
}

.application-form-card.is-hidden {
  display: none !important;
}

.application-section-title {
  margin: 35px 0 20px;
  padding-bottom: 12px;

  border-bottom: 1px solid rgba(16,20,17,.10);

  color: var(--dark-green);

  font-family: "Playfair Display", serif;
  font-size: 25px;
}

.application-section-title:first-child {
  margin-top: 0;
}

.application-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.application-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.application-field.full {
  grid-column: 1 / -1;
}

.application-field label {
  color: var(--dark-green);
  font-size: 11px;
  font-weight: 700;
}

.application-field input,
.application-field select,
.application-field textarea {
  width: 100%;
  min-height: 50px;

  padding: 13px 14px;

  border: 1px solid rgba(16,20,17,.12);
  border-radius: 4px;

  background: #fff;
  color: var(--black);

  font-size: 13px;
  outline: none;
}

.application-field textarea {
  min-height: 120px;
  resize: vertical;
}

.application-field input:focus,
.application-field select:focus,
.application-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,164,92,.09);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 850px) {

  .career-category-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .job-grid {
    grid-template-columns: 1fr;
  }

  .application-form-grid {
    grid-template-columns: 1fr;
  }

  .application-field.full {
    grid-column: auto;
  }

}

@media (max-width: 600px) {

  .careers-hero {
    padding: 55px 6% 65px;
  }

  .careers-hero h1 {
    font-size: 48px;
  }

  .career-category-section,
  .career-application {
    padding-left: 5%;
    padding-right: 5%;
  }

  .career-category {
    min-height: 300px;
    padding: 28px;
  }

  .job-selector,
  .application-form-card {
    padding: 25px 20px;
  }

  .application-header h2 {
    font-size: 43px;
  }

}