/* معهد أوروك — تصميم فاخر · طبقة تفاصيل دقيقة */
:root {
  --font-body: "Cairo", system-ui, sans-serif;
  --font-display: "El Messiri", "Cairo", serif;
  --color-bg: #f3efe8;
  --color-bg-deep: #e6e0d6;
  --color-surface: #fffdf9;
  --color-ink: #0c1222;
  --color-ink-soft: #334155;
  --color-muted: #5c6578;
  --color-navy: #0a1524;
  --color-navy-mid: #132337;
  --color-teal: #0d9488;
  --color-teal-deep: #0f766e;
  --color-teal-glow: rgba(13, 148, 136, 0.22);
  --color-gold: #c9a227;
  --color-gold-bright: #e8c547;
  --color-gold-light: #f4e4a6;
  --color-accent-warm: #b45309;
  --border-fine: rgba(15, 23, 42, 0.07);
  --border-hairline: rgba(212, 175, 55, 0.22);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-soft: 0 4px 36px rgba(15, 23, 42, 0.07);
  --shadow-lift: 0 28px 56px rgba(15, 23, 42, 0.11);
  --shadow-inner-light: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.78;
  letter-spacing: 0.01em;
  color: var(--color-ink);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 100% 80% at 100% -10%, rgba(201, 162, 39, 0.07), transparent 52%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(13, 148, 136, 0.06), transparent 50%),
    linear-gradient(180deg, #faf7f2 0%, var(--color-bg) 35%, #f0ebe3 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

::selection {
  background: rgba(13, 148, 136, 0.22);
  color: var(--color-navy);
}

:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline-offset: 4px;
}

/* شريط تمرير أنيق (متصفحات ويب كيت) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.04);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.45), rgba(12, 25, 41, 0.35));
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

a {
  color: var(--color-teal-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1160px, calc(100vw - 2rem));
  margin-inline: auto;
  padding-inline: clamp(0px, 2vw, 6px);
}

/* ——— Header ——— */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition:
    background 0.45s var(--ease-out-expo),
    box-shadow 0.45s var(--ease-out-expo),
    border-color 0.45s ease;
  background: rgba(12, 25, 41, 0.42);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header--scrolled {
  background: rgba(255, 253, 250, 0.94);
  border-bottom-color: rgba(15, 23, 42, 0.05);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 12px 40px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
}

.header--scrolled .logo__text,
.header--scrolled .nav a {
  color: var(--color-muted);
}

.header--scrolled .nav a:hover {
  color: var(--color-navy);
}

.header--scrolled .nav-toggle span {
  background: var(--color-ink);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.header:not(.header--scrolled) .logo__text {
  color: #f8fafc;
}

.header:not(.header--scrolled) .nav a {
  color: rgba(248, 250, 252, 0.82);
}

.header:not(.header--scrolled) .nav a:hover {
  color: #fff;
}

.header:not(.header--scrolled) .nav-toggle span {
  background: #fff;
}

.header__toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04))
      padding-box,
    linear-gradient(145deg, rgba(212, 175, 55, 0.35), rgba(13, 148, 136, 0.35)) border-box;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.lang-pill {
  min-width: 2.05rem;
  height: 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(248, 250, 252, 0.9);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s var(--ease-out-expo),
    box-shadow 0.25s ease;
}

.lang-pill:hover {
  color: #fff;
  transform: translateY(-1px);
}

.lang-pill.is-active {
  color: #0a1524;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 55%, #f4e4a6 100%);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(212, 175, 55, 0.45) inset;
}

.lang-pill:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(10, 22, 40, 0.9),
    0 0 0 4px rgba(13, 148, 136, 0.45);
}

.header--scrolled .lang-picker {
  border-color: rgba(15, 23, 42, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 250, 0.88))
      padding-box,
    linear-gradient(145deg, rgba(212, 175, 55, 0.28), rgba(13, 148, 136, 0.22)) border-box;
}

.header--scrolled .lang-pill {
  color: rgba(15, 23, 42, 0.8);
}

.header--scrolled .lang-pill.is-active {
  color: #0a1524;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f4e4a6 100%);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  min-width: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo__img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 0 0 2px rgba(212, 175, 55, 0.5),
    0 10px 28px rgba(0, 0, 0, 0.22);
  transition: box-shadow 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}

