/* ============================================================
   PHI Peptides — About Us
   Brand palette (from brand guidelines):
     Ink Black   #090C10   Cool Mist  #E4E8ED
     Vial Blue   #7BA7C9   Arsenic    #323D4A
   Type: Manrope
   ============================================================ */

:root {
  --ink: #090C10;
  --ink-2: #10151d;
  --ink-3: #1A2330;
  --mist: #E4E8ED;
  --accent: #7BA7C9;
  --slate: #323D4A;
  --ink-text: #26201C;
  --font: 'Manrope', system-ui, -apple-system, sans-serif;
  --wrap: 1280px;
  --wrap-narrow: 1120px;
  --pad: clamp(88px, 11vw, 150px);
  --ease: cubic-bezier(.16, .72, .24, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--mist);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--mist); color: var(--ink-text); }
img { display: block; max-width: 100%; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding: 45px 40px; position: relative; }
.section--dark { background: var(--ink); }
.section--light { background: var(--mist); color: var(--ink-text); }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 44px;
}
.two-col--rule {
  border-top: 1px solid rgba(38, 28, 24, .16);
  padding-top: 48px;
  margin-top: 52px;
}

/* ---------- Typographic primitives ---------- */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 18px !important;
    letter-spacing: 0px;
    text-transform: capitalize;
    font-weight: 600;
    color: #fff;
    margin-bottom: 26px;
}
.eyebrow--bright { color: rgba(228, 232, 237, .82); }
.eyebrow--dark { color: rgba(38, 28, 24, .55); }
.eyebrow__rule { width: 34px; height: 1px; background: var(--accent); flex: 0 0 auto; }
.eyebrow--dark .eyebrow__rule { background: rgba(38, 28, 24, .4); }

h2 {
  font-size: 40px;
  line-height: 1.08;
  font-weight: 200;
  letter-spacing: -.02em;
}
.section__head {
    max-width: 100%;
    margin-bottom: 40px;
}
p { font-size: 17px; line-height: 1.68; font-weight: 400; }
.muted {
    color: #fff;
    font-weight: 300;
    max-width: 100%;
    margin-top: 22px;
}
.bright { color: rgba(228, 232, 237, .9); font-weight: 300; }
.lede {
    font-size: clamp(22px, 2.9vw, 34px);
    line-height: 1.4;
    font-weight: 300;
    letter-spacing: -.01em;
    max-width: 100%;
}
.section--light .section__head { color: var(--ink-text); }
.section--light p { color: #000; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
}
.nav.is-scrolled {
  background: rgba(9, 12, 16, .82);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(228, 232, 237, .1);
}
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 40px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo img { height: 50px;
    width: auto;
    margin-top: 17px;
     }
.nav__links { display: flex; align-items: center; gap: 42px; }
.nav__links a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0px;
    text-transform: capitalize;
    font-weight: 500;
    transition: color .3s;
}
.nav__inner {
    margin-top: 20px;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--mist); font-weight: 600; }
