:root {
    --brand-orange: #f26a00;
    --brand-orange-dark: #c84f00;
    --brand-orange-soft: #fff1e6;
    --brand-charcoal: #171717;
    --brand-black: #050505;
    --brand-maroon: #9b111e;
    --brand-maroon-soft: #f7e8ea;
    --brand-cream: #fff8ef;
    --brand-paper: #ffffff;
    --text-main: #1f2933;
    --text-muted: #6b7280;
    --border-soft: rgba(23, 23, 23, 0.1);
    --shadow-soft: 0 14px 34px rgba(23, 23, 23, 0.08);
    --shadow-strong: 0 22px 56px rgba(23, 23, 23, 0.12);
    --radius: 18px;
    --transition: all 0.35s ease;
    --font-main: "Manrope", "Inter", "Poppins", "Segoe UI", Arial, sans-serif;
    --font-body: var(--font-main);
    --font-heading: var(--font-main);
    --font-ui: var(--font-main);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, rgba(242, 106, 0, 0.04), transparent 28%),
        linear-gradient(180deg, #fffdfa 0%, var(--brand-cream) 100%);
    line-height: 1.8;
    font-size: 1rem;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

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

ul {
    list-style: none;
}

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

.container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border: 0;
    border-radius: 999px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary,
.btn-gold {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
    color: var(--brand-paper);
    box-shadow: 0 12px 28px rgba(242, 106, 0, 0.22);
}

.btn-primary:hover,
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(242, 106, 0, 0.28);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.65);
    color: var(--brand-charcoal);
    border: 1.5px solid rgba(23, 23, 23, 0.18);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: var(--brand-paper);
    border-color: rgba(242, 106, 0, 0.4);
    color: var(--brand-orange-dark);
    transform: translateY(-3px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--brand-charcoal);
    border: 1.5px solid rgba(23, 23, 23, 0.14);
}

.btn-outline-dark:hover {
    background: var(--brand-charcoal);
    color: var(--brand-paper);
    border-color: var(--brand-charcoal);
    transform: translateY(-3px);
}

.btn-card {
    background: linear-gradient(180deg, #fffefd 0%, #fff4ea 100%);
    color: var(--brand-charcoal);
    border: 1px solid rgba(242, 106, 0, 0.16);
    box-shadow: 0 10px 24px rgba(23, 23, 23, 0.06);
}

.btn-card:hover {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
    color: var(--brand-paper);
    border-color: transparent;
    box-shadow: 0 16px 32px rgba(242, 106, 0, 0.2);
    transform: translateY(-3px);
}

.btn-portal {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
    color: var(--brand-paper);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 12px 28px rgba(242, 106, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-portal:hover {
    background: linear-gradient(135deg, var(--brand-charcoal) 0%, #2c221d 100%);
    color: var(--brand-paper);
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(23, 23, 23, 0.22);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.79rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    transition: var(--transition);
    background: rgba(255, 251, 246, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(242, 106, 0, 0.12);
    box-shadow: 0 12px 28px rgba(23, 23, 23, 0.08);
}

.header.scrolled {
    padding: 8px 0;
    background: rgba(255, 251, 246, 0.99);
    border-bottom-color: rgba(242, 106, 0, 0.16);
    box-shadow: 0 18px 40px rgba(23, 23, 23, 0.1);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.logo-mark {
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    padding: 6px;
    box-shadow: 0 10px 24px rgba(23, 23, 23, 0.1);
}

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

.logo-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.logo-title {
    color: var(--brand-charcoal);
    font-family: var(--font-heading);
    font-size: 1.34rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo-subtitle {
    color: var(--brand-orange-dark);
    font-family: var(--font-ui);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 6px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 249, 244, 0.9) 100%);
    border: 1px solid rgba(23, 23, 23, 0.09);
    box-shadow:
        0 16px 30px rgba(23, 23, 23, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nav a {
    position: relative;
    padding: 9px 14px;
    font-family: var(--font-ui);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-main);
    border-radius: 999px;
    transition: var(--transition);
}

.nav a:hover,
.nav a.active {
    background: rgba(242, 106, 0, 0.1);
    color: var(--brand-orange-dark);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(242, 106, 0, 0.8), rgba(155, 17, 30, 0.35));
    transform: scaleX(0);
    transform-origin: center;
    transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 8px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    border: 0;
    background: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--brand-charcoal);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hero,
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 148px 0 72px;
    background:
        radial-gradient(circle at 86% 16%, rgba(242, 106, 0, 0.1), transparent 18%),
        radial-gradient(circle at 78% 78%, rgba(155, 17, 30, 0.05), transparent 16%),
        linear-gradient(180deg, #fffbf8 0%, #fff7ef 100%);
}

.hero::before,
.page-hero::before,
.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(242, 106, 0, 0.07), transparent 18%),
        radial-gradient(circle at 80% 16%, rgba(255, 255, 255, 0.45), transparent 22%),
        radial-gradient(circle at 74% 72%, rgba(155, 17, 30, 0.04), transparent 16%);
    pointer-events: none;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto -120px -120px auto;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(242, 106, 0, 0.12), transparent 68%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.hero .container,
.page-hero .container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 42px;
    align-items: center;
}

.hero .container > :first-child,
.page-hero .container > :first-child {
    position: relative;
    z-index: 3;
    max-width: 620px;
}

.hero-home {
    padding: 168px 0 92px;
    background:
        radial-gradient(circle at 14% 14%, rgba(242, 106, 0, 0.12), transparent 24%),
        radial-gradient(circle at 88% 16%, rgba(242, 106, 0, 0.17), transparent 22%),
        radial-gradient(circle at 82% 82%, rgba(155, 17, 30, 0.06), transparent 18%),
        linear-gradient(180deg, #fffdf9 0%, #fff7ef 58%, #fffaf5 100%);
}

.hero-home::after {
    content: "";
    position: absolute;
    right: 3%;
    top: 86px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 106, 0, 0.16) 0%, rgba(242, 106, 0, 0.06) 34%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-home .container {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
    gap: 44px;
    align-items: stretch;
}

.hero-home .hero-content {
    max-width: 640px;
    min-width: 0;
    display: flex;
    align-items: center;
}

.hero-copy-shell {
    position: relative;
    width: 100%;
    padding: 44px 38px 38px;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 249, 242, 0.96) 100%);
    border: 1px solid rgba(23, 23, 23, 0.07);
    box-shadow:
        0 26px 60px rgba(23, 23, 23, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.hero-copy-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at top left, rgba(242, 106, 0, 0.12), transparent 34%),
        radial-gradient(circle at 82% 22%, rgba(155, 17, 30, 0.05), transparent 24%);
    pointer-events: none;
}

.hero-copy-shell::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 24px;
    width: 124px;
    height: 124px;
    border-radius: 28px;
    background: radial-gradient(circle, rgba(242, 106, 0, 0.12) 0%, rgba(242, 106, 0, 0) 72%);
    pointer-events: none;
}

.hero-kicker-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin-bottom: 8px;
}

.hero-kicker-note {
    color: var(--text-muted);
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h1,
.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.7rem, 4.2vw, 4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin-bottom: 16px;
    color: var(--brand-paper);
}

.hero-home .hero-content h1 {
    color: var(--brand-charcoal);
    max-width: 540px;
    font-size: clamp(3.2rem, 5vw, 4.75rem);
    line-height: 0.94;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    text-wrap: balance;
}

.hero-content h1 .highlight,
.section-title .highlight,
.page-hero-title .highlight {
    color: var(--brand-orange);
}

.hero-content .sub-title,
.page-hero-label {
    display: inline-block;
    margin-bottom: 16px;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 248, 239, 0.86);
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-home .hero-content .sub-title {
    background: rgba(242, 106, 0, 0.09);
    color: var(--brand-orange-dark);
    box-shadow: inset 0 0 0 1px rgba(242, 106, 0, 0.08);
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.hero-accent {
    display: block;
    width: 104px;
    height: 4px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-orange) 0%, rgba(242, 106, 0, 0.18) 100%);
    position: relative;
    z-index: 1;
}

.hero-content .motto {
    margin-bottom: 18px;
    color: #ffd8bd;
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.1vw, 1.7rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.01em;
    font-style: normal;
}

.hero-home .hero-content .motto {
    color: var(--brand-charcoal);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.hero-content .motto .motto-english {
    display: inline-block;
}

.hero-content .motto .arabic {
    display: block;
    margin-top: 6px;
    color: var(--brand-orange);
    font-family: var(--font-ui);
    font-size: 0.98rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-description {
    position: relative;
    z-index: 1;
}

.hero-content p,
.page-hero p {
    color: rgba(255, 248, 239, 0.8);
    max-width: 580px;
    margin-bottom: 28px;
    font-size: 0.98rem;
    line-height: 1.82;
    font-weight: 500;
}

.hero-home .hero-content p {
    color: var(--text-main);
    max-width: 575px;
    font-size: 1.01rem;
    font-weight: 500;
}

.hero-description {
    max-width: 575px;
    margin-bottom: 24px;
    line-height: 1.95;
}

.hero-buttons,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.hero-value-strip {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.hero-value-strip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(242, 106, 0, 0.12);
    box-shadow:
        0 12px 24px rgba(23, 23, 23, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: var(--brand-charcoal);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 800;
}

.hero-value-strip i {
    color: var(--brand-orange);
}

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

.hero-home .hero-image {
    justify-content: flex-end;
    align-items: center;
}

.hero-card,
.page-hero-card {
    width: 100%;
    max-width: 440px;
    padding: 30px 28px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.96) 0%, rgba(255, 248, 239, 0.92) 100%);
    border: 1px solid rgba(23, 23, 23, 0.06);
    box-shadow: 0 18px 44px rgba(23, 23, 23, 0.1);
    color: var(--text-main);
}

.page-hero-about {
    background:
        radial-gradient(circle at 16% 18%, rgba(242, 106, 0, 0.13), transparent 22%),
        radial-gradient(circle at 84% 20%, rgba(242, 106, 0, 0.1), transparent 18%),
        linear-gradient(180deg, #fffdf9 0%, #fff6ee 100%);
}

.page-hero-about .container {
    grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.82fr);
    gap: 36px;
    align-items: stretch;
}

.about-hero-copy {
    position: relative;
    padding: 34px 34px 30px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 248, 240, 0.95) 100%);
    border: 1px solid rgba(23, 23, 23, 0.07);
    box-shadow:
        0 24px 56px rgba(23, 23, 23, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.about-hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at top left, rgba(242, 106, 0, 0.11), transparent 30%),
        radial-gradient(circle at 82% 20%, rgba(155, 17, 30, 0.04), transparent 22%);
    pointer-events: none;
}

