/* ============================================================
   SAITM Theme — Main CSS  v1.3
   Carousel hero · Bento faculties · Full responsive
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Serif:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --blue:        #003399;
  --blue-rgb:    0, 51, 153;
  --blue-dark:   #002068;
  --blue-light:  #4193ff;
  --blue-fixed:  #dce1ff;
  --green:       #1f9d63;
  --green-light: #4cc38a;
  --surface:     #f8f9ff;
  --surface-lo:  #eef4fe;
  --surface-hi:  #e3e8f3;
  --surface-subtle: #f8fafc;
  --white:       #ffffff;
  --text:        #161c23;
  --text-muted:  #444653;
  --border:      #c4c5d5;
  --outline:     #747684;
  --dark-nav:    #1c2838;
  --dark-card:   #323e4f;
  --error:       #ba1a1a;
  --glow-blue:      rgba(65, 147, 255, .55);
  --glow-blue-soft: rgba(65, 147, 255, .30);
  --font-sans:   'IBM Plex Sans', sans-serif;
  --font-serif:  'IBM Plex Serif', serif;
  --max-w:       1200px;
  --px-desktop:  64px;
  --px-mobile:   16px;
  --r:           4px;
  --r-lg:        8px;
  --r-xl:        12px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; overflow-x: hidden; }
body  { font-family: var(--font-sans); background: var(--surface); color: var(--text); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Container ─────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px-desktop); }
@media (max-width: 768px) { .container { padding-inline: var(--px-mobile); } }

/* ── Reveal animation ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.active { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal.active { transition: none; opacity: 1; transform: none; } }

/* ============================================================
   NAVIGATION
   ============================================================ */
.saitm-nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--px-desktop);
  height: 72px;
  background: rgba(248,249,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.saitm-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.10); }

/* Logo / brand */
.saitm-nav__brand { display: flex; align-items: center; justify-content: flex-start; gap: 8px; flex-shrink: 0; }
.saitm-nav__brand a { display: flex; align-items: center; gap: 8px; }
.saitm-nav__brand img,
.saitm-nav__brand .custom-logo { width: 140px; height: auto; object-fit: contain; }
.saitm-nav__name { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--blue); }

/* Links */
.saitm-nav__links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.saitm-nav__links a { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--text-muted); transition: color .2s; padding: 4px 0; }
.saitm-nav__links a:hover,
.saitm-nav__links .current-menu-item > a,
.saitm-nav__links .active > a { color: var(--blue); border-bottom: 2px solid var(--blue); }

/* CTA button */
.saitm-nav__cta {
  flex-shrink: 0;
  background: var(--blue); color: var(--white);
  padding: 9px 22px; border-radius: var(--r);
  font-size: 13px; font-weight: 700; letter-spacing: .05em;
  border: none; cursor: pointer;
  transition: opacity .2s, transform .2s, box-shadow .2s;
}
.saitm-nav__cta:hover { opacity: .88; transform: scale(1.04); color: var(--white); box-shadow: 0 6px 18px var(--glow-blue); }

/* Hamburger */
.saitm-nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.saitm-nav__toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.saitm-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.saitm-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.saitm-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .saitm-nav { padding: 0 var(--px-mobile); height: 60px; }
  .saitm-nav__cta { display: none; }
  .saitm-nav__toggle { display: flex; }
  .saitm-nav__links {
    display: none; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; top: 60px; left: 0; width: 100%;
    background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08); z-index: 99;
    padding: .5rem var(--px-mobile) 1rem;
  }
  .saitm-nav__links.open { display: flex; }
  .saitm-nav__links li { width: 100%; }
  .saitm-nav__links a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--border); font-size: 15px; }
  .saitm-nav__links li:last-child a { border-bottom: none; }
  .saitm-nav__brand .custom-logo,
  .saitm-nav__brand img { width: 110px; height: auto; }
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.saitm-hero {
  position: relative;
  height: 100vh; min-height: 600px; max-height: 900px;
  display: flex; align-items: center;
  overflow: hidden;
  margin-top: 72px;
}
@media (max-width: 768px) {
  .saitm-hero {
    margin-top: 60px;
    height: auto;
    min-height: 100svh; /* fills the screen but is free to grow for taller content */
    padding: 96px 0 88px; /* room for the fixed nav above + dots below */
  }
}
@media (max-width: 480px) {
  .saitm-hero { padding: 88px 0 76px; }
}

/* ── Carousel track ─────────────────────────────────────── */
.saitm-carousel { position: absolute; inset: 0; }

.saitm-carousel__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}
.saitm-carousel__slide.active { opacity: 1; }

/* Each slide's background image with zoom-in keyframe */
.saitm-carousel__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform-origin: center;
}
/* Zoom plays only on the active slide */
@keyframes heroZoom {
  0%   { transform: scale(1.05); }
  100% { transform: scale(1);    }
}
.saitm-carousel__slide.active .saitm-carousel__img {
  animation: heroZoom 6.5s ease-out forwards;
}
/* Reset zoom instantly when slide leaves */
.saitm-carousel__slide:not(.active) .saitm-carousel__img {
  animation: none;
  transform: scale(1);
}

