/* =========================================================
   ActOn Academy — Finished Global Stylesheet
   (clean, non-duplicated, includes icon-based impact section)
========================================================= */

/* -------------------------
   Design tokens
-------------------------- */
:root {
  /* Brand */
  --coral: #ff6b35;
  --coral-dark: #d65120;
  --aqua: #00e6e6;
  --yellow: #ffd166;
  --ivory: #fff8e7;
  --eggshell: #fff8e7;
  --graphite: #3b3b3b;
  --amber: #ffaa3b;
  --teal: #0e8f94;
  --teal-dark: #0a5f66;

  /* UI */

  --line: rgba(31, 41, 55, 0.1);
  --card: #ffffff;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --maxw: 1140px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;

  --bg-white: #ffffff;
  --bg-soft: #f6f7f9;
  --text: var(--text-main);
  --muted: var(--text-muted);
}

/* -------------------------
   Reset + base
-------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Noto Sans Georgian", sans-serif;
  color: var(--graphite);
  line-height: 1.6;
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@font-face {
  font-family: "TF Mecomicse";
  src: url("/fonts/tf-mecomicse/tfmecomicse-bold-59522229166-webfont.woff")
    format("woff");
  font-weight: 700;
  unicode-range: U+0000-00FF; /* Latin only */
}

