/* =========================================================
   Psychological Training Association — Design System
   ========================================================= */

:root {
  /* Brand palette — derived from the PTA logo (maroon ring, navy tagline, multicolor mind segments) */
  --maroon: #a12238;
  --maroon-dark: #7a1a2b;
  --maroon-light: #c9455e;
  --maroon-tint: #fbeaee;

  --navy: #1f2a44;
  --navy-light: #364268;

  --gold: #e0a028;
  --gold-tint: #fdf3df;
  --teal: #268a83;
  --teal-tint: #e4f5f3;
  --purple: #6c4f9e;
  --purple-tint: #f0eaf9;
  --green: #4c9a5b;
  --green-tint: #eaf6ec;

  --bg: #fbf8f6;
  --bg-alt: #f5eeea;
  --surface: #ffffff;
  --text: #2b2530;
  --text-muted: #675f6b;
  --text-soft: #948c97;
  --border: #ece2df;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(41, 22, 30, 0.06);
  --shadow-md: 0 12px 32px rgba(41, 22, 30, 0.10);
  --shadow-lg: 0 24px 60px rgba(41, 22, 30, 0.16);

  --container: 1180px;
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

section {
  position: relative;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

::selection {
  background: var(--maroon);
  color: #fff;
}

/* ---------- Scroll reveal (fallback for AOS / reduced motion) ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Eyebrow / section heading kit ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
  background: var(--maroon-tint);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--maroon);
}

.section-head {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-pad {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-pad {
    padding: 70px 0;
  }
}

.bg-alt {
  background: var(--bg-alt);
}

.bg-navy {
  background: linear-gradient(160deg, var(--navy) 0%, #16203a 100%);
  color: #fff;
}

.bg-navy h2,
.bg-navy h3,
.bg-navy h4 {
  color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-light) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(161, 34, 56, 0.32);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(161, 34, 56, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--maroon);
  color: var(--maroon);
  transform: translateY(-3px);
}

.btn-light {
  background: #fff;
  color: var(--maroon);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 0.86rem;
}

.btn i {
  font-size: 1.1em;
}

/* =========================================================
   HEADER
   ========================================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 248, 246, 0.75);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}

#site-header.scrolled {
  height: 68px;
  background: rgba(251, 248, 246, 0.94);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 1;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(161, 34, 56, 0.25);
  transition: width 0.4s var(--ease), height 0.4s var(--ease);
  flex-shrink: 0;
}

#site-header.scrolled .brand img {
  width: 42px;
  height: 42px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text span {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  font-weight: 600;
}

/* Between the point the desktop nav still shows inline and gets tight, hide the wordmark; once the nav collapses to a hamburger (see 960px breakpoint) there is room again, so it comes back — shrinking gracefully (ellipsis) on very narrow phones. */
@media (min-width: 961px) and (max-width: 1060px) {
  .brand-text {
    display: none;
  }
}

@media (max-width: 400px) {
  .brand-text strong {
    font-size: 0.78rem;
  }

  .brand-text span {
    font-size: 0.6rem;
  }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-pill);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.main-nav a:hover {
  color: var(--maroon);
  background: var(--maroon-tint);
}

.main-nav a.active {
  color: var(--maroon);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--maroon);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--maroon-tint);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--maroon);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    padding: 12px 24px 28px;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease);
    gap: 2px;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    padding: 14px 10px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .main-nav a.active::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* =========================================================
   HERO — Home
   ========================================================= */
.hero {
  padding: calc(var(--header-h) + 64px) 0 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  margin-bottom: 22px;
}

.hero h1 .accent {
  color: var(--maroon);
  position: relative;
  white-space: nowrap;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--navy);
}

.hero-stats div span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  min-height: 640px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  width: 620px;
  height: 620px;
  background: linear-gradient(135deg, var(--maroon-tint), var(--purple-tint) 60%, var(--gold-tint));
  border-radius: 58% 42% 63% 37% / 45% 55% 45% 55%;
  animation: blobMorph 12s var(--ease) infinite;
  filter: blur(0.3px);
}