/* On narrow/portrait screens, wide landscape photos get cropped much more
   aggressively by background-size:cover. Bias the crop toward the top of
   the frame (where the subject usually is) and tone down the zoom so it
   doesn't crop in even further on an already-tight mobile view. */
@media (max-width: 768px) {
  .saitm-carousel__img { background-position: center top; }
  @keyframes heroZoomMobile {
    0%   { transform: scale(1.03); }
    100% { transform: scale(1);    }
  }
  .saitm-carousel__slide.active .saitm-carousel__img {
    animation: heroZoomMobile 6.5s ease-out forwards;
  }
}

/* ── Overlay ────────────────────────────────────────────── */
.saitm-hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    to right,
    rgba(0,12,42,.90) 0%,
    rgba(0,22,72,.72) 40%,
    rgba(0,32,104,.38) 68%,
    rgba(0,32,104,.10) 100%
  );
}
@media (max-width: 768px) {
  .saitm-hero__overlay {
    background: linear-gradient(
      to top,
      rgba(0,12,42,.90) 0%,
      rgba(0,22,72,.68) 40%,
      rgba(0,32,104,.30) 100%
    );
  }
}

/* ── Hero content ───────────────────────────────────────── */
.saitm-hero .container { position: relative; z-index: 3; }
.saitm-hero__content   {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  animation: heroFadeUp .9s ease .2s both;
}


@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

.saitm-hero__tag {
  display: block;
  text-transform: uppercase;
  font-size: 14px; font-weight: 700; letter-spacing: .16em;
  color: rgb(247 245 237 / 92%);
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
  margin-bottom: 1.4rem;
}

/* Thin accent line above the heading */
.saitm-hero__accent {
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 auto 1.4rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-light) 0%, var(--blue-light) 72%, var(--green-light) 100%);
}

.saitm-hero__title {
  font-family: var(--font-serif);
  font-size: 50px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  /* Reserve height for up to 2 lines (em-based so it scales with each breakpoint's font-size) */
  min-height: 2.32em;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .saitm-hero__title { font-size: 40px; }
}
@media (max-width: 600px) {
  .saitm-hero__title { font-size: 31px; line-height: 1.18; min-height: 2.38em; }
}
@media (max-width: 400px) {
  .saitm-hero__title { font-size: 26px; }
}

/* Typewriter span — subtle fade/slide while backspacing between phrases */
.saitm-hero__title-type {
  display: inline-block;
  transition: opacity .45s ease, transform .45s ease;
}
.saitm-hero__title-type.is-erasing {
  opacity: .5;
  transform: translateY(4px);
}

/* Typewriter caret — solid while actively typing/erasing, blinks only while
   holding on a finished phrase (natural typewriter behavior) */
.saitm-hero__caret {
  display: inline-block;
  width: 3px;
  height: .85em;
  margin-left: 4px;
  background: currentColor;
  vertical-align: -0.08em;
  opacity: 1;
}
.saitm-hero__caret.is-blinking {
  animation: saitmCaretBlink 1.1s ease-in-out infinite;
}
@keyframes saitmCaretBlink {
  0%, 45%  { opacity: 1; }
  50%, 95% { opacity: 0; }
  100%     { opacity: 1; }
}

/* Subtle accent for the word "Green" within the "Green Campus" phrase */
.saitm-hero__word-green { color: var(--green-light); }

.saitm-hero__desc {
  font-size: 18px; line-height: 1.72;
  color: rgb(255 253 247 / 85%);
  margin: 0 auto 2.4rem; max-width: 560px;
}
.saitm-hero__actions { display: flex; gap: 1.1rem; flex-wrap: wrap; justify-content: center; }

/* ── Dot indicators ─────────────────────────────────────── */
.saitm-carousel__dots {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 10; display: flex; gap: 10px;
}
.saitm-carousel__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: none;
  cursor: pointer; padding: 0;
  transition: width .35s ease, border-radius .35s ease, background .35s ease;
}
.saitm-carousel__dot:hover { background: rgba(255,255,255,.7); }
.saitm-carousel__dot.active {
  width: 26px;
  border-radius: 999px;
  background: var(--blue-light);
}
@media (max-width: 480px) { .saitm-carousel__dots { bottom: 16px; } }