@font-face {
  font-family: "TF Mecomicse Web"; /* unique name avoids Windows local masking */
  src:
    url("/fonts/tf-mecomicse/TFMecomicse-Regular.woff2") format("woff2"),
    url("/fonts/tf-mecomicse/TFMecomicse-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TF Mecomicse Web";
  src:
    url("/fonts/tf-mecomicse/TFMecomicse-Bold.woff2") format("woff2"),
    url("/fonts/tf-mecomicse/TFMecomicse-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* (optional) If you have an italic file, add it too. Otherwise remove italic usage. */

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}

p,
li {
  color: var(--text-main);
  line-height: 1.75;
  font-size: 16px;
}

@media (max-width: 768px) {
  p,
  li {
    font-size: 13.5px;
  }
}

/* ===== Form typography: match site fonts ===== */
input,
textarea,
select {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
}

input::placeholder,
textarea::placeholder {
  font-family: "Inter", "Noto Sans Georgian", sans-serif;
  color: rgba(0, 0, 0, 0.45);
}

/* Helpers */
.readable {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Section spacing */
section {
  padding: 70px 0;
}
@media (max-width: 768px) {
  section {
    padding: var(--space-5) 0;
  }
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
}

/* Hero title font (uses your custom font if loaded) */
.hero-title {
  font-family: "TF Mecomicse Web", "Noto Sans Georgian", sans-serif;
  font-weight: 700;
}

/* ✅ Highlight ONLY the Georgian hero title (does not touch ActOn Academy) */
.hero-title {
  display: inline-block; /* keeps highlight width to text block */
  color: #fff;
  line-height: 1.35;

  /* per-line highlight */
  background-image: linear-gradient(
    rgba(0, 255, 240, 0.38),
    rgba(0, 255, 240, 0.38)
  );
  background-repeat: no-repeat;
  background-size: 100% 0.55em;
  background-position: 0 72%;

  /* makes background apply to each line created by <br> */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;

  padding: 0.08em 0.25em;
  border-radius: 10px;
}

/* ✅ Ensure ActOn Academy stays clean (no background / highlight leakage) */
.hero-eyebrow {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.hero-title {
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.424);
}

/* =========================================================
   Navbar
========================================================= */
header {
  background: white;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar a {
  font-weight: 650;
  text-decoration: none;
  color: var(--graphite);
  padding: 8px 10px;
  border-radius: 10px;
}

.navbar a:hover {
  background: rgba(255, 107, 53, 0.08);
  color: var(--coral);
}

.navbar a.active {
  background: rgba(0, 230, 230, 0.15);
  color: var(--graphite);
}

.logo-box {
  background: transparent; /* no colored box */
  width: auto;
  height: auto;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.logo-box img {
  width: 40px; /* set the logo size you want */
  height: 40px;
  object-fit: contain;
}

/* OUR ACTIVITIES section sizing */
.our-activities {
  padding-top: 80px; /* ↓ reduce / ↑ increase */
  padding-bottom: 80px; /* ↓ reduce / ↑ increase */
}
.our-activities .readable,
.our-activities p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   Buttons
========================================================= */
.btn {
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  border: none;

  transition:
    transform 0.12s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.btn:hover {
  filter: brightness(1.02);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.btn:focus-visible {
  outline: 3px solid rgba(0, 230, 230, 0.45);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--aqua);
  color: #053b3b;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* =========================================================
   Hero
========================================================= */

.hero {
  position: relative;
  overflow: hidden;

  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;

  color: var(--eggshell);

  background: linear-gradient(
    140deg,
    #f25c19 0%,
    #f25c19 35%,
    #ff8c32 55%,
    #ffb347 70%,
    #7fd7d2 100%
  );
}

/* Noisy dissolve overlay (VISIBLE + reliable) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0; /* keep behind content (container is z-index:1) */

  /* noise texture */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 260px 260px;

  /* IMPORTANT: make the noise act like “ink speckles” */
  opacity: 0.75;
  filter: contrast(220%) brightness(140%);

  /* dissolve on the RIGHT side */
  -webkit-mask-image: linear-gradient(90deg, transparent 45%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 45%, #000 100%);

  /* sharpen the dissolve edge a bit */
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero-layout {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-text {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 44px;
  max-width: 600px;
}

.hero p {
  max-width: 600px;
  margin: 16px auto 24px;
}

.hero-image-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image {
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
/* Full-screen hero rules removed (they conflicted with later hero sizing and caused mobile clipping). */
.hero-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 60px;
  font-weight: bold;
  font-style: italic;
  letter-spacing: 0.02em;

  color: rgba(255, 255, 255, 1.85);
}
/* hero layers */

.hero-circles {
  position: absolute;
  inset: 0;
  pointer-events: none; /* decorative only */
}
.circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  opacity: 0.85; /* MUST be 0..1 */
}

.hero::after {
  z-index: 0;
} /* noise */
.hero-circles {
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.scroll-hint {
  z-index: 3;
}

.circle-lg {
  width: 900px;
  height: 900px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.circle-md {
  width: 650px;
  height: 650px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.45;
}

.circle-sm {
  width: 420px;
  height: 420px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.35;
}

.arc {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 0 60%);
}
.arc-left {
  top: 20%;
  left: -200px;
  transform: rotate(18deg);
}

.arc-right {
  bottom: -250px;
  right: -200px;
  transform: rotate(-22deg);
}
@keyframes slow-rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.circle-lg {
  animation: slow-rotate 120s linear infinite;
}
.circle,
.arc {
  border-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .hero-circles {
    display: none;
  }
}

/* Chips under hero text */
.hero-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 28px;
}

.hero-chips {
  justify-content: center;
}

.hero-text .btn {
  margin: 0 auto;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 28px;
  animation: hint 1.4s ease-in-out infinite;
  z-index: 5;
}
@keyframes hint {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.75;
  }
  50% {
    transform: translateX(-50%) translateY(6px);
    opacity: 1;
  }
}
.scroll-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 0 40px;
  }
  .hero-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-title {
    font-size: 22px;
  }
  .hero p {
    font-size: 15px;
    margin-bottom: 18px;
  }
  .hero-image-wrap {
    width: 100%;
  }
  .hero-image {
    max-width: 100%;
    border-radius: 18px;
  }
}

.direction-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.direction-card h3 {
  margin-bottom: 10px;
}

/* =========================================================
   Programs grid + cards
========================================================= */
.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.program-card {
  background: var(--card);
  padding: var(--space-4);
}

.program-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.program-card p {
  color: var(--text-muted);
}

.list-item h3 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.list-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 2px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
}

.program-card h3 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.list-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transform: translateY(2px);
  stroke: currentColor;
  fill: none;
  opacity: 0.8;
}

/* ABOUT — Needs we serve: stack cards vertically and stretch */
/* ABOUT lists: stack vertically (explicit sections only) */
.needs-serve .program-grid,
.activities-like-values .program-grid,
.band--values .program-grid {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 24px auto 0;
}

.needs-serve .program-card,
.activities-like-values .program-card,
.band--values .program-card {
  width: 100%;
}
.needs-serve .program-grid {
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

/* NEEDS WE SERVE — tighten spacing between title and text */
.needs-serve .program-card h3 {
  margin: 6px 10px 4px;
}

.needs-serve .program-card p {
  margin: 0;
  line-height: 1.5;
}

/* tighten space between items */

/* if you also want “no boxes” */
.needs-serve .program-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 6px 0;
}

@media (max-width: 768px) {
  .program-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .program-card {
    padding: var(--space-3);
  }
  .program-card h3 {
    font-size: 18px;
  }
  .program-card p {
    font-size: 13px;
    line-height: 1.55;
  }
}

/* Course card header */
.course-card {
  cursor: pointer;
  position: relative;
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .course-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

.badge {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.badge-open {
  background: var(--aqua);
  color: #053b3b;
  font-weight: 700;
  border-color: rgba(0, 230, 230, 0.35);
}

.badge-soon {
  background: rgba(31, 41, 55, 0.05);
  color: var(--graphite);
  font-weight: 600;
}

.course-short {
  margin-bottom: 10px;
}

/* KEEP THIS: expand/collapse logic for programs.html */
.course-details {
  margin-top: 10px;
  font-size: 0.95rem;
  display: none;
}

.course-card.expanded .course-details {
  display: block;
}

.course-card.is-soon .course-cta {
  opacity: 0.6;
  pointer-events: none;
}

/* =========================================================
   Course Modal (popup box)
========================================================= */
.course-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 60px;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.course-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.course-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.course-modal__box {
  position: relative;
  z-index: 2;
  background: white;
  width: 90%;
  max-width: 640px;
  padding: 26px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);

  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.course-modal.open .course-modal__box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.course-modal__close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);

  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 26px;
  cursor: pointer;
  color: #444;
}

.course-modal__close:hover {
  background: white;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.course-modal__title {
  font-size: 24px;
  margin-bottom: 10px;
}
.course-modal__short {
  font-size: 16px;
  margin-bottom: 14px;
}
.course-modal__details {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 20px;
}
.course-modal__cta {
  width: 100%;
  padding: 12px;
  font-size: 16px;
}

/* --- HERO sizing fix: no overstretch + arrow always visible --- */
.hero {
  /* put spacing on the hero, not the container */
  padding: 90px 0 70px;

  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* remove the container padding that was pushing content down */
.hero .container {
  padding-top: 0;
  padding-bottom: 0;
}

/* =========================================================
   Mobile menu button + slide-up panel
========================================================= */
.mobile-nav-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  outline: none;
  cursor: pointer;
  display: none;

  background: repeating-linear-gradient(
    135deg,
    var(--aqua) 0,
    var(--aqua) 8px,
    var(--coral) 8px,
    var(--coral) 16px
  );
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  flex: 0 0 auto;
}

.mobile-nav-toggle::before {
  content: "";
  display: block;
  width: 22px;
  height: 14px;
  margin: auto;
  border-radius: 4px;
  box-shadow:
    0 -5px 0 0 #fff,
    0 0 0 0 #fff,
    0 5px 0 0 #fff;
}

@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
    margin-left: auto;
  }
}

.mobile-nav-panel {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 999;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.mobile-nav-panel.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-inner {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 18px 20px 28px;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.mobile-nav-panel.open .mobile-nav-inner {
  transform: translateY(0);
}

.mobile-nav-close {
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  float: right;
}

.mobile-nav-links {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-links a {
  font-size: 18px;
  text-decoration: none;
  color: var(--graphite);
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-nav-links a:last-child {
  border-bottom: none;
}

/* Optional map link */
.map-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
  color: var(--coral);
  text-decoration: none;
}
.map-link:hover {
  text-decoration: underline;
}

/* ===== MOBILE NAV OVERRIDES (put at VERY END of style.css) ===== */
@media (max-width: 768px) {
  /* Hide desktop nav links (stronger selector than earlier rules) */
  .navbar nav {
    display: none !important;
  }

  /* Show the round hamburger button */
  .mobile-nav-toggle {
    display: inline-flex !important;
    margin-left: auto !important;
    flex: 0 0 auto;
    z-index: 50;
  }

  /* Keep header layout tidy */
  .navbar {
    justify-content: space-between;
  }
}
/* ===== WHAT WE DO — ACCENT STRIPE CARDS ===== */

/* ===== Khan-style layout for existing content (no text changes) ===== */

.what-we-do {
  background: #fff; /* clean, Khan-like */
}

.what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 40px;
  text-align: center;
}

/* remove card look */
.what-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;

  max-width: 320px;
  margin: 0 auto;
}

/* optional icon */
.what-icon {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 18px;
  opacity: 0.95;
}

.what-card h3 {
  font-size: 20px;
  font-weight: 750;
  margin-bottom: 10px;
  color: var(--ivory);
}

.what-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

/* mobile */
@media (max-width: 900px) {
  .what-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .what-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* =========================================================
   Footer (hero coral, back-to-top under social icons)
========================================================= */
.site-footer {
  background: linear-gradient(180deg, var(--coral), var(--coral-dark));
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.footer-description {
  margin: 16px 0 18px;
  max-width: 380px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.95);
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: grid;
  place-items: center;
  color: white;
  text-decoration: none;
  font-weight: 800;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: white;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
}

.back-to-top:hover {
  background: rgba(255, 255, 255, 0.15);
}

.footer-right h4 {
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  opacity: 0.92;
}

.footer-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
  font-size: 14px;
  opacity: 0.9;
}

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

/* ===== Sticky footer layout (removes empty ivory area under footer) ===== */
html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* push footer to the bottom when content is short */
.site-footer {
  margin-top: auto;
}

/* =========================================================
   ABOUT PAGE — Screenshot-style Band System
   Paste at VERY END of style.css
========================================================= */

/* About hero title (top white area like screenshot) */
.about-hero {
  padding: 120px 0 30px;
  background: #fff;
  text-align: center;
}
.about-hero h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0;
}
@media (max-width: 768px) {
  .about-hero {
    padding: 50px 0px 60px;
  }
  .about-hero h1 {
    font-size: 36px;
  }
}

/* Full-width band wrapper (overrides generic section padding) */
.band {
  padding: 85px 0; /* overrides section padding due to being later in CSS */
}

/* Background variants */
.band--white {
  background: #fff;
}
.band--tint {
  background: rgba(85, 195, 193, 0.08);
} /* light neutral */

.band--blue {
  background: linear-gradient(135deg, #fff2e3 0%, #ffe8d6 100%);
}
.band--blue .band__body {
  max-width: 680px;
}

.band--blue p,
.band--blue li {
  color: rgba(255, 255, 255, 0.92);
}

.band--image .band__body p {
  font-size: 18px;
  font-weight: 400;
  max-width: 520px;
}
.band--values .program-card {
  background: transparent;
  padding: 10px 0;
}

.band--values h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.band--values p {
  font-size: 15px;
  color: var(--muted);
}

/* Merge adjacent sections (remove double vertical padding) */
.merge-bottom {
  padding-bottom: 24px !important; /* was 90px */
}

.merge-top {
  padding-top: 24px !important; /* was 90px */
}

/* Image band (image set via inline CSS var: --band-image:url(...)) */
.band--image {
  color: #fff;
  background: linear-gradient(135deg, #0e8f94, #55c3c1);
}
.band--image p,
.band--image li {
  color: rgba(255, 255, 255, 0.92);
}

/* Inner container for bands (separate from .container to avoid conflicts) */
.band__content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Screenshot-like layout: label left, content right */
.band__grid {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 48px;
  align-items: start;
}

.band__label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.95;
  margin: 0;
  line-height: 1.2;
}

.band__body {
  max-width: 760px;
}

.band__body p {
  font-size: 18px;
  line-height: 1.75;
}

.band {
  position: relative;
}

.band__content {
  border-radius: 22px;
  padding: 56px 56px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
@media (max-width: 768px) {
  .band__content {
    padding: 28px 20px;
    border-radius: 18px;
  }
}

.band__label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 10px;
}

.band__body h2,
.band__body h3,
.band h2 {
  margin: 0 0 14px;
}

.band__body p {
  margin: 0 0 16px;
  line-height: 1.7;
  max-width: 68ch;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* marker */
.feature-list li::before {
  content: "✦"; /* you can change to •, →, ✓, etc. */
  margin-top: 2px;
  font-size: 14px;
  opacity: 0.85;
  color: var(--aqua);
}

/* remove divider on last item */
.feature-list li:last-child {
  border-bottom: none;
}

/* Centered readable variant */
.band__center {
  text-align: center;
}
.band__center .band__body {
  margin: 0 auto;
}

/* Make section titles align with the screenshot pattern inside bands */
.band .section-title {
  text-align: left;
  margin-bottom: 8px;
  font-size: 26px;
}

/* OUR VALUES — custom background */
.band--values {
  background: #f6f7f9; /* soft light gray-blue */
}

/* Responsive */
@media (max-width: 900px) {
  .band {
    padding: 70px 5px;
  }
  .band__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .band__body p {
    font-size: 16px;
  }
  .band .section-title {
    text-align: center;
  }
}

/* =========================================================
   Safety: provide baseline styles for components used on about page
   (only if you don't already have them elsewhere)
========================================================= */

/* =========================================================
   SOCIAL ENTERPRISE MODEL — Accordion (scoped)
========================================================= */

.social-model .accordion {
  display: grid;
  gap: 12px;
}

.social-model .accordion-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.social-model .accordion-title {
  cursor: pointer;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.social-model .accordion-arrow {
  transition: transform 0.18s ease;
}

.social-model .accordion-content {
  display: none;
  padding: 0 16px 16px;
}

.social-model .accordion-item.active .accordion-content {
  display: block;
}

.social-model .accordion-item.active .accordion-arrow {
  transform: rotate(90deg);
}

/* Metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}
.metric strong {
  display: block;
  font-size: 26px;
  margin-bottom: 6px;
}
.metric span {
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 900px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid img {
    height: 240px;
  }
}

/* ABOUT HERO intro (single source of truth) */
.about-intro {
  max-width: 620px;
  margin: 0 auto;
  text-align: left;

  position: relative;
  padding-left: 24px;
}

.about-intro::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: var(--aqua);
  border-radius: 4px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-hero .lead {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.75;
}

.about-hero {
  background:
    radial-gradient(
      1200px 400px at 50% 0%,
      rgba(247, 108, 2, 0.149),
      transparent 60%
    ),
    #fff;
}

/* OUR DIRECTIONS (ჩვენი საქმიანობა) — match Values list style */
.activities-like-values .program-grid {
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 900px;
  margin: 16px auto 0;
}

.activities-like-values .program-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 10px 0;
}

.activities-like-values .program-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.activities-like-values .program-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.activities-like-values .program-card:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 14px;
}

/* ActOn Model — styled like Values / Activities / Needs (clean list, no boxes) */
.acton-model .acton-intro {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  max-width: 760px;
}

@media (max-width: 768px) {
  .acton-intro {
    font-size: 13.5px !important;
  }
}

.acton-model .acton-model-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.acton-model .model-item {
  padding: 10px 0; /* compact spacing */
  background: transparent; /* no box */
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.acton-model .model-item:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06); /* subtle divider */
  padding-bottom: 14px;
}

.acton-model .model-item h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.acton-model .model-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

/* IMPACT STORY — Youth Cares + Metrics (single unified section) */

.impact .impact-title {
  color: #fff;
}

.impact .impact-intro {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
}

.impact .impact-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.impact .impact-item {
  padding: 10px 0;
}

.impact .impact-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding-bottom: 14px;
}

.impact .impact-item h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: #fff;
}

