:root {
  /* ...existing code... */
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in-down {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: none; }
}
.about-info-card.fade-in-up {
  animation: fade-in-up 900ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.about-info-card.fade-in-down {
  animation: fade-in-down 900ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ── Elementor-Style Animations ── */
@keyframes elementor-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes elementor-zoom-in {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes elementor-slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes elementor-slide-in-right {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── About animations now handled by sorig-animations.js ── */
:root {
  --blue-700: #0b56c7;
  --blue-600: #1b66d3;
  --blue-500: #2f7ae2;
  --blue-100: #e9f2ff;
  --ink-900: #101828;
  --ink-700: #334155;
  --ink-500: #64748b;
  --white: #ffffff;
  --cream: #f8fbff;
  --line: rgba(16, 24, 40, 0.08);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 24px 80px rgba(15, 23, 42, 0.14);
  --font-heading: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --transition: 280ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

textarea {
  resize: vertical;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-light {
  background: #f0f5ff;
  margin-top: -60px;
  padding-top: 80px;
  padding-bottom: 88px;
  position: relative;
  z-index: 5;
}

.about-section {
  overflow: hidden;
}

.about-section::before,
.about-section::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.about-section::before {
  top: -140px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 122, 226, 0.18) 0%, rgba(47, 122, 226, 0) 72%);
}

.about-section::after {
  left: -140px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 86, 199, 0.12) 0%, rgba(11, 86, 199, 0) 74%);
}

.section-soft {
  background: linear-gradient(180deg, var(--white) 0%, var(--blue-100) 100%);
}

.section-white {
  background: var(--white);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.hero-title,
.section-title,
.program-row h3,
.contact-form-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-title {
  max-width: 620px;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.95;
  color: var(--white);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 0.98;
  color: var(--ink-900);
}

.text-rise span {
  display: block;
  opacity: 0;
  transform: translateY(-44px) scale(0.94);
  filter: blur(6px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 1.15, 0.35, 1), filter 760ms ease;
}

.text-rise.visible span:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.text-rise.visible span:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 150ms;
}

.text-rise.visible span:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 300ms;
}

@keyframes word-float {
  0% {
    opacity: 0;
    transform: translateY(-40px) scale(0.7) rotateX(15deg);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    filter: blur(0);
  }
}

@keyframes title-scale-down {
  0% {
    opacity: 0;
    transform: translateY(-80px) scale(1.35);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes title-slide-in-left {
  0% {
    opacity: 0;
    transform: translateX(-80px) scale(1.18);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

.title-unified {
  opacity: 0;
  animation: title-scale-down 1800ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-copy.reveal.visible .title-unified {
  animation-delay: 300ms;
}

.word-rise span {
  display: inline-block;
  margin-right: 0.2em;
  opacity: 0;
  transform: translateY(-40px) scale(0.7) rotateX(15deg);
  filter: blur(12px);
}

.word-rise.visible span {
  animation: word-float 1200ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.word-rise.visible span:nth-child(1) {
  animation-delay: 0ms;
}

.word-rise.visible span:nth-child(2) {
  animation-delay: 200ms;
}

.word-rise.visible span:nth-child(3) {
  animation-delay: 400ms;
}

.word-rise.visible span:nth-child(4) {
  animation-delay: 600ms;
}

@keyframes kicker-slide-in {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes lead-fade-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes button-pop {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.kicker-slide {
  opacity: 0;
  animation: kicker-slide-in 1000ms ease-out forwards;
}

.hero-copy.reveal.visible .kicker-slide {
  animation-delay: 100ms;
}

.lead-fade {
  opacity: 0;
  animation: lead-fade-up 1100ms ease-out forwards;
}

.hero-copy.reveal.visible .lead-fade {
  animation-delay: 1200ms;
}

.actions-scale .btn {
  opacity: 0;
  animation: button-pop 900ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-copy.reveal.visible .actions-scale .btn:nth-child(1) {
  animation-delay: 1900ms;
}

.hero-copy.reveal.visible .actions-scale .btn:nth-child(2) {
  animation-delay: 2200ms;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transition: left 520ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::before {
  left: 110%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  box-shadow: 0 14px 32px rgba(11, 86, 199, 0.24);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.2);
}

.btn-full {
  width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  min-height: 96px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.site-logo img {
  width: auto;
  height: 78px;
  object-fit: contain;
  background: transparent;
  transition: transform var(--transition);
}

.site-logo:hover img {
  transform: scale(1.04);
}

.site-nav {
  justify-self: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-700);
  text-shadow: none;
  transition: color var(--transition), opacity var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--blue-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--blue-700);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after {
  transform: scaleX(0);
}

/* ── Dropdowns ── */
.menu-item-has-children {
  position: relative;
}
.nav-arrow {
  font-size: 0.7rem;
  margin-left: 4px;
  transition: transform 0.3s ease;
  vertical-align: middle;
}
.main-nav li:hover .nav-arrow {
  transform: rotate(180deg);
}

.sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: #0b56c7;
  border-radius: 0;
  padding: 0;
  box-shadow: 0 20px 50px rgba(0,0,0,0.14), 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.25s;
  z-index: 9999;
}
/* Small notch/arrow above dropdown */
.sub-menu::before {
  display: none;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.sub-menu li {
  width: 100%;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,0.28);
}
.sub-menu li:last-child {
  border-bottom: 0;
}
.sub-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.sub-menu a::after {
  display: none;
}
.sub-menu a:hover {
  background: rgba(255,255,255,0.14);
  color: #ffffff;
  padding-left: 24px;
}

.mega-menu {
  min-width: min(760px, 80vw);
  padding: 18px;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.mega-menu-group {
  padding: 4px 6px;
}

.mega-menu-title {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-900);
}

.mega-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-menu-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
}

.mega-menu-list a i {
  color: var(--blue-700);
  width: 14px;
  text-align: center;
  flex: 0 0 auto;
}

.mobile-submenu--groups {
  padding-left: 2px;
}

.mobile-submenu-group {
  padding: 6px 0;
}

.mobile-submenu-group-title {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
  margin: 8px 0 6px;
}

.mobile-submenu-group-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 10px;
}

.mobile-submenu-group-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 0;
  background: var(--ink-900);
  transition: transform var(--transition), opacity var(--transition);
}

.site-header .nav-cta {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(11, 86, 199, 0.24);
}

.hero {
  position: relative;
  min-height: 95vh;
  padding: 164px 0 124px;
  overflow: hidden;
  background: var(--ink-900);
}

.hero-slides,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.06);
  transition: opacity 1400ms ease, transform 5200ms ease;
}

/* Suppress transition on first slide so it appears instantly on page load */
.hero-slide.is-first {
  transition: none !important;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background: linear-gradient(95deg, rgba(16, 24, 40, 0.82) 0%, rgba(16, 24, 40, 0.54) 42%, rgba(16, 24, 40, 0.22) 100%);
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-height: 640px;
}

.hero-copy {
  display: grid;
  gap: 0;
  row-gap: 8px;
  max-width: 780px;
  padding: 18px 0 34px;
}

.hero-kicker {
  margin-bottom: 32px;
  font-size: 0.84rem;
  letter-spacing: 0.24em;
  color: #3f8cff;
}

.hero-title {
  max-width: 760px;
  font-size: clamp(3.2rem, 7vw, 5rem);
  line-height: 1.06;
}

.hero-lead {
  max-width: 620px;
  margin-top: 36px;
  font-size: 1.16rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

/* ──────────────────────────────────────────────────────────────
   HOME HERO — reduce header gap + increase height
   Scoped to #hero (front page only)
────────────────────────────────────────────────────────────── */
#hero.hero {
  padding: 132px 0 140px;
}

#hero.hero .hero-shell {
  align-items: flex-start;
  min-height: 700px;
}

/* Moving light highlight across Title line 1/2/3 */
@keyframes hero-title-shimmer {
  0% {
    background-position: 220% 0;
  }
  100% {
    background-position: -220% 0;
  }
}

/* Breathing animation for Kicker Text */
@keyframes hero-kicker-breathe {
  0%,
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateX(0) scale(1.06);
    opacity: 0.86;
  }
}

#hero .hero-title.title-unified {
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

#hero .hero-title.title-unified span {
  position: relative;
}

#hero .hero-title.title-unified span::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.85;
  color: transparent;
  background-image: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 38%,
    rgba(255, 255, 255, 0.92) 50%,
    rgba(255, 255, 255, 0) 62%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 260% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.28));
  animation: hero-title-shimmer 3800ms ease-in-out 1600ms infinite;
}

