body,html{
  width: 100%;
  margin: 0;
}

/* ===== Intro wrapper ===== */
#intro{
 
  width: 100%;
  height: 500px;   /* matches the slider height below; change both together if needed */
 
  padding-top: 80px;
 
}

/* ===== Fixed top-left title with gentle breathing glow ===== */
.intro-title{
  position: absolute;
  top: 350px;
  left: 40px;
  z-index: 10;
  font-size: 3rem;
  font-weight: 900px;
  color:#0004ec;
  background: #a7e5ff;
  padding: 10px 20px;
  border-radius: 12px;
  letter-spacing: .5px;
  text-shadow:
    0 0 8px rgba(255,255,255,.7),
    0 0 15px rgba(173,216,230,.9);  /* soft Marian light-blue */
  animation: fadeInOutGlow 5s ease-in-out infinite;
}

/* combined fade + glow “breathing” */
@keyframes fadeInOutGlow {
  0%   { opacity: 0;   transform: translateY(-6px); text-shadow: 0 0 4px rgba(255,255,255,.5); }
  20%  { opacity: 1;   transform: translateY(0);    text-shadow: 0 0 12px rgba(255,255,255,.9), 0 0 25px rgba(22, 183, 236, 0.9); }
  50%  { opacity: .95;                             text-shadow: 0 0 20px rgba(255,255,255,1), 0 0 35px rgb(173, 201, 230); }
  80%  { opacity: 1;                               text-shadow: 0 0 12px rgba(255,255,255,.9), 0 0 25px rgba(173, 216, 230, 0.61); }
  100% { opacity: 0;   transform: translateY(-6px); text-shadow: 0 0 4px rgba(255, 255, 255, 0.242); }
}

/* ===== Slider (15 slides, no JS) ===== */
.slider{
  position: relative;
  width: 100%;
  height: 100%;              /* fill #intro */
  overflow: hidden;
  background: #000;          /* fallback while first image loads */
}
.slider-viewport{
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.slider-track{
  display: flex;
  flex-wrap: nowrap;         /* prevent wrapping */
  height: 100%;
  width: 1500%;              /* 15 × 100% viewport width */
  will-change: transform;
  backface-visibility: hidden;
  /* 14 discrete moves (1→15), then reverse so slide 15 is clearly visible */
  animation: slideSteps 30s steps(14, end) infinite alternate;
}
.slide{
  flex: 0 0 calc(100% / 15);
  width: calc(100% / 15);
  min-width: calc(100% / 15); /* guards against rounding wrap */
  height: 100%;
  background-size: cover;     /* fill frame; crops edges */
  background-position: center;
  background-repeat: no-repeat;
}

/* Per-image headroom tweaks (use .slider not #slider to match your HTML) */
.slider .slide:nth-child(2)  { background-position: 50% 20%; }  /* anyolo2.JPG */
.slider .slide:nth-child(6)  { background-position: 50% 18%; }
.slider .slide:nth-child(7)  { background-position: 50% 22%; }  /* pp4.jpg */
.slider .slide:nth-child(8)  { background-position: 50% 18%; }
.slider .slide:nth-child(9)  { background-position: 50% 18%; }  /* syombua.jpg */
.slider .slide:nth-child(10) { background-position: 50% 18%; }
.slider .slide:nth-child(11) { background-position: 50% 18%; }  /* jubilee2025.JPG */

/* Travel exactly to slide 15 then back (14/15 of track width) */
@keyframes slideSteps{
  to { transform: translate3d(calc(-100% + (100% / 15)), 0, 0); }
}

/* Mobile: shorter intro/slider */
@media (max-width: 520px){
  #intro { height: 300px; }
}

/* =========================
   Keep / refine your existing styles below
   ========================= */

/* (Removed .welcome h1 because the new HTML uses .intro-title) */

/* Identity strip */
#identity{
  background-color: rgb(0, 200, 255);
  width: 100%;
  margin-top: -20px;
  text-align: center; 
  padding-bottom: 25px;
}

/* Introduction Block with Watermark */
.intro {
  position: relative;
  background: #f7fbff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 6px 14px rgba(2,8,23,.06);
  text-align: center;
  overflow: hidden;
}
.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/introbackground.jpg") center/180px repeat; 
  opacity: 0.25;
  z-index: 0;
}
.intro__title,
.intro__text,
.intro .btn {
  position: relative;
  z-index: 1;
}
.intro__title {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #f02626;
}
.intro__text {
  max-width: 850px;
  margin: 0 auto;
  font-size: 20px;
  color: #000;
  line-height: 1.7;
  font-weight: bold;
}

/* Cards (Identity) */
.cards{display:grid;grid-template-columns:1fr;gap:1rem}
@media(min-width:860px){.cards{grid-template-columns:repeat(3,1fr)}}
.card{
  background:#fff;border:1px solid #e5eaf1;border-radius:var(--radius);
  padding:1rem;border-radius:var(--radius);box-shadow:var(--shadow)
}
.card__icon img{width:56px;height:56px;object-fit:contain;margin-bottom:.5rem}
.card__title{margin:0 0 .25rem}
.card__text{color:var(--muted)}