.nav__cta {
  border: 1px solid rgba(228, 232, 237, .4);
  padding: 11px 22px;
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 600;
}
.nav__cta:hover { background: var(--mist); color: var(--ink-text) !important; border-color: var(--mist); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__video, .serve__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__fallback {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(120% 90% at 72% 18%, var(--ink-3) 0%, var(--ink-2) 46%, var(--ink) 100%);
}
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: rgba(9, 12, 16, .34); }
.hero__glow {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(70% 60% at 78% 30%, rgba(123, 167, 201, .14) 0%, transparent 60%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 1;
  background-image: repeating-linear-gradient(115deg, rgba(228, 232, 237, .035) 0, rgba(228, 232, 237, .035) 1px, transparent 1px, transparent 26px);
}
.hero__fade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, var(--ink) 3%, rgba(9, 12, 16, .55) 40%, rgba(9, 12, 16, .12) 82%);
}
.hero__content {
  position: relative; z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 40px 88px;
  width: 100%;
}
.hero__title {
    font-size: 36px;
    line-height: 40px;
    font-weight: 200;
    letter-spacing: 0px;
    max-width: 70%;
}
.hero__title em { font-style: italic; font-weight: 300; color: #fff; }
.hero__lead {
    margin-top: 28px;
    max-width: 100%;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 300;
    color: #fff;
}

/* ---------- The PHI Principle ---------- */
.principle {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
}
.principle__motif { display: flex; justify-content: center; }
.golden {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1.618 / 1;
  border: 1px solid rgba(228, 232, 237, .28);
  display: flex;
}
.golden__a {
  flex: 0 0 61.8%;
  border-right: 1px solid rgba(228, 232, 237, .28);
  display: flex; align-items: center; justify-content: center;
}
.golden__a img { height: 56%; opacity: .5; }
.golden__b { flex: 1; display: flex; flex-direction: column; }
.golden__b1 { flex: 0 0 61.8%; border-bottom: 1px solid rgba(228, 232, 237, .28); }
.golden__b2 { flex: 1; display: flex; }
.golden__b2a { flex: 0 0 61.8%; border-right: 1px solid rgba(228, 232, 237, .28); }
.golden__b2b {
  flex: 1; display: flex; align-items: flex-end;
  padding: 6px;
  font-family: ui-monospace, monospace;
  font-size: 9px;
  color: rgba(228, 232, 237, .4);
}

/* ---------- Founder's Message ---------- */
.founder__grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
}
.founder__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(.15);
}
.founder__copy .lede { color: var(--ink-text); margin-bottom: 8px; }
.founder__copy p:not(.lede):not(.eyebrow) { margin-top: 22px; }
.founder__sig {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(38, 28, 24, .16);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.founder__name { font-size: 18px; font-weight: 600; color: var(--ink-text); }
.founder__title {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
}
@media (max-width: 900px) {
  .founder__grid { grid-template-columns: 1fr; }
  .founder__photo { max-width: 340px; }
}

/* ---------- Who We Serve ---------- */
.serve { color: var(--mist); overflow: hidden; padding: clamp(96px, 13vw, 168px) 40px; }
.serve__fallback { position: absolute; inset: 0; z-index: 0; background: var(--slate); }
.serve__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(9, 12, 16, .9) 0%, rgba(9, 12, 16, .72) 46%, rgba(20, 26, 34, .55) 100%);
}
.serve__content { position: relative; z-index: 2; }
.serve h2 { max-width: 100%; margin-bottom: 8px; }

/* ---------- What We Stand For ---------- */
.standards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: rgba(228, 232, 237, .1);
  border: 1px solid rgba(228, 232, 237, .1);
}
.standard-card {
  background: var(--ink);
  padding: 38px 32px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  transition: background .4s;
}
.standard-card:hover { background: #131A24; }
.standard-card__num {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: auto;
}
.standard-card p {
  font-size: 16px;
  line-height: 1.56;
  font-weight: 300;
  color: rgba(228, 232, 237, .82);
  margin-top: 40px;
}

/* ---------- Built on Trust ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(38, 28, 24, .14);
  border: 1px solid rgba(38, 28, 24, .14);
  margin-top: 56px;
}
.trust-card {
  background: var(--mist);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trust-card__tag {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}
.trust-card__label { font-size: 15px; font-weight: 400; color: rgba(38, 28, 24, .8); line-height: 1.4; }

/* ---------- Our Standard ---------- */
.standard {
  padding: clamp(100px, 14vw, 190px) 40px;
  text-align: center;
  overflow: hidden;
}
.standard__watermark {
  position: absolute; inset: 0; margin: auto;
  width: min(58vw, 560px);
  opacity: .04;
  pointer-events: none;
}
.standard__content { position: relative; z-index: 1; max-width: 1000px; }
.kicker {
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(228, 232, 237, .5);
  margin-bottom: 34px;
}
.standard__head {
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.12;
  font-weight: 200;
  letter-spacing: -.02em;
  max-width: 24ch;
  margin: 0 auto;
}
.standard__head span { font-style: italic; font-weight: 300; color: rgba(228, 232, 237, .74); }
.standard__lead {
  margin: 30px auto 0;
  font-size: 17px;
  line-height: 1.66;
  font-weight: 300;
  color: rgba(228, 232, 237, .6);
  max-width: 58ch;
}
.standard__tag {
  margin-top: 48px;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 300;
  letter-spacing: .01em;
  color: var(--mist);
}
.standard__tag span { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); padding: clamp(70px, 9vw, 110px) 40px 44px; border-top: 1px solid rgba(228, 232, 237, .08); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 70px;
}
.footer__brand { max-width: 340px; }
.footer__brand img { height: 24px; margin-bottom: 26px; }
.footer__brand p { font-size: 14px; line-height: 1.66; font-weight: 300; color: rgba(228, 232, 237, .55); }
.footer__col h3 {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(228, 232, 237, .45);
  margin-bottom: 22px;
}
.footer__col a {
  display: block;
  color: rgba(228, 232, 237, .72);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 14px;
  transition: color .3s;
}
.footer__col a:hover { color: var(--mist); }
.footer__bar {
  border-top: 1px solid rgba(228, 232, 237, .1);
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.footer__bar span { font-size: 13px; color: rgba(228, 232, 237, .45); }
.footer__tag { letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: rgba(228, 232, 237, .5) !important; font-size: 12px !important; }

/* ---------- Scroll reveals ---------- */
.reveal, .reveal-group > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in, .reveal-group > .is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-group > * { opacity: 1; transform: none; transition: none; }
}
/* Fallback for environments that don't advance CSS transitions */
.reveals-off .reveal,
.reveals-off .reveal-group > * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ---------- Program Stats ---------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: rgba(38, 28, 24, .14);
    border: 1px solid rgba(38, 28, 24, .14);
    margin-top: 25px;
}
.stat { background: var(--mist); padding: 36px 24px; text-align: center; }
.stat__num { font-size: clamp(30px, 4vw, 46px); font-weight: 200; color: var(--ink-text); letter-spacing: -.02em; }
.stat__label { margin-top: 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--accent); }