#hero .hero-title.title-unified span:nth-child(2)::after {
  animation-delay: 1900ms;
}

#hero .hero-title.title-unified span:nth-child(3)::after {
  animation-delay: 2200ms;
}

#hero .hero-copy.reveal.visible .hero-kicker.kicker-slide {
  animation: kicker-slide-in 1000ms ease-out 100ms forwards, hero-kicker-breathe 2600ms ease-in-out 1300ms infinite;
  transform-origin: left center;
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  #hero .hero-title.title-unified span::after {
    animation: none;
  }

  #hero .hero-copy.reveal.visible .hero-kicker.kicker-slide {
    animation: kicker-slide-in 1000ms ease-out 100ms forwards;
  }
}

@media (max-width: 980px) {
  #hero.hero {
    padding: 124px 0 120px;
  }

  #hero.hero .hero-shell {
    min-height: 560px;
  }
}

@media (max-width: 640px) {
  #hero.hero {
    padding: 112px 0 96px;
  }

  #hero.hero .hero-shell {
    min-height: 480px;
  }
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  display: none;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 52px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: background-color var(--transition), transform var(--transition);
}

.hero-dot.is-active {
  background: var(--white);
  transform: scaleX(1.06);
}

.course-highlights {
  margin-top: -80px;
  padding: 0;
  background: transparent;
  position: relative;
  z-index: 10;
}

.highlights-wrapper {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  background: var(--white);
  padding: 24px 0;
  border-radius: 0;
}

.highlights-content {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
  padding: 0 20px;
}

@keyframes water-flow {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.highlight-item {
  text-align: center;
  cursor: pointer;
  padding: 16px;
  border-radius: 0;
  transition: all 280ms ease;
  position: relative;
  overflow: hidden;
}

.highlight-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 280ms ease;
  z-index: -1;
  border-radius: 0;
}

.highlight-item:hover {
  background: rgba(11, 86, 199, 0.08);
}

.highlight-item:hover::before {
  opacity: 1;
  animation: water-flow 1200ms ease-in-out infinite;
}

.highlight-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-700);
  text-transform: uppercase;
  margin-bottom: 8px;
  transition: color 420ms ease;
}

.highlight-item:hover .highlight-label {
  color: var(--blue-500);
}

.highlight-value {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0;
  transition: transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.highlight-item:hover .highlight-value {
  color: var(--white);
}

.about-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
}

/* ── About Image: below panel, no overlap ── */
.about-image-block {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  margin-top: 0;
}

.about-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.about-img {
  width: 100%;
  height: 560px;
  background-size: cover;
  background-position: center 30%;
  transition: background-position 600ms ease, transform 600ms ease;
  will-change: clip-path;
  clip-path: inset(0 0 0 0);
}

.about-img-wrap:hover .about-img {
  background-position: center 45%;
  transform: scale(1.04);
}

/* ── About Panel: above image, centered ── */
.about-panel {
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  padding: 32px 56px 28px;
  max-width: 860px;
  background: transparent;
  border-radius: 0;
  text-align: center;
  box-shadow: none;
}

.about-kicker {
  margin-bottom: 14px;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
}

.about-title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.05em;
  color: var(--ink-900);
}

.about-title span {
  display: block;
}

.about-title-big {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  color: var(--blue-700);
}

.about-title span:not(.about-title-big) {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.about-lead {
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-700);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.btn-dark {
  background: var(--ink-900);
  color: var(--white);
  border: none;
  box-shadow: 0 8px 28px rgba(16, 24, 40, 0.22);
}

.btn-dark:hover {
  background: #1e293b;
  box-shadow: 0 14px 38px rgba(16, 24, 40, 0.32);
}

.about-panel-btn {
  margin-top: 34px;
  opacity: 0;
  display: inline-flex;
}

/* ── About Info Cards: bottom row ── */
.about-bottom-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 0;
}

.about-info-card {
  position: relative;
  overflow: hidden;
  padding: 38px 34px;
  border: 1px solid rgba(47, 122, 226, 0.1);
  border-radius: 0;
  background: var(--white);
  transition: border-color var(--transition), transform 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 350ms ease, opacity 350ms ease;
}

.about-info-card:hover {
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  border-color: var(--blue-700);
}

.about-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  transition: left 480ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.about-info-card:hover::before {
  left: 0;
}

.about-info-card > * {
  position: relative;
  z-index: 1;
  transition: color 380ms ease;
}

.about-info-card:hover > * {
  color: var(--white);
}

.about-info-label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.about-info-card:hover .about-info-label {
  color: rgba(255, 255, 255, 0.82);
}

.about-info-card p {
  color: var(--ink-700);
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-info-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

.about-info-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--blue-700);
  transition: gap var(--transition), color 380ms ease;
}

.about-info-link:hover {
  gap: 16px;
}

.about-info-card:hover .about-info-link {
  color: var(--white);
}

/* ── About Animations ── */
.about-panel.reveal.visible .about-kicker {
  animation: kicker-slide-in 1000ms ease-out forwards;
}

.about-panel.reveal.visible .about-title span:nth-child(1) {
  animation: title-slide-in-left 1350ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 120ms;
}

.about-panel.reveal.visible .about-title span:nth-child(2) {
  animation: title-slide-in-left 1350ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 260ms;
}

.about-panel.reveal.visible .about-lead {
  animation: lead-fade-up 1100ms ease-out forwards;
  animation-delay: 440ms;
}

.about-panel.reveal.visible .about-panel-btn {
  animation: button-pop 900ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 680ms;
}

.split-layout,
.gallery-shell,
.contact-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  align-items: center;
}

.section-copy,
.gallery-copy,
.contact-copy,
.section-head {
  display: grid;
  gap: 18px;
}

.section-copy p,
.gallery-copy p,
.contact-copy p,
.program-row p {
  color: var(--ink-500);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--blue-700);
}

.text-link:hover {
  gap: 14px;
}

.image-frame,
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-strong);
}

.image-frame {
  min-height: 480px;
  margin-top: 20px;
}

.image-caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--ink-900);
}

.image-hover {
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.image-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
}

.program-shell {
  display: grid;
  gap: 26px;
}

.program-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.program-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left var(--transition), background-color var(--transition);
}