.about-hero-copy > * {
    position: relative;
    z-index: 1;
}

.page-hero-about .page-hero-label {
    background: rgba(242, 106, 0, 0.09);
    color: var(--brand-orange-dark);
    box-shadow: inset 0 0 0 1px rgba(242, 106, 0, 0.08);
}

.page-hero-about .page-hero-title {
    color: var(--brand-charcoal);
}

.page-hero-about p {
    color: var(--text-main);
    max-width: 575px;
    font-size: 1rem;
    font-weight: 500;
}

.about-hero-points {
    margin-top: 0;
}

.about-hero-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 34px 30px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.96) 0%, rgba(255, 245, 235, 0.96) 100%);
    box-shadow:
        0 28px 60px rgba(23, 23, 23, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    text-align: center;
}

.about-hero-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 24px;
    border: 1px solid rgba(242, 106, 0, 0.12);
    pointer-events: none;
}

.about-hero-card > * {
    position: relative;
    z-index: 1;
}

.about-hero-card h3 {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 10px;
}

.about-hero-card p {
    margin: 0 auto;
    max-width: 320px;
    color: var(--text-muted);
}

.about-hero-motto {
    margin-top: 16px;
    color: var(--brand-orange);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.page-hero-academics {
    background:
        radial-gradient(circle at 18% 18%, rgba(242, 106, 0, 0.13), transparent 22%),
        radial-gradient(circle at 84% 20%, rgba(242, 106, 0, 0.1), transparent 18%),
        linear-gradient(180deg, #fffdf9 0%, #fff6ee 100%);
}

.page-hero-academics .container {
    grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.82fr);
    gap: 36px;
    align-items: stretch;
}

.academics-hero-copy {
    position: relative;
    padding: 34px 34px 30px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 248, 240, 0.95) 100%);
    border: 1px solid rgba(23, 23, 23, 0.07);
    box-shadow:
        0 24px 56px rgba(23, 23, 23, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.academics-hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at top left, rgba(242, 106, 0, 0.11), transparent 30%),
        radial-gradient(circle at 82% 20%, rgba(155, 17, 30, 0.04), transparent 22%);
    pointer-events: none;
}

.academics-hero-copy > * {
    position: relative;
    z-index: 1;
}

.page-hero-academics .page-hero-label {
    background: rgba(242, 106, 0, 0.09);
    color: var(--brand-orange-dark);
    box-shadow: inset 0 0 0 1px rgba(242, 106, 0, 0.08);
}

.page-hero-academics .page-hero-title {
    color: var(--brand-charcoal);
}

.page-hero-academics p {
    color: var(--text-main);
    max-width: 575px;
    font-size: 1rem;
    font-weight: 500;
}

.academics-hero-points {
    margin-top: 0;
}

.academics-hero-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 34px 30px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.96) 0%, rgba(255, 245, 235, 0.96) 100%);
    box-shadow:
        0 28px 60px rgba(23, 23, 23, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    text-align: center;
}

.academics-hero-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 24px;
    border: 1px solid rgba(242, 106, 0, 0.12);
    pointer-events: none;
}

.academics-hero-card > * {
    position: relative;
    z-index: 1;
}

.academics-hero-card h3 {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 10px;
}

.academics-hero-card p {
    margin: 0 auto;
    max-width: 320px;
    color: var(--text-muted);
}

.academics-hero-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.academics-hero-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(242, 106, 0, 0.12);
    color: var(--brand-charcoal);
    font-size: 0.76rem;
    font-weight: 700;
}

.hero-home .hero-card {
    max-width: 390px;
    min-height: 100%;
    padding: 28px 26px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 248, 239, 0.94) 100%);
    box-shadow: 0 22px 50px rgba(23, 23, 23, 0.1);
}

.hero-visual-card {
    position: relative;
    width: min(100%, 570px);
    padding: 18px;
    border-radius: 38px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 246, 236, 0.98) 100%);
    border: 1px solid rgba(23, 23, 23, 0.07);
    box-shadow:
        0 30px 70px rgba(23, 23, 23, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.hero-visual-card::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 30px;
    border: 1px solid rgba(242, 106, 0, 0.12);
    pointer-events: none;
}

.hero-visual-card::after {
    content: "";
    position: absolute;
    left: -18px;
    bottom: 38px;
    width: 110px;
    height: 110px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.55) 0%, rgba(242, 106, 0, 0.18) 100%);
    filter: blur(2px);
    opacity: 0.78;
    z-index: 0;
    pointer-events: none;
}

.hero-image-chip {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    max-width: 230px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(255, 252, 247, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 20px 42px rgba(23, 23, 23, 0.16);
    backdrop-filter: blur(10px);
}

.hero-image-chip strong {
    display: block;
    color: var(--brand-charcoal);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.4;
}

.hero-image-chip small {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.hero-image-frame {
    position: relative;
    overflow: hidden;
    min-height: 0;
    aspect-ratio: 10 / 11;
    border-radius: 32px;
    background: linear-gradient(145deg, #fff7ef 0%, #fff 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.8),
        0 22px 48px rgba(23, 23, 23, 0.12);
}

.hero-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(35, 24, 18, 0.01) 0%, rgba(35, 24, 18, 0.16) 100%),
        linear-gradient(90deg, rgba(255, 248, 239, 0.02) 0%, rgba(255, 248, 239, 0) 38%);
    pointer-events: none;
}

.hero-photo {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero-image-badge {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 290px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(255, 252, 247, 0.92);
    border: 1px solid rgba(23, 23, 23, 0.07);
    box-shadow: 0 18px 40px rgba(23, 23, 23, 0.14);
    backdrop-filter: blur(10px);
}

.hero-image-badge strong {
    display: block;
    color: var(--brand-charcoal);
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.45;
}

.hero-image-badge-bottom {
    right: 18px;
    bottom: 18px;
}

.badge-kicker {
    display: inline-block;
    margin-bottom: 4px;
    color: var(--brand-maroon);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-badge-logo {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 0 0 1px rgba(242, 106, 0, 0.08);
}

.hero-badge-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 132px;
    margin: 0 auto 18px;
    padding: 12px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(242, 106, 0, 0.08);
    box-shadow: 0 12px 28px rgba(23, 23, 23, 0.06);
}

.hero-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-card .big-icon,
.page-hero-card .big-icon {
    font-size: 4rem;
    color: var(--brand-orange);
    margin-bottom: 16px;
}

.hero-card h3,
.page-hero-card h3 {
    color: var(--brand-charcoal);
    font-family: var(--font-heading);
    font-size: 1.72rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 10px;
}

.hero-card p,
.page-hero-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.75;
}

.section-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.section-tags span {
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--brand-orange-soft);
    color: var(--brand-orange-dark);
    font-size: 0.74rem;
    font-weight: 700;
}

.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.18;
}

.floating-shapes .shape:nth-child(1) {
    top: 2%;
    right: 7%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(242, 106, 0, 0.24), transparent 68%);
}

.floating-shapes .shape:nth-child(2) {
    left: -40px;
    bottom: 4%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(155, 17, 30, 0.18), transparent 68%);
}

.floating-shapes .shape:nth-child(3) {
    left: 46%;
    top: 18%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 65%);
}

.section {
    padding: 82px 0;
}

.section-header {
    margin-bottom: 34px;
}

.bg-cream .container {
    width: min(1180px, calc(100% - 48px));
}

.bg-cream .section-header {
    margin-bottom: 42px;
}

.section-label {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--brand-orange-soft);
    color: var(--brand-orange-dark);
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-title {
    color: var(--brand-charcoal);
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 3.7vw, 3.05rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.section-subtitle {
    max-width: 720px;
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.78;
    font-weight: 500;
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.bg-cream {
    background:
        linear-gradient(180deg, rgba(255, 248, 239, 0.92) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.homepage-highlight .section-header {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.homepage-highlight {
    position: relative;
}

.homepage-highlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(242, 106, 0, 0.06), transparent 18%),
        radial-gradient(circle at 84% 24%, rgba(155, 17, 30, 0.04), transparent 16%);
    pointer-events: none;
}

.cards-grid-home {
    gap: 26px;
    align-items: stretch;
}

.homepage-why {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 248, 239, 0.88) 100%);
}

.homepage-why::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 16%, rgba(242, 106, 0, 0.05), transparent 20%),
        radial-gradient(circle at 80% 72%, rgba(155, 17, 30, 0.04), transparent 18%);
    pointer-events: none;
}

.why-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.why-card {
    padding: 26px 22px 24px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(242, 106, 0, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff3e8 0%, #ffe7d5 100%);
    border: 1px solid rgba(242, 106, 0, 0.14);
    color: var(--brand-orange-dark);
    font-size: 1.15rem;
}

.why-card h3 {
    color: var(--brand-charcoal);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.8;
    font-weight: 500;
}

.cards-grid,
.academics-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.info-card,
.academic-card,
.news-card,
.timeline-card,
.detail-card,
.admissions-form,
.contact-form,
.feature-panel {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(23, 23, 23, 0.07);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.info-card,
.academic-card,
.news-card,
.timeline-card,
.detail-card {
    padding: 28px 24px;
    transition: var(--transition);
}

.info-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 242, 0.98) 100%);
    box-shadow:
        0 24px 52px rgba(23, 23, 23, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.info-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(242, 106, 0, 0.92) 0%, rgba(155, 17, 30, 0.5) 100%);
}

.info-card:hover,
.academic-card:hover,
.news-card:hover,
.timeline-card:hover,
.detail-card:hover {
    transform: translateY(-7px);
    border-color: rgba(242, 106, 0, 0.22);
    box-shadow: 0 24px 48px rgba(23, 23, 23, 0.12);
}

.feature-card {
    padding: 26px 26px 24px;
}