.logo:hover .logo__img {
  transform: scale(1.04);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.45) inset,
    0 0 0 2px rgba(244, 228, 166, 0.65),
    0 14px 36px rgba(13, 148, 136, 0.2);
}

.nav {
  display: flex;
  gap: 0.25rem 1.15rem;
  align-items: center;
}

.nav a {
  position: relative;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  padding: 0.35rem 0.15rem;
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-teal));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease-out-expo);
  opacity: 0.9;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav a:hover {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
}

@media (max-width: 960px) {
  body {
    background-attachment: scroll;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .header__inner {
    gap: 0.65rem;
  }

  .header__toolbar {
    flex-wrap: nowrap;
    gap: 0.45rem;
  }

  .lang-pill {
    min-width: 1.85rem;
    height: 1.8rem;
    font-size: 0.66rem;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--color-surface);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-lift);
    display: none;
    z-index: 60;
  }

  .header:not(.header--scrolled) .nav {
    background: rgba(15, 23, 42, 0.97);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .header:not(.header--scrolled) .nav a {
    color: rgba(248, 250, 252, 0.9);
  }

  .nav.is-open {
    display: flex;
  }
}

@media (max-width: 560px) {
  .logo__text {
    font-size: 0.96rem;
  }

  .header__toolbar {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 420px) {
  .logo__text {
    display: none;
  }

  .btn--header {
    padding: 0.42rem 0.54rem;
    font-size: 0.7rem;
  }

  .lang-pill {
    min-width: 1.72rem;
    height: 1.72rem;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.25s var(--ease-out-expo),
    box-shadow 0.25s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--color-bg),
    0 0 0 5px rgba(13, 148, 136, 0.55);
}

.btn--lms {
  background: linear-gradient(145deg, var(--color-teal), var(--color-teal-deep));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 20px rgba(13, 148, 136, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn--lms:hover {
  color: #fff;
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.55);
}

.btn--glow {
  position: relative;
}

.btn--glow::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.5), transparent 50%);
  z-index: -1;
  opacity: 0.6;
  filter: blur(12px);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn--outline-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(244, 228, 166, 0.55);
}

.btn--header {
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .btn--header {
    font-size: 0.74rem;
    padding: 0.45rem 0.6rem;
  }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  padding: clamp(4rem, 12vw, 7rem) 0 clamp(5rem, 10vw, 8rem);
  overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(13, 148, 136, 0.38), transparent),
    linear-gradient(165deg, #070f1a 0%, var(--color-navy) 38%, #0a3d3a 72%, #0c4a46 100%);
  color: #e2e8f0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 65% at 50% 35%, transparent 25%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(212, 175, 55, 0.04) 0%,
    transparent 22%,
    transparent 78%,
    rgba(0, 0, 0, 0.2) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero__aurora {
  position: absolute;
  inset: -20% -10%;
  z-index: 0;
  background: conic-gradient(
    from 200deg at 50% 50%,
    rgba(13, 148, 136, 0.35),
    rgba(212, 175, 55, 0.15),
    rgba(99, 102, 241, 0.12),
    rgba(13, 148, 136, 0.25)
  );
  animation: aurora-shift 18s ease-in-out infinite alternate;
  pointer-events: none;
  opacity: 0.85;
}

@keyframes aurora-shift {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(25deg) scale(1.08);
  }
}

.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__grid-3d {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  transform: perspective(800px) rotateX(12deg) scale(1.15);
  transform-origin: center top;
  pointer-events: none;
  opacity: 0.5;
}

.hero__orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orb-float 12s ease-in-out infinite;
}

.hero__orb--a {
  width: min(420px, 60vw);
  height: min(420px, 60vw);
  top: -8%;
  right: -5%;
  background: rgba(13, 148, 136, 0.45);
  animation-delay: 0s;
}

.hero__orb--b {
  width: min(320px, 45vw);
  height: min(320px, 45vw);
  bottom: 5%;
  left: -8%;
  background: rgba(212, 175, 55, 0.2);
  animation-delay: -4s;
}

.hero__orb--c {
  width: min(200px, 30vw);
  height: min(200px, 30vw);
  top: 40%;
  left: 35%;
  background: rgba(99, 102, 241, 0.15);
  animation-delay: -7s;
}