.impact .impact-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.impact .impact-outro {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
}

/* Metrics panel (keeps metrics readable over image) */
.impact .impact-metrics {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* ensure metric text looks right inside the panel */
.impact .impact-metrics .metric {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .impact .impact-metrics {
    padding: 14px;
    border-radius: 14px;
  }
}

/* IMPACT SECTION — no image, brand-based background */
.band--impact {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: #fff;
}
.band--impact .band__label {
  color: rgba(255, 255, 255, 0.7);
}

.band--impact .section-title,
.band--impact h3 {
  color: #fff;
}

.band--impact p {
  color: rgba(255, 255, 255, 0.9);
}
.impact .impact-metrics {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-main);
}

.band--impact {
  background: var(--teal-dark);
}

/* What we do — icon slot above titles */
.what-card .what-icon {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px; /* centers + spacing above title */
  object-fit: contain;
}

/* Placeholder shape (until you add real icons) */
.what-card .what-icon.placeholder {
  border-radius: 18px;
  background: rgba(14, 143, 148, 0.1); /* teal tint */
  border: 1px solid rgba(14, 143, 148, 0.18);
}

/* Optional: tighten heading spacing since icon adds height */
.what-card h3 {
  margin-top: 0;
}

/* ABOUT — titles above text, body column unchanged */
@media (min-width: 901px) {
  .band__grid {
    grid-template-areas:
      ". label"
      ". body";
  }
  .band__label {
    grid-area: label;
  }
  .band__body {
    grid-area: body;
  }
}