.card-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(242, 106, 0, 0.08);
    color: var(--brand-orange-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.info-card .icon,
.academic-card .icon,
.detail-card .icon,
.timeline-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    margin-bottom: 14px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.82), transparent 42%),
        linear-gradient(135deg, #fff1e3 0%, #ffe7da 100%);
    border: 1px solid rgba(242, 106, 0, 0.14);
    box-shadow:
        0 18px 34px rgba(242, 106, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: var(--brand-orange-dark);
    font-size: 1.36rem;
}

.info-card h3,
.academic-card h3,
.detail-card h3,
.timeline-card h3,
.news-card h3,
.admissions-info h3,
.contact-info h3,
.admissions-form h3,
.contact-form h3 {
    color: var(--brand-charcoal);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.info-card p,
.academic-card p,
.detail-card p,
.timeline-card p,
.news-card p,
.admissions-info p,
.contact-info p,
.about-text p {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.8;
    font-weight: 500;
}

.info-card p:last-child {
    margin-top: auto;
    padding-top: 18px;
}

.about-grid,
.admissions-wrapper,
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-image {
    position: relative;
    min-height: 420px;
    border-radius: 28px;
    padding: 16px;
    overflow: visible;
    display: block;
    background:
        radial-gradient(circle at top, rgba(242, 106, 0, 0.2), transparent 40%),
        linear-gradient(145deg, #fff5eb 0%, #fff 50%, #fce9dc 100%);
    border: 1px solid rgba(242, 106, 0, 0.12);
    box-shadow:
        0 26px 56px rgba(23, 23, 23, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.about-image::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 22px;
    border: 1px solid rgba(242, 106, 0, 0.1);
    pointer-events: none;
    z-index: 2;
}

.about-photo {
    width: 100%;
    height: 100%;
    min-height: 388px;
    border-radius: 22px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 18px 38px rgba(23, 23, 23, 0.12);
}

.badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 14px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--brand-maroon) 0%, #710b15 100%);
    color: var(--brand-paper);
    font-size: 0.86rem;
    font-weight: 700;
    box-shadow: 0 16px 36px rgba(155, 17, 30, 0.22);
    z-index: 3;
}

.about-story .about-text {
    max-width: 580px;
}

.about-story .about-text .section-title {
    margin-bottom: 16px;
}

.about-story .about-text p {
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.about-features i {
    color: var(--brand-orange);
}

.about-foundation .cards-grid {
    gap: 24px;
}

.about-card {
    padding: 30px 26px 26px;
    box-shadow:
        0 20px 42px rgba(23, 23, 23, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.about-card .icon {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    margin-bottom: 16px;
}

.about-card h3 {
    margin-bottom: 12px;
}

.about-card p {
    line-height: 1.82;
}

.academic-card {
    text-align: center;
}

.academics-pathways .academics-grid {
    gap: 24px;
}

.pathway-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
    padding: 28px 24px 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 242, 0.98) 100%);
    border: 1px solid rgba(23, 23, 23, 0.07);
    box-shadow:
        0 22px 46px rgba(23, 23, 23, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.pathway-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(242, 106, 0, 0.92) 0%, rgba(155, 17, 30, 0.45) 100%);
}

.pathway-card:hover {
    transform: translateY(-8px);
    border-color: rgba(242, 106, 0, 0.22);
    box-shadow: 0 26px 50px rgba(23, 23, 23, 0.12);
}

.pathway-card .card-tag {
    margin-bottom: 4px;
}

.pathway-card .icon {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    margin-bottom: 6px;
}

.pathway-card h3 {
    margin-bottom: 4px;
}

.pathway-card p {
    margin-bottom: 10px;
}

.pathway-card .btn {
    margin-top: auto;
}

.academics-approach {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 248, 239, 0.88) 100%);
}

.academics-approach::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 18%, rgba(242, 106, 0, 0.05), transparent 20%),
        radial-gradient(circle at 80% 74%, rgba(155, 17, 30, 0.04), transparent 18%);
    pointer-events: none;
}

.approach-grid {
    position: relative;
    z-index: 1;
    gap: 22px;
}

.approach-card {
    padding: 28px 24px 24px;
    box-shadow:
        0 18px 40px rgba(23, 23, 23, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.approach-card .icon {
    width: 66px;
    height: 66px;
    border-radius: 20px;
}

.approach-card p {
    line-height: 1.82;
}

.academics-cta-section {
    padding-top: 18px;
}

.academics-cta-banner {
    background:
        linear-gradient(145deg, #2a1d16 0%, #30211a 52%, #7f1f1f 100%);
    box-shadow: 0 24px 56px rgba(23, 23, 23, 0.14);
}

.academics-cta-banner::before {
    background:
        radial-gradient(circle at 14% 24%, rgba(242, 106, 0, 0.14), transparent 24%),
        radial-gradient(circle at 84% 78%, rgba(255, 255, 255, 0.05), transparent 16%);
}

.academics-cta-banner p {
    max-width: 620px;
}

.page-hero-admissions {
    background:
        radial-gradient(circle at 18% 18%, rgba(242, 106, 0, 0.13), transparent 22%),
        radial-gradient(circle at 84% 20%, rgba(242, 106, 0, 0.1), transparent 18%),
        linear-gradient(180deg, #fffdf9 0%, #fff6ee 100%);
}

.page-hero-admissions .container {
    grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.82fr);
    gap: 36px;
    align-items: stretch;
}

.admissions-hero-copy {
    position: relative;
    padding: 34px 34px 30px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 248, 240, 0.95) 100%);
    border: 1px solid rgba(23, 23, 23, 0.07);
    box-shadow:
        0 24px 56px rgba(23, 23, 23, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.admissions-hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at top left, rgba(242, 106, 0, 0.11), transparent 30%),
        radial-gradient(circle at 82% 20%, rgba(155, 17, 30, 0.04), transparent 22%);
    pointer-events: none;
}

.admissions-hero-copy > * {
    position: relative;
    z-index: 1;
}

.page-hero-admissions .page-hero-label {
    background: rgba(242, 106, 0, 0.09);
    color: var(--brand-orange-dark);
    box-shadow: inset 0 0 0 1px rgba(242, 106, 0, 0.08);
}

.page-hero-admissions .page-hero-title {
    color: var(--brand-charcoal);
}

.page-hero-admissions p {
    color: var(--text-main);
    max-width: 575px;
    font-size: 1rem;
    font-weight: 500;
}

.page-hero-admissions .hero-buttons {
    margin-top: 4px;
}

.admissions-hero-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 34px 30px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.96) 0%, rgba(255, 245, 235, 0.96) 100%);
    box-shadow:
        0 28px 60px rgba(23, 23, 23, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    text-align: center;
}

.admissions-hero-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 24px;
    border: 1px solid rgba(242, 106, 0, 0.12);
    pointer-events: none;
}

.admissions-hero-card > * {
    position: relative;
    z-index: 1;
}

.admissions-hero-card h3 {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 10px;
}

.admissions-hero-card p {
    margin: 0 auto;
    max-width: 320px;
    color: var(--text-muted);
}

.admissions-hero-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.admissions-hero-points span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(242, 106, 0, 0.12);
    color: var(--brand-charcoal);
    font-size: 0.76rem;
    font-weight: 700;
}

.page-hero-gallery {
    background:
        radial-gradient(circle at 16% 18%, rgba(242, 106, 0, 0.13), transparent 22%),
        radial-gradient(circle at 84% 20%, rgba(242, 106, 0, 0.1), transparent 18%),
        linear-gradient(180deg, #fffdf9 0%, #fff6ee 100%);
}

.page-hero-gallery .container {
    grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.82fr);
    gap: 36px;
    align-items: stretch;
}

.gallery-hero-copy {
    position: relative;
    padding: 34px 34px 30px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 248, 240, 0.95) 100%);
    border: 1px solid rgba(23, 23, 23, 0.07);
    box-shadow:
        0 24px 56px rgba(23, 23, 23, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.gallery-hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at top left, rgba(242, 106, 0, 0.11), transparent 30%),
        radial-gradient(circle at 82% 20%, rgba(155, 17, 30, 0.04), transparent 22%);
    pointer-events: none;
}

.gallery-hero-copy > * {
    position: relative;
    z-index: 1;
}

.page-hero-gallery .page-hero-label {
    background: rgba(242, 106, 0, 0.09);
    color: var(--brand-orange-dark);
    box-shadow: inset 0 0 0 1px rgba(242, 106, 0, 0.08);
}

.page-hero-gallery .page-hero-title {
    color: var(--brand-charcoal);
}

.page-hero-gallery p {
    color: var(--text-main);
    max-width: 575px;
    font-size: 1rem;
    font-weight: 500;
}

.gallery-hero-points {
    margin-top: 0;
}

.gallery-hero-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 34px 30px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.96) 0%, rgba(255, 245, 235, 0.96) 100%);
    box-shadow:
        0 28px 60px rgba(23, 23, 23, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.gallery-hero-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 24px;
    border: 1px solid rgba(242, 106, 0, 0.12);
    pointer-events: none;
}

.gallery-hero-card > * {
    position: relative;
    z-index: 1;
}

.gallery-hero-card-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(242, 106, 0, 0.15) 0%, rgba(155, 17, 30, 0.08) 100%);
    color: var(--brand-orange);
    font-size: 1.45rem;
    box-shadow:
        0 14px 30px rgba(23, 23, 23, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.gallery-hero-card h3 {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 10px;
}

.gallery-hero-card p {
    margin-bottom: 18px;
    color: var(--text-muted);
}

.gallery-hero-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-hero-card-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(242, 106, 0, 0.12);
    color: var(--brand-charcoal);
    font-size: 0.76rem;
    font-weight: 700;
}

.page-hero-contact {
    background:
        radial-gradient(circle at 16% 18%, rgba(242, 106, 0, 0.13), transparent 22%),
        radial-gradient(circle at 84% 20%, rgba(242, 106, 0, 0.1), transparent 18%),
        linear-gradient(180deg, #fffdf9 0%, #fff6ee 100%);
}

.page-hero-contact .container {
    grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.82fr);
    gap: 36px;
    align-items: stretch;
}

.contact-hero-copy {
    position: relative;
    padding: 34px 34px 30px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 248, 240, 0.95) 100%);
    border: 1px solid rgba(23, 23, 23, 0.07);
    box-shadow:
        0 24px 56px rgba(23, 23, 23, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.contact-hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at top left, rgba(242, 106, 0, 0.11), transparent 30%),
        radial-gradient(circle at 82% 20%, rgba(155, 17, 30, 0.04), transparent 22%);
    pointer-events: none;
}

.contact-hero-copy > * {
    position: relative;
    z-index: 1;
}

.page-hero-contact .page-hero-label {
    background: rgba(242, 106, 0, 0.09);
    color: var(--brand-orange-dark);
    box-shadow: inset 0 0 0 1px rgba(242, 106, 0, 0.08);
}