/* ── Scroll-down indicator ──────────────────────────────── */
.saitm-hero__scroll {
  position: absolute; left: 50%; bottom: 76px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.62);
  animation: saitmScrollBounce 2.4s ease-in-out infinite;
}
.saitm-hero__scroll-mouse {
  position: relative;
  width: 20px; height: 32px;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 12px;
}
.saitm-hero__scroll-dot {
  position: absolute; top: 6px; left: 50%;
  width: 3px; height: 7px; border-radius: 2px;
  background: rgba(255,255,255,.8);
  transform: translateX(-50%);
  animation: saitmScrollDot 2.4s ease-in-out infinite;
}
@keyframes saitmScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(4px); }
}
@keyframes saitmScrollDot {
  0%   { opacity: 1; top: 6px; }
  60%  { opacity: 0; top: 15px; }
  100% { opacity: 0; top: 6px; }
}
@media (max-width: 768px) { .saitm-hero__scroll { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .saitm-hero__scroll, .saitm-hero__scroll-dot { animation: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; padding: 14px 32px;
  background: var(--blue); color: var(--white);
  font-size: 14px; font-weight: 700; letter-spacing: .05em;
  border: none; border-radius: var(--r-lg); cursor: pointer;
  box-shadow: 0 4px 14px var(--glow-blue-soft);
  transition: transform .25s, box-shadow .25s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 28px var(--glow-blue); color: var(--white); }
.btn-primary__arrow {
  display: inline-block;
  opacity: 0;
  margin-left: 0;
  transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease, margin-left .25s ease;
}
.btn-primary:hover .btn-primary__arrow {
  opacity: 1;
  margin-left: 8px;
  transform: translateX(0);
}

.btn-outline {
  display: inline-block; padding: 14px 32px;
  border: 2px solid var(--blue); color: var(--blue);
  font-size: 14px; font-weight: 700; letter-spacing: .05em;
  border-radius: var(--r-lg); background: transparent; cursor: pointer;
  transition: background .25s, transform .25s;
}
.btn-outline:hover { background: var(--surface-hi); transform: translateY(-2px); }

.btn-white {
  display: inline-block; padding: 14px 32px;
  background: var(--white); color: var(--blue);
  font-size: 14px; font-weight: 700; letter-spacing: .05em;
  border: none; border-radius: var(--r); cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transition: background .25s, transform .25s;
}
.btn-white:hover { background: var(--surface); transform: scale(1.04); }

.btn-ghost {
  display: inline-block; padding: 14px 32px;
  border: 1.5px solid rgba(255,255,255,.45); color: var(--white);
  font-size: 14px; font-weight: 700; letter-spacing: .05em;
  border-radius: var(--r); background: transparent; cursor: pointer;
  transition: background .25s;
}
.btn-ghost:hover { background: var(--white); color: var(--blue-dark); border-color: var(--white); }

@media (max-width: 480px) {
  .btn-primary, .btn-outline, .btn-white, .btn-ghost {
    width: 100%; text-align: center; padding: 14px 20px;
  }
  .saitm-hero__actions { flex-direction: column; }
}

/* ============================================================
   ABOUT SECTION — Welcome to SAITM
   ============================================================ */
.saitm-about { padding: 5.5rem 0; background: var(--surface-lo); overflow: visible; }
.saitm-about__inner { display: flex; gap: 4.5rem; align-items: center; }
.saitm-about__text  { flex: 1 1 50%; min-width: 0; }

.saitm-about__badge {
  display: inline-block;
  padding: .4rem 1rem;
  border-radius: 999px;
  background: rgb(0 51 153 / 8%);
  color: var(--blue);
  font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.saitm-about__title {
  margin-bottom: 1.4rem;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
.saitm-about__title-accent { color: var(--blue); }

.saitm-about__text p  { color: var(--text-muted); margin-bottom: 1.1rem; font-size: 16px; line-height: 1.75; }
.saitm-about__btn { margin-top: .75rem; }

.saitm-about__media { position: relative; flex: 1 1 46%; min-width: 0; }
.saitm-about__img-wrap {
  border-radius: var(--r-xl, 20px);
  overflow: hidden;
  aspect-ratio: 9 / 10;
  box-shadow: 0 20px 50px rgba(0,20,70,.16);
}
.saitm-about__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.saitm-about__placeholder {
  width: 100%; height: 100%; min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-hi); color: var(--blue);
}
.saitm-about__placeholder .material-symbols-outlined { font-size: 3rem; opacity: .5; }

.saitm-about__quote {
  position: absolute;
  left: -2.5rem; bottom: -2.25rem;
  width: min(300px, 78%);
  background: var(--white);
  border-radius: var(--r-lg, 16px);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 16px 40px rgba(0,20,70,.18);
  animation: saitmQuoteFloat 6s ease-in-out infinite;
}
@keyframes saitmQuoteFloat {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 16px 40px rgba(0,20,70,.18);
  }
  50% {
    transform: translateY(-10px);
    box-shadow: 0 28px 48px rgba(0,20,70,.12);
  }
}
@media (prefers-reduced-motion: reduce) {
  .saitm-about__quote { animation: none; }
}
.saitm-about__quote-icon {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3.25rem;
  font-weight: 700;
  line-height: .6;
  color: var(--blue-light);
  margin-bottom: .3rem;
}
.saitm-about__quote p { font-size: 14.5px; line-height: 1.6; color: var(--text); margin: 0 0 .6rem; }
.saitm-about__quote-source { font-size: 12px; font-weight: 600; color: var(--blue); }

@media (max-width: 1024px) {
  .saitm-about__inner { gap: 3rem; }
  .saitm-about__quote { left: -1.25rem; width: min(280px, 82%); padding: 1.25rem 1.4rem; }
}
@media (max-width: 768px)  {
  .saitm-about { padding: 3.5rem 0; }
  .saitm-about__inner { flex-direction: column-reverse; gap: 3rem; }
  .saitm-about__media { width: 100%; }
  .saitm-about__quote { left: 0; right: 0; margin: 0 auto; bottom: -1.75rem; width: min(320px, 88%); }
}
@media (max-width: 480px) {
  .saitm-about__quote { position: static; transform: none; width: 100%; margin-top: 1.5rem; }
}

/* ============================================================
   CHAIRMAN'S MESSAGE STRIP
   ============================================================ */
.saitm-message-strip {
  position: relative;
  z-index: 5;
  background: var(--surface-lo);
  border-bottom: 1px solid var(--border);
}
.saitm-message-strip__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.saitm-message-strip__avatar {
  flex-shrink: 0;
  width: 76px; height: 76px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-hi);
  border: 4px solid var(--white);
  animation: avatarRingPulse 2.6s ease-in-out infinite;
}
@keyframes avatarRingPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(var(--blue-rgb), .18), 0 0 8px 1px rgba(var(--blue-rgb), .18); }
  50%      { box-shadow: 0 0 0 3px rgba(var(--blue-rgb), .65), 0 0 18px 5px rgba(var(--blue-rgb), .55); }
}
@media (prefers-reduced-motion: reduce) {
  .saitm-message-strip__avatar {
    animation: none;
    box-shadow: 0 0 0 3px rgba(var(--blue-rgb), .4);
  }
}
.saitm-message-strip__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.saitm-message-strip__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.saitm-message-strip__placeholder .material-symbols-outlined { font-size: 1.75rem; opacity: .6; }