@keyframes orb-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, -18px) scale(1.05);
  }
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

@media (min-width: 960px) {
  .hero__layout {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

@media (max-width: 959px) {
  .hero {
    min-height: auto;
    padding-top: clamp(4.2rem, 14vw, 5.25rem);
  }

  .hero__layout {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    text-align: right;
  }

  html[dir="ltr"] .hero__copy {
    text-align: left;
  }
}

.hero__kicker {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 228, 166, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.hero__headline {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.25),
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 24px 64px rgba(0, 0, 0, 0.25);
}

.hero__headline-accent {
  display: inline-block;
  background: linear-gradient(120deg, var(--color-gold-light), var(--color-gold), #b45309);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.35));
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 34rem;
  font-size: 1.08rem;
  color: rgba(226, 232, 240, 0.9);
  font-weight: 500;
  line-height: 1.85;
  text-wrap: pretty;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

@media (max-width: 560px) {
  .hero__actions .btn {
    width: 100%;
  }
}

.hero__metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}

@media (max-width: 560px) {
  .hero__metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .hero__metric {
    min-width: 0;
  }
}

.hero__metric {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 1.05rem 0.9rem 1.2rem;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.11) 0%,
    rgba(255, 255, 255, 0.035) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 28px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  min-width: min(11rem, 100%);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease, border-color 0.35s ease;
}

.hero__metric::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.65rem;
  bottom: 0.65rem;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--color-gold-bright), var(--color-teal-deep));
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.45);
}

.hero__metric:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero__metric-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.hero__metric-label {
  font-size: 0.82rem;
  color: rgba(203, 213, 225, 0.85);
  max-width: 11rem;
  line-height: 1.45;
}

/* Hero 3D stage */
.hero__stage {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}

@media (max-width: 860px) {
  .hero__stage {
    display: none;
  }
}

.hero__perspective {
  position: relative;
  width: min(100%, 380px);
  height: 320px;
  perspective: 1200px;
  perspective-origin: 50% 40%;
}

.hero__float-card {
  position: absolute;
  inset: auto;
  width: 78%;
  height: 200px;
  left: 50%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out-expo);
}

.hero__float-card--back {
  top: 8%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  transform: translateX(-50%) translateZ(-80px) rotateX(18deg) rotateY(-22deg);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
  animation: card-drift-back 8s ease-in-out infinite;
}

.hero__float-card--mid {
  top: 18%;
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.35), rgba(15, 118, 110, 0.15));
  transform: translateX(-50%) translateZ(-35px) rotateX(12deg) rotateY(-10deg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  animation: card-drift-mid 8s ease-in-out infinite;
  animation-delay: -2s;
}

.hero__float-card--front {
  top: 28%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.5rem;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateX(-50%) translateZ(40px) rotateX(8deg) rotateY(-6deg);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.35) inset,
    0 28px 56px rgba(0, 0, 0, 0.4);
  animation: card-drift-front 8s ease-in-out infinite;
  animation-delay: -4s;
}

.hero__float-icon {
  font-size: 1.25rem;
  color: var(--color-gold-light);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.hero__float-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
}

.hero__float-sub {
  font-size: 0.88rem;
  color: rgba(226, 232, 240, 0.75);
}

@keyframes card-drift-back {
  0%,
  100% {
    transform: translateX(-50%) translateZ(-80px) rotateX(18deg) rotateY(-22deg) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateZ(-80px) rotateX(18deg) rotateY(-22deg) translateY(-8px);
  }
}

@keyframes card-drift-mid {
  0%,
  100% {
    transform: translateX(-50%) translateZ(-35px) rotateX(12deg) rotateY(-10deg) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateZ(-35px) rotateX(12deg) rotateY(-10deg) translateY(-10px);
  }
}

@keyframes card-drift-front {
  0%,
  100% {
    transform: translateX(-50%) translateZ(40px) rotateX(8deg) rotateY(-6deg) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateZ(40px) rotateX(8deg) rotateY(-6deg) translateY(-10px);
  }
}

.hero__fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--color-bg));
  pointer-events: none;
  z-index: 3;
}

/* ——— Section heads ——— */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
  max-width: 720px;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.section-head--tight .section-head__text {
  margin-bottom: 0;
}