@keyframes blobMorph {

  0%,
  100% {
    border-radius: 58% 42% 63% 37% / 45% 55% 45% 55%;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }

  33% {
    border-radius: 42% 58% 39% 61% / 58% 41% 59% 42%;
    transform: translate(-50%, -50%) rotate(8deg) scale(1.03);
  }

  66% {
    border-radius: 63% 37% 52% 48% / 38% 62% 38% 62%;
    transform: translate(-50%, -50%) rotate(-6deg) scale(0.98);
  }
}

.hero-card {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 34px;
  width: 360px;
  animation: floatY 5s ease-in-out infinite;
}

.hero-card img {
  width: 252px;
  height: 252px;
  border-radius: 50%;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(161, 34, 56, 0.3);
}

.hero-media {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  animation: floatY 5s ease-in-out infinite;
}

.hero-video-frame {
  position: relative;
  width: 572px;
  height: 572px;
  border-radius: 50%;
}

.hero-video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--maroon), var(--gold), var(--teal), var(--purple-tint), var(--maroon));
  box-shadow: 0 20px 60px rgba(161, 34, 56, 0.35);
  animation: heroVideoSpin 10s linear infinite;
}

.hero-video {
  position: absolute;
  inset: 10px;
  z-index: 1;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
}

@keyframes heroVideoSpin {
  to {
    transform: rotate(360deg);
  }
}

.hero-caption {
  position: relative;
  z-index: 3;
  margin-top: 24px;
  width: 300px;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
}

.hero-caption h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.hero-caption p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.hero-card h4 {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.hero-card p {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-float-chip {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  animation: floatY 6s ease-in-out infinite;
}

.hero-float-chip i {
  font-size: 1.3rem;
  color: var(--maroon);
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* ---------- Orbit chips: 5 chips spaced evenly (72° apart) around the hero video circle ---------- */
@keyframes floatYCentered {

  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-14px);
  }
}

.chip-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  white-space: nowrap;
  animation: floatYCentered 6s ease-in-out infinite;
}

.chip-empower {
  top: -8%;
  left: 50%;
  animation-delay: 0s;
}

.chip-counsel {
  top: 32%;
  left: 105%;
  animation-delay: 1.2s;
}

.chip-build {
  top: 97%;
  left: 84%;
  animation-delay: 2.4s;
}

.chip-emotion {
  top: 97%;
  left: 16%;
  animation-delay: 3.6s;
}

.chip-transform {
  top: 32%;
  left: -5%;
  animation-delay: 4.8s;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 480px;
    margin-top: 20px;
    padding: 16px 0;
  }

  .hero-blob {
    width: 320px;
    height: 320px;
  }

  .hero-card {
    width: 270px;
    padding: 24px;
  }

  .hero-card img {
    width: 170px;
    height: 170px;
    margin-bottom: 14px;
  }

  .hero-video-frame {
    width: 280px;
    height: 280px;
  }

  .hero-media {
    gap: 18px;
  }

  .hero-float-chip {
    padding: 10px 14px;
    font-size: 0.78rem;
  }

  .hero-caption {
    width: 230px;
    padding: 16px 18px;
    margin-top: 18px;
  }

  .hero-caption h4 {
    font-size: 0.95rem;
  }

  .hero-caption p {
    font-size: 0.8rem;
  }
}

@media (max-width: 420px) {
  .hero-visual {
    min-height: 400px;
  }

  .hero-blob {
    width: 250px;
    height: 250px;
  }

  .hero-video-frame {
    width: 210px;
    height: 210px;
  }

  .hero-float-chip {
    padding: 8px 12px;
    font-size: 0.7rem;
  }

  .hero-caption {
    width: 190px;
    padding: 12px 14px;
    margin-top: 12px;
  }
}

/* ---------- Inner page banner ---------- */
.page-banner {
  padding: calc(var(--header-h) + 56px) 0 64px;
  background: linear-gradient(160deg, var(--navy) 0%, #16203a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-banner::before,
.page-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 160, 40, 0.28), transparent 70%);
}

.page-banner::before {
  width: 420px;
  height: 420px;
  top: -180px;
  left: -120px;
}

.page-banner::after {
  width: 360px;
  height: 360px;
  bottom: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(161, 34, 56, 0.35), transparent 70%);
}

.page-banner .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #f3d9b1;
}

.page-banner .eyebrow::before {
  background: #f3d9b1;
}

.page-banner h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 620px;
  margin-inline: auto;
  font-size: 1.05rem;
}