.page-hero-contact .page-hero-title {
    color: var(--brand-charcoal);
}

.page-hero-contact p {
    color: var(--text-main);
    max-width: 575px;
    font-size: 1rem;
    font-weight: 500;
}

.contact-hero-note {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.7;
}

.contact-hero-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 34px 30px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.96) 0%, rgba(255, 245, 235, 0.96) 100%);
    box-shadow:
        0 28px 60px rgba(23, 23, 23, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.contact-hero-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 24px;
    border: 1px solid rgba(242, 106, 0, 0.12);
    pointer-events: none;
}

.contact-hero-card > * {
    position: relative;
    z-index: 1;
}

.contact-hero-card-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(242, 106, 0, 0.15) 0%, rgba(155, 17, 30, 0.08) 100%);
    color: var(--brand-orange);
    font-size: 1.45rem;
    box-shadow:
        0 14px 30px rgba(23, 23, 23, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-hero-card h3 {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 10px;
}

.contact-hero-card p {
    margin-bottom: 18px;
    color: var(--text-muted);
}

.contact-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-hero-points span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(242, 106, 0, 0.12);
    color: var(--brand-charcoal);
    font-size: 0.76rem;
    font-weight: 700;
}

.contact-main-section {
    position: relative;
    padding-top: 74px;
    padding-bottom: 56px;
}

.contact-main-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 20%, rgba(242, 106, 0, 0.05), transparent 22%),
        radial-gradient(circle at 84% 76%, rgba(155, 17, 30, 0.04), transparent 16%);
    pointer-events: none;
}

.contact-wrapper-premium {
    position: relative;
    z-index: 1;
    align-items: stretch;
    gap: 34px;
}

.contact-info-panel {
    max-width: 610px;
}

.contact-info-panel .section-title {
    margin-bottom: 14px;
}

.contact-info-panel > p {
    margin-bottom: 24px;
}

.contact-details-premium {
    gap: 14px;
}

.contact-detail-card {
    align-items: flex-start;
    padding: 18px 18px 18px 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 249, 242, 0.96) 100%);
    border: 1px solid rgba(23, 23, 23, 0.07);
    box-shadow:
        0 18px 38px rgba(23, 23, 23, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.contact-detail-card:hover {
    transform: translateY(-4px);
    border-color: rgba(242, 106, 0, 0.2);
    box-shadow:
        0 22px 44px rgba(23, 23, 23, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.contact-detail-card .text {
    font-size: 1rem;
}

.contact-detail-card .text small {
    margin-top: 4px;
}

.contact-detail-card .text a {
    color: var(--brand-charcoal);
}

.contact-detail-card .text a:hover {
    color: var(--brand-orange-dark);
}

.contact-form-premium {
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 240, 0.98) 100%);
    box-shadow:
        0 28px 56px rgba(23, 23, 23, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(23, 23, 23, 0.07);
    padding: 34px 30px 30px;
}

.contact-form-premium p {
    margin-bottom: 22px;
}

.contact-form-premium .form-group {
    margin-bottom: 20px;
}

.contact-form-premium .form-group label {
    margin-bottom: 8px;
}

.contact-form-premium .form-group input,
.contact-form-premium .form-group textarea {
    background: #fffefa;
    border-color: rgba(23, 23, 23, 0.1);
}

.contact-form-premium .btn-primary {
    box-shadow: 0 14px 30px rgba(242, 106, 0, 0.24);
}

.contact-form-premium .btn-primary:hover {
    box-shadow: 0 18px 34px rgba(242, 106, 0, 0.3);
}

.contact-submit {
    width: 100%;
}

.contact-location-section {
    position: relative;
    padding-top: 20px;
}

.contact-location-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(242, 106, 0, 0.05), transparent 20%),
        radial-gradient(circle at 82% 78%, rgba(155, 17, 30, 0.04), transparent 16%);
    pointer-events: none;
}

.contact-location-intro,
.contact-location-card {
    position: relative;
    z-index: 1;
}

.contact-location-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 28px 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 240, 0.98) 100%);
    border: 1px solid rgba(23, 23, 23, 0.08);
    box-shadow:
        0 24px 52px rgba(23, 23, 23, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.contact-location-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(242, 106, 0, 0.16) 0%, rgba(155, 17, 30, 0.09) 100%);
    color: var(--brand-orange);
    font-size: 1.5rem;
    box-shadow:
        0 14px 30px rgba(23, 23, 23, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-location-copy h3 {
    color: var(--brand-charcoal);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.contact-location-copy p {
    margin: 0 0 6px;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.7;
}

.contact-location-copy span {
    display: block;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.7;
}

.contact-location-action {
    display: flex;
    justify-content: flex-end;
}

.admissions-main {
    padding-bottom: 44px;
}

.admissions-info {
    max-width: 600px;
}

.admissions-steps-premium {
    gap: 14px;
}

.step-card {
    padding: 18px 18px 18px 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 249, 242, 0.96) 100%);
    border: 1px solid rgba(23, 23, 23, 0.07);
    box-shadow:
        0 18px 38px rgba(23, 23, 23, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.admissions-form-premium {
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 240, 0.98) 100%);
    box-shadow:
        0 22px 48px rgba(23, 23, 23, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.admissions-form-premium p {
    margin-bottom: 22px;
}

.admissions-support {
    position: relative;
}

.admissions-support::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 18%, rgba(242, 106, 0, 0.05), transparent 20%),
        radial-gradient(circle at 84% 72%, rgba(155, 17, 30, 0.04), transparent 16%);
    pointer-events: none;
}

.support-grid {
    position: relative;
    z-index: 1;
    gap: 22px;
}