.saitm-message-strip__text { flex: 1 1 auto; min-width: 0; }
.saitm-message-strip__title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(16px, 1.9vw, 20px);
  color: var(--blue);
  line-height: 1.35;
  margin-bottom: .25rem;
}
.saitm-message-strip__subtitle {
  font-size: 12.5px; font-weight: 600; letter-spacing: .05em;
  color: var(--text-muted);
}

.saitm-message-strip__btn { flex-shrink: 0; white-space: nowrap; }

@media (max-width: 900px) {
  .saitm-message-strip__inner { flex-wrap: wrap; padding: 1.5rem 0 1.25rem; }
}
@media (max-width: 640px) {
  .saitm-message-strip__inner { padding: 1.25rem 0 1.1rem; }
  .saitm-message-strip__avatar { width: 60px; height: 60px; }
  .saitm-message-strip__title { font-size: 15.5px; }
  .saitm-message-strip__btn { margin-left: 0; width: 100%; justify-content: center; margin-top: .75rem; }
}

/* ============================================================
   OFFICIAL RECOGNITION & STATUS
   ============================================================ */
.saitm-recognition { padding: 5.5rem 0; background: var(--surface); }

.saitm-recognition__header { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.saitm-recognition__badge { margin-bottom: 1rem; }
.saitm-recognition__header h2 {
  font-family: var(--font-serif); font-size: clamp(24px, 3vw, 34px); font-weight: 700;
  color: var(--text); margin-bottom: 1.1rem;
}
.saitm-recognition__header .saitm-section-rule { margin-bottom: 1.3rem; }
.saitm-recognition__desc { color: var(--text-muted); font-size: 15.5px; line-height: 1.75; }

.saitm-recognition__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.saitm-recognition-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl, 20px);
  padding: 2rem 1.9rem;
  box-shadow: 0 4px 20px rgba(0,20,70,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.saitm-recognition-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,20,70,.10);
}

.saitm-recognition-card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgb(0 51 153 / 8%);
  color: var(--blue);
  margin-bottom: 1.25rem;
}
.saitm-recognition-card__icon .material-symbols-outlined { font-size: 26px; }

.saitm-recognition-card__title {
  font-family: var(--font-serif); font-size: 19px; font-weight: 700;
  color: var(--blue); margin-bottom: .7rem;
}

.saitm-recognition-card__desc { font-size: 14.5px; line-height: 1.7; color: var(--text-muted); }

.saitm-recognition-card__gazette {
  display: flex; align-items: flex-start; gap: .5rem;
  margin-top: 1.25rem; padding-top: 1.1rem;
  border-top: 1px solid var(--surface-hi);
  font-size: 12.5px; font-weight: 600; line-height: 1.6; color: var(--text);
}
.saitm-recognition-card__gazette .material-symbols-outlined { font-size: 17px; color: var(--blue-light); flex-shrink: 0; margin-top: 1px; }
.saitm-recognition-card__gazette a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.saitm-recognition-card__gazette a:hover { color: var(--blue-dark); }