.section-head--tight .section-head__title {
  padding-bottom: 0.65rem;
  margin-bottom: 0.65rem;
}

.section-head--tight .section-head__title::after {
  width: min(4rem, 38%);
  height: 2px;
}

.section-head__eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-teal-deep);
  background: linear-gradient(
    120deg,
    rgba(13, 148, 136, 0.12) 0%,
    rgba(201, 162, 39, 0.1) 100%
  );
  border-radius: 999px;
  border: 1px solid rgba(13, 148, 136, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.section-head__title {
  position: relative;
  margin: 0 0 0.85rem;
  padding-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.section-head__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: min(5rem, 42%);
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-gold));
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.35);
}

.section-head--center .section-head__title::after {
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: min(5.5rem, 55%);
}

.section-head__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 52ch;
}

.section-head--center .section-head__text {
  margin-inline: auto;
}

.section--about {
  position: relative;
  background:
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(201, 162, 39, 0.06), transparent 52%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(13, 148, 136, 0.05), transparent 48%),
    var(--color-surface);
  border-block: 1px solid rgba(15, 23, 42, 0.06);
}

.section--about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230f172a' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.65;
  pointer-events: none;
}

.section--about .container {
  position: relative;
  z-index: 1;
}

/* Pillars 3D */
.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 820px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar {
  perspective: 1000px;
}

.pillar__inner {
  position: relative;
  height: 100%;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, #fff 0%, var(--color-bg) 100%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  overflow: hidden;
  transition:
    transform 0.5s var(--ease-out-expo),
    box-shadow 0.5s ease,
    border-color 0.45s ease;
}

.pillar__inner::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 55%;
  height: 55%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.09), transparent 68%);
  pointer-events: none;
}

.pillar__inner::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 40%;
  height: 3px;
  border-start-start-radius: 3px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45));
  opacity: 0.85;
  pointer-events: none;
}

.pillar:hover .pillar__inner {
  transform: rotateX(4deg) translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(13, 148, 136, 0.14);
}

.pillar__inner > * {
  position: relative;
  z-index: 1;
}

.pillar__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-teal), var(--color-navy));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.35;
  margin-bottom: 0.75rem;
}

.pillar__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-navy);
}

.pillar__text {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* Tracks */
.section--tracks {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-deep) 100%);
}

.tracks {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .tracks {
    grid-template-columns: repeat(3, 1fr);
  }
}

.track {
  perspective: 900px;
}

.track__face {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s ease;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.track__face::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-teal) 0%,
    var(--color-gold-bright) 48%,
    var(--color-teal-deep) 100%
  );
  opacity: 0.95;
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.35);
}

.track__face::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 80% 55% at 100% 0%,
    rgba(13, 148, 136, 0.06),
    transparent 55%
  );
  pointer-events: none;
  opacity: 0.9;
}

.track:hover .track__face {
  transform: translateY(-8px) rotateX(6deg);
  box-shadow:
    var(--shadow-lift),
    0 0 0 1px rgba(13, 148, 136, 0.08);
}

.track__face > * {
  position: relative;
  z-index: 1;
}

.track__badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-teal-deep);
  background: rgba(13, 148, 136, 0.12);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(13, 148, 136, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.track__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
}

.track__desc {
  margin: 0;
  font-size: 0.97rem;
  color: var(--color-muted);
}

/* Faculty */
.section--faculty {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(13, 148, 136, 0.12), transparent 55%),
    var(--color-surface);
  border-block: 1px solid rgba(13, 148, 136, 0.12);
}

.faculty-slider--lux {
  filter: drop-shadow(0 28px 48px rgba(15, 23, 42, 0.12));
}

.faculty-slider {
  position: relative;
  max-width: 1000px;
  margin: 0.5rem auto 0;
  padding: clamp(0.75rem, 2vw, 1.25rem);
}

.faculty-slider__frame {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    #c9a227 0%,
    #f4e4a6 22%,
    #d4af37 48%,
    #8b6914 78%,
    #e8c547 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.4) inset,
    0 8px 32px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.faculty-slider__frame::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 0 0 2px rgba(12, 25, 41, 0.1) inset;
  pointer-events: none;
}

.faculty-slider__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
  padding: clamp(10px, 2vw, 14px);
  z-index: 1;
}