/* ===== Photo-backed cards (blurred background image) ===== */
/* ===== Photo cards with colored cover ===== */
.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  padding: 28px 24px;
  color: #1f2937;
  background: #fff;
  box-shadow: 0 10px 30px rgba(200, 0, 0, 0.08);
}

/* image layer */
.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1); /* subtle depth */
}

/* colored overlay */
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(242, 92, 25, 0.55),
    rgba(242, 92, 25, 0.35)
  );
}

/* content above layers */
.photo-card > * {
  position: relative;
  z-index: 1;
}

.photo-card--orange::after {
  background: rgba(233, 130, 27, 0.5);
}

/* optional: tighten typography a bit inside photo cards */
.photo-card h3 {
  margin-bottom: 10px;
}

.photo-card p {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  line-height: 1.5;
}

.photo-card h3,
.photo-card p {
  text-shadow: 0 11px 50px rgb(246, 243, 243);
}

.what-grid .photo-card {
  min-height: 220px;
}

.photo-card h3 {
  font-size: 20px;
  font-weight: 750;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.95);
}

.photo-card p {
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
}

.photo-card h3,
.photo-card p {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* === HERO (mobile): hide long paragraph, keep chips + button + scroll hint === */
@media (max-width: 768px) {
  /* Lift content up and keep everything on one screen */
  .hero {
    height: auto;
    align-items: flex-start;
    padding-top: calc(
      68px + env(safe-area-inset-top)
    ); /* use the blank space */
    padding-bottom: 70px; /* room for scroll arrow */
  }

  /* HIDE the long paragraph on mobile (the one you mentioned) */
  .hero p {
    display: none;
  }

  /* Tighten typography + spacing so the cluster sits together */
  .hero-eyebrow {
    font-size: clamp(26px, 7vw, 40px);
    line-height: 1.05;
    margin-bottom: 8px;
  }

  .hero h1,
  .hero-title {
    font-size: clamp(18px, 4.8vw, 22px);
    line-height: 1.15;
    margin-bottom: 35px;
  }

  /* Keep chips visible and tighter */
  .hero-chips {
    margin: 10px 0 12px;
    gap: 8px;
    justify-content: center;
  }

  .chip {
    font-size: 12px;
    padding: 6px 10px;
  }

  /* Keep "Our Programs" button (and tighten it slightly) */
  .hero .btn {
    padding: 10px 14px;
    font-size: 14px;
  }
}

/* ===== Course modal: mobile fit ===== */
@media (max-width: 768px) {
  .course-modal {
    align-items: center; /* center vertically instead of top */
    padding: 16px;
    padding-top: calc(16px + env(safe-area-inset-top));
  }

  .course-modal__box {
    width: 100%;
    max-width: 560px; /* still fine on tablets */
    max-height: calc(100svh - 32px - env(safe-area-inset-top));
    overflow-y: auto; /* key: scroll inside the modal */
    -webkit-overflow-scrolling: touch;

    padding: 18px 16px; /* slightly tighter */
    border-radius: 18px;
  }

  .course-modal__title {
    font-size: 20px;
  }
  .course-modal__short {
    font-size: 14px;
  }
  .course-modal__details {
    font-size: 14px;
  }
}

/* Contact submit loading state */
.contact-submit {
  position: relative;
}

.contact-submit[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-submit.is-loading {
  pointer-events: none;
  opacity: 0.85;
  padding-right: 44px; /* room for spinner */
}

/* spinner */
.contact-submit.is-loading::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-top-color: rgba(255, 255, 255, 1);
  animation: btnspin 0.8s linear infinite;
}

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

/* CONTACT: reduce the big gap between intro and form */
.contact-intro {
  padding-bottom: 20px; /* was 70px */
}

.contact-form-section {
  padding-top: 20px; /* was 70px */
}

/* FIX: Mission band (band--blue) text is currently white on peach */
.band--blue .band__label,
.band--blue .band__body,
.band--blue .band__body p {
  color: rgba(31, 41, 55, 0.88) !important;
}
/* Reduce perceived emptiness: tighten padding for short sections */
.band--blue .band__content,
.band--values .band__content {
  padding-top: 44px;
  padding-bottom: 44px;
}

@media (max-width: 768px) {
  .band--blue .band__content,
  .band--values .band__content {
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

/* Add soft visual mass so the big rounded card doesn't feel blank */
.band--blue .band__content,
.band--values .band__content {
  position: relative;
  overflow: hidden;
}

.band--blue .band__content::before,
.band--values .band__content::before {
  content: "";
  position: absolute;
  left: -120px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: rgba(0, 230, 230, 0.12); /* aqua tint */
  pointer-events: none;
}

/* Make Values slightly warmer if you want */
.band--values .band__content::before {
  background: rgba(242, 92, 25, 0.1);
}
.band--values .band__label {
  color: rgba(31, 41, 55, 0.65);
}
.band--values .program-card p {
  color: rgba(31, 41, 55, 0.7);
}

/* About hero: transparent background illustration */
.about-hero {
  position: relative;
  overflow: hidden;
}

.about-hero::after {
  content: "";
  position: absolute;
  right: 300px;
  bottom: 80px;
  width: 520px;
  height: 520px;

  background-image: url("images/icon77.png"); /* your image */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right bottom;

  opacity: 0.18; /* transparency */
  pointer-events: none;
  z-index: 0;
}

/* keep text above the image */
.about-hero > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .about-hero::after {
    right: 50%;
    transform: translateX(50%);
    bottom: -120px;
    width: 300px;
    height: 300px;
    opacity: 0.14;
  }
}

/* =========================================================
   VALUES SECTION — background image (SAFE, no overlap)
   Mirrors About Hero technique but CLIPPED to card
========================================================= */

.values-with-bg {
  position: relative;
}

/* IMPORTANT: artwork lives INSIDE the rounded card */
.values-with-bg .band__content {
  position: relative;
  overflow: hidden; /* clips image to rounded corners */
}

/* Decorative background image */
.values-with-bg .band__content::after {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("images/iconM.png"); /* same image as about hero */
  background-repeat: no-repeat;
  background-size: 520px 520px;
  background-position: right 40px center;

  opacity: 0.24;
  pointer-events: none;

  z-index: 0; /* stays behind text */
}

/* Keep all real content ABOVE the image */
.values-with-bg .band__content > * {
  position: relative;
  z-index: 1;
}

/* ---------- Mobile adjustments ---------- */
@media (max-width: 768px) {
  .values-with-bg .band__content::after {
    background-size: 400px 400px;
    background-position: center bottom -70px;
    opacity: 0.1;
  }
}

/* ensure content stays above image 
.values-with-bg > * {
  position: relative;
  z-index: 1;
}*/

/* ABOUT: keep hero above the next band (prevents “hidden behind mission”) */
.about-hero {
  position: relative;
  z-index: 2;
}

.band {
  position: relative;
  z-index: 1;
}

/* optional: small breathing room so the transition is clean */

/* PURPOSE (Mission + Vision merged) */
.purpose .band__body {
  max-width: 62ch; /* tighter reading measure */
}

.purpose .band__body p {
  font-size: 18px;
  line-height: 1.85;
  margin: 0 0 16px;
  text-align: left; /* key readability fix */
}

/* Optional: stronger label + spacing */
.purpose .band__label {
  opacity: 0.7;
  margin-bottom: 14px;
}

/* Optional: make the card background more solid for contrast */
.purpose .band__content {
  background: rgba(255, 255, 255, 0.78);
}

/* Optional: Vision highlight block */
.purpose .vision {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--coral-dark);
  background: rgba(0, 230, 230, 0.06);
  border-radius: 12px;
}

.purpose .vision p {
  margin: 0;
  font-weight: 600;
}

/* =========================================================
   HARD FIX: ABOUT HERO must never appear behind following bands
   Paste at VERY END of style.css
========================================================= */

/* Force About Hero above the rest */
.about-hero {
  position: relative !important;
  z-index: 50 !important;
  isolation: isolate; /* creates a clean stacking context */
  overflow: hidden;
}

/* Ensure all bands stay below the hero */
.band {
  position: relative;
  z-index: 1 !important;
  margin-top: 0 !important; /* prevent any accidental overlap */
}

/* Use ONE background method: keep it inside .about-intro (clipped) */
.about-hero::after {
  content: none !important; /* disables the older section-level image */
}

.about-hero .about-intro {
  position: relative;
  overflow: hidden; /* clip to the intro box */
}

.about-hero .about-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background-image: url("images/icon77.png");
  background-repeat: no-repeat;
  background-size: 520px 520px;
  background-position: right -40px bottom -60px;
  opacity: 0.18;
}