@media (max-width: 900px) {
  .saitm-recognition__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .saitm-recognition { padding: 3.5rem 0; }
  .saitm-recognition__header { margin-bottom: 2.25rem; }
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.saitm-faculties__header,
.saitm-highlights__header,
.saitm-partnerships__header { margin-bottom: 2.5rem; }
.saitm-faculties__header   { text-align: center; }
.saitm-partnerships__header { text-align: center; }

.saitm-faculties__header h2,
.saitm-highlights__header h2,
.saitm-partnerships__header h2 {
  font-family: var(--font-serif); font-size: clamp(24px,3vw,34px); font-weight: 600;
  color: var(--text); margin-bottom: .75rem;
}
.saitm-highlights__header h2 { color: var(--blue); }

.saitm-section-rule {
  height: 4px; width: 80px; background: var(--blue);
  border: none; border-radius: 2px; margin: 0 auto;
}
.saitm-section-rule--left { margin-left: 0; }

.saitm-partnerships__eyebrow {
  display: block;
  font-size: 12px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .4rem;
}

/* ============================================================
   BENTO FACULTY GRID
   ============================================================ */
.saitm-faculties { padding: 5rem 0; background: var(--white); }

.saitm-bento-row { display: flex; gap: 14px; margin-bottom: 14px; }
.saitm-bento-row--top    { min-height: 440px; }
.saitm-bento-row--bottom { min-height: 220px; }

/* Shared card */
.saitm-bento-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  cursor: pointer; transition: transform .4s, box-shadow .4s;
}
.saitm-bento-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.20); }

.saitm-bento-card__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.saitm-bento-card:hover .saitm-bento-card__img { transform: scale(1.06); }

.saitm-bento-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,20,70,.88) 0%, rgba(0,20,70,.35) 50%, transparent 100%);
}
.saitm-bento-card__body { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.75rem; z-index: 2; color: var(--white); }
.saitm-bento-card__title { font-family: var(--font-serif); font-size: 20px; line-height: 1.3; font-weight: 600; margin-bottom: .5rem; text-shadow: 0 1px 4px rgba(0,0,0,.3); }
.saitm-bento-card__excerpt { font-size: 13px; line-height: 1.55; opacity: .88; margin-bottom: .75rem; max-width: 380px; }
.saitm-bento-card__link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 1px;
  transition: gap .2s, border-color .2s;
}
.saitm-bento-card__link:hover { gap: 9px; border-color: var(--white); color: var(--white); }
.saitm-bento-card__link .material-symbols-outlined { font-size: 15px; }

/* Sizes */
.saitm-bento-card--featured { flex: 0 0 56%; }
.saitm-bento-card--featured .saitm-bento-card__title { font-size: 26px; }
.saitm-bento-stack { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.saitm-bento-card--stacked { flex: 1; }
.saitm-bento-card--stacked .saitm-bento-card__body { padding: 1.25rem; }
.saitm-bento-card--stacked .saitm-bento-card__title { font-size: 17px; }
.saitm-bento-card--half { flex: 1; }
.saitm-bento-card--half .saitm-bento-card__body { padding: 1.25rem; }
.saitm-bento-card--half .saitm-bento-card__title { font-size: 18px; }

/* Tablet */
@media (max-width: 1024px) {
  .saitm-bento-row--top    { min-height: 380px; }
  .saitm-bento-card--featured { flex: 0 0 52%; }
  .saitm-bento-row--bottom { min-height: 190px; }
}
/* Mobile: stack everything */
@media (max-width: 768px) {
  .saitm-faculties { padding: 3rem 0; }
  .saitm-bento-row { flex-direction: column; gap: 12px; margin-bottom: 12px; min-height: auto; }
  .saitm-bento-card--featured { flex: none; min-height: 280px; }
  .saitm-bento-card--featured .saitm-bento-card__title { font-size: 22px; }
  .saitm-bento-stack { gap: 12px; }
  .saitm-bento-card--stacked { min-height: 160px; flex: none; }
  .saitm-bento-row--bottom { min-height: auto; }
  .saitm-bento-card--half { flex: none; min-height: 160px; }
}
@media (max-width: 480px) {
  .saitm-bento-card--featured { min-height: 240px; }
  .saitm-bento-card--stacked,
  .saitm-bento-card--half { min-height: 140px; }
  .saitm-bento-card--featured .saitm-bento-card__title { font-size: 18px; }
  .saitm-bento-card__excerpt { display: none; }
  .saitm-bento-card__body { padding: 1rem; }
}

/* ============================================================
   CAMPUS INFO CARDS
   ============================================================ */
.saitm-campus-cards { padding: 0 0 5rem; background: var(--white); }
.saitm-info-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.saitm-info-card {
  background: var(--white); border-radius: var(--r-xl);
  border: 1px solid var(--border);
  overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.05);
  transition: transform .4s, box-shadow .4s;
}
.saitm-info-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.12); }