.program-row:hover {
  padding-left: 14px;
  background: linear-gradient(90deg, rgba(47, 122, 226, 0.05), transparent);
}

.program-type {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.program-row h3 {
  font-size: 1.48rem;
  line-height: 1.08;
  color: var(--ink-900);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.gallery-large {
  min-height: 520px;
  grid-row: span 2;
}

.gallery-card:not(.gallery-large) {
  min-height: 250px;
}

.contact-section {
  background: linear-gradient(180deg, var(--blue-100) 0%, var(--white) 100%);
}

.contact-lines {
  display: grid;
  gap: 12px;
}

.contact-lines a,
.contact-lines span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
}

.contact-form-card {
  padding: 34px;
  border: 1px solid rgba(47, 122, 226, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  margin-bottom: 22px;
  font-size: 1.65rem;
  color: var(--ink-900);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(100, 116, 139, 0.22);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink-900);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(47, 122, 226, 0.14);
}

.form-response {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 0.92rem;
}

.form-response.success {
  display: block;
  background: #ddf5e7;
  color: #15603c;
}

.form-response.error {
  display: block;
  background: #ffe6e6;
  color: #a43434;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  color: #fff;
  padding-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 35px;
  padding: 0 20px;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 15px;
  display: block;
}

.footer-about {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.footer-col h3 {
  font-size: 16px;
  margin-bottom: 15px;
  font-family: var(--font-heading);
  color: #fff;
}

.footer-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-list li {
  margin-bottom: 10px;
}

.footer-menu-list li a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-menu-list li a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-col p {
  font-size: 14px;
  margin: 8px 0;
}

.footer-col i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

.footer-social {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  border-radius: 4px;
}

.footer-social a:hover {
  background: #fff;
  color: var(--blue-700);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 40px;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

.footer-bottom-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
}

.footer-bottom-menu li a,
.footer-bottom-menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
}

.footer-bottom-menu li a:hover,
.footer-bottom-menu a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    justify-content: center;
  }
  .footer-bottom-menu {
    justify-content: center;
  }
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-700);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(11, 86, 199, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity var(--transition), transform var(--transition), background-color var(--transition);
}

.back-to-top:hover {
  background: var(--blue-500);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════
   WHY CHOOSE SECTION
   ══════════════════════════════════════════════════ */
.why-choose-section {
  background: var(--white);
  padding: 100px 0 110px;
  overflow: hidden;
  position: relative;
}

.why-choose-section::before,
.why-choose-section::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.why-choose-section::before {
  top: -100px;
  left: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(47, 122, 226, 0.15) 0%, rgba(47, 122, 226, 0) 72%);
}

.why-choose-section::after {
  bottom: -140px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(11, 86, 199, 0.1) 0%, rgba(11, 86, 199, 0) 74%);
}

.why-choose-shell {
  max-width: 1180px;
}

.why-choose-head {
  text-align: center;
  margin-bottom: 64px;
}

.why-choose-kicker {
  color: var(--blue-700);
}

.why-choose-title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.05em;
  color: var(--ink-900);
}

.why-choose-title span {
  display: block;
}

.wc-title-big {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  color: var(--blue-700);
}

.why-choose-title span:not(.wc-title-big) {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.why-choose-lead {
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-700);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.why-choose-cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ── Card Base ── */
.wc-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(47, 122, 226, 0.1);
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.wc-card:hover {
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
  border-color: var(--blue-700);
  transform: translateY(-4px);
}

/* ── Card Media ── */
.wc-card__media {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.wc-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wc-card:hover .wc-card__img {
  transform: scale(1.1) translateY(-5px);
}

@keyframes wc-slide-from-left {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes wc-slide-from-right {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── Card Body ── */
.wc-card__body {
  position: relative;
  display: flex;
  align-items: center;
  padding: 48px 44px;
  background: var(--white);
  transition: background 0.5s ease;
}

.wc-card:hover .wc-card__body {
  background: linear-gradient(135deg, rgba(11, 86, 199, 0.95), rgba(47, 122, 226, 0.9));
  color: var(--white);
}

/* ── Hover Overlay Reveal ── */
.wc-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 86, 199, 0.9), rgba(47, 122, 226, 0.85));
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.7s ease;
  z-index: 0;
}

.wc-card:hover .wc-card__overlay {
  transform: translateX(0);
  opacity: 1;
}

/* ── Card Content ── */
.wc-card__content {
  position: relative;
  z-index: 1;
}

.wc-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 1.2rem;
  margin-bottom: 20px;
  transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.wc-card:hover .wc-card__icon {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.wc-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 14px;
  transition: transform 0.4s ease, color 0.4s ease;
}

.wc-card:hover .wc-card__title {
  transform: translateX(8px);
  color: var(--white);
}

.wc-card__text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-700);
  transition: color 0.4s ease;
}

.wc-card:hover .wc-card__text {
  color: rgba(255, 255, 255, 0.92);
}

/* ══════════════════════════════════════════════════
   EXPLORE PROGRAMS SECTION
   ══════════════════════════════════════════════════ */
.explore-programs-section {
  background: #f0f5ff;
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}

.explore-programs-section::before,
.explore-programs-section::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.explore-programs-section::before {
  top: -80px;
  right: -100px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(47, 122, 226, 0.14) 0%, rgba(47, 122, 226, 0) 72%);
}

.explore-programs-section::after {
  bottom: -120px;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(11, 86, 199, 0.1) 0%, rgba(11, 86, 199, 0) 74%);
}

.explore-shell {
  max-width: 1180px;
}

.explore-head {
  text-align: center;
  margin-bottom: 56px;
}

.explore-subtitle {
  color: var(--ink-700);
  font-size: 1.15rem;
  margin-top: 16px;
  line-height: 1.6;
}

/* ── Featured Card ── */
.ep-card--featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(47, 122, 226, 0.1);
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.08);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.ep-card--featured:hover {
  box-shadow: 0 20px 56px rgba(11, 86, 199, 0.18);
  border-color: rgba(47, 122, 226, 0.25);
  transform: translateY(-6px);
}

.ep-card--featured.ep-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Card Media ── */
.ep-card__media {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.ep-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ep-card:hover .ep-card__img {
  transform: scale(1.1) translateY(-10px);
}

.ep-card__media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 86, 199, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.ep-card__media-overlay p {
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
  max-width: 320px;
}

.ep-card:hover .ep-card__media-overlay {
  opacity: 0;
}

/* ── Card Body (Featured) ── */
.ep-card--featured .ep-card__body {
  display: flex;
  align-items: center;
  padding: 48px 44px;
}

.ep-card__badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-700);
  background: var(--blue-100);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.ep-card--featured .ep-card__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 14px;
  line-height: 1.15;
}

.ep-card--featured .ep-card__text {
  color: var(--ink-700);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.ep-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  background: var(--blue-700);
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ep-card__cta:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 86, 199, 0.3);
}

.ep-card__cta span {
  transition: transform 0.3s ease;
}

.ep-card__cta:hover span {
  transform: translateX(4px);
}

/* ── Small Card Grid ── */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.explore-grid .ep-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(47, 122, 226, 0.1);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.07);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.explore-grid .ep-card.ep-visible {
  opacity: 1;
  transform: translateY(0);
}

.explore-grid .ep-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(11, 86, 199, 0.16);
  border-color: rgba(47, 122, 226, 0.22);
}