.support-card {
    padding: 28px 24px 24px;
    box-shadow:
        0 18px 40px rgba(23, 23, 23, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.support-card .icon {
    width: 66px;
    height: 66px;
    border-radius: 20px;
}

.support-card p {
    line-height: 1.82;
}

.admissions-final-cta {
    padding-top: 18px;
}

.admissions-cta-banner {
    background:
        linear-gradient(145deg, #2a1d16 0%, #30211a 52%, #7f1f1f 100%);
    box-shadow: 0 24px 56px rgba(23, 23, 23, 0.14);
}

.admissions-cta-banner::before {
    background:
        radial-gradient(circle at 14% 24%, rgba(242, 106, 0, 0.14), transparent 24%),
        radial-gradient(circle at 84% 78%, rgba(255, 255, 255, 0.05), transparent 16%);
}

.admissions-cta-banner p {
    max-width: 540px;
}

.admissions-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 22px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.step .num {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
    color: var(--brand-paper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.step h4 {
    color: var(--brand-charcoal);
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin-bottom: 6px;
}

.step p {
    margin: 0;
}

.admissions-form,
.contact-form,
.feature-panel {
    padding: 30px 28px;
}

.feature-panel {
    background:
        linear-gradient(145deg, rgba(255, 241, 230, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--brand-charcoal);
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid rgba(23, 23, 23, 0.1);
    background: #fffdfb;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(242, 106, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(242, 106, 0, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background:
        linear-gradient(145deg, #fff8ef 0%, #fff 42%, #ffe6d2 100%);
    border: 1px solid rgba(242, 106, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.gallery-item:hover {
    transform: translateY(-4px) scale(1.008);
    box-shadow: 0 18px 38px rgba(23, 23, 23, 0.1);
}

.gallery-icon {
    color: var(--brand-orange);
    font-size: 4rem;
    opacity: 0.72;
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background: linear-gradient(to top, rgba(23, 23, 23, 0.78), transparent 65%);
}

.gallery-item .overlay span {
    color: var(--brand-paper);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gallery-showcase {
    position: relative;
}

.gallery-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(242, 106, 0, 0.05), transparent 22%),
        radial-gradient(circle at 84% 76%, rgba(155, 17, 30, 0.04), transparent 16%);
    pointer-events: none;
}

.gallery-section-intro,
.gallery-grid-premium {
    position: relative;
    z-index: 1;
}

.gallery-grid-premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 980px;
    margin: 0 auto;
}

.gallery-photo-card {
    position: relative;
    min-height: 360px;
    border-radius: 24px;
    overflow: hidden;
    background: #f7f2eb;
    border: 1px solid rgba(23, 23, 23, 0.08);
    box-shadow:
        0 18px 42px rgba(23, 23, 23, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.gallery-photo-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 24px 50px rgba(23, 23, 23, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.gallery-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.55s ease;
}

.gallery-photo-card:nth-child(1) img {
    object-position: center 28%;
}

.gallery-photo-card:nth-child(2) img {
    object-position: center 24%;
}

.gallery-photo-card:nth-child(3) img {
    object-position: center 34%;
}

.gallery-photo-card:nth-child(4) img {
    object-position: center 26%;
}

.gallery-photo-card:hover img {
    transform: scale(1.05);
}

.gallery-photo-card .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 24px 22px 22px;
    background: linear-gradient(180deg, rgba(23, 23, 23, 0.04) 0%, rgba(23, 23, 23, 0.24) 42%, rgba(18, 15, 13, 0.84) 100%);
}

.gallery-caption {
    color: var(--brand-paper);
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.18;
}

.gallery-photo-card .overlay p {
    color: rgba(255, 248, 239, 0.82);
    font-size: 0.92rem;
    line-height: 1.72;
    margin: 0;
    max-width: 32ch;
}

.gallery-cta-wrap {
    padding-top: 10px;
}

.gallery-cta-banner {
    background:
        linear-gradient(145deg, #241711 0%, #2f2019 50%, #8a1d1d 100%);
    box-shadow: 0 24px 56px rgba(23, 23, 23, 0.14);
}

.gallery-cta-banner::before {
    background:
        radial-gradient(circle at 14% 24%, rgba(242, 106, 0, 0.14), transparent 24%),
        radial-gradient(circle at 84% 78%, rgba(255, 255, 255, 0.05), transparent 16%);
}

.gallery-cta-banner .cta-banner-content {
    align-items: center;
}

.gallery-cta-banner p {
    max-width: 540px;
}

.gallery-cta-banner .button-row {
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}

.news-card .date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-maroon);
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tag {
    display: inline-block;
    margin-top: 14px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--brand-orange-soft);
    color: var(--brand-orange-dark);
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 22px;
}

.contact-details .item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-details .icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-orange-soft) 0%, var(--brand-maroon-soft) 100%);
    color: var(--brand-orange-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-details .text {
    color: var(--brand-charcoal);
    font-family: var(--font-ui);
    font-size: 0.98rem;
    font-weight: 700;
}

.contact-details .text small {
    display: block;
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.75;
}

.cta-banner {
    position: relative;
    overflow: hidden;
    padding: 30px 30px;
    border-radius: 26px;
    background:
        linear-gradient(140deg, var(--brand-charcoal) 0%, #2a1b14 52%, var(--brand-maroon) 100%);
    color: var(--brand-paper);
    box-shadow: var(--shadow-strong);
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-banner h3 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 700;
    line-height: 1.03;
    margin-bottom: 10px;
}

.cta-banner p {
    color: rgba(255, 248, 239, 0.76);
    font-size: 0.98rem;
    line-height: 1.85;
}

.footer {
    padding: 52px 0 24px;
    background:
        linear-gradient(180deg, #241711 0%, #2d1c14 52%, #1f1511 100%);
    border-top: 1px solid rgba(242, 106, 0, 0.14);
    color: rgba(255, 248, 239, 0.92);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 138px;
    min-height: 138px;
    margin-bottom: 14px;
    padding: 10px;
    border-radius: 22px;
    background: var(--brand-paper);
    border: 1px solid rgba(23, 23, 23, 0.08);
    box-shadow: var(--shadow-soft);
}

.footer-brand-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-brand p {
    max-width: 320px;
    color: rgba(255, 248, 239, 0.74);
    font-size: 0.92rem;
    line-height: 1.78;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 248, 239, 0.92);
    transition: var(--transition);
}

.socials a:hover {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
    color: var(--brand-paper);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer h4 {
    margin-bottom: 14px;
    color: #ffd6b8;
    font-family: var(--font-heading);
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

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

.footer ul li a {
    color: rgba(255, 248, 239, 0.78);
    font-family: var(--font-ui);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: #ffd6b8;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    color: rgba(255, 248, 239, 0.6);
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.back-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
    color: var(--brand-paper);
    font-size: 1.1rem;
    box-shadow: 0 12px 30px rgba(242, 106, 0, 0.3);
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    transform: translateY(-4px);
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 28px;
    border-radius: 12px;
    background: var(--brand-charcoal);
    color: var(--brand-paper);
    font-family: var(--font-ui);
    font-weight: 700;
    box-shadow: 0 16px 40px rgba(23, 23, 23, 0.24);
    opacity: 0;
    transition: var(--transition);
    z-index: 9999;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1100px) {
    .hero .container,
    .page-hero .container,
    .about-grid,
    .admissions-wrapper,
    .contact-wrapper,
    .cta-banner-content {
        grid-template-columns: 1fr;
        display: grid;
    }

    .hero,
    .page-hero {
        text-align: center;
        padding-top: 146px;
    }

    .hero-home .container {
        gap: 40px;
    }

    .hero::after,
    .page-hero::after {
        width: 100%;
        inset: 18px 0 auto 0;
        height: 58%;
        border-radius: 0 0 34px 34px;
        clip-path: ellipse(100% 88% at 50% 0%);
    }

    .hero-content p,
    .page-hero p,
    .section-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .button-row,
    .section-tags {
        justify-content: center;
    }

    .hero-home .hero-image {
        justify-content: center;
    }

    .page-hero-about .container {
        grid-template-columns: 1fr;
    }

    .page-hero-academics .container {
        grid-template-columns: 1fr;
    }

    .page-hero-admissions .container {
        grid-template-columns: 1fr;
    }

    .page-hero-gallery .container {
        grid-template-columns: 1fr;
    }

    .page-hero-contact .container {
        grid-template-columns: 1fr;
    }

    .hero-copy-shell {
        margin: 0 auto;
    }

    .hero-visual-card {
        margin: 0 auto;
    }

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

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

@media (max-width: 900px) {
    .home-page .hero-home {
        padding: 154px 0 76px;
    }

    .home-page .hero-home .container {
        gap: 30px;
    }

    .home-page .hero-copy-shell,
    .home-page .hero-visual-card {
        max-width: 100%;
    }

    .home-page .cards-grid-home,
    .home-page .why-grid {
        gap: 18px;
    }

    .page-hero-about .container,
    .about-grid {
        gap: 26px;
    }

    .about-story .about-text,
    .about-foundation .section-header {
        max-width: 100%;
    }

    .page-hero-academics .container,
    .academics-pathways .academics-grid,
    .approach-grid {
        gap: 22px;
    }

    .page-hero-admissions .container,
    .admissions-wrapper,
    .support-grid {
        gap: 24px;
    }

    .page-hero-gallery .container,
    .gallery-grid-premium {
        gap: 22px;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 32px, 1240px);
    }

    .header {
        position: relative;
        top: auto;
        left: auto;
        box-shadow: 0 10px 24px rgba(23, 23, 23, 0.07);
    }

    .header.scrolled {
        padding: 10px 0;
        box-shadow: 0 10px 24px rgba(23, 23, 23, 0.07);
    }

    .header .container {
        gap: 12px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 82%;
        max-width: 340px;
        height: 100vh;
        padding: 88px 28px 36px;
        background: rgba(255, 250, 245, 0.98);
        backdrop-filter: blur(16px);
        border-left: 1px solid rgba(23, 23, 23, 0.08);
        box-shadow: -18px 0 48px rgba(23, 23, 23, 0.12);
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        overflow-y: auto;
        border-radius: 0;
        box-shadow: -18px 0 48px rgba(23, 23, 23, 0.12);
    }

    .nav.open {
        right: 0;
    }

    .nav a {
        width: 100%;
        padding: 12px 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(23, 23, 23, 0.06);
        font-size: 0.92rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        text-transform: none;
        color: var(--text-main) !important;
    }

    .nav a:hover,
    .nav a.active {
        background: none !important;
        color: var(--brand-orange-dark) !important;
    }

    .nav a::after {
        display: none;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        margin: 14px 0 0;
    }

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

    .menu-toggle {
        display: flex;
        margin-left: auto;
        flex-shrink: 0;
    }

    .logo-mark {
        width: 52px;
        height: 52px;
        border-radius: 15px;
    }

    .logo-title {
        font-size: 1.18rem;
    }

    .logo-subtitle {
        font-size: 0.62rem;
    }

    .about-features,
    .cards-grid,
    .academics-grid,
    .news-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

    .step,
    .contact-details .item,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .hero,
    .page-hero {
        padding: 52px 0 64px;
    }

    .hero-home {
        padding: 56px 0 66px;
    }

    .hero::after,
    .page-hero::after {
        inset: 14px 0 auto 0;
        width: 100%;
        height: 48%;
        border-radius: 0 0 30px 30px;
        clip-path: ellipse(100% 86% at 50% 0%);
    }

    .hero-home .hero-content h1 {
        font-size: clamp(2.6rem, 10vw, 4rem);
    }

    .about-hero-copy {
        padding: 28px 24px 24px;
        border-radius: 28px;
    }

    .academics-hero-copy {
        padding: 28px 24px 24px;
        border-radius: 28px;
    }

    .admissions-hero-copy {
        padding: 28px 24px 24px;
        border-radius: 28px;
    }

    .gallery-hero-copy {
        padding: 28px 24px 24px;
        border-radius: 28px;
    }

    .contact-hero-copy {
        padding: 28px 24px 24px;
        border-radius: 28px;
    }

    .about-hero-card {
        padding: 28px 22px;
        border-radius: 28px;
    }

    .academics-hero-card {
        padding: 28px 22px;
        border-radius: 28px;
    }

    .admissions-hero-card {
        padding: 28px 22px;
        border-radius: 28px;
    }

    .gallery-hero-card {
        padding: 28px 22px;
        border-radius: 28px;
    }

    .contact-hero-card {
        padding: 28px 22px;
        border-radius: 28px;
    }

    .about-image {
        min-height: 340px;
    }

    .about-photo {
        min-height: 308px;
    }

    .academics-hero-list {
        justify-content: center;
    }

    .admissions-hero-points {
        justify-content: center;
    }

    .hero-copy-shell {
        padding: 30px 24px 26px;
        border-radius: 30px;
    }

    .hero-kicker-row,
    .hero-value-strip {
        justify-content: center;
    }

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

    .hero-image-chip {
        position: static;
        margin: 0 0 14px;
        max-width: none;
        text-align: left;
    }

    .hero-image-badge {
        position: static;
        max-width: none;
        margin-top: 14px;
        text-align: left;
    }

    .hero-visual-card {
        padding: 14px;
        border-radius: 28px;
    }

    .hero-image-frame {
        aspect-ratio: 5 / 6;
    }

    .gallery-photo-card {
        min-height: 330px;
    }

    .contact-location-card {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .contact-location-action {
        justify-content: center;
    }

    .contact-main-section {
        padding-top: 62px;
        padding-bottom: 68px;
    }

    .contact-wrapper-premium {
        gap: 28px;
    }

    .contact-form-premium {
        margin-bottom: 10px;
    }

    .contact-submit {
        min-height: 46px;
    }

    .contact-location-section {
        padding-top: 10px;
    }

    .contact-location-intro {
        margin-bottom: 20px;
    }

    .contact-location-action .btn {
        min-height: 46px;
    }

    .back-top {
        width: 46px;
        height: 46px;
        right: 18px;
        bottom: 18px;
    }

    .home-page .header {
        padding: 8px 0;
    }

    .home-page .header .container {
        min-height: 68px;
        gap: 10px;
    }

    .home-page .menu-toggle {
        padding: 10px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.72);
        box-shadow: 0 10px 22px rgba(23, 23, 23, 0.08);
    }

    .home-page .hero-home {
        padding: 132px 0 58px;
    }

    .home-page .hero-home .container {
        gap: 24px;
    }

    .home-page .hero-content,
    .home-page .hero-image {
        width: 100%;
    }

    .home-page .hero-copy-shell {
        padding: 28px 22px 24px;
        border-radius: 28px;
    }

    .home-page .hero-home .hero-content h1 {
        font-size: clamp(2.45rem, 9vw, 3.55rem);
        line-height: 0.98;
        margin-bottom: 14px;
    }

    .home-page .hero-home .hero-content .motto {
        margin-bottom: 12px;
        font-size: clamp(1.12rem, 4.4vw, 1.42rem);
    }

    .home-page .hero-content .motto .arabic {
        font-size: 0.94rem;
    }

    .home-page .hero-home .hero-content p {
        font-size: 0.98rem;
        line-height: 1.82;
    }

    .home-page .hero-description {
        margin-bottom: 22px;
    }

    .home-page .hero-buttons {
        gap: 12px;
    }

    .home-page .hero-buttons .btn {
        min-height: 46px;
    }

    .home-page .hero-value-strip {
        gap: 10px;
        margin-top: 18px;
    }

    .home-page .hero-value-strip span {
        padding: 10px 14px;
        font-size: 0.78rem;
    }

    .home-page .hero-visual-card {
        width: 100%;
        padding: 14px;
        border-radius: 30px;
    }

    .home-page .hero-image-chip {
        margin-bottom: 12px;
    }

    .home-page .hero-image-frame {
        aspect-ratio: 1 / 1.06;
    }

    .home-page .hero-image-badge {
        margin-top: 12px;
    }

    .home-page .section {
        padding: 58px 0;
    }

    .home-page .section-header {
        margin-bottom: 28px;
    }

    .home-page .section-title {
        font-size: clamp(2rem, 7vw, 2.45rem);
        line-height: 1.08;
    }

    .home-page .section-subtitle {
        font-size: 0.96rem;
        line-height: 1.8;
    }

    .home-page .feature-card,
    .home-page .why-card {
        padding: 24px 20px 22px;
        border-radius: 24px;
    }

    .home-page .feature-card .icon,
    .home-page .why-icon {
        width: 62px;
        height: 62px;
    }

    .home-page .feature-card h3,
    .home-page .why-card h3 {
        font-size: 1.16rem;
        line-height: 1.24;
    }

    .home-page .feature-card p,
    .home-page .why-card p {
        font-size: 0.95rem;
        line-height: 1.78;
    }

    .home-page .footer {
        padding: 44px 0 22px;
    }

    .home-page .footer-brand {
        text-align: center;
    }

    .home-page .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .home-page .socials {
        justify-content: center;
    }

    .academics-hero-copy,
    .academics-hero-card {
        max-width: 100%;
    }

    .academics-hero-copy {
        padding: 24px 22px 22px;
    }

    .academics-hero-copy .page-hero-title {
        font-size: clamp(2.24rem, 7vw, 2.95rem);
        line-height: 1;
        margin-bottom: 12px;
    }

    .academics-hero-copy p {
        font-size: 0.98rem;
        line-height: 1.8;
    }

    .academics-hero-points {
        gap: 10px;
    }

    .academics-hero-points span,
    .academics-hero-list span {
        padding: 10px 14px;
        font-size: 0.78rem;
    }

    .academics-hero-card {
        padding: 24px 20px 22px;
        min-height: auto;
    }

    .academics-hero-card .big-icon {
        margin-bottom: 14px;
    }

    .academics-hero-card .badge-kicker {
        font-size: 0.64rem;
        letter-spacing: 0.12em;
    }

    .academics-hero-card h3 {
        font-size: 1.48rem;
        margin-bottom: 8px;
    }

    .academics-hero-card p {
        font-size: 0.94rem;
        line-height: 1.72;
    }

    .academics-hero-list {
        gap: 10px;
        margin-top: 14px;
    }

    .academics-pathways .section-header,
    .academics-approach .section-header {
        margin-bottom: 26px;
    }

    .academics-pathways .section-title,
    .academics-approach .section-title {
        font-size: clamp(2rem, 6.4vw, 2.45rem);
        line-height: 1.08;
    }

    .academics-pathways .section-subtitle,
    .academics-approach .section-subtitle {
        font-size: 0.97rem;
        line-height: 1.8;
    }

    .pathway-card {
        padding: 24px 20px 22px;
    }

    .pathway-card .card-tag {
        font-size: 0.72rem;
        line-height: 1.45;
        padding: 8px 12px;
    }

    .pathway-card .icon,
    .approach-card .icon {
        width: 62px;
        height: 62px;
    }

    .pathway-card h3,
    .approach-card h3 {
        font-size: 1.16rem;
        line-height: 1.24;
    }

    .pathway-card p,
    .approach-card p {
        font-size: 0.95rem;
        line-height: 1.78;
    }

    .pathway-card .btn {
        min-height: 42px;
    }

    .approach-card {
        padding: 24px 20px 22px;
    }

    .academics-cta-section {
        padding-top: 8px;
    }

    .academics-cta-banner {
        padding: 28px 24px;
    }

    .academics-cta-banner h3 {
        font-size: clamp(1.9rem, 6vw, 2.35rem);
        line-height: 1.08;
    }

    .academics-cta-banner p {
        font-size: 0.96rem;
        line-height: 1.78;
    }

    .academics-cta-banner .btn {
        min-height: 46px;
    }

    .admissions-hero-copy,
    .admissions-hero-card {
        max-width: 100%;
    }

    .admissions-hero-copy {
        padding: 24px 22px 22px;
    }

    .admissions-hero-copy .page-hero-title {
        font-size: clamp(2.22rem, 7vw, 2.9rem);
        line-height: 1;
        margin-bottom: 12px;
    }

    .admissions-hero-copy p {
        font-size: 0.98rem;
        line-height: 1.8;
    }

    .admissions-hero-copy .hero-buttons {
        gap: 12px;
    }

    .admissions-hero-copy .hero-buttons .btn {
        min-height: 46px;
    }

    .admissions-hero-card {
        padding: 24px 20px 22px;
        min-height: auto;
    }

    .admissions-hero-card .big-icon {
        margin-bottom: 14px;
    }

    .admissions-hero-card h3 {
        font-size: 1.48rem;
        margin-bottom: 8px;
    }

    .admissions-hero-card p {
        font-size: 0.94rem;
        line-height: 1.72;
    }

    .admissions-hero-points {
        gap: 10px;
        margin-top: 14px;
    }

    .admissions-hero-points span {
        padding: 10px 14px;
        font-size: 0.78rem;
    }

    .admissions-main .section-title,
    .admissions-support .section-title {
        font-size: clamp(2rem, 6.4vw, 2.45rem);
        line-height: 1.08;
    }

    .admissions-main p,
    .admissions-support .section-subtitle {
        font-size: 0.97rem;
        line-height: 1.8;
    }

    .admissions-steps-premium {
        gap: 16px;
    }

    .step-card {
        padding: 20px 18px 18px 16px;
    }

    .step-card .num {
        width: 44px;
        height: 44px;
        font-size: 0.98rem;
    }

    .step-card h4 {
        font-size: 1.06rem;
        line-height: 1.28;
    }

    .step-card p {
        font-size: 0.94rem;
        line-height: 1.74;
    }

    .admissions-form-premium {
        padding: 30px 24px 24px;
    }

    .admissions-form-premium h3 {
        font-size: 1.32rem;
    }

    .admissions-form-premium p {
        font-size: 0.95rem;
        line-height: 1.76;
    }

    .admissions-form-premium .form-group {
        margin-bottom: 18px;
    }

    .admissions-form-premium .form-group label {
        margin-bottom: 8px;
    }

    .admissions-form-premium .form-group input,
    .admissions-form-premium .form-group select {
        min-height: 48px;
        font-size: 0.95rem;
    }

    .support-card {
        padding: 24px 20px 22px;
    }

    .support-card h3 {
        font-size: 1.16rem;
        line-height: 1.24;
    }

    .support-card p {
        font-size: 0.95rem;
        line-height: 1.78;
    }

    .admissions-final-cta {
        padding-top: 10px;
    }

    .admissions-cta-banner {
        padding: 28px 24px;
    }

    .admissions-cta-banner h3 {
        font-size: clamp(1.9rem, 6vw, 2.35rem);
        line-height: 1.08;
    }

    .admissions-cta-banner p {
        font-size: 0.96rem;
        line-height: 1.78;
    }

    .admissions-cta-banner .btn {
        min-height: 46px;
    }

    .gallery-hero-copy,
    .gallery-hero-card {
        max-width: 100%;
    }

    .gallery-hero-copy {
        padding: 24px 22px 22px;
    }

    .gallery-hero-copy .page-hero-title {
        font-size: clamp(2.2rem, 7vw, 2.9rem);
        line-height: 1;
        margin-bottom: 12px;
    }

    .gallery-hero-copy p {
        font-size: 0.98rem;
        line-height: 1.8;
    }

    .gallery-hero-points {
        gap: 10px;
    }

    .gallery-hero-points span,
    .gallery-hero-card-tags span {
        padding: 10px 14px;
        font-size: 0.78rem;
    }

    .gallery-hero-card {
        padding: 24px 20px 22px;
        min-height: auto;
    }

    .gallery-hero-card-icon {
        margin-bottom: 14px;
    }

    .gallery-hero-card h3 {
        font-size: 1.48rem;
        margin-bottom: 8px;
    }

    .gallery-hero-card p {
        font-size: 0.94rem;
        line-height: 1.72;
    }

    .gallery-section-intro {
        margin-bottom: 26px;
    }

    .gallery-showcase .section-title {
        font-size: clamp(2rem, 6.4vw, 2.45rem);
        line-height: 1.08;
    }

    .gallery-showcase .section-subtitle {
        font-size: 0.97rem;
        line-height: 1.8;
    }

    .gallery-grid-premium {
        gap: 18px;
    }

    .gallery-photo-card {
        min-height: 320px;
    }

    .gallery-caption {
        font-size: 1.02rem;
    }

    .gallery-photo-card .overlay p {
        font-size: 0.92rem;
        line-height: 1.72;
    }

    .gallery-cta-wrap {
        padding-top: 4px;
    }

    .gallery-cta-banner {
        padding: 28px 24px;
    }

    .gallery-cta-banner h3 {
        font-size: clamp(1.9rem, 6vw, 2.35rem);
        line-height: 1.08;
    }

    .gallery-cta-banner p {
        font-size: 0.96rem;
        line-height: 1.78;
    }

    .gallery-cta-banner .button-row .btn {
        min-height: 46px;
    }

    .about-hero-copy,
    .about-hero-card {
        max-width: 100%;
    }

    .about-hero-copy {
        padding: 24px 22px 22px;
    }

    .about-hero-copy .page-hero-title {
        font-size: clamp(2.3rem, 7vw, 3rem);
        line-height: 1;
        margin-bottom: 12px;
    }

    .about-hero-copy p {
        font-size: 0.98rem;
        line-height: 1.8;
    }

    .about-hero-points {
        gap: 10px;
    }

    .about-hero-points span {
        padding: 10px 14px;
        font-size: 0.78rem;
    }

    .about-hero-card {
        padding: 24px 20px 22px;
        min-height: auto;
    }

    .about-hero-card .hero-card-logo img {
        width: 92px;
        margin: 0 auto;
    }

    .about-hero-card .badge-kicker {
        font-size: 0.64rem;
        letter-spacing: 0.12em;
    }

    .about-hero-card p {
        font-size: 0.94rem;
        line-height: 1.72;
    }

    .about-hero-motto {
        margin-top: 12px;
        font-size: 0.98rem;
    }

    .about-image {
        min-height: 320px;
    }

    .about-photo {
        min-height: 288px;
        object-position: center 28%;
    }

    .badge {
        right: 16px;
        bottom: 16px;
        max-width: 220px;
        padding: 12px 14px;
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .about-story .about-text {
        text-align: left;
    }

    .about-story .about-text .section-title {
        font-size: clamp(2rem, 6.5vw, 2.5rem);
        line-height: 1.06;
        margin-bottom: 14px;
    }

    .about-story .about-text p {
        font-size: 0.97rem;
        line-height: 1.82;
        margin-bottom: 14px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }

    .about-features li {
        align-items: flex-start;
        font-size: 0.94rem;
        line-height: 1.65;
    }

    .about-foundation .cards-grid {
        gap: 18px;
    }

    .about-card {
        padding: 24px 20px 22px;
    }

    .about-card .icon {
        width: 62px;
        height: 62px;
    }

    .about-card h3 {
        font-size: 1.18rem;
        line-height: 1.22;
    }

    .about-card p {
        font-size: 0.94rem;
        line-height: 1.76;
    }

    .inner-page .footer-brand {
        text-align: center;
    }

    .inner-page .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .inner-page .socials {
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .home-page .container {
        width: min(100% - 32px, 1240px);
    }

    .home-page .header .container {
        min-height: 72px;
        gap: 8px;
    }

    .home-page .logo {
        gap: 10px;
        max-width: calc(100% - 68px);
    }

    .home-page .logo-mark {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }

    .home-page .logo-copy {
        display: flex;
    }

    .home-page .logo-title {
        max-width: 180px;
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .home-page .logo-subtitle {
        display: none;
    }

    .home-page .nav {
        width: min(86vw, 320px);
        padding: 84px 22px 28px;
    }

    .home-page .hero-home {
        padding: 124px 0 50px;
    }

    .home-page .hero-copy-shell {
        padding: 24px 18px 20px;
        border-radius: 24px;
    }

    .home-page .hero-home .hero-content h1 {
        font-size: clamp(2.18rem, 11vw, 3rem);
    }

    .home-page .hero-content .sub-title {
        font-size: 0.72rem;
        padding: 8px 14px;
    }

    .home-page .hero-home .hero-content .motto {
        font-size: 1.06rem;
    }

    .home-page .hero-content .motto .arabic {
        font-size: 0.9rem;
    }

    .home-page .hero-home .hero-content p {
        font-size: 0.95rem;
    }

    .home-page .hero-buttons .btn {
        width: 100%;
        min-height: 48px;
        font-size: 0.84rem;
    }

    .home-page .hero-value-strip {
        gap: 10px 8px;
    }

    .home-page .hero-value-strip span {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
        width: auto;
        min-width: 0;
        font-size: 0.76rem;
        line-height: 1.4;
        text-align: center;
    }

    .home-page .hero-visual-card {
        padding: 12px;
        border-radius: 26px;
    }

    .home-page .hero-image-chip,
    .home-page .hero-image-badge {
        padding: 12px 13px;
        border-radius: 16px;
    }

    .home-page .hero-image-chip strong,
    .home-page .hero-image-badge strong {
        font-size: 0.86rem;
    }

    .home-page .hero-image-chip small {
        font-size: 0.74rem;
    }

    .home-page .hero-image-badge-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .home-page .hero-badge-logo {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .home-page .section {
        padding: 50px 0;
    }

    .home-page .section-header {
        margin-bottom: 24px;
    }

    .home-page .section-title {
        font-size: clamp(1.78rem, 8vw, 2.2rem);
    }

    .home-page .section-subtitle {
        font-size: 0.92rem;
    }

    .home-page .cards-grid-home,
    .home-page .why-grid {
        gap: 14px;
    }

    .home-page .feature-card,
    .home-page .why-card {
        padding: 22px 18px 20px;
    }

    .home-page .feature-card h3,
    .home-page .why-card h3 {
        font-size: 1.08rem;
    }

    .home-page .feature-card p,
    .home-page .why-card p {
        font-size: 0.92rem;
    }

    .home-page .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
    }

    .home-page .footer-grid > :first-child,
    .home-page .footer-grid > :last-child {
        grid-column: 1 / -1;
    }

    .home-page .footer-brand-card {
        width: 120px;
        min-height: 120px;
        margin-left: auto;
        margin-right: auto;
    }

    .home-page .footer h4 {
        font-size: 1.02rem;
    }

    .home-page .footer ul li a,
    .home-page .footer-brand p {
        font-size: 0.9rem;
    }

    .home-page .footer-bottom {
        align-items: center;
        text-align: center;
    }

    .inner-page .header .container {
        min-height: 72px;
        gap: 8px;
    }

    .inner-page .logo {
        gap: 10px;
        max-width: calc(100% - 68px);
    }

    .inner-page .logo-mark {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }

    .inner-page .logo-copy {
        display: flex;
    }

    .inner-page .logo-title {
        max-width: 180px;
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .inner-page .logo-subtitle {
        display: none;
    }

    .inner-page .nav {
        width: min(86vw, 320px);
        padding: 84px 22px 28px;
    }

    .academics-hero-copy {
        padding: 22px 18px 18px;
        border-radius: 22px;
    }

    .academics-hero-copy .page-hero-label {
        font-size: 0.72rem;
        padding: 8px 14px;
    }

    .academics-hero-copy .page-hero-title {
        font-size: clamp(2rem, 9vw, 2.55rem);
        line-height: 0.98;
    }

    .academics-hero-copy p {
        font-size: 0.94rem;
        line-height: 1.76;
    }

    .academics-hero-points span,
    .academics-hero-list span {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
        min-width: 0;
        text-align: center;
        font-size: 0.75rem;
        line-height: 1.45;
    }

    .academics-hero-card {
        padding: 22px 18px 20px;
        border-radius: 22px;
    }

    .academics-hero-card h3 {
        font-size: 1.38rem;
    }

    .academics-hero-card p {
        font-size: 0.9rem;
    }

    .academics-pathways .section-title,
    .academics-approach .section-title {
        font-size: clamp(1.82rem, 8vw, 2.18rem);
    }

    .academics-pathways .section-subtitle,
    .academics-approach .section-subtitle {
        font-size: 0.93rem;
    }

    .pathway-card,
    .approach-card {
        padding: 22px 18px 20px;
    }

    .pathway-card .card-tag {
        font-size: 0.68rem;
        padding: 8px 11px;
        letter-spacing: 0.12em;
    }

    .pathway-card h3,
    .approach-card h3 {
        font-size: 1.08rem;
    }

    .pathway-card p,
    .approach-card p {
        font-size: 0.92rem;
    }

    .pathway-card .btn,
    .academics-cta-banner .btn {
        width: 100%;
        min-height: 44px;
    }

    .academics-cta-banner {
        padding: 24px 18px;
    }

    .academics-cta-banner .cta-banner-content {
        gap: 18px;
    }

    .academics-cta-banner h3 {
        font-size: clamp(1.7rem, 8vw, 2.05rem);
    }

    .academics-cta-banner p {
        font-size: 0.92rem;
    }

    .admissions-hero-copy {
        padding: 22px 18px 18px;
        border-radius: 22px;
    }

    .admissions-hero-copy .page-hero-label {
        font-size: 0.72rem;
        padding: 8px 14px;
    }

    .admissions-hero-copy .page-hero-title {
        font-size: clamp(2rem, 9vw, 2.55rem);
        line-height: 0.98;
    }

    .admissions-hero-copy p {
        font-size: 0.94rem;
        line-height: 1.76;
    }

    .admissions-hero-copy .hero-buttons .btn {
        width: 100%;
        min-height: 48px;
    }

    .admissions-hero-card {
        padding: 22px 18px 20px;
        border-radius: 22px;
    }

    .admissions-hero-card h3 {
        font-size: 1.38rem;
    }

    .admissions-hero-card p {
        font-size: 0.9rem;
    }

    .admissions-hero-points span {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
        min-width: 0;
        text-align: center;
        font-size: 0.75rem;
        line-height: 1.45;
    }

    .step-card {
        padding: 18px 16px 16px;
    }

    .step-card .num {
        width: 42px;
        height: 42px;
    }

    .step-card h4 {
        font-size: 1rem;
    }

    .step-card p {
        font-size: 0.92rem;
    }

    .admissions-form-premium {
        padding: 26px 18px 22px;
    }

    .admissions-form-premium .form-group input,
    .admissions-form-premium .form-group select {
        min-height: 46px;
    }

    .support-card {
        padding: 22px 18px 20px;
    }

    .support-card h3 {
        font-size: 1.08rem;
    }

    .support-card p {
        font-size: 0.92rem;
    }

    .admissions-cta-banner {
        padding: 24px 18px;
    }

    .admissions-cta-banner .cta-banner-content {
        gap: 18px;
    }

    .admissions-cta-banner h3 {
        font-size: clamp(1.7rem, 8vw, 2.05rem);
    }

    .admissions-cta-banner p {
        font-size: 0.92rem;
    }

    .admissions-cta-banner .btn {
        width: 100%;
        min-height: 44px;
    }

    .about-hero-copy {
        padding: 22px 18px 18px;
        border-radius: 22px;
    }

    .about-hero-copy .page-hero-label {
        font-size: 0.72rem;
        padding: 8px 14px;
    }

    .about-hero-copy .page-hero-title {
        font-size: clamp(2.05rem, 9vw, 2.65rem);
        line-height: 0.98;
    }

    .about-hero-copy p {
        font-size: 0.94rem;
        line-height: 1.76;
    }

    .about-hero-points span {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
        min-width: 0;
        text-align: center;
        font-size: 0.75rem;
        line-height: 1.45;
    }

    .about-hero-card {
        padding: 22px 18px 20px;
        border-radius: 22px;
    }

    .about-hero-card .hero-card-logo img {
        width: 82px;
    }

    .about-hero-card h3 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .about-hero-card p {
        font-size: 0.9rem;
    }

    .about-image {
        min-height: 286px;
        padding: 12px;
    }

    .about-photo {
        min-height: 260px;
        border-radius: 18px;
        object-position: center 24%;
    }

    .badge {
        position: static;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 12px;
        max-width: none;
        width: auto;
        font-size: 0.76rem;
    }

    .about-story .about-text .section-title {
        font-size: clamp(1.82rem, 8vw, 2.2rem);
    }

    .about-story .about-text p {
        font-size: 0.93rem;
        margin-bottom: 12px;
    }

    .about-features li {
        font-size: 0.9rem;
        gap: 9px;
    }

    .about-card {
        padding: 22px 18px 20px;
    }

    .inner-page .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
    }

    .inner-page .footer-grid > :first-child,
    .inner-page .footer-grid > :last-child {
        grid-column: 1 / -1;
    }

    .inner-page .footer-brand-card {
        width: 120px;
        min-height: 120px;
        margin-left: auto;
        margin-right: auto;
    }

    .inner-page .footer h4 {
        font-size: 1.02rem;
    }

    .inner-page .footer ul li a,
    .inner-page .footer-brand p {
        font-size: 0.9rem;
    }

    .inner-page .footer-bottom {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero,
    .page-hero {
        padding-top: 44px;
    }

    .logo-copy {
        display: none;
    }

    .bg-cream .container {
        width: min(100% - 32px, 1180px);
    }

    .hero-card,
    .page-hero-card,
    .admissions-form,
    .contact-form,
    .feature-panel,
    .cta-banner {
        padding: 22px 16px;
    }

    .btn {
        padding: 11px 20px;
        font-size: 0.82rem;
    }

    .hero-home .hero-content {
        text-align: left;
        max-width: 100%;
    }

    .about-hero-copy {
        padding: 24px 18px 20px;
        border-radius: 24px;
    }

    .academics-hero-copy {
        padding: 24px 18px 20px;
        border-radius: 24px;
    }

    .admissions-hero-copy {
        padding: 24px 18px 20px;
        border-radius: 24px;
    }

    .gallery-hero-copy {
        padding: 22px 17px 18px;
        border-radius: 24px;
    }

    .contact-hero-copy {
        padding: 24px 18px 20px;
        border-radius: 24px;
    }

    .about-hero-card {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .academics-hero-card {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .admissions-hero-card {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .gallery-hero-card {
        padding: 22px 17px 18px;
        border-radius: 24px;
    }

    .contact-hero-card {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .about-hero-card h3 {
        font-size: 1.5rem;
    }

    .academics-hero-card h3 {
        font-size: 1.5rem;
    }

    .admissions-hero-card h3 {
        font-size: 1.5rem;
    }

    .gallery-hero-card h3 {
        font-size: 1.38rem;
    }

    .gallery-hero-copy .page-hero-label {
        font-size: 0.7rem;
        padding: 7px 13px;
        margin-bottom: 12px;
    }

    .gallery-hero-copy .page-hero-title {
        font-size: clamp(1.9rem, 10.2vw, 2.35rem);
        line-height: 0.98;
        margin-bottom: 10px;
    }

    .gallery-hero-copy p {
        font-size: 0.91rem;
        line-height: 1.68;
        margin-bottom: 16px;
    }

    .gallery-hero-points,
    .gallery-hero-card-tags {
        gap: 8px;
    }

    .gallery-hero-points span,
    .gallery-hero-card-tags span {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
        justify-content: center;
        text-align: center;
        padding: 9px 12px;
        font-size: 0.74rem;
        line-height: 1.4;
    }

    .gallery-hero-card p {
        font-size: 0.89rem;
        line-height: 1.66;
        margin-bottom: 16px;
    }

    .contact-hero-card h3 {
        font-size: 1.5rem;
    }

    .about-image {
        min-height: 300px;
        padding: 12px;
    }

    .about-photo {
        min-height: 276px;
        border-radius: 18px;
    }

    .pathway-card {
        padding: 24px 18px 20px;
    }

    .hero-copy-shell {
        padding: 24px 18px 20px;
        border-radius: 26px;
    }

    .hero-home .hero-content p,
    .hero-home .hero-content h1,
    .hero-home .hero-content .sub-title,
    .hero-home .hero-content .motto {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-home .hero-content h1 {
        max-width: 100%;
        font-size: clamp(2.3rem, 13vw, 3.45rem);
        line-height: 0.98;
        text-wrap: balance;
    }

    .hero-home .hero-content p {
        max-width: 100%;
        font-size: 0.98rem;
    }

    .hero-buttons {
        width: 100%;
    }

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

    .hero-kicker-row,
    .hero-value-strip {
        justify-content: flex-start;
    }

    .hero-value-strip span {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-image-frame {
        aspect-ratio: 1 / 1;
    }

    .hero-image-chip {
        padding: 12px 14px;
        border-radius: 16px;
    }

    .hero-image-badge {
        padding: 13px 14px;
        border-radius: 18px;
    }

    .hero-image-badge-bottom {
        flex-direction: row;
    }

    .gallery-grid-premium {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-photo-card {
        min-height: 282px;
        border-radius: 22px;
    }

    .gallery-photo-card .overlay {
        padding: 18px 16px 16px;
    }

    .gallery-caption {
        font-size: 0.98rem;
    }

    .gallery-photo-card .overlay p {
        font-size: 0.88rem;
        line-height: 1.62;
    }

    .gallery-cta-banner .button-row {
        width: 100%;
        justify-content: stretch;
        gap: 10px;
    }

    .gallery-cta-banner .button-row .btn {
        width: 100%;
        min-height: 46px;
    }

    .gallery-cta-banner {
        padding: 22px 18px;
    }

    .gallery-cta-banner .cta-banner-content {
        gap: 16px;
    }

    .gallery-cta-banner h3 {
        font-size: clamp(1.62rem, 8.5vw, 1.95rem);
    }

    .gallery-cta-banner p {
        font-size: 0.9rem;
        line-height: 1.66;
    }

    .inner-page .footer {
        padding-top: 42px;
    }

    .inner-page .footer-grid {
        gap: 18px;
    }

    .inner-page .footer-brand {
        gap: 14px;
    }

    .inner-page .footer ul {
        gap: 9px;
    }

    .inner-page .footer-bottom {
        gap: 8px;
    }

    .contact-form-premium {
        padding: 26px 18px 24px;
        margin-bottom: 14px;
    }

    .contact-location-card {
        padding: 24px 18px;
        gap: 18px;
    }

    .contact-location-action,
    .contact-location-action .btn {
        width: 100%;
    }

    .contact-main-section {
        padding-bottom: 72px;
    }

    .contact-location-section {
        padding-top: 12px;
    }

    .back-top {
        right: 16px;
        bottom: 16px;
    }

    .contact-detail-card {
        padding: 18px 16px;
    }

    .home-page .logo-copy {
        display: flex;
    }

    .home-page .logo-subtitle {
        display: none;
    }

    .inner-page .logo-copy {
        display: flex;
    }

    .inner-page .logo-subtitle {
        display: none;
    }

    .academics-hero-copy {
        padding: 24px 18px 20px;
        border-radius: 24px;
    }

    .academics-hero-card {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .academics-hero-card h3 {
        font-size: 1.5rem;
    }

    .pathway-card {
        padding: 24px 18px 20px;
    }
}

@media (max-width: 390px) {
    .home-page .container {
        width: min(100% - 28px, 1240px);
    }

    .home-page .header .container {
        min-height: 68px;
    }

    .home-page .logo-mark {
        width: 52px;
        height: 52px;
    }

    .home-page .logo-title {
        max-width: 156px;
        font-size: 0.94rem;
    }

    .home-page .hero-home .hero-content h1 {
        font-size: clamp(2.02rem, 11.5vw, 2.65rem);
    }

    .home-page .hero-value-strip span {
        flex-basis: 100%;
    }

    .home-page .feature-card,
    .home-page .why-card {
        padding: 20px 16px 18px;
    }

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

    .inner-page .container {
        width: min(100% - 28px, 1240px);
    }

    .inner-page .header .container {
        min-height: 68px;
    }

    .inner-page .logo-mark {
        width: 52px;
        height: 52px;
    }

    .inner-page .logo-title {
        max-width: 156px;
        font-size: 0.94rem;
    }

    .academics-hero-points span,
    .academics-hero-list span {
        flex-basis: 100%;
    }

    .pathway-card,
    .approach-card {
        padding: 20px 16px 18px;
    }

    .admissions-hero-points span {
        flex-basis: 100%;
    }

    .step-card,
    .support-card {
        padding: 20px 16px 18px;
    }

    .about-hero-points span {
        flex-basis: 100%;
    }

    .about-card {
        padding: 20px 16px 18px;
    }

    .gallery-hero-copy {
        padding: 20px 15px 17px;
    }

    .gallery-hero-copy .page-hero-title {
        font-size: clamp(1.78rem, 10.8vw, 2.12rem);
    }

    .gallery-hero-copy p {
        font-size: 0.88rem;
        line-height: 1.62;
    }

    .gallery-hero-card {
        padding: 20px 15px 17px;
    }

    .gallery-hero-card h3 {
        font-size: 1.28rem;
    }

    .gallery-hero-card p {
        font-size: 0.86rem;
        line-height: 1.58;
    }

    .gallery-hero-points span,
    .gallery-hero-card-tags span {
        flex-basis: 100%;
        padding: 9px 11px;
    }

    .gallery-photo-card {
        min-height: 268px;
    }

    .gallery-photo-card .overlay {
        padding: 16px 14px 14px;
    }

    .gallery-caption {
        font-size: 0.94rem;
    }

    .gallery-photo-card .overlay p {
        font-size: 0.84rem;
        line-height: 1.56;
    }

    .gallery-cta-banner {
        padding: 20px 15px;
    }

    .gallery-cta-banner .button-row {
        gap: 9px;
    }

    .gallery-cta-banner .button-row .btn {
        min-height: 44px;
        font-size: 0.8rem;
    }

    .contact-main-section {
        padding-top: 56px;
        padding-bottom: 72px;
    }

    .contact-form-premium {
        padding: 24px 16px 24px;
        margin-bottom: 16px;
    }

    .contact-location-card {
        padding: 22px 16px;
        gap: 16px;
    }

    .contact-location-intro {
        margin-bottom: 18px;
    }

    .back-top {
        width: 44px;
        height: 44px;
        right: 14px;
        bottom: 14px;
    }

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