.saitm-info-card__img-wrap { overflow: hidden; }
.saitm-info-card__img-wrap img { width: 100%; height: 240px; object-fit: cover; transition: transform .5s; }
.saitm-info-card:hover .saitm-info-card__img-wrap img { transform: scale(1.04); }

.saitm-info-card__placeholder {
  height: 240px; background: var(--surface-hi);
  display: flex; align-items: center; justify-content: center;
}
.saitm-info-card__placeholder .material-symbols-outlined { font-size: 3rem; color: var(--outline); }

.saitm-info-card__body { padding: 1.5rem; }
.saitm-info-card__body h4 { font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--blue); margin-bottom: .5rem; }
.saitm-info-card__body p  { font-size: 15px; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.65; }

.saitm-info-card__btn {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .04em;
  background: none; border: none; cursor: pointer; padding: 0; text-decoration: none;
  transition: gap .2s;
}
.saitm-info-card__btn:hover { gap: 10px; }
.saitm-info-card__btn .material-symbols-outlined { font-size: 16px; }

@media (max-width: 768px) {
  .saitm-campus-cards { padding-bottom: 3rem; }
  .saitm-info-cards-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============================================================
   HIGHLIGHTS
   ============================================================ */
.saitm-highlights { padding: 5rem 0; background: var(--surface-lo); }
.saitm-highlights__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.saitm-highlight-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  min-height: 420px; transition: box-shadow .4s;
}
.saitm-highlight-card:hover { box-shadow: 0 14px 40px rgba(0,0,0,.16); }
.saitm-highlight-card > div:not(.saitm-highlight-card__play):not(.saitm-highlight-card__caption):not(.saitm-highlight-card__footer),
.saitm-highlight-card > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.saitm-highlight-card > img { transition: transform .6s; }
.saitm-highlight-card:hover > img { transform: scale(1.04); }

.saitm-highlight-card__play {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(0,0,0,.28);
  display: flex; align-items: center; justify-content: center;
}
.saitm-highlight-card__play-btn {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--error); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(186,26,26,.45);
  transition: transform .3s;
}
.saitm-highlight-card:hover .saitm-highlight-card__play-btn { transform: scale(1.1); }
.saitm-highlight-card__play-btn .material-symbols-outlined { font-size: 2rem; }

.saitm-highlight-card__caption {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 1.75rem;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  color: var(--white);
}
.saitm-highlight-card__caption h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 500; }

.saitm-highlight-card__footer {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 1.5rem;
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--border);
}
.saitm-highlight-card__footer h3 { color: var(--blue); margin-bottom: .4rem; font-family: var(--font-serif); font-size: 20px; }
.saitm-highlight-card__footer p  { color: var(--text-muted); margin-bottom: 1rem; font-size: 14px; }

@media (max-width: 768px) {
  .saitm-highlights { padding: 3rem 0; }
  .saitm-highlights__grid { grid-template-columns: 1fr; }
  .saitm-highlight-card { min-height: 340px; }
}

/* ============================================================
   PARTNERSHIPS
   ============================================================ */
.saitm-partnerships { padding: 5rem 0 0; background: var(--white); }
.saitm-partnerships__header p { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 1rem auto 0; }
.saitm-partnerships__header { padding: 0 24px; }
.saitm-partnerships > .container:first-child { padding-bottom: 4rem; }

/* ── Ticker / marquee strip (full-bleed, bordered top & bottom) ─ */
.saitm-partners-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: var(--surface-subtle, #f8fafc);
  border-top: 1px solid rgba(196,197,213,.5);
  border-bottom: 1px solid rgba(196,197,213,.5);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.saitm-partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: saitm-marquee 40s linear infinite;
}
/* The clone set becomes direct flex children of the track via display:contents,
   while still being hideable from assistive tech as a single group. */
.saitm-partners-track__dup { display: contents; }

@keyframes saitm-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Pauses only while the mouse is actually over the ticker.
   (Previously also paused on :focus-within, but closing the popup restores
   keyboard focus to the clicked card for accessibility — which left the
   ticker permanently paused since nothing ever removed that focus again.) */
.saitm-partners-marquee:hover .saitm-partners-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .saitm-partners-track { animation: none; }
}

/* ── Individual partner card ─────────────────────────────── */
.saitm-partner-item {
  flex: 0 0 300px;
  margin: 0 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: transform .4s cubic-bezier(.175,.885,.32,1.275), filter .4s ease;
}
.saitm-partner-item:hover,
.saitm-partner-item:focus-visible {
  transform: scale(1.1);
  filter: grayscale(0);
  outline: none;
}
.saitm-partner-item:focus-visible { box-shadow: 0 0 0 2px var(--blue); }