/* Keep hero text above its image */
.about-hero .about-intro > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .about-hero .about-intro::after {
    background-size: 300px 300px;
    background-position: center bottom -120px;
    opacity: 0.14;
  }
}
/* Desktop/tablet */
.about-hero {
  padding-bottom: 450px !important;
}

/* Mobile */
@media (max-width: 768px) {
  .about-hero {
    padding-bottom: 390px !important;
  }
}
.about-hero {
  position: relative;
  z-index: 10;
  isolation: isolate;
}

/* THE big rounded container you circled */
.band--values .band__content {
  /* shape */
  border-radius: 32px; /* overall roundness */
  /* or per-corner: */
  /* border-radius: 24px 48px 24px 48px; */

  /* border / stroke */
  border: 1px solid rgba(0, 0, 0, 0.06);

  /* background */
  background: rgba(255, 255, 255, 0.78);

  /* shadow */
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);

  /* spacing inside the container */
  padding: 56px;
}
.band--values .band__content {
  border-radius: 18px 44px 44px 18px; /* TL TR BR BL */
}

/* ===== Editorial list style (no boxes) ===== */
.needs-serve .program-card,
.activities-like-values .program-card,
.band--values .program-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 14px 0 !important;
}

.needs-serve .program-card:not(:last-child),
.activities-like-values .program-card:not(:last-child),
.band--values .program-card:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.needs-serve .program-card h3,
.activities-like-values .program-card h3,
.band--values .program-card h3 {
  font-size: 18px;
  font-weight: 780;
  margin: 0 0 6px;
}