@media (max-width: 640px) {
  .faculty-slider__inner {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .faculty-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .faculty-slider__arrow--prev {
    left: 6px;
  }

  .faculty-slider__arrow--next {
    right: 6px;
  }
}

.faculty-slider__viewport {
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, #0f766e 0%, #0c4a6e 100%);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.faculty-slider__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  direction: ltr;
  transition: transform 0.75s var(--ease-out-expo);
  will-change: transform;
}

.faculty-slider__slide {
  flex: 0 0 100%;
  min-width: 0;
}

.faculty-slide {
  margin: 0;
  line-height: 0;
  position: relative;
  overflow: hidden;
}

.faculty-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    transparent 30%,
    transparent 70%,
    rgba(0, 0, 0, 0.06) 100%
  );
}

.faculty-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.faculty-slider__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.95), rgba(12, 74, 110, 0.95));
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.faculty-slider__arrow:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.faculty-slider__arrow:focus-visible {
  outline: 3px solid var(--color-gold-light);
  outline-offset: 3px;
}

.faculty-slider__arrow span {
  display: block;
  margin-top: -2px;
}

@media (max-width: 480px) {
  .faculty-slider__arrow {
    width: 42px;
    height: 42px;
    font-size: 1.28rem;
  }

  .faculty-slider__controls {
    gap: 0.75rem;
  }
}

.faculty-slider__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
  position: relative;
  z-index: 1;
}

.faculty-slider__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}

.faculty-slider__dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.faculty-slider__dots button[aria-selected="true"] {
  background: linear-gradient(145deg, var(--color-teal), #0c4a6e);
  transform: scale(1.25);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.45);
}

.faculty-slider__dots button:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
}

.faculty-slider__counter {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-muted);
  letter-spacing: 0.06em;
}

/* Contact */
.section--contact {
  background: linear-gradient(165deg, var(--color-bg-deep) 0%, var(--color-bg) 50%, #dfe8e6 100%);
}

.contact {
  display: grid;
  gap: 2.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .contact {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.contact__panel {
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    155deg,
    rgba(255, 252, 247, 0.92) 0%,
    rgba(255, 253, 250, 0.72) 100%
  );
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    var(--shadow-soft),
    0 1px 0 rgba(212, 175, 55, 0.12) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform-style: preserve-3d;
  overflow: hidden;
}

.contact__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(13, 148, 136, 0.04) 100%
  );
  pointer-events: none;
}

.contact__panel > * {
  position: relative;
  z-index: 1;
}

.contact__lead {
  margin-bottom: 1.25rem;
}

.contact__list {
  margin: 1.5rem 0 0;
}

.contact__row {
  margin-bottom: 1.35rem;
}

.contact__row dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--color-accent-warm);
  margin-bottom: 0.35rem;
}

.contact__row dd {
  margin: 0;
  color: var(--color-ink);
  font-weight: 500;
}

.contact__link {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy);
  text-decoration: none;
  direction: ltr;
  unicode-bidi: embed;
}

.contact__link:hover {
  color: var(--color-teal-deep);
  text-decoration: underline;
}

.contact__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(320px, 52vw);
  padding-block: 0.5rem;
}

.contact__visual-inner {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 1.75rem);
  isolation: isolate;
  background:
    radial-gradient(ellipse 95% 75% at 18% 12%, rgba(255, 255, 255, 0.14), transparent 42%),
    radial-gradient(circle at 78% 82%, rgba(13, 148, 136, 0.28), transparent 48%),
    radial-gradient(circle at 35% 35%, rgba(212, 175, 55, 0.12), transparent 55%),
    radial-gradient(circle at 50% 50%, #132a42 0%, #0a1524 52%, #050a12 100%);
  box-shadow:
    0 4px 0 rgba(212, 175, 55, 0.12),
    0 40px 72px rgba(5, 10, 18, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 0 0 2px rgba(212, 175, 55, 0.18) inset,
    0 -24px 48px rgba(13, 148, 136, 0.12) inset;
  transform: perspective(1000px) rotateY(-7deg) rotateX(5deg);
  color: #fff;
}

@media (max-width: 900px) {
  .contact__visual {
    min-height: 260px;
  }

  .contact__visual-inner {
    transform: none;
  }
}

.contact__visual-inner::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.08), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.contact__visual-shine {
  position: absolute;
  inset: 6% 18% 52% 18%;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.04) 45%,
    transparent 70%
  );
  filter: blur(2px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.contact__rings {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.38);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 48px rgba(13, 148, 136, 0.25),
    0 0 80px rgba(212, 175, 55, 0.08);
  pointer-events: none;
  animation: ring-pulse 6s ease-in-out infinite;
  z-index: 0;
}