.breadcrumb {
  margin-top: 22px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  position: relative;
  z-index: 2;
}

.breadcrumb a {
  color: #f3d9b1;
}

/* =========================================================
   CARDS — Program / Area of Work
   ========================================================= */
.grid {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.tilt-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  height: 100%;
}

.tilt-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  color: #fff;
}

.tilt-card h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}

.tilt-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tilt-card .card-num {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}

.icon-bg-1 {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
}

.icon-bg-2 {
  background: linear-gradient(135deg, var(--teal), #35b0a8);
}

.icon-bg-3 {
  background: linear-gradient(135deg, var(--purple), #8b6fc4);
}

.icon-bg-4 {
  background: linear-gradient(135deg, var(--gold), #f0bb55);
}

.icon-bg-5 {
  background: linear-gradient(135deg, var(--green), #6bc17c);
}

.icon-bg-6 {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

/* ---------- Approach stepper ---------- */
.stepper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 20px;
  gap: 12px;
}

.stepper::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
}

.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--maroon);
  color: var(--maroon);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.step:hover .step-circle {
  background: var(--maroon);
  color: #fff;
  transform: scale(1.08);
}

.step h4 {
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .stepper {
    flex-direction: column;
    gap: 30px;
  }

  .stepper::before {
    display: none;
  }
}

/* ---------- Who we serve ---------- */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .serve-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .serve-grid {
    grid-template-columns: 1fr;
  }
}

.serve-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.serve-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.serve-item i {
  font-size: 1.5rem;
  color: var(--maroon);
  flex-shrink: 0;
}

.serve-item span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--maroon) 0%, #8c1c30 55%, var(--navy) 130%);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 160, 40, 0.35), transparent 70%);
  top: -140px;
  right: -80px;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 10px;
  max-width: 520px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
}

.cta-banner .cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

@media (max-width: 800px) {
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 44px 28px;
  }

  .cta-banner p {
    margin-inline: auto;
  }
}

/* =========================================================
   NEWS CARDS
   ========================================================= */
.news-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.news-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}

.news-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-skeleton {
  height: 380px;
  background: linear-gradient(100deg, var(--bg-alt) 30%, var(--border) 50%, var(--bg-alt) 70%);
  background-size: 200% 100%;
  animation: news-skeleton-pulse 1.4s ease-in-out infinite;
}

@keyframes news-skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.news-card { cursor: pointer; }

/* ---------- Full-post modal (opened by "Read More", never navigates away) ---------- */
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.news-modal.open {
  display: flex;
}

.news-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 42, 68, 0.55);
  backdrop-filter: blur(2px);
}

.news-modal-dialog {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 980px;
  width: 100%;
  max-height: 94vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: news-modal-in 0.35s var(--ease);
}

@keyframes news-modal-in {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.news-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.news-modal-close:hover {
  background: #fff;
  color: var(--maroon);
}

.news-modal-img {
  width: 100%;
  height: 380px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-alt);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.news-modal-img:empty {
  display: none;
}

.news-modal-body {
  padding: 44px 52px 56px;
}

@media (max-width: 640px) {
  .news-modal-img {
    height: 220px;
  }

  .news-modal-body {
    padding: 28px 24px 34px;
  }
}

.news-modal-tag {
  display: inline-flex;
  margin-bottom: 14px;
}

.news-modal-body > .news-date {
  display: block;
  margin-bottom: 8px;
}

.news-modal-body h2 {
  font-size: 1.9rem;
  margin-bottom: 22px;
  line-height: 1.3;
}

.news-modal-content {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.news-modal-content p {
  margin-bottom: 16px;
}

.news-modal-content img {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin: 16px 0;
}

.news-modal-content h1,
.news-modal-content h2,
.news-modal-content h3,
.news-modal-content h4 {
  color: var(--navy);
  margin: 24px 0 12px;
}

.news-modal-content a {
  color: var(--maroon);
  text-decoration: underline;
}

.news-modal-content ul,
.news-modal-content ol {
  margin: 0 0 16px 22px;
  list-style: revert;
}

body.news-modal-open {
  overflow: hidden;
}

.news-thumb .news-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
}

.news-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.news-date {
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.news-body h3 {
  font-size: 1.08rem;
  line-height: 1.4;
}

.news-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
}

.news-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.news-link i {
  transition: transform 0.3s var(--ease);
}

.news-card:hover .news-link i {
  transform: translateX(4px);
}

/* ---------- Sample content badge ---------- */
.sample-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-tint);
  color: #8a611a;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 40px;
  border: 1px dashed #e0a028;
}