.needs-serve .program-card p,
.activities-like-values .program-card p,
.band--values .program-card p {
  color: rgba(31, 41, 55, 0.7);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/* ===== OPTION B: Editorial list (minimal) ===== */
.acton-model .acton-model-list {
  margin-top: 14px;
}

.acton-model .model-item {
  padding: 18px 0;
}

.acton-model .model-item:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.acton-model .model-item h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.acton-model .model-item h3 svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transform: translateY(2px);
  opacity: 0.85;
}

.acton-model .model-item p {
  margin: 0;
  max-width: 75ch;
  color: rgba(31, 41, 55, 0.72);
  line-height: 1.65;
}

/* ===== OPTION 3 — Glass cards with per-card background image ===== */

.program-card.course-card {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);

  /* background image layer */
  background:
    linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)),
    var(--card-bg, none);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.14s ease,
    box-shadow 0.18s ease,
    background-position 0.4s ease;
}

/* hover polish */
@media (hover: hover) {
  .program-card.course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.1);
    background-position: center top;
  }
}

/* ensure text is always readable */
.program-card.course-card > * {
  position: relative;
  z-index: 1;
}

/* =========================================================
   PROGRAM CARDS — Glass style with per-card background image
   Uses: style="--card-bg: url('...')"
========================================================= */

/* Grid spacing */
.program-grid {
  gap: 24px;
  margin-top: 17px;
}

/* Base glass card */
.program-card.course-card {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);

  /* Background image + readable glass overlay */
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
    var(--card-bg, none);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.14s ease,
    box-shadow 0.18s ease,
    background-position 0.4s ease;

  overflow: hidden;
}

/* Hover lift (subtle) */
@media (hover: hover) {
  .program-card.course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.1);
    background-position: center top;
  }
}