.contact__rings::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.04) inset;
}

@keyframes ring-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.025);
    opacity: 0.92;
  }
}

.contact__visual-plaque {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 88%;
  max-width: 17.5rem;
  padding: clamp(1.1rem, 3.5vw, 1.45rem) clamp(1rem, 3vw, 1.35rem);
  border-radius: var(--radius-md);
  text-align: center;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 45%,
    rgba(12, 25, 41, 0.35) 100%
  );
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 0 0 1px rgba(212, 175, 55, 0.12) inset;
}

.contact__visual-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.15rem;
  border-radius: 50%;
  color: var(--color-gold-light);
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.2), transparent 55%),
    linear-gradient(145deg, rgba(212, 175, 55, 0.35), rgba(12, 25, 41, 0.5));
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.contact__visual-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.contact__visual-ornament {
  display: block;
  width: min(3.5rem, 28%);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(244, 228, 166, 0.95) 20%,
    var(--color-teal) 80%,
    transparent
  );
  opacity: 0.95;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

.contact__pin {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 3.1vw, 1.55rem);
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 16rem;
  background: linear-gradient(120deg, #fff 0%, rgba(244, 228, 166, 0.98) 45%, #fff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.35));
}

.contact__divider {
  display: block;
  width: min(5rem, 42%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35) 50%,
    transparent
  );
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.contact__sub {
  margin: 0;
  font-size: clamp(0.82rem, 2.1vw, 0.95rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 17rem;
  color: rgba(241, 245, 249, 0.82);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}

.contact__sub::first-line {
  font-variant-numeric: lining-nums;
}

/* Footer */
.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 2.25rem) 0 clamp(1.2rem, 2.8vw, 1.5rem);
  background: linear-gradient(180deg, #07111f 0%, #0a1524 52%, #0b1728 100%);
  color: rgba(248, 250, 252, 0.9);
  font-size: 0.95rem;
  box-shadow: 0 -1px 0 rgba(212, 175, 55, 0.14);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.32) 50%,
    transparent
  );
  pointer-events: none;
}

.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(13, 148, 136, 0.08), transparent 58%),
    radial-gradient(ellipse 110% 90% at 50% 100%, rgba(212, 175, 55, 0.06), transparent 70%);
  opacity: 0.95;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer a {
  color: #fff;
  font-weight: 600;
  transition: color 0.25s ease;
}

.footer a:hover {
  color: var(--color-gold-light);
}

.footer__phone {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  direction: ltr;
  unicode-bidi: embed;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.footer__phone:hover {
  text-decoration: none;
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.09);
}

.footer__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  padding: 0;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__social-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
  transition:
    transform 0.22s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.footer__social-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  border-color: rgba(244, 228, 166, 0.55);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.footer__social-btn svg {
  width: 22px;
  height: 22px;
}