.explore-grid .ep-card .ep-card__media {
  min-height: 220px;
}

.explore-grid .ep-card .ep-card__body {
  padding: 24px 24px 28px;
  position: relative;
  transition: background 0.35s ease;
}
.explore-grid .ep-card:hover .ep-card__body {
  background: linear-gradient(145deg, #0b56c7 0%, #1d6ddc 100%);
}

.ep-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 1.2rem;
  margin-bottom: 14px;
  transition: background 0.35s ease, color 0.35s ease;
}
.explore-grid .ep-card:hover .ep-card__icon {
  background: rgba(255,255,255,.2);
  color: #fff;
}

.explore-grid .ep-card .ep-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 8px;
  transition: color 0.35s ease;
}
.explore-grid .ep-card:hover .ep-card__title {
  color: #fff;
}

.explore-grid .ep-card .ep-card__text {
  color: var(--ink-700);
  font-size: 0.95rem;
  line-height: 1.7;
  transition: color 0.35s ease;
}
.explore-grid .ep-card:hover .ep-card__text {
  color: rgba(255,255,255,.85);
}

/* Inline CTA (small grid cards — View Courses → span) */
.ep-card__cta--inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  color: var(--blue-700);
  padding: 0;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 14px;
  box-shadow: none;
  border-radius: 0;
  text-decoration: none;
  transition: color 0.3s ease, gap 0.25s ease;
}
.ep-card__cta--inline:hover {
  background: none;
  box-shadow: none;
  transform: none;
  gap: 10px;
}
.explore-grid .ep-card:hover .ep-card__cta--inline {
  color: rgba(255,255,255,.9);
}

/* ══════════════════════════════════════════════════
   COLLEGE GALLERY SECTION
   ══════════════════════════════════════════════════ */
.college-gallery-section {
  background: #f0f5ff;
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}

.college-gallery-section::before,
.college-gallery-section::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.college-gallery-section::before {
  top: -60px;
  left: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(47, 122, 226, 0.14) 0%, rgba(47, 122, 226, 0) 72%);
}

.college-gallery-section::after {
  bottom: -100px;
  right: -60px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(11, 86, 199, 0.1) 0%, rgba(11, 86, 199, 0) 74%);
}

.gallery-intro {
  max-width: 1180px;
}

.gallery-head {
  text-align: center;
  margin-bottom: 64px;
}

.gallery-subtitle {
  color: var(--ink-700);
  font-size: 1.1rem;
  margin-top: 16px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-container {
  max-width: 1180px;
}

/* ── Asymmetrical Masonry Layout ── */
.gallery-masonry {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  margin-bottom: 48px;
}

.gallery-card--large {
  grid-row: 1 / 3;
  grid-column: 1;
}

.gallery-card--small:nth-child(2) {
  grid-row: 1;
  grid-column: 2;
}

.gallery-card--small:nth-child(3) {
  grid-row: 2;
  grid-column: 2;
}

/* ── Gallery Card Base ── */
.gallery-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(47, 122, 226, 0.08);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  opacity: 0;
  transform: translateY(60px) rotate(1deg);
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.gallery-card.gc-visible {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

.gallery-card:hover {
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  border-color: rgba(47, 122, 226, 0.2);
  transform: translateY(-8px);
}

/* ── Gallery Card Media ── */
.gallery-card__media {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 300px;
}

.gallery-card--large .gallery-card__media {
  min-height: 420px;
}

.gallery-card--small .gallery-card__media {
  min-height: 280px;
}

.gallery-card__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-card:hover .gallery-card__image {
  transform: scale(1.1) translateY(-8px);
}

/* ── Animated Overlay (Slides from left to right) ── */
.gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 86, 199, 0.9), rgba(47, 122, 226, 0.85));
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.7s ease;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-card:hover .gallery-card__overlay {
  transform: translateX(0);
  opacity: 1;
}

/* ── Badge with Slide Animation ── */
.gallery-card__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--blue-700);
  padding: 8px 14px;
  border-radius: 0;
  z-index: 2;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(11, 86, 199, 0.15);
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.gallery-card.gc-visible .gallery-card__badge {
  opacity: 1;
  transform: translateX(0);
}

.badge-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── Gallery Card Content ── */
.gallery-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(16, 24, 40, 0.9));
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 2;
}

.gallery-card--large .gallery-card__content {
  padding: 32px;
}

.gallery-card:hover .gallery-card__content {
  opacity: 0;
  transform: translateY(0);
}

.gallery-card.gc-visible .gallery-card__content {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.gallery-card--large .gallery-card__title {
  font-size: 1.4rem;
}

.gallery-card__description {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin-bottom: 12px;
  display: none;
}

.gallery-card--large .gallery-card__description {
  display: block;
}

.gallery-card__link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.gallery-card__link:hover {
  color: var(--white);
}

/* ── CTA Button ── */
.gallery-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.gallery-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--blue-700);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(11, 86, 199, 0.2);
}

.gallery-explore-btn:hover {
  background: var(--blue-600);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(11, 86, 199, 0.3);
}

.gallery-explore-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.gallery-explore-btn:hover svg {
  transform: translateX(4px);
}

/* ══════════════════════════════════════════════════
   APPLY STEPS SECTION
   ══════════════════════════════════════════════════ */
.apply-steps-section {
  background: #f0f5ff;
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}

.apply-steps-section::before,
.apply-steps-section::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.apply-steps-section::before {
  top: -60px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(47, 122, 226, 0.12) 0%, rgba(47, 122, 226, 0) 72%);
}

.apply-steps-section::after {
  bottom: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(11, 86, 199, 0.08) 0%, rgba(11, 86, 199, 0) 74%);
}

.apply-shell {
  max-width: 1180px;
}

.apply-head {
  text-align: center;
  margin-bottom: 64px;
}

.apply-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.apply-step {
  flex: 1;
  max-width: 320px;
  background: var(--white);
  border: 1px solid rgba(47, 122, 226, 0.1);
  border-radius: 0;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.08);
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s ease, transform 0.7s ease, background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
}

.apply-step.as-visible {
  opacity: 1;
  transform: translateY(0);
}

.apply-step:hover {
  transform: translateY(-10px) scale(1.05);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
}

.apply-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: var(--blue-100);
  color: var(--blue-700);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 18px;
  transition: background 0.4s ease, color 0.4s ease;
}

.apply-step:hover .apply-step__number {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.apply-step__icon {
  font-size: 2rem;
  margin-bottom: 14px;
  transition: transform 0.4s ease;
}

.apply-step:hover .apply-step__icon {
  transform: scale(1.15);
}

.apply-step__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 10px;
  transition: color 0.4s ease;
}

.apply-step:hover .apply-step__title {
  color: var(--white);
}

.apply-step__text {
  color: var(--ink-700);
  font-size: 0.95rem;
  line-height: 1.7;
  transition: color 0.4s ease;
}

.apply-step:hover .apply-step__text {
  color: rgba(255, 255, 255, 0.9);
}

/* ── Animated Arrows ── */
.apply-arrow {
  display: flex;
  align-items: center;
  padding: 0 12px;
  flex-shrink: 0;
}

.apply-arrow .chevron {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue-700);
  animation: moveArrow 1.2s ease-in-out infinite;
  opacity: 0.3;
}

.apply-arrow .chevron:nth-child(2) {
  animation-delay: 0.15s;
}