.btn{
  display:inline-block;
  padding:.7rem 1.6rem;
  border-radius:999px;
  font-weight:600;
  text-align:center;
  transition:all .3s ease;
  border:2px solid transparent;
}
.btn--blue{ background:#2563eb; color:#fff; }
.btn--blue:hover{
  background:#f02626;
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(37,99,235,.35);
}

/* Anthem block */
#anthem.section--tint { background:#f7fbff; } 
.anthem__header { text-align:center; margin-bottom:1rem; } 
.anthem__video-wrap {
  display:flex;
  justify-content:center;
  margin-bottom:1.25rem;
  color:#f02626;
}
.anthem__video {
  width:60%;
  max-width:580px;
  border-radius:14px;
  box-shadow:0 10px 20px rgba(2,8,23,.10);
  aspect-ratio:16/9;
}




/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "DejaVu Sans", sans-serif;
  background: #f7fbff;
  color: #0f172a;
}

/* ---------- Header / Footer ---------- */
.site-header, .site-footer {
  text-align: center;
  padding: 1rem 0.75rem;
}
.site-header h1 {
  margin: 0;
  font-weight: 700;
  letter-spacing: .3px;
  color: #0c4a6e;
}
.site-header p{
  font-size: 20px;
  /* font-style: italic; */
}
.site-footer p {
  margin: 0;
  color: #164e63;
  font-size: .95rem;
}

/* ---------- Layout ---------- */
.anthem-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  justify-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
  background-color: #00ccfe;
}

/* Cards (all three as divs) */
.card {
  display: grid;
  place-items: center;
  padding: clamp(.5rem, 1.2vw, .9rem);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.15);
  transition: transform .45s ease, box-shadow .45s ease, filter .45s ease;
  will-change: transform, filter;
}

/* Anthem card images share same animation */
.card--anthem img {
  display: block;
  max-width: min(100%, 420px);
  height: auto;
  border-radius: 16px;
  user-select: none;
  pointer-events: none;
  animation: floaty 3s ease-in-out infinite;
}

/* Mary image has a distinct animation */
.card--mary img {
  display: block;
  width: clamp(180px, 22vw, 260px);
  height: auto;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 18px 36px rgba(15, 23, 42, .28));
  animation:
    breathe 7s ease-in-out infinite,
    tilt 12s ease-in-out infinite;
}

/* Hover lift for all cards */
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 56px rgba(2, 6, 23, 0.20);
}

/* ---------- Animations ---------- */
@keyframes floatY {
  0%   { transform: translateY(0) }
  50%  { transform: translateY(-8px) }
  100% { transform: translateY(0) }
}

@keyframes breathe {
  0%   { transform: scale(1) }
  50%  { transform: scale(1.03) }
  100% { transform: scale(1) }
}

@keyframes tilt {
  0%   { rotate: 0deg }
  50%  { rotate: -1.2deg }
  100% { rotate: 0deg }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .anthem-wrap {
    grid-template-columns: 1fr;
  }
  .card--mary {
    order: -1; /* Mary first on mobile if you prefer: remove this line to keep order */
  }
  .card--anthem img {
    max-width: min(100%, 520px);
  }
}

/* Optional subtle backdrop for elegance */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(56, 189, 248, .12), transparent 60%),
    radial-gradient(800px 400px at 80% 110%, rgba(14, 165, 233, .10), transparent 60%);
  pointer-events: none;
  z-index: -1;
}





/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "DejaVu Sans", sans-serif;
  background: #f7fbff;
  color: #0f172a;
}

/* ---------- Header / Footer ---------- */
.site-header, .site-footer {
  text-align: center;
  padding: 1rem 0.75rem;
}
.site-header h1 {
  margin: 0;
  font-weight: 700;
  letter-spacing: .3px;
  color: #0c4a6e;
}
.site-footer p {
  margin: 0;
  color: #0004ec;
  font-size: .95rem;
  font-weight: bold;
}

/* ---------- Layout ---------- */
.anthem-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  justify-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
}

/* Cards (all three as divs) */
.card {
  display: grid;
  place-items: center;
  padding: clamp(.5rem, 1.2vw, .9rem);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.15);
  transition: transform .45s ease, box-shadow .45s ease, filter .45s ease;
  will-change: transform, filter;
  
}

/* Anthem card images share same animation */
.card--anthem img {
  display: block;
  max-width: min(80%, 320px);
  height: auto;
  border-radius: 16px;
  user-select: none;
  pointer-events: none;
  animation: floatY 6.5s ease-in-out infinite;
}

/* Mary image has a distinct animation */
.card--mary img {
  display: block;
  width: clamp(180px, 22vw, 260px);
  height: auto;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 18px 36px rgba(15, 23, 42, .28));
  animation:
    breathe 7s ease-in-out infinite,
    tilt 12s ease-in-out infinite;
}

/* Hover lift for all cards */
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 56px rgba(2, 6, 23, 0.20);
}

/* ---------- Animations ---------- */
@keyframes floatY {
  0%   { transform: translateY(0) }
  50%  { transform: translateY(-8px) }
  100% { transform: translateY(0) }
}

@keyframes breathe {
  0%   { transform: scale(1) }
  50%  { transform: scale(1.03) }
  100% { transform: scale(1) }
}

@keyframes tilt {
  0%   { rotate: 0deg }
  50%  { rotate: -1.2deg }
  100% { rotate: 0deg }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .anthem-wrap {
    grid-template-columns: 1fr;
  }
  .card--mary {
    order: -1; /* Mary first on mobile if you prefer: remove this line to keep order */
  }
  .card--anthem img {
    /* max-width: min(100%, 520px); */
    width: 50px; ;
    height: 80px;
  }
}

/* Optional subtle backdrop for elegance */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(56, 189, 248, .12), transparent 60%),
    radial-gradient(800px 400px at 80% 110%, rgba(14, 165, 233, .10), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