.footer__social-btn--facebook {
  color: #fff;
  background: linear-gradient(160deg, #1877f2, #0c63d4);
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}

.footer__social-btn--instagram {
  background: linear-gradient(145deg, #222, #333);
  box-shadow: 0 4px 14px rgba(188, 24, 136, 0.3);
}

.footer__social-btn--telegram {
  color: #fff;
  background: linear-gradient(165deg, #37aee2, #1e96c8);
  box-shadow: 0 4px 14px rgba(30, 150, 200, 0.5);
}

.footer__social-btn--tiktok {
  color: #fff;
  background: linear-gradient(145deg, #121212, #000);
  box-shadow: 0 4px 14px rgba(254, 44, 85, 0.4);
}

@media (min-width: 600px) {
  .footer__inner {
    justify-content: space-between;
  }
}

@media (max-width: 760px) {
  .footer__inner {
    justify-content: center;
  }

  .footer__copyright {
    width: 100%;
    text-align: center;
  }
}

.footer__copyright {
  margin: 0;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.88);
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.footer__dev {
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__dev::before {
  content: none;
}

.footer .footer__credit {
  display: inline-flex;
  position: relative;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  max-width: 100%;
  margin-inline: auto;
  padding: 0.5rem 0.8rem;
  text-decoration: none;
  color: rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.footer__credit-frame {
  display: none;
}

.footer .footer__credit:hover {
  text-decoration: none;
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.footer .footer__credit:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(10, 22, 40, 0.95),
    0 0 0 4px rgba(212, 175, 55, 0.45);
}

.footer__credit-kicker {
  display: none;
}

.footer__credit-body {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer__credit-logo-wrap {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__credit-logo {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: none;
}

.footer__credit-text {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(241, 245, 249, 0.92);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
}

.reveal--delay {
  transition-delay: 0.12s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* واتساب — أزرار ونموذج */
.btn__ico {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.btn--whatsapp-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(145deg, #25d366, #128c7e);
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 24px rgba(18, 140, 126, 0.45);
}

.btn--whatsapp-hero:hover {
  color: #fff !important;
  box-shadow: 0 10px 32px rgba(18, 140, 126, 0.55);
}

.contact__link--whatsapp {
  font-size: 1.1rem;
  font-weight: 800;
  color: #128c7e;
  text-decoration: none;
}

.contact__link--whatsapp:hover {
  color: #0d9488;
  text-decoration: underline;
}

.wa-form {
  margin-top: 1.75rem;
  padding: 1.6rem 1.45rem;
  border-radius: var(--radius-md);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(240, 253, 250, 0.72) 100%
  );
  border: 1px solid rgba(13, 148, 136, 0.22);
  box-shadow:
    0 10px 40px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.wa-form__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-navy);
}

.wa-form__hint {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.55;
}

.wa-form__fields {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .wa-form__fields {
    grid-template-columns: 1fr 1fr;
  }

  .wa-form__field--full {
    grid-column: 1 / -1;
  }
}

.wa-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.wa-form__label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-navy);
}

.wa-form input,
.wa-form textarea {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.1);
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wa-form input:focus,
.wa-form textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.wa-form textarea {
  resize: vertical;
  min-height: 120px;
}

.btn--whatsapp-send {
  margin-top: 1.1rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(145deg, #25d366, #128c7e);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(18, 140, 126, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--whatsapp-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(18, 140, 126, 0.5);
  color: #fff !important;
}

.btn--whatsapp-send:focus-visible {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.95),
    0 0 0 5px rgba(37, 211, 102, 0.55);
}

.btn--whatsapp-hero:focus-visible {
  box-shadow:
    0 0 0 2px rgba(10, 22, 40, 0.9),
    0 0 0 5px rgba(37, 211, 102, 0.5);
}

.footer__social-btn--whatsapp {
  color: #fff;
  background: linear-gradient(145deg, #25d366, #128c7e);
  box-shadow: 0 4px 14px rgba(18, 140, 126, 0.5);
}

.footer__social-btn--whatsapp:hover {
  box-shadow: 0 8px 22px rgba(18, 140, 126, 0.55);
}

.wa-fab {
  position: fixed;
  z-index: 85;
  bottom: calc(1.1rem + env(safe-area-inset-bottom));
  left: 1.35rem;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #25d366, #128c7e);
  color: #fff;
  box-shadow:
    0 8px 28px rgba(18, 140, 126, 0.55),
    0 0 0 3px rgba(255, 255, 255, 0.35);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
}

@media (max-width: 420px) {
  .wa-fab {
    width: 52px;
    height: 52px;
    left: 0.95rem;
  }

  .wa-fab svg {
    width: 27px;
    height: 27px;
  }
}

.wa-fab::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, 0.35);
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% {
    transform: scale(0.92);
    opacity: 0.65;
  }
  70% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.wa-fab:hover {
  transform: scale(1.08);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 36px rgba(18, 140, 126, 0.6);
}

.wa-fab:hover::after {
  animation: none;
  opacity: 0;
}

.wa-fab svg {
  width: 30px;
  height: 30px;
}

@media (prefers-reduced-motion: reduce) {
  .hero__aurora,
  .hero__orb,
  .hero__float-card,
  .contact__rings,
  .hero__grid-3d {
    animation: none !important;
  }

  .wa-fab::after {
    animation: none !important;
    opacity: 0 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .faculty-slider__track {
    transition: none;
  }
}