.apply-arrow .chevron:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes moveArrow {
  0% { transform: translateX(0); opacity: 0.3; }
  50% { transform: translateX(8px); opacity: 1; }
  100% { transform: translateX(16px); opacity: 0.3; }
}

@media (max-width: 980px) {
  .header-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  /* Hide desktop nav + CTA on mobile */
  .site-nav--desktop {
    display: none !important;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* ──────────────────────────────────────────────────────────────
   MOBILE MEGA MENU OVERLAY
   Full-screen panel styled like the Auscare reference
────────────────────────────────────────────────────────────── */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              visibility 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
}

/* ── Header Row ── */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.mobile-menu-logo {
  display: inline-flex;
  align-items: center;
}
.mobile-menu-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--ink-900, #101828);
  font-size: 1.4rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.mobile-menu-close:hover {
  background: #f1f5f9;
  transform: rotate(90deg);
}

/* ── Menu List ── */
.mobile-menu-nav {
  flex: 1;
  padding: 0;
}
.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-item {
  border-bottom: 1px solid #e2e8f0;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-900, #101828);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.mobile-menu-item.has-submenu.is-open > .mobile-menu-link {
  background: #0b56c7;
  color: #ffffff;
}
.mobile-menu-link:hover,
.mobile-menu-link:active {
  background: #f8fafc;
  color: var(--blue-700, #0b56c7);
}
.mobile-menu-item.has-submenu.is-open > .mobile-menu-link:hover,
.mobile-menu-item.has-submenu.is-open > .mobile-menu-link:active {
  background: #0a4cad;
  color: #ffffff;
}

.mobile-menu-link span {
  flex: 1;
}

/* ── Submenu Arrow ── */
.mobile-submenu-arrow {
  font-size: 0.8rem;
  color: var(--ink-500, #64748b);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
  flex-shrink: 0;
  padding: 8px;
  margin: -8px -8px -8px 0;
}
.mobile-menu-item.has-submenu.is-open .mobile-submenu-arrow {
  transform: rotate(180deg);
  color: #ffffff;
}

/* ── Sub Menu ── */
.mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  background: #0b56c7;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-item.has-submenu.is-open .mobile-submenu {
  max-height: 600px;
}

.mobile-submenu li {
  border-top: 1px solid rgba(255,255,255,0.24);
}
.mobile-submenu li:first-child {
  border-top: none;
}
.mobile-submenu a {
  display: block;
  padding: 14px 24px 14px 40px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.mobile-submenu a:hover,
.mobile-submenu a:active {
  background: rgba(255,255,255,0.14);
  color: #ffffff;
  padding-left: 48px;
}

/* ── CTA at bottom ── */
.mobile-menu-cta {
  padding: 24px;
  border-top: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.mobile-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
}

/* Hide the overlay on desktop */
@media (min-width: 981px) {
  .mobile-menu-overlay {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 76vh;
    padding-top: 140px;
  }

  .hero-shell {
    min-height: 500px;
  }

  .hero-title {
    font-size: clamp(2.9rem, 8vw, 4.8rem);
  }

  .course-highlights {
    margin-top: -60px;
    padding: 50px 0 30px;
  }

  .about-shell {
    grid-template-columns: 1fr;
  }

  .about-panel {
    max-width: 100%;
    padding: 40px 32px 40px;
  }

  .about-title-big {
    font-size: clamp(3rem, 7vw, 4.8rem);
  }

  .about-title span:not(.about-title-big) {
    font-size: clamp(2rem, 4vw, 2.8rem);
  }

  .about-img {
    height: 400px;
  }

  .about-bottom-row {
    grid-template-columns: 1fr;
  }

  .highlights-content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 0 10px;
  }

  .highlight-item {
    padding: 12px;
  }

  .split-layout,
  .gallery-shell,
  .contact-shell,
  .program-row,
  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-large,
  .gallery-card:not(.gallery-large) {
    min-height: 280px;
    grid-row: span 1;
  }

  .wc-card {
    grid-template-columns: 1fr;
  }

  .wc-card--img-right .wc-card__media {
    order: -1;
  }

  .wc-card__media {
    min-height: 260px;
  }

  .wc-card__body {
    padding: 36px 30px;
  }

  /* ── Explore Programs 980px ── */
  .ep-card--featured {
    grid-template-columns: 1fr;
  }

  .ep-card--featured .ep-card__media {
    min-height: 280px;
  }

  .explore-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── College Gallery 980px ── */
  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .gallery-card--large {
    grid-row: 1;
    grid-column: 1;
  }

  .gallery-card--small:nth-child(2) {
    grid-row: 2;
    grid-column: 1;
  }

  .gallery-card--small:nth-child(3) {
    grid-row: 3;
    grid-column: 1;
  }

  .gallery-card--large .gallery-card__media {
    min-height: 300px;
  }

  /* ── Apply Steps 980px ── */
  .apply-step {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 72px 0;
  }

  .site-logo img {
    height: 68px;
    width: auto;
  }

  .header-shell {
    min-height: 84px;
  }

  .hero {
    min-height: 70vh;
    padding: 132px 0 84px;
  }

  .hero-shell {
    min-height: 430px;
  }

  .hero-copy {
    padding-bottom: 18px;
  }

  .hero-title {
    font-size: clamp(2.6rem, 10vw, 4rem);
  }

  .hero-lead {
    max-width: 100%;
    font-size: 1rem;
  }

  .course-highlights {
    margin-top: -50px;
    padding: 40px 0 20px;
  }

  .section-light {
    padding-top: 70px;
  }

  .about-panel {
    margin-top: -40px;
    padding: 36px 28px;
    width: 100%;
  }

  .about-title-big {
    font-size: clamp(2.6rem, 10vw, 3.8rem);
  }

  .about-title span:not(.about-title-big) {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .about-lead {
    font-size: 1rem;
    line-height: 1.8;
  }

  .about-img {
    height: 300px;
  }

  .about-info-card {
    padding: 28px 22px;
  }

  .about-panel-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .highlights-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 8px;
  }

  .highlight-item {
    padding: 10px;
  }

  .highlight-label {
    font-size: 0.72rem;
    margin-bottom: 6px;
  }

  .highlight-value {
    font-size: 1.1rem;
  }

  .contact-form-card {
    padding: 24px;
  }

  .why-choose-section {
    padding: 72px 0 80px;
  }

  .why-choose-head {
    margin-bottom: 40px;
  }

  .why-choose-cards {
    gap: 28px;
  }

  .wc-card__media {
    min-height: 220px;
  }

  .wc-card__body {
    padding: 28px 22px;
  }

  .wc-card__title {
    font-size: 1.25rem;
  }

  /* ── Explore Programs 640px ── */
  .explore-programs-section {
    padding: 72px 0 80px;
  }

  .ep-card--featured {
    grid-template-columns: 1fr;
  }

  .ep-card--featured .ep-card__media {
    min-height: 240px;
  }

  .ep-card--featured .ep-card__body {
    padding: 32px 24px;
  }

  .ep-card--featured .ep-card__title {
    font-size: 1.4rem;
  }

  .explore-grid {
    grid-template-columns: 1fr;
  }

  /* ── College Gallery 640px ── */
  .college-gallery-section {
    padding: 72px 0 80px;
  }

  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 18px;
  }

  .gallery-card--large {
    grid-row: 1;
    grid-column: 1;
  }

  .gallery-card--large .gallery-card__media {
    min-height: 240px;
  }

  .gallery-card--small {
    grid-row: auto;
    grid-column: 1;
  }

  .gallery-card--small .gallery-card__media {
    min-height: 200px;
  }

  .gallery-card__title {
    font-size: 1rem;
  }

  .gallery-card--large .gallery-card__title {
    font-size: 1.2rem;
  }

  .gallery-card__description {
    display: none;
  }

  /* ── Apply Steps 640px ── */
  .apply-steps-section {
    padding: 72px 0 80px;
  }

  .apply-flow {
    flex-direction: column;
    gap: 0;
  }

  .apply-step {
    max-width: 100%;
    width: 100%;
  }

  .apply-arrow {
    transform: rotate(90deg);
    padding: 12px 0;
  }
}

@keyframes glowLineVertical {
  0% { top: -40%; }
  100% { top: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .text-rise span {
    opacity: 1 !important;
    transform: none !important;
  }

  .about-kicker,
  .about-title span,
  .about-lead,
  .about-panel-btn {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .wc-card,
  .wc-card__img {
    opacity: 1 !important;
    transform: none !important;
  }

  .ep-card,
  .ep-card--featured {
    opacity: 1 !important;
    transform: none !important;
  }

  .gallery-card {
    opacity: 1 !important;
    transform: none !important;
  }

  .gallery-card__overlay {
    display: none;
  }

  .gallery-card__badge {
    opacity: 1 !important;
    transform: none !important;
  }

  .gallery-card__image {
    animation: none !important;
    transform: none !important;
  }

  .apply-step {
    opacity: 1 !important;
    transform: none !important;
  }

  .apply-arrow .chevron {
    animation: none !important;
    opacity: 1 !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   FREE PROGRAMS SECTION
   ═══════════════════════════════════════════════════════════ */

.free-programs-section {
  background: linear-gradient(180deg, #e9f2ff 0%, #f4f7fc 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.free-programs-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(47,122,226,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.fp-shell {
  position: relative;
  z-index: 1;
}
.fp-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.fp-subtitle {
  color: var(--ink-500);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 12px;
}

.fp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.fp-card {
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(11,86,199,0.07);
  transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.45s ease;
  opacity: 0;
  transform: translateY(40px);
}
.fp-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(11,86,199,0.14);
}

.fp-card--featured {
  border: 2px solid var(--blue-500);
  position: relative;
}
.fp-card--featured::after {
  content: '\2605  Recommended';
  position: absolute;
  top: 16px;
  right: -30px;
  background: var(--blue-600);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 40px;
  transform: rotate(45deg);
  z-index: 2;
}

.fp-card__icon-wrap {
  padding: 32px 28px 0;
  display: flex;
  justify-content: center;
}
.fp-card__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--blue-100);
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(11,86,199,0.08);
}

.fp-card__body {
  padding: 24px 28px 32px;
  text-align: center;
}

.fp-card__badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #10b981;
  margin-bottom: 14px;
}

.fp-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 10px;
  line-height: 1.3;
}

.fp-card__text {
  color: var(--ink-700);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.fp-card__meta {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-500);
  margin-bottom: 20px;
}
.fp-card__meta i {
  margin-right: 4px;
  color: var(--blue-500);
}

.fp-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 50px;
  background: var(--blue-600);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}