/* ---------- Program at a Glance ---------- */
.glance { margin-top: 52px; }
.glance__row { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 22px 0; border-top: 1px solid rgba(228,232,237,.12); }
.glance__row:last-child { border-bottom: 1px solid rgba(228,232,237,.12); }
.glance__term { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: #000; }
.glance__val { font-size: 16px; font-weight: 300; color: #000; }

/* ---------- Spotlight (Program Director) ---------- */
.spotlight { display: grid; grid-template-columns: .6fr 1.4fr; gap: clamp(48px, 7vw, 104px); align-items: center; }
.spotlight__avatar { width: min(220px, 60%); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(228,232,237,.25); display: flex; align-items: center; justify-content: center; font-size: 15px; letter-spacing: .08em; color: rgba(228,232,237,.7); font-weight: 600; }
.spotlight__quote { font-size: clamp(20px, 2.6vw, 28px); font-weight: 200; line-height: 1.4; letter-spacing: -.01em; }
.spotlight__name {
    margin-top: 70px;
    font-size: 16px;
    font-weight: 400;
    color: var(--mist);
    line-height: 28px;
}
.spotlight__role { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-top: 4px; }
.spotlight__link { display: inline-block; margin-top: 20px; font-size: 13px; color: var(--mist); border-bottom: 1px solid rgba(228,232,237,.4); }

/* ---------- Feature grid (light) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px; background: rgba(38,28,24,.14); border: 1px solid rgba(38,28,24,.14); margin-top: 48px; }
.feature-card { background: var(--mist); padding: 36px 30px; }
.feature-card h3 { font-size: 18px; font-weight: 600; color: var(--ink-text); margin-bottom: 14px; }
.feature-card p { font-size: 15px; line-height: 1.6; color: rgba(38,28,24,.72); font-weight: 400; }

/* ---------- Faculty grid (dark) ---------- */
.faculty-scroll { margin-top: 48px; max-height: 760px; overflow-y: auto; border: 1px solid rgba(228,232,237,.1); }
.faculty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(228,232,237,.1); }
.faculty-card { display: flex; flex-direction: column; background: var(--ink); padding: 32px 32px 38px; transition: background .4s; }
.faculty-card:hover { background: #131A24; }
.faculty-card__photo {
    width: 80%;
    /* aspect-ratio: unset; */
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    /* background: repeating-linear-gradient(135deg, rgba(123, 167, 201, .16) 0, rgba(123, 167, 201, .16) 2px, rgba(228, 232, 237, .05) 2px, rgba(228, 232, 237, .05) 14px); */
    display: flex;
    align-items: inherit;
    margin: 0 auto;
    padding: 0px;
    border-radius: 25px;
    height: 270px;
}

.faculty-card__photo img {
    height: 100% !important;
    object-fit: cover;
}

.faculty-card__photo span { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .05em; color: rgba(228,232,237,.55); padding: 10px 12px; }
.faculty-card__avatar { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(228,232,237,.25); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 22px; }
.faculty-card__name {
    font-size: 18px;
    font-weight: 600;
    color: var(--mist);
    line-height: 25px;
    padding-top: 20px;
}
.faculty-card__role {
    font-size: 14px;
    letter-spacing: 0px;
    text-transform: capitalize;
    font-weight: 600;
    color: var(--accent);
    margin-top: 15px;
}
.faculty-card p {
    font-size: 14px !important;
    line-height: 1.55;
    font-weight: 300;
    color: #fff;
    margin-top: 16px;
}
div#facultyModalAvatar {
    display: none;
}
.faculty-card__more { align-self: flex-start; margin-top: 18px; background: none; border: none; padding: 0; font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--accent); cursor: pointer; }

