:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --muted: #6b7280;
  --text: #1f2937;
  --brand: #ff6a00;
  --brand-2: #ffb457;
  --ring: rgba(255, 106, 0, .25);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --container: 1160px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

a {
  color: var(--brand);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

/* NAV */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  box-shadow: var(--shadow-sm);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-weight: 800;
  color: #fff;
  box-shadow: 0 6px 16px var(--ring);
}

.brand h1 {
  font-size: 1.05rem;
  margin: 0;
}

.links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.links a {
  color: var(--text);
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 10px
}

.links a:hover {
  background: rgba(0, 0, 0, .04)
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  font-weight: 600;
  cursor: pointer;
  background: #fff
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #111;
  border: none;
  box-shadow: 0 8px 20px var(--ring)
}

.menu-toggle {
  display: none
}

@media (max-width:860px) {
  .menu-toggle {
    display: inline-flex
  }

  .links {
    display: none;
    position: absolute;
    inset: calc(100% - 1px) 0 auto 0;
    padding: 14px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    flex-direction: column;
  }

  .nav-row.open .links {
    display: flex
  }
}

/* HERO */
.hero {
  position: relative;
  isolation: isolate;
}

.hero img {
  display: block;
  width: 100%;
  height: auto
}

.hero .intro-card {
  position: relative;
  margin-top: -56px;
}

@media (max-width:780px) {
  .hero .intro-card {
    margin-top: -36px;
  }
}

.card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(16px, 2.2vw, 26px);
}

.kv {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted)
}

.h1 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  margin: 0 0 6px
}

.p {
  margin: 0 0 12px;
  color: #374151
}

/* SECTION */
.section-title {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin: 0 0 8px;
  color: #0f172a
}

.section-sub {
  margin: 0 0 20px;
  color: var(--muted)
}

/* EVENTS */
.events {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.event .badge {
  display: inline-block;
  font-size: .78rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff3e8;
  color: #7a3b00;
  border: 1px solid #ffd7b0
}

.event h3 {
  margin: 8px 0 6px
}

.meta {
  color: var(--muted);
  font-size: .95rem
}

/* GALLERY */
.gallery-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(12, 1fr);
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: var(--shadow-sm)
}

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

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

  .gallery-grid img {
    height: 140px;
  }
}

/* ABOUT / CONTACT */
.split {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr .8fr
}

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

.list {
  margin: 0;
  padding: 0 0 0 18px;
  color: #374151
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(0, 0, 0, .06);
  color: var(--muted);
  text-align: center;
  padding: 28px 0 44px
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto
}


/* Fix banner gap */
body,
html {
  margin: 0;
  padding: 0;
}

.hero img {
  display: block;
  margin-top: 0;
  height: 500px;
}

/* === Footer refined === */
.site-footer {
  background: #fff;
  border-top: 2px solid var(--brand);
  margin-top: 40px;
  /* small gap before line starts */
  padding: 20px 16px 28px;
  /* reduced padding after the line */
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0 0 10px;
  font-weight: 500;
  color: var(--text);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width 0.25s ease;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-links a:hover::after {
  width: 100%;
}

@media (max-width: 600px) {
  .site-footer {
    font-size: 0.9rem;
    padding: 16px 12px 22px;
  }

  .footer-links {
    gap: 10px;
  }
}

/* ===== Events Catalog ===== */
.catalog-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.event-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-card__head .badge {
  display: inline-block;
  font-size: .78rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff3e8;
  color: #7a3b00;
  border: 1px solid #ffd7b0;
}

.badge--muted {
  background: #f3f4f6;
  color: #6b7280;
  border-color: #e5e7eb;
}

.event-title {
  margin: 8px 0 4px;
}

.event-card .meta {
  color: var(--muted);
  margin: 0;
}

.event-card__body .pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, .06);
  font-weight: 600;
}

.pill--price {
  background: #fff3e8;
  border: 1px solid #ffd7b0;
  color: #7a3b00;
  font-weight: 700;
}

.event-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== Trust strip tweaks (reusing your card style) ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  text-align: center;
}

.trust-grid h4 {
  margin: 8px 0 4px;
}

.trust-grid p {
  color: var(--muted);
  margin: 0;
}

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

/* === About & Contact revamp === */
.about-card p {
  margin-bottom: 16px;
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-list li {
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-card {
  text-align: left;
}

.contact-card .contact-info p {
  margin: 6px 0;
  color: var(--text);
}

.contact-card a {
  font-weight: 600;
}

/* About layout: heading spans full width; grid starts below it */
#about .container>.split {
  margin-top: 8px;
  align-items: start;
  /* top-align columns, don't stretch */
}

/* Undo any previous flex/stretch rules you may have added */
#about .split>* {
  display: block;
}

#about .split>*>.card,
#about .split>.card {
  height: auto;
  /* let cards size to their content */
}

/* Optional niceties for this section */
.about-card p {
  margin-bottom: 16px;
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-list li {
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  gap: 8px;
}

.contact-card .contact-info p {
  margin: 6px 0;
  color: var(--text);
}

/* === About section: make bottoms align === */
#about .container>.split {
  align-items: stretch;
  /* columns fill the same height */
}

#about .split .card {
  height: 100%;
  /* each card fills its column */
  display: flex;
  flex-direction: column;
  /* so we can push actions down */
}

/* push the last block (buttons wrapper) to the bottom in Contact card */
#about .contact-card>div:last-child {
  margin-top: auto;
  /* pins buttons row at bottom */
}

/* (optional) remove extra trailing space from About list */
#about .about-card .highlight-list {
  margin-bottom: 0;
}

/* === About the Initiative (revamp) === */
.initiative .initiative-head {
  margin-bottom: 10px;
}

.initiative-intro p {
  margin: 0;
}

/* Pillars */
.pillars-grid {
  display: grid;
  gap: 16px;
  margin-top: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar h4 {
  margin: 0;
}

.pillar p {
  margin: 0;
  color: var(--muted);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.25rem;
  background: #fff3e8;
  border: 1px solid #ffd7b0;
}

/* Stats */
.stats-row {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
  text-align: center;
  padding-block: 18px;
}

.stat-num {
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  margin-top: 6px;
}

/* Steps */
.steps {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-badge {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #111;
  font-weight: 800;
  box-shadow: 0 6px 14px var(--ring);
}

.steps h5 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.steps .muted {
  margin: 0;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 960px) {

  .pillars-grid,
  .stats-row,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {

  .pillars-grid,
  .stats-row,
  .steps {
    grid-template-columns: 1fr;
  }
}