/* Ensure content stays above background layers */
.program-card.course-card > * {
  position: relative;
  z-index: 1;
}

/* Header */
.course-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.course-header h3 {
  font-size: 22px;
  letter-spacing: -0.2px;
  margin: 0;
}

/* Badges */
.badge {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
}

.badge-open {
  background: rgba(0, 230, 230, 0.15);
  color: #0a7;
  box-shadow: 0 10px 20px rgba(0, 230, 230, 0.2);
}

.badge-soon {
  background: rgba(31, 41, 55, 0.08);
  color: rgba(31, 41, 55, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Body text */
.course-short {
  color: rgba(31, 41, 55, 0.74);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* CTA */
.course-cta {
  margin-top: 6px;
}

/* Details */
.course-details {
  margin-top: 14px;
}

.course-details p {
  margin: 0 0 8px;
  line-height: 1.6;
  color: rgba(31, 41, 55, 0.75);
}

/* Optional: stronger overlay for COMING SOON cards */
.program-card.course-card.is-soon {
  background:
    linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
    var(--card-bg, none);
}

/* Optional vignette for depth */
.program-card.course-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(transparent 40%, rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .program-card.course-card {
    border-radius: 18px;
  }
  .course-header h3 {
    font-size: 20px;
  }
}

/* Balanced content width for mission-like sections */
.band--blue .band__content,
.band--values .band__content,
.band--vision .band__content,
.band--white .band__content,
.band--tint .band__content {
  max-width: 920px;
  padding-left: 0px;
  padding-right: -190px;
}

/* ---- HERO: reliable centering ---- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* fallback */

@media (max-height: 700px) {
  .hero {
    min-height: 90svh;
  }
}

/* Move About hero background image UP on mobile */
@media (max-width: 768px) {
  .about-hero .about-intro::after {
    background-position: center bottom -10px !important;
  }
}
/* control of about page paragraph text size */
/* ================================
   ABOUT PAGE — MOBILE TYPO + RHYTHM
   Paste at VERY END of style.css
================================ */

/* 1) Readable body size for About page on mobile */
@media (max-width: 768px) {
  .about-hero .lead,
  .purpose .band__body p,
  .band__body .vision p,
  .band--values .program-card p,
  .needs-serve .program-card p,
  .activities-like-values .program-card p,
  .acton-model .model-item p {
    font-size: 13.5px !important; /* was 12.5px */
  }
}

@media (max-width: 768px) {
  /* Less vertical emptiness around each band */
  .band {
    padding: 44px 0;
  }

  /* Slightly tighter inner card */
  .band__content {
    padding: 22px 16px;
    border-radius: 16px;
  }
}

@media (max-width: 768px) {
  .band__label {
    font-size: 12px;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    text-align: left;
  }

  .band__body p {
    margin-bottom: 14px;
  }
}

@media (max-width: 768px) {
  .band--values .program-card,
  .needs-serve .program-card,
  .activities-like-values .program-card {
    padding: 12px 0 !important;
  }

  .band--values .program-card h3,
  .needs-serve .program-card h3,
  .activities-like-values .program-card h3 {
    font-size: 16px;
    line-height: 1.25;
    margin-bottom: 6px;
  }
}

@media (max-width: 768px) {
  .acton-model .model-item {
    padding: 14px 0;
  }

  .acton-model .model-item h3 {
    font-size: 16px;
    line-height: 1.25;
  }
}

/* ===== FIX: band content not glued to left on mobile ===== */
@media (max-width: 768px) {
  .band__content {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* ensure grid fills full width */
  .band__grid {
    width: 100%;
    justify-items: stretch;
  }

  .band__label,
  .band__body {
    width: 100%;
  }
}

/* ===============================
   Course locations (all cards)
================================ */

.course-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px; /* space from title/badge */
  margin-bottom: 10px; /* space before description */
  align-items: center;
}

/* City chip */
.loc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;
  line-height: 1;

  color: rgba(31, 41, 55, 0.78);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.08);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* small “pin dot” (no icon needed) */
.loc-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 230, 230, 0.9); /* aqua */
}
.loc-chip.is-active {
  border-color: rgba(0, 230, 230, 0.6);
  box-shadow: 0 10px 20px rgba(0, 230, 230, 0.15);
}

/* Placeholder when cities not known */
.loc-placeholder {
  font-size: 12px;
  font-weight: 700;
  color: rgba(31, 41, 55, 0.55);
  background: rgba(31, 41, 55, 0.06);
  border: 1px dashed rgba(31, 41, 55, 0.18);
  padding: 6px 10px;
  border-radius: 999px;
}

/* Mobile: keep it tidy under the header */
@media (max-width: 768px) {
  .course-locations {
    margin-top: 8px;
    margin-bottom: 8px;
  }
}

/* Programs cards: place cities under title, badge on the right */
.program-card.course-card .course-header {
  display: grid !important;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title badge"
    "locations badge";
  column-gap: 12px;
  row-gap: 10px;
  align-items: start;
}

.program-card.course-card .course-header > h3 {
  grid-area: title;
  margin: 0;
}

.program-card.course-card .course-header > .course-locations {
  grid-area: locations;
  margin: 0; /* override your margins */
  justify-content: flex-start;
}

.program-card.course-card .course-header > .badge {
  grid-area: badge;
  justify-self: end;
}

/* Mobile: stack neatly */
@media (max-width: 768px) {
  .program-card.course-card .course-header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "locations"
      "badge";
  }

  .program-card.course-card .course-header > .badge {
    justify-self: start;
  }
}