/* ---------- Bio Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }
.modal__scrim { position: absolute; inset: 0; background: rgba(9,12,16,.72); backdrop-filter: blur(4px); }
.modal__panel { position: relative; z-index: 1; background: var(--ink-2); border: 1px solid rgba(228,232,237,.15); max-width: 65%; width: 100%; max-height: 84vh; overflow-y: auto; padding: 48px; }
.modal__close { position: absolute; top: 18px; right: 20px; background: none; border: none; color: var(--mist); font-size: 28px; line-height: 1; cursor: pointer; }

/* ---------- Curriculum Accordion ---------- */
.accordion { margin-top: 48px; border-top: 1px solid rgba(228,232,237,.12); }
.accordion-item { border-bottom: 1px solid rgba(228,232,237,.12); }
.accordion-item__trigger { width: 100%; display: grid; grid-template-columns: 60px 1fr 24px; align-items: center; gap: 24px; background: none; border: none; padding: 26px 0; text-align: left; cursor: pointer; font-family: var(--font); }
.accordion-item__num { font-family: ui-monospace, monospace; font-size: 13px; color: var(--accent); }
.accordion-item__title { font-size: 17px; font-weight: 600; color: var(--mist); }
.accordion-item__icon { font-size: 20px; font-weight: 300; color: rgba(228,232,237,.6); transition: transform .3s var(--ease); }
.accordion-item.is-open .accordion-item__icon { transform: rotate(45deg); }
.accordion-item__body { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.accordion-item.is-open .accordion-item__body { max-height: 400px; }
.accordion-item__body p {
    font-size: 15px;
    line-height: 1.65;
    font-weight: 300;
    color: #fff;
    padding: 0 0 26px 84px;
    max-width: 100%;
}

/* ---------- Responsive (program page) ---------- */
@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; }
  .spotlight__avatar { margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .glance__row { grid-template-columns: 1fr; gap: 8px; }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .faculty-grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .principle { grid-template-columns: 1fr; }
  .principle__motif { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .nav__links { gap: 20px; }
  .nav__links a:not(.nav__cta) { display: none; }
  .wrap, .section, .hero__content, .serve { padding-left: 24px; padding-right: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
}






/* ── Mobile Menu Dropdown Styles ── */
    .mobile-dropdown {
      display: flex;
      flex-direction: column;
      width: 100%;
    }

    .mobile-dropdown-trigger {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      background: none;
      border: none;
      padding: 0.5rem 0;
      font-size: 1.5rem;
      font-weight: 500;
      color: var(--fg);
      text-align: left;
      cursor: pointer;
      font-family: inherit;
    }
    @media (min-width: 768px) {
      .mobile-dropdown-trigger { font-size: 1.875rem; }
    }

    /* Chevron Icon Rotation styling */
    .mobile-dropdown-trigger .chevron-icon {
      transition: transform 0.3s ease;
    }
    .mobile-dropdown-trigger.active .chevron-icon {
      transform: rotate(180deg);
    }

    /* Submenu container (Max-height animation for smooth opening) */
    .mobile-submenu {
      max-height: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      padding-left: 1.25rem; /* Slight indent to show nesting hierarchy */
      border-left: 1px solid rgba(255, 255, 255, 0.1); /* Subtle vertical guiding line */
      transition: max-height 0.3s ease-out, padding 0.3s ease;
    }

    /* Active open state */
    .mobile-submenu.is-open {
      max-height: 500px; /* Large enough value to fit all items */
      padding-top: 0.5rem;
      padding-bottom: 0.75rem;
    }

    /* Individual items within mobile submenu */
    .mobile-submenu a {
      font-size: 1.15rem !important;
      font-weight: 400 !important;
      color: rgba(255, 255, 255, 0.7) !important; /* Slightly dimmer text color for hierarchy */
      padding: 0.4rem 0 !important;
      opacity: 1 !important; /* Overriding your base staggering animation limits */
      transform: none !important;
    }
    .mobile-submenu a:hover {
      color: var(--accent) !important;
    }






/* ── Header ── */
    .glass-header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 50;
      backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
      background: rgba(5,5,5,0.7);
      border-bottom: 1px solid var(--border);
    }
    .header-inner { display: flex; align-items: center; justify-content: space-around; height: 100px; }
    .logo { font-size: 1.125rem; font-weight: 500; letter-spacing: 0.15em; }
    .nav-links { display: none; align-items: center; gap: 2rem; }
    @media (min-width: 768px) { .nav-links { display: flex; } }
    .nav-links a {
        font-size: 18px;
        color: #fff;
        transition: color 0.3s;
    }
    .nav-links a:hover { color: var(--fg); }

    .burger { padding: 4px; }
    .burger-line { height: 2px; background: var(--fg); border-radius: 1px; }
    .burger-line:first-child { width: 28px; }
    .burger-line:last-child { width: 20px; margin-top: 5px; }

    /* ── Fullscreen Menu ── */
    .fullscreen-menu {
      position: fixed; inset: 0; z-index: 100;
      background: #050505;
      display: flex; flex-direction: column;
      opacity: 0; pointer-events: none;
      transition: opacity 0.3s;
    }
    .fullscreen-menu.open { opacity: 1; pointer-events: all; }
    .menu-header { display: flex; align-items: center; justify-content: space-between; height: 64px; }
    .close-btn { font-size: 1.75rem; font-weight: 300; line-height: 1; }
    .menu-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 2rem; }
    @media (min-width: 1024px) { .menu-body { padding: 0 6rem; } }
    .menu-body a {
      font-size: 1.5rem; font-weight: 500; padding: 0.5rem 0;
      color: var(--fg); transition: color 0.3s;
      opacity: 0; transform: translateX(-20px);
    }
    .fullscreen-menu.open .menu-body a {
      opacity: 1; transform: translateX(0);
      transition: opacity 0.3s, transform 0.3s, color 0.3s;
    }
    .menu-body a:hover { color: var(--accent); }
    @media (min-width: 768px) { .menu-body a { font-size: 1.875rem; } }

    .menu-socials { display: flex; flex-wrap: wrap; gap: 0.75rem; padding: 0 2rem 2.5rem; }
    @media (min-width: 1024px) { .menu-socials { padding: 0 6rem 2.5rem; } }
    .social-icon {
      width: 48px; height: 48px; border-radius: 8px;
      border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
      transition: border-color 0.3s;
    }
    .social-icon:hover { border-color: var(--accent); }
    .social-icon svg { width: 20px; height: 20px; }



    /* ── Dropdown Container ── */
    .nav-item-dropdown {
      position: relative;
      display: inline-block;
      height: 100px; /* Matches your header height to ensure flawless hover area */
      display: flex;
      align-items: center;
    }

    /* ── The Submenu Box ── */
    .submenu-dropdown {
      position: absolute;
      top: 100px; /* Aligns perfectly with the bottom of the header */
      left: 50%;
      transform: translateX(-50%) translateY(10px);
      width: 260px;
      background: #ffffff; /* Solid white background matching the image */
      padding: 1rem 0;
      border-radius: 4px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
      
      /* Transition state for smooth entry */
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
      z-index: 110;
    }

    /* ── Submenu Links ── */
    .submenu-dropdown a {
      display: block;
      padding: 0.75rem 1.5rem !important; /* Forces layout context inside menu */
      font-size: 16px !important;
      font-weight: 400;
      color: #111111 !important; /* Dark text for contrast against white */
      text-align: left;
      transition: background 0.2s ease, color 0.2s ease;
    }

    /* Submenu Hover Link State */
    .submenu-dropdown a:hover {
      background-color: #f5f5f7; /* Soft subtle gray hover effect */
      color: #000000 !important;
    }

    /* ── Triggering the Hover ── */
    .nav-item-dropdown:hover .submenu-dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }

    a.logo {
        width: 30%;
    }
    img.logo_main {
        width: 80%;
        padding-top: 0px;
    }
    button#menuOpen {
        display: none;
    }
    a {
      text-decoration: none;
    }

    .burger-line {
        height: 2px;
        background: #fff;
        border-radius: 1px;
    }

   @media only screen and (max-width: 767px) {
        button#menuOpen {
            display: block !important;
            background: none !important;
            border: none !important;
        }
        a.logo {
            width: 70%;
        }
        .menu-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; padding: 0 2rem; }

        button#menuOpen {
            display: block !important;
        }
        .close-btn {
            padding-left: 15px;
        }
        button#menuClose {
            background: none !important;
        }
          
    
    }