.fp-card__cta:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
}
.fp-card__cta span {
  transition: transform 0.3s ease;
}
.fp-card__cta:hover span {
  transform: translateX(4px);
}

.fp-cta {
  text-align: center;
  margin-top: 48px;
}

/* Staggered animation delays */
.fp-card:nth-child(1) { transition-delay: 0s; }
.fp-card:nth-child(2) { transition-delay: 0.15s; }
.fp-card:nth-child(3) { transition-delay: 0.3s; }


/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS CAROUSEL SECTION
   ═══════════════════════════════════════════════════════════ */

.testimonials-section {
  background: linear-gradient(180deg, #dbeafe 0%, #e9f2ff 40%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(47,122,226,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.testimonials-section::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.testi-shell {
  position: relative;
  z-index: 1;
}
.testi-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.testi-subtitle {
  color: var(--ink-500);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 12px;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 56px;
}

.testimonial-track {
  display: flex;
  gap: 28px;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
}

.testi-card {
  flex: 0 0 calc(33.333% - 19px);
  min-width: 0;
  background: rgba(255,255,255,0.7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 4px 24px rgba(11,86,199,0.07);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.testi-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 20px 48px rgba(11,86,199,0.14), 0 0 0 1px rgba(47,122,226,0.08);
}

.testi-stars {
  font-size: 1.15rem;
  color: #c9a84c;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.testi-quote {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ink-700);
  font-style: italic;
  margin-bottom: 24px;
  min-height: 90px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  box-shadow: 0 4px 12px rgba(11,86,199,0.18);
  flex-shrink: 0;
}
.testi-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-900);
}
.testi-course {
  font-size: 0.8rem;
  color: var(--ink-500);
  margin-top: 2px;
}

/* Carousel Navigation */
.testi-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--blue-500);
  background: rgba(255,255,255,0.9);
  color: var(--blue-600);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.testi-nav:hover {
  background: var(--blue-600);
  color: #fff;
  border-color: var(--blue-600);
  box-shadow: 0 4px 16px rgba(11,86,199,0.25);
}
.testi-prev { left: 0; }
.testi-next { right: 0; }

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}
.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(11,86,199,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.testi-dot.is-active {
  background: var(--blue-600);
  width: 28px;
  border-radius: 5px;
}


/* ═══════════════════════════════════════════════════════════
   LATEST ARTICLES SECTION
   ═══════════════════════════════════════════════════════════ */

.articles-section {
  background: #ffffff;
  position: relative;
}
.articles-shell {
  position: relative;
  z-index: 1;
}
.articles-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.articles-subtitle {
  color: var(--ink-500);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 12px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.article-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(11,86,199,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.45s ease;
  opacity: 0;
  transform: translateY(40px);
}
.article-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(11,86,199,0.12);
}

.article-card__image {
  height: 220px;
  position: relative;
  overflow: hidden;
}
.article-card__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.article-card:hover .article-card__img {
  transform: scale(1.08);
}

.article-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}
.article-card__badge--training { background: var(--blue-600); }
.article-card__badge--career { background: #10b981; }
.article-card__badge--student { background: #c9a84c; }

.article-card__body {
  padding: 24px;
}

.article-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__text {
  font-size: 0.9rem;
  color: var(--ink-700);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__meta {
  display: flex;
  gap: 18px;
  font-size: 0.78rem;
  color: var(--ink-500);
  margin-bottom: 16px;
}
.article-card__meta i {
  margin-right: 4px;
  color: var(--blue-500);
}

.article-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-600);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}
.article-card__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-600);
  transition: width 0.3s ease;
}
.article-card__link:hover {
  color: var(--blue-700);
}
.article-card__link:hover::after {
  width: 100%;
}
.article-card__link span {
  transition: transform 0.3s ease;
}
.article-card__link:hover span {
  transform: translateX(4px);
}

/* Staggered */
.article-card:nth-child(1) { transition-delay: 0s; }
.article-card:nth-child(2) { transition-delay: 0.15s; }
.article-card:nth-child(3) { transition-delay: 0.3s; }

.articles-cta {
  text-align: center;
  margin-top: 48px;
}