/* ==============================
   REGISTRATION PAGE (Robotika)
   paste at VERY END of style.css
============================== */

.registration-page {
  padding: 70px 0 90px;
  background:
    radial-gradient(
      900px 300px at 50% 0%,
      rgba(217, 238, 238, 0.08),
      transparent 60%
    ),
    var(--ivory);
}

.registration-page .section-title {
  margin-bottom: 14px;
}

.registration-page .container > p {
  margin: 0 auto 34px !important;
  max-width: 760px;
  text-align: center;
  color: rgba(31, 41, 55, 0.72);
}

/* Layout: 2-column grid */
.registration-layout {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 22px;
  align-items: start;
}

/* Make both cards feel consistent (glass-ish, clean) */
.registration-layout > .program-card {
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Left card typography */
.registration-layout > .program-card:first-child h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.registration-page .program-card ul {
  padding-left: 0;
  list-style-position: inside;
}

/* Make the location block nicer */
.course-location {
  margin: 12px 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 230, 230, 0.08);
  border: 1px solid rgba(0, 230, 230, 0.18);
}
.course-location p {
  margin: 0 0 8px;
}
.course-location .map-link {
  font-weight: 800;
}

/* Right card: sticky form on desktop */
@media (min-width: 980px) {
  .registration-layout > .program-card:last-child {
    position: sticky;
    top: 96px; /* below sticky header */
  }
}

/* Form: consistent inputs (instead of inline per-input styling) */
.registration-layout form label {
  font-weight: 700;
  color: rgba(31, 41, 55, 0.78);
}

.registration-layout form input,
.registration-layout form textarea {
  width: 100%;
  margin-top: 6px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.95);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.registration-layout form input:focus,
.registration-layout form textarea:focus {
  outline: none;
  border-color: rgba(225, 234, 234, 0.55);
  box-shadow: 0 0 0 4px rgba(233, 238, 238, 0.18);
}

/* Button spacing */
.registration-layout form .btn {
  margin-top: 10px !important;
}

/* Mobile */
@media (max-width: 900px) {
  .registration-page {
    padding: 46px 0 70px;
  }
  .registration-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Inline icon alignment */
.program-card .icon,
.program-card svg,
.program-card i {
  vertical-align: middle;
}

.program-card p {
  line-height: 1.6;
}
/* =========================================================
   ANDROID FIX: stop About hero from clipping / overlapping
   Paste at VERY END of style.css
   ========================================================= */

.about-hero {
  /* keep the intended spacing (and remove the huge bottom padding) */
  padding: 120px 0 30px !important;
  padding-bottom: 30px !important;

  /* stop clipping on mobile */
  overflow: visible !important;

  /* remove stacking problems that can cover the next section */
  z-index: auto !important;
  isolation: auto !important;
  position: relative !important;
}

/* Mobile spacing */
@media (max-width: 768px) {
  .about-hero {
    padding: 60px 0 60px !important;
    padding-bottom: 60px !important;
  }
}

/* Ensure following sections always sit above normal flow */
.band {
  position: relative;
  z-index: 1 !important;
}

.hero {
  min-height: 100dvh; /* dynamic viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 90px; /* space for header */
  padding-bottom: 90px; /* GUARANTEES arrow visibility */
  position: relative;
}

.hero-text {
  padding-bottom: 40px;
}

/* === FIX: keep hero exactly 1 screen tall so scroll arrow stays visible everywhere === */
.hero {
  /* Use new viewport units when available (more stable on mobile + OS differences) */
  height: 100svh;
  min-height: 100svh;

  /* Reserve space for the arrow so content never pushes it off-screen */
  padding-bottom: 72px;
}

/* Fallback for browsers that don't support svh */
@supports not (height: 100svh) {
  .hero {
    height: 100vh;
    min-height: 100vh;
  }
}

/* Keep the arrow inside the visible area */
.scroll-hint {
  bottom: max(18px, env(safe-area-inset-bottom));
}

/* Optional: if Windows still feels tight, slightly reduce big title size responsively */
.hero-eyebrow {
  font-size: clamp(40px, 5vw, 60px);
}

/* === FIX: keep the scroll arrow visible on Windows too === */
.scroll-hint {
  position: fixed !important; /* was absolute */
  left: 50%;
  bottom: 18px; /* always inside viewport */
  transform: translateX(-50%);
  z-index: 9999;
  opacity: 0.9;
}

/* optional: prevent it from blocking clicks */
.scroll-hint {
  pointer-events: auto;
}

/* === Force-hide scroll arrow (must be at very end) === */
.scroll-hint.is-hidden {
  animation: none !important; /* stop the hint animation */
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(12px) !important;
}

/* ===== Clean, aligned bullet lists (registration page) ===== */
.registration-page ul {
  list-style: none; /* remove default bullets */
  padding-left: 0;
  margin-left: 0;
}

.registration-page ul li {
  display: grid;
  grid-template-columns: 14px 1fr; /* bullet column + text column */
  column-gap: 10px;
  align-items: start;

  margin-bottom: 10px;
  line-height: 1.7;
}

/* custom bullet */
.registration-page ul li::before {
  content: "•";
  font-size: 20px;
  line-height: 1;
  color: var(--aqua); /* brand color */
  transform: translateY(2px);
}
@media (max-width: 768px) {
  .registration-page ul li {
    margin-bottom: 8px;
    column-gap: 8px;
  }
}

.registration-layout select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23666' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}

header {
  position: sticky;
  top: 0;
  z-index: 9999; /* ensure it is above hero layers */
}

.mobile-nav-toggle {
  position: relative; /* guarantees z-index works everywhere */
  z-index: 10000;
}