.elementor-menu-cart__container[aria-hidden="true"] {
    display: none !important;
}
/*ul.sub-menu {
    background-color: #000 !important;
}

ul.sub-menu a {
    color: #fff !important;
}*/

button.accordion-item__trigger:hover {
  background-color: inherit !important;
  border-width: 0px 0px 0px 0px !important;
}
.third .principle {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(48px, 7vw, 104px);
    align-items: center;
}
button.faculty-card__more:hover {
    color: var(--accent);
    background-color: inherit !important;
    border: 0px !important;
}
div#form_div_3 {
    max-width: 63%;
    margin: 0 auto;
}
div#form_div_3 button.forminator-button.forminator-button-submit {
    width: 25% !important;
    font-size: 18px !important;
}


/* ---------- Enrollment CTA ---------- */
.cta-enroll { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; text-align: center; background: var(--ink); }
.cta-enroll__glow { position: absolute; inset: -20% -10%; background: radial-gradient(ellipse at 50% 0%, rgba(123,167,201,.28), transparent 60%); pointer-events: none; }
.cta-enroll__inner { position: relative; max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.cta-enroll__head { margin-top: 22px; font-size: clamp(32px, 4.4vw, 52px); font-weight: 200; line-height: 1.14; letter-spacing: -.02em; color: var(--mist); }
.cta-enroll__head span { color: var(--accent); font-style: normal; }
.cta-enroll__lead { margin-top: 22px; font-size: 18px; line-height: 1.6; font-weight: 300; color: #fff; max-width: 56ch; }
.cta-enroll__actions { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.cta-enroll__btn { display: inline-flex; align-items: center; gap: 8px; padding: 17px 34px; font-size: 14px; font-weight: 700; letter-spacing: .03em; background: var(--accent); color: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), background .25s; }
.cta-enroll__btn:hover { transform: translateY(-2px); background: #93BCDC; }
.cta-enroll__btn--ghost { background: none; border: 1px solid rgba(228,232,237,.35); color: var(--mist); }
.cta-enroll__btn--ghost:hover { background: rgba(228,232,237,.08); border-color: rgba(228,232,237,.6); }
.cta-enroll__meta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 36px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: rgba(228,232,237,.5); }
.cta-enroll__meta span:nth-child(even) { color: var(--accent); }
a.cta-enroll__btn.cta-enroll__btn--ghost:hover {
    background-color: #7ba7c9 !important;
    color: #000 !important;
    border-color: #7ba7c9 !important;
}

.principle__motif.reveal img {
    border-radius: 10px;
}

img.b2b-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: grayscale(.15);
}