/* ═══════════════════════════════════════════════════════════
   FAQ ACCORDION SECTION
   ═══════════════════════════════════════════════════════════ */

.faq-section {
  position: relative;
}
.faq-shell {
  position: relative;
  z-index: 1;
}
.faq-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 52px;
}
.faq-subtitle {
  color: var(--ink-500);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 12px;
}

.faq-container {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(11,86,199,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq-item:hover {
  box-shadow: 0 4px 20px rgba(11,86,199,0.1);
}
.faq-item.is-open {
  box-shadow: 0 6px 28px rgba(11,86,199,0.12);
  border-color: rgba(47,122,226,0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-900);
  text-align: left;
  transition: background 0.3s ease, color 0.3s ease;
}
.faq-question:hover {
  background: var(--blue-100);
}
.faq-item.is-open .faq-question {
  color: var(--blue-700);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--blue-600);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25,0.46,0.45,0.94), padding 0.4s ease;
  padding: 0 24px;
}
.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding: 0 24px 24px;
}

.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ink-700);
}

.faq-cta {
  text-align: center;
  margin-top: 52px;
}
.faq-cta__text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 16px;
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — NEW SECTIONS
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .fp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testi-card {
    flex: 0 0 calc(50% - 14px);
  }
  .testimonial-carousel {
    padding: 0 48px;
  }
}

@media (max-width: 768px) {
  .fp-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .testi-card {
    flex: 0 0 100%;
  }
  .testimonial-carousel {
    padding: 0;
  }
  .testi-nav {
    display: none;
  }
  .testi-quote {
    min-height: 0;
  }
  .faq-question {
    font-size: 0.92rem;
    padding: 16px 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.is-open .faq-answer {
    padding: 0 20px 20px;
  }
  .fp-card--featured::after {
    display: none;
  }
}


/* ═══════════════════════════════════════════════════════════════
   STUDENT GALLERY  (sg-*)
   ═══════════════════════════════════════════════════════════════ */
.sg-shell {
  display: block;
}
.sg-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}
.sg-subtitle {
  color: var(--ink-500);
  font-size: 1.05rem;
  margin-top: 12px;
}

/* ── asymmetric grid: 1 large (spans 2 rows) + 2 small ── */
.sg-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.sg-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}
.sg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.sg-item:hover img {
  transform: scale(1.06);
}
.sg-item--large {
  grid-row: 1 / 3;
}
.sg-item--small {
  min-height: 200px;
}

/* ── overlay ── */
.sg-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.sg-item:hover .sg-overlay {
  transform: translateY(0);
}
.sg-overlay__title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 4px;
}
.sg-overlay__desc {
  color: rgba(255,255,255,.8);
  font-size: 0.85rem;
  margin: 0;
}

/* ── equal row ── */
.sg-equal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.sg-item--eq {
  height: 260px;
}

/* ── gallery reveal animation ── */
.sg-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.sg-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox.is-open {
  display: flex;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
  transition: transform 0.2s;
}
.lightbox-close:hover {
  transform: scale(1.2);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-50%) scale(1.1);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-content {
  max-width: 88vw;
  max-height: 82vh;
  text-align: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 10px;
}
.lightbox-info {
  color: #fff;
  padding: 16px 0 0;
  text-align: center;
}
.lightbox-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 4px;
}
.lightbox-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,.7);
  margin: 0;
}
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  font-size: 0.85rem;
  font-weight: 500;
}


/* ═══════════════════════════════════════════════════════════════
   EVENTS & NOTICES  (en-*)
   ═══════════════════════════════════════════════════════════════ */
.en-section {
  background: #f8fbff;
}
.en-shell {
  max-width: 1100px;
  margin: 0 auto;
}
.en-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 32px;
}
.en-subtitle {
  color: var(--ink-500);
  font-size: 1.05rem;
  margin-top: 12px;
}

/* ── tabs ── */
.en-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.en-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border: 2px solid var(--blue-100);
  border-radius: 100px;
  background: transparent;
  color: var(--ink-700);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.en-tab:hover {
  border-color: var(--blue-500);
  color: var(--blue-700);
}
.en-tab.is-active {
  background: var(--blue-700);
  color: #fff;
  border-color: var(--blue-700);
}

/* ── panels ── */
.en-panel {
  display: none;
}
.en-panel.is-active {
  display: block;
}

/* ── featured event ── */
.en-featured {
  display: grid;
  grid-template-columns: 5fr 7fr;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.en-featured__image {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.en-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.en-featured__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--blue-700);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.en-featured__body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.en-featured__category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 6px;
  width: fit-content;
}
.en-featured__title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0;
  line-height: 1.3;
}
.en-featured__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--ink-500);
}
.en-featured__meta i {
  color: var(--blue-600);
  margin-right: 4px;
}
.en-featured__desc {
  color: var(--ink-700);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ── countdown ── */
.en-countdown {
  display: flex;
  gap: 10px;
  margin: 4px 0;
}
.en-countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--blue-100);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 68px;
}
.en-countdown__num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue-700);
  line-height: 1.2;
}
.en-countdown__label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  font-weight: 600;
  margin-top: 2px;
}
.en-featured__cta {
  align-self: flex-start;
  margin-top: 4px;
}
.en-countdown--ended .en-countdown__num {
  color: var(--ink-500);
}

/* ── event rows ── */
.en-events-list {
  margin-top: 32px;
  border-top: 1px solid var(--blue-100);
}
.en-event-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 12px;
  border-bottom: 1px solid var(--blue-100);
  transition: transform 0.3s ease, background 0.3s ease;
}
.en-event-row:hover {
  transform: translateX(6px);
  background: linear-gradient(90deg, var(--blue-100) 0%, transparent 100%);
}
.en-event-row__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--blue-700);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 60px;
  line-height: 1;
}
.en-event-row__day {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
}
.en-event-row__month {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 2px;
}
.en-event-row__type {
  display: inline-block;
  padding: 3px 10px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 6px;
  margin-bottom: 4px;
}
.en-event-row__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 4px;
}
.en-event-row__desc {
  color: var(--ink-500);
  font-size: 0.88rem;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.en-event-row__status {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
  text-align: center;
  min-width: 100px;
}
.en-event-row__status.status--upcoming {
  background: #e6f9ee;
  color: #15803d;
}
.en-event-row__status.status--soon {
  background: #fff7e6;
  color: #b45309;
}
.en-event-row__status.status--ended {
  background: #fee2e2;
  color: #dc2626;
}
.en-event-row__status.status--completed {
  background: var(--blue-100);
  color: var(--ink-500);
}

/* ── notice rows ── */
.en-notices-list {
  border-top: 1px solid var(--blue-100);
}
.en-notice-row {
  padding: 20px 12px;
  border-bottom: 1px solid var(--blue-100);
  transition: transform 0.3s ease, background 0.3s ease;
  cursor: default;
}
.en-notice-row:hover {
  transform: translateX(6px);
  background: linear-gradient(90deg, var(--blue-100) 0%, transparent 100%);
}
.en-notice-row__type {
  display: inline-block;
  padding: 3px 10px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 6px;
  margin-bottom: 6px;
}
.en-notice-row__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 4px;
}
.en-notice-row__desc {
  color: var(--ink-500);
  font-size: 0.88rem;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — GALLERY, LIGHTBOX, EVENTS & NOTICES
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .en-featured {
    grid-template-columns: 1fr;
  }
  .en-featured__image {
    min-height: 240px;
    max-height: 320px;
  }
}