.sample-note i {
  font-size: 1.1rem;
}

/* ---------- Events timeline ---------- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 40px 1fr;
  gap: 6px;
  position: relative;
}

.timeline-item .t-date {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--maroon);
  padding-top: 4px;
  font-size: 0.95rem;
}

.timeline-item .t-line {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-item .t-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--maroon);
  border: 4px solid var(--maroon-tint);
  margin-top: 4px;
}

.timeline-item .t-bar {
  flex: 1;
  width: 2px;
  background: var(--border);
  margin-top: 4px;
}

.timeline-item:last-child .t-bar {
  display: none;
}

.timeline-item .t-content {
  padding-bottom: 40px;
}

.timeline-item .t-content h4 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.timeline-item .t-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .timeline-item {
    grid-template-columns: 80px 30px 1fr;
  }
}

/* =========================================================
   TEAM / LEADERSHIP
   ========================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (max-width: 720px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.avatar-initials {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--maroon), var(--purple));
  box-shadow: var(--shadow-md);
}

.avatar-photo {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  margin: 0 auto 22px;
  display: block;
  object-fit: cover;
  border: 4px solid var(--surface);
  outline: 3px solid var(--maroon);
  outline-offset: 2px;
  box-shadow: var(--shadow-md);
}

.team-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.team-role {
  color: var(--maroon);
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.team-card p.cred {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* =========================================================
   MEMBERSHIP / PRICING TIERS
   ========================================================= */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .tier-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
}

.tier-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
}

.tier-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.tier-card.featured {
  border: 2px solid var(--maroon);
  box-shadow: var(--shadow-md);
}

.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--maroon);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
}

.tier-card h3 {
  font-size: 1.3rem;
}

.tier-card .tier-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.tier-card .tier-price {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--maroon);
  font-weight: 700;
}

.tier-card .tier-price small {
  font-size: 0.72rem;
  color: var(--text-soft);
  font-weight: 500;
  display: block;
  margin-top: 2px;
}

.tier-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.tier-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}

.tier-list i {
  color: var(--green);
  margin-top: 3px;
}

/* ---------- Internship info blocks ---------- */
.info-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 860px) {
  .info-split {
    grid-template-columns: 1fr;
  }
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.check-list .num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--maroon-tint);
  color: var(--maroon);
  font-weight: 700;
  font-family: var(--font-head);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.check-list h4 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.check-list p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.stat-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 34px;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.stat-box div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--maroon);
}

.stat-box div span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-row .c-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
  background: var(--maroon-tint);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-row h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-row p,
.contact-row a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-row a:hover {
  color: var(--maroon);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--maroon-tint);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.social-row a:hover {
  background: var(--maroon);
  color: #fff;
  transform: translateY(-4px);
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-top: 24px;
}

.map-frame iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

.contact-form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--maroon);
  background: #fff;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 10px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--green-tint);
  color: #2e6b3a;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-success.show {
  display: flex;
}

.form-success i {
  font-size: 1.3rem;
}

.form-error {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--maroon-tint);
  color: var(--maroon-dark);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-error.show {
  display: flex;
}

.form-error i {
  font-size: 1.3rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex: 1;
  min-width: 280px;
  max-width: 420px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--bg);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--maroon);
}

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, #131b30 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 0;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.footer-brand strong {
  font-family: var(--font-head);
  color: #fff;
  font-size: 1.05rem;
  display: block;
}

.footer-brand span {
  font-size: 0.72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.88rem;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-col p {
  font-size: 0.88rem;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.footer-social a:hover {
  background: var(--maroon);
  transform: translateY(-4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ---------- Back to top ---------- */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s var(--ease);
}

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

#back-to-top:hover {
  background: var(--maroon-dark);
  transform: translateY(-4px);
}

/* ---------- Misc utility ---------- */
.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.flow-arrow {
  color: var(--text-soft);
  font-size: 1.4rem;
}