.saitm-partner-item__logo-wrap {
  height: 80px; width: 100%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.saitm-partner-item__logo-wrap img {
  height: 80px; width: auto; max-width: 220px; object-fit: contain;
}
.saitm-partner-item__abbr {
  font-family: var(--font-serif); font-weight: 700; font-size: 22px;
  letter-spacing: -.02em; color: var(--text);
}

.saitm-partner-item__name { font-size: 14px; font-weight: 700; color: var(--text); margin-top: 8px; display: block; line-height: 1.3; }
.saitm-partner-item__loc  { font-size: 12px; color: var(--outline); font-style: italic; margin-top: 4px; display: block; }

@media (max-width: 768px) {
  .saitm-partnerships { padding: 3rem 0 0; }
  .saitm-partners-marquee { padding: 2rem 0; }
  .saitm-partner-item  { flex-basis: 220px; margin: 0 20px; padding: 16px; }
  .saitm-partner-item__logo-wrap, .saitm-partner-item__logo-wrap img { height: 60px; }
  .saitm-partners-track { animation-duration: 28s; }
}

/* ── Partner detail popup ────────────────────────────────── */
.saitm-partner-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}
.saitm-partner-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.saitm-partner-modal__card {
  position: relative;
  background: var(--white, #fff);
  border-radius: 16px;
  width: 100%; max-width: 480px; max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  transform: scale(.95);
  transition: transform .3s ease;
}
.saitm-partner-modal.is-open .saitm-partner-modal__card { transform: scale(1); }

.saitm-partner-modal__inner { padding: 40px; }

.saitm-partner-modal__close {
  position: absolute; top: 16px; right: 16px;
  height: 36px; width: 36px; border-radius: 50%;
  border: none; background: transparent;
  color: var(--outline); font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s ease, color .2s ease;
}
.saitm-partner-modal__close:hover { background: var(--surface-hi); color: var(--blue); }

.saitm-partner-modal__logo-wrap {
  margin: 0 auto 32px; display: flex; align-items: center; justify-content: center; min-height: 96px;
}
.saitm-partner-modal__logo-wrap img { height: 96px; width: auto; max-width: 260px; object-fit: contain; }
.saitm-partner-modal__logo-wrap .saitm-partner-item__abbr { font-size: 28px; }

.saitm-partner-modal__name { font-family: var(--font-serif); font-size: 24px; line-height: 32px; font-weight: 500; color: var(--blue); text-align: center; margin-bottom: 8px; }
.saitm-partner-modal__loc  {
  font-size: 12px; font-weight: 700; color: var(--outline);
  text-transform: uppercase; letter-spacing: .08em; text-align: center; margin-bottom: 24px;
}
.saitm-partner-modal__rule { height: 2px; width: 64px; background: var(--blue); margin: 0 auto 32px; border-radius: 1px; }

.saitm-partner-modal__desc { font-size: 16px; line-height: 24px; color: var(--text-muted); text-align: center; }
.saitm-partner-modal__desc p { margin: 0 0 .85rem; }
.saitm-partner-modal__desc p:last-child { margin-bottom: 0; }

.saitm-partner-modal__footer { margin-top: 40px; display: flex; justify-content: center; }
.saitm-partner-modal__cta {
  background: var(--blue); color: #fff; border: none;
  padding: 12px 32px; border-radius: 4px; font-size: 14px; font-weight: 600; letter-spacing: .05em;
  cursor: pointer; transition: opacity .2s ease, transform .2s ease;
}
.saitm-partner-modal__cta:hover { opacity: .9; transform: translateY(-2px); }

@media (max-width: 480px) {
  .saitm-partner-modal__inner { padding: 28px 20px; }
}


/* ============================================================
   CTA SECTION
   ============================================================ */
.saitm-cta {
  padding: 6rem 0; background: var(--blue);
  color: var(--white); text-align: center; position: relative; overflow: hidden;
}
.saitm-cta__dots {
  position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: radial-gradient(circle at 2px 2px, white 1.5px, transparent 0);
  background-size: 38px 38px;
}
.saitm-cta__inner { position: relative; z-index: 2; max-width: 580px; margin: 0 auto; }
.saitm-cta__inner h2 { font-family: var(--font-serif); font-size: clamp(28px,4vw,48px); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; margin-bottom: 1.25rem; }
.saitm-cta__inner p  { font-size: 17px; line-height: 1.7; opacity: .9; margin-bottom: 2.5rem; }
.saitm-cta__actions  { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 768px) { .saitm-cta { padding: 3.5rem 0; } }
@media (max-width: 480px) {
  .saitm-cta { padding: 3rem 0; }
  .saitm-cta__actions { flex-direction: column; align-items: stretch; padding: 0 1rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.saitm-footer { background: #1c2838; padding: 4rem 0 2rem; }
.saitm-footer__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2.5rem; margin-bottom: 3rem; }

.saitm-footer__brand h2 { font-family: var(--font-serif); font-size: 22px; font-weight: 500; color: var(--white); margin-bottom: .5rem; }
.saitm-footer__brand hr { height: 2px; width: 40px; background: #9da9bd; border: none; margin-bottom: 1rem; }
.saitm-footer__brand p  { font-size: 12px; line-height: 1.65; color: #9da9bd; opacity: .8; }

.saitm-footer__col h4 { color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.saitm-footer__col a  { display: block; color: #9da9bd; font-size: 15px; margin-bottom: .65rem; transition: color .2s; }
.saitm-footer__col a:hover { color: var(--white); }

.saitm-footer__contact p { color: #9da9bd; font-size: 12px; line-height: 1.65; }
.saitm-footer__contact-row { display: flex; align-items: center; gap: 8px; color: #9da9bd; font-size: 12px; margin-top: .5rem; }
.saitm-footer__contact-row .material-symbols-outlined { font-size: 15px; }

.saitm-footer__bottom {
  border-top: 1px solid #3c4759; padding-top: 1.75rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem;
  color: #9da9bd; font-size: 12px;
}
.saitm-footer__bottom-links { display: flex; gap: 1.5rem; }
.saitm-footer__bottom-links a { color: #9da9bd; transition: color .2s; }
.saitm-footer__bottom-links a:hover { color: var(--white); }

@media (max-width: 1024px) { .saitm-footer__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  {
  .saitm-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .saitm-footer__bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   WP ALIGNMENT
   ============================================================ */
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1.5rem; }
.wp-caption-text { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ============================================================
   ELEMENTOR COMPATIBILITY
   The .saitm-elementor-content area sits between Hero and About.
   When empty (no Elementor content added) it takes no space.
   ============================================================ */
.saitm-elementor-content:empty { display: none; }
.saitm-elementor-content { width: 100%; }

/* Prevent Elementor from inheriting broken font stacks */
.saitm-elementor-content * { font-family: inherit; }

/* Make sure Elementor full-width sections work */
.elementor-section.elementor-section-stretched { width: 100% !important; left: 0 !important; }

/* ============================================================
   VIDEO CARD — YouTube inline player
   ============================================================ */
.saitm-video-card { cursor: default; }
.saitm-video-thumb { position: absolute; inset: 0; }
.saitm-video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.saitm-video-iframe iframe {
  width: 100%; height: 100%;
  border: none; display: block;
}
.saitm-video-close {
  position: absolute; top: 12px; right: 14px;
  background: rgba(0,0,0,0.65); color: #fff;
  border: none; border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 30;
}
.saitm-video-close:hover { background: rgba(0,0,0,0.9); }

/* ============================================================
   ANCHOR SCROLL OFFSET — accounts for fixed navbar (72px desktop, 60px mobile)
   scroll-margin-top is the CSS fallback; JS scrollToHash() is the primary method
   ============================================================ */
section[id] { scroll-margin-top: 80px; }
@media (max-width: 768px) { section[id] { scroll-margin-top: 68px; } }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.saitm-contact {
  padding: 5rem 0;
  background: var(--surface-lo);
}

.saitm-contact__header {
  margin-bottom: 3rem;
}
.saitm-contact__header .text-headline-lg {
  color: var(--blue);
}

/* Two-column grid: info left, form right */
.saitm-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

/* ── Info column ──────────────────────────────────────────── */
.saitm-contact__info h3 {
  font-family: var(--font-serif);
  color: var(--text);
  margin-bottom: .75rem;
}
.saitm-contact__info > p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.saitm-contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.25rem;
}
.saitm-contact__detail .material-symbols-outlined {
  font-size: 22px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.saitm-contact__detail > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.saitm-contact__detail strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
}
.saitm-contact__detail span {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Form card ────────────────────────────────────────────── */
.saitm-contact__form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.75rem;
  box-shadow: 0 4px 24px rgba(0,32,104,.07);
}
.saitm-contact__form-card > h3 {
  font-family: var(--font-serif);
  color: var(--text);
  margin-bottom: 1.75rem;
}

.saitm-contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.saitm-contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.25rem;
}
.saitm-contact__field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
}
.saitm-contact__field label span { color: var(--error); }

.saitm-contact__field input,
.saitm-contact__field select,
.saitm-contact__field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
.saitm-contact__field input:focus,
.saitm-contact__field select:focus,
.saitm-contact__field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,51,153,.10);
}
.saitm-contact__field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.saitm-contact__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23444653' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.saitm-contact__submit {
  width: 100%;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  cursor: pointer;
  margin-top: 4px;
  transition: opacity .2s, transform .2s;
}
.saitm-contact__submit:hover { opacity: .88; transform: translateY(-1px); }
.saitm-contact__submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Feedback messages */
.saitm-cf-feedback {
  margin-top: 1rem;
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.saitm-cf-feedback--success {
  background: rgba(0,102,0,.07);
  border: 1px solid rgba(0,102,0,.25);
  color: #006600;
}
.saitm-cf-feedback--error {
  background: rgba(186,26,26,.07);
  border: 1px solid rgba(186,26,26,.25);
  color: var(--error);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .saitm-contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .saitm-contact { padding: 3rem 0; }
  .saitm-contact__form-card { padding: 1.5rem; }
  .saitm-contact__row { grid-template-columns: 1fr; }
}
