* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  padding: 20px;
  background: black;
  color: #222;
}

:root {
  --navy: #0a0f1e;
  --cyan: #06b6d4;
  --white: #f8fafc;
  --gray: #94a3b8;
}

.wrapper {
  --min-col-size: 350px;

  max-inline-size: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;

  display: grid;
  gap: 1.2rem;
  margin-block-start: 2rem;
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(var(--min-col-size), 100%), 1fr)
  );
}

/* SECTION */
section {
  padding: 40px 8%;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title h2 {
  font-size: 38px;
  color: white;
  margin-bottom: 10px;
}

.section-title p {
  color: #666;
  font-size: 18px;
}

/* GALLERY GRID */

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-item:hover {
  transform: translateY(-8px);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  min-height: 220px;
}

.gallery-section[data-category="events"] .gallery-item img {
  min-height: 180px;
}

.gallery-content {
  padding: 20px;
  flex: 1;
}

.gallery-content h3 {
  margin-bottom: 10px;
  color: #0d1b2a;
}

.gallery-content p {
  color: #555;
  line-height: 1.6;
}

/* ── STANDOUT CTA ── */
.cta-standout{
  position:relative;
  overflow:hidden;
  padding:90px 5%;
  isolation:isolate;
}

.cta-glow{
  position:absolute;
  border-radius:50%;
  filter:blur(90px);
  pointer-events:none;
  z-index:0;
}
.cta-glow-1{
  width:480px; height:480px;
  background:radial-gradient(circle, rgba(6,182,212,0.22), transparent 70%);
  top:-160px; left:-80px;
  animation:orb-float 9s ease-in-out infinite;
}
.cta-glow-2{
  width:380px; height:380px;
  background:radial-gradient(circle, rgba(6,182,212,0.14), transparent 70%);
  bottom:-140px; right:-60px;
  animation:orb-float 11s ease-in-out infinite reverse;
}

.cta-panel{
  position:relative;
  z-index:1;
  max-width:820px;
  margin:0 auto;
  text-align:center;
  padding:64px 48px;
  border-radius:24px;
  background:
    radial-gradient(circle at 30% 0%, rgba(6,182,212,0.10), transparent 60%),
    linear-gradient(180deg, #0c1a3d 0%, #071133 100%);
  border:1px solid rgba(6,182,212,0.25);
  box-shadow:
    0 30px 70px rgba(2,8,23,0.55),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.cta-eyebrow{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.14em;
  color:var(--cyan);
  background:rgba(6,182,212,0.12);
  border:1px solid rgba(6,182,212,0.35);
  padding:7px 16px;
  border-radius:999px;
  margin-bottom:22px;
}

.cta-standout h2{
  color:var(--white);
  font-size:clamp(28px, 4vw, 40px);
  line-height:1.15;
  margin-bottom:16px;
}

.cta-standout p{
  color:var(--gray);
  font-size:16.5px;
  line-height:1.7;
  max-width:560px;
  margin:0 auto 34px;
}

.cta-actions{
  display:flex;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
}

.cta-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:15px 30px;
  border-radius:10px;
  font-size:15.5px;
  font-weight:700;
  text-decoration:none;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.cta-btn svg{ width:16px; height:16px; }

.cta-btn-primary{
  background:var(--cyan);
  color:#04121a;
  box-shadow:0 14px 30px -10px rgba(6,182,212,0.55);
}
.cta-btn-primary:hover{
  transform:translateY(-3px);
  background:#0891b2;
  box-shadow:0 18px 38px -8px rgba(6,182,212,0.65);
}

.cta-btn-ghost{
  background:transparent;
  color:var(--white);
  border:1px solid rgba(255,255,255,0.22);
}
.cta-btn-ghost:hover{
  border-color:var(--cyan);
  color:var(--cyan);
  transform:translateY(-3px);
}

@media (max-width:600px){
  .cta-panel{ padding:44px 24px; border-radius:18px; }
  .cta-actions{ flex-direction:column; }
  .cta-btn{ width:100%; justify-content:center; }
}

/* ============================================================================
   Harmonized gallery styles
   - unified naming and spacing
   - re-uses CSS variables declared above
   - keeps responsive breakpoints consistent
 ============================================================================ */

/* layout wrappers */
.gallery-grid-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5% 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

/* unified card styles (replaces older .gallery-item / .gallery-card variations) */
.gallery-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(15,23,42,0.92), rgba(12,17,28,0.92));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(2, 8, 23, 0.28);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.gallery-card:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(2,8,23,0.36); }

.gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.gallery-card-body { padding: 1rem; }

.gallery-card h3 { margin: 0 0 0.45rem; color: var(--white); font-size: 1.05rem; }
.gallery-card p { margin: 0; color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

/* hero / floating panels */
.floating-panel {
  background: #071133;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(2,8,23,0.36);
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.page-hero { padding: 6rem 5% 2rem; text-align: center; }
.page-hero .hero-inner { max-width: 800px; margin: 0 auto; }

.section-floating { padding: 4rem 5%; margin-top: 4rem; }

.impact-stat { background: transparent; padding: 1rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.04); box-shadow: 0 8px 18px rgba(2,8,23,0.22); }

.faq-item { background:#0f172a; padding:25px; margin-bottom:20px; border-radius:12px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 8px 20px rgba(2,8,23,0.18); }

/* responsive adjustments for the harmonized layout */
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gallery-grid-shell { padding: 0 1rem 2rem; } .gallery-grid { grid-template-columns: 1fr; } }

/* Alternate backgrounds for top-level blocks (black / navy) */
body > * { transition: background-color .35s ease; }
body > *:nth-child(odd) { background: #000000; }
body > *:nth-child(even) { background: #071133; }

.faq {
  border:none;
  border-radius: 10px;
  padding: 30px;
  background: #0a0f1e;
}


/* ── HERO ── */
#hero{
    max-width: 800px;
    position:relative;
    min-height:70vh;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    padding:2rem 1.5rem;
    background:
    linear-gradient(
        rgba(69, 81, 116, 0.55),
        rgba(7, 30, 94, 0.55)
    ),
    url("../assets/mfano1.jpeg");
    background-position:center;
    background-size: 120% 120%; 
    background-repeat:no-repeat;
    margin-top: 4rem;
    max-inline-size: 100%;
    animation: moveBackground 15s linear infinite;
    @media (width < 760px ) {
      background-size: cover;
      padding-top: 10px !important;
    }
    margin-bottom: 40px;
}

@keyframes moveBackground {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

#hero::before {
  display: none !important;
}
  
.hero-content{
  max-width: 1200px;
  height: 95%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  position:relative;
  z-index:5;
  background-color: #071133;
  padding-top:2rem;
  border-radius: 1.5em;
  opacity: .7;
  color: white;
}

/* Glowing orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent 70%);
  top: -100px;
  right: -100px;
  animation: orb-float 8s ease-in-out infinite;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent 70%);
  bottom: 50px;
  left: -50px;
  animation: orb-float 10s ease-in-out infinite reverse;
}

@keyframes orb-float {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, -30px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

h1{
    width:100%;
    padding: 30px;
    /* margin:1rem auto .7rem; */
    text-align:center;
    font-family:Arial,sans-serif;
    font-size: 1.2rem;
    font-weight:20;
    
    align-items:center;
    justify-content:center;
}