@media (max-width: 768px) {
  .sg-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .sg-item--large {
    grid-row: auto;
    min-height: 240px;
  }
  .sg-item--small {
    min-height: 180px;
  }
  .sg-equal {
    grid-template-columns: 1fr;
  }
  .sg-item--eq {
    height: 200px;
  }
  .sg-overlay {
    transform: translateY(0);
  }

  .en-tabs {
    gap: 8px;
  }
  .en-tab {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
  .en-featured__body {
    padding: 24px 20px;
  }
  .en-featured__title {
    font-size: 1.15rem;
  }
  .en-countdown__item {
    padding: 8px 10px;
    min-width: 56px;
  }
  .en-countdown__num {
    font-size: 1.25rem;
  }
  .en-event-row {
    grid-template-columns: auto 1fr;
    gap: 14px;
  }
  .en-event-row__status {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: -8px;
    margin-left: 80px;
  }
}

/* ============================================================
   Gallery Hero – Centre-align variant
   ============================================================ */
.gallery-hero--center .gallery-hero__inner {
  text-align: center;
}
.gallery-hero--center .section-kicker,
.gallery-hero--center .page-hero__title,
.gallery-hero--center .page-hero__lead {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.gallery-hero--center .page-hero__title {
  max-width: 800px;
}
.gallery-hero--center .page-hero__lead {
  max-width: 600px;
}

/* ============================================================
   Gallery Category Tabs (JS-powered, instant client-side filter)
   ============================================================ */
.gallery-tabs-wrapper {
  margin-bottom: 36px;
  overflow-x: auto;
}

.gallery-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 4px 0;
}

.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: #374151;
  background: #ffffff;
  border: 1.5px solid #d1d5db;
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
  line-height: 1;
}
.gallery-tab:hover {
  background: #f0f4ff;
  border-color: #0b56c7;
  color: #0b56c7;
}
.gallery-tab.is-active {
  background: #0b56c7;
  border-color: #0b56c7;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(11, 86, 199, .35);
}
.gallery-tab.is-active:hover {
  background: #0946a8;
  border-color: #0946a8;
}

@media (max-width: 600px) {
  .gallery-filter-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 4px;
  }
  .gallery-tab {
    padding: 8px 16px;
    font-size: .8125rem;
  }
}

/* ============================================================
   College Gallery Experience (Admin-driven page-gallery.php)
   ============================================================ */
.college-gallery-story {
  padding: 64px 0 36px;
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(11, 86, 199, 0.08), transparent 62%),
    #ffffff;
}

.college-gallery-story__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: start;
}

.college-gallery-story__main h2 {
  margin: 10px 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 2.8vw, 2.8rem);
  line-height: 1.15;
  color: var(--ink-900);
}

.college-gallery-story__main p,
.college-gallery-story__seo p {
  margin: 0;
  color: var(--ink-500);
  line-height: 1.75;
  font-size: 1rem;
}

.college-gallery-story__seo {
  border: 1px solid rgba(16, 24, 40, 0.08);
  background: #f8fbff;
  padding: 22px 20px;
}

.college-gallery-story__seo h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  color: var(--ink-900);
  font-size: 1.25rem;
}

.college-gallery-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.college-gallery-highlight {
  border: 1px solid rgba(16, 24, 40, 0.09);
  background: #fff;
  padding: 20px 18px;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.college-gallery-highlight h4 {
  margin: 0 0 8px;
  font-size: 1.04rem;
  color: var(--ink-900);
}

.college-gallery-highlight p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--ink-500);
}

.college-gallery-highlight:nth-child(3n+1):hover {
  border-color: rgba(11, 86, 199, .45);
  background: rgba(11, 86, 199, .05);
  box-shadow: 0 12px 24px -16px rgba(11, 86, 199, .35);
}

.college-gallery-highlight:nth-child(3n+2):hover {
  border-color: rgba(5, 150, 105, .45);
  background: rgba(5, 150, 105, .06);
  box-shadow: 0 12px 24px -16px rgba(5, 150, 105, .35);
}

.college-gallery-highlight:nth-child(3n+3):hover {
  border-color: rgba(124, 58, 237, .45);
  background: rgba(124, 58, 237, .06);
  box-shadow: 0 12px 24px -16px rgba(124, 58, 237, .34);
}

.gallery-grid--cinematic {
  grid-auto-flow: dense;
}

/* ── Column count rules (driven by admin "Columns" setting) ── */
.gallery-grid--1-cols { grid-template-columns: 1fr; }
.gallery-grid--2-cols { grid-template-columns: repeat(2, 1fr); }
.gallery-grid--3-cols { grid-template-columns: repeat(3, 1fr); }
.gallery-grid--4-cols { grid-template-columns: repeat(4, 1fr); }

/* Items should never stretch to fill empty grid rows */
.gallery-section {
  padding-bottom: 80px;
}

.gallery-section .gallery-grid {
  align-content: start;
}

.gallery-grid--cinematic .gallery-grid__item {
  min-height: 160px;
}

.gallery-grid--cinematic .gallery-grid__item--wide {
  grid-column: span 2;
}

.gallery-grid--cinematic .gallery-grid__item--tall {
  grid-row: span 2;
}

.gallery-grid--cinematic .gallery-grid__link {
  display: block;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-grid--cinematic .gallery-grid__link img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  transition: filter .25s ease, transform .35s ease;
}

/* ── Hover overlay: title + description ── */
.gallery-grid__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.85) 0%, rgba(10,22,40,.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 12px;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.gallery-grid__link:hover .gallery-grid__overlay,
.gallery-grid__link:focus .gallery-grid__overlay {
  opacity: 1;
}

.gallery-grid__link:hover img {
  transform: scale(1.04);
}

.gallery-grid__overlay-title {
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .01em;
}

.gallery-grid__overlay-desc {
  color: rgba(255,255,255,.8);
  font-size: .75rem;
  line-height: 1.4;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-grid--cinematic .gallery-grid__item:nth-child(3n+1):hover {
  box-shadow: 0 16px 36px -22px rgba(11, 86, 199, .4);
}

.gallery-grid--cinematic .gallery-grid__item:nth-child(3n+1):hover .gallery-grid__link img {
  filter: saturate(1.12) contrast(1.05);
}

.gallery-grid--cinematic .gallery-grid__item:nth-child(3n+2):hover {
  box-shadow: 0 16px 36px -22px rgba(5, 150, 105, .38);
}

.gallery-grid--cinematic .gallery-grid__item:nth-child(3n+2):hover .gallery-grid__link img {
  filter: hue-rotate(-8deg) saturate(1.08);
}

.gallery-grid--cinematic .gallery-grid__item:nth-child(3n+3):hover {
  box-shadow: 0 16px 36px -22px rgba(124, 58, 237, .38);
}

.gallery-grid--cinematic .gallery-grid__item:nth-child(3n+3):hover .gallery-grid__link img {
  filter: hue-rotate(8deg) saturate(1.08);
}

@media (max-width: 1024px) {
  .college-gallery-story__grid {
    grid-template-columns: 1fr;
  }

  .college-gallery-highlights {
    grid-template-columns: 1fr;
  }

  .gallery-grid--cinematic .gallery-grid__item--wide,
  .gallery-grid--cinematic .gallery-grid__item--tall {
    grid-column: auto;
    grid-row: auto;
  }
}
