/* ============================================
   UNZA Research Summit 2026 — Styles
   UNZA Brand: Green, Orange, Red + Montserrat
   ============================================ */

/* ---------- CSS Variables (UNZA Palette) ---------- */
:root {
  /* UNZA primary colors */
  --unza-green: #01862b;
  --unza-green-light: #0da63a;
  --unza-green-dark: #015e1e;
  --unza-orange: #f3961b;
  --unza-orange-dark: #d4800e;
  --unza-red: #b31b1b;
  --unza-black: #1a1a1a;
  --unza-lime: #93b800;

  /* Mapped semantic aliases (keeps rest of CSS working) */
  --royal-blue: var(--unza-green);
  --royal-blue-light: var(--unza-green-light);
  --royal-blue-dark: var(--unza-green-dark);
  --gold: var(--unza-orange);
  --gold-dark: var(--unza-orange-dark);

  --white: #ffffff;
  --off-white: #f7f9f4;
  --light-gray: #eef1ec;
  --mid-gray: #5e6d5a;
  --dark-gray: #2a2a2a;
  --text: #2a2a2a;
  --shadow-sm: 0 2px 8px rgba(1, 134, 43, 0.06);
  --shadow-md: 0 4px 20px rgba(1, 134, 43, 0.1);
  --shadow-lg: 0 8px 40px rgba(1, 134, 43, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Zambian Flag Stripe ---------- */
.zambia-stripe {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 1002;
  display: flex;
}

.zambia-stripe span {
  flex: 1;
}

.stripe-green {
  background: #01862b;
}

.stripe-red {
  background: #b31b1b;
}

.stripe-black {
  background: #1a1a1a;
}

.stripe-orange {
  background: #f3961b;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--royal-blue);
  line-height: 1.25;
  font-weight: 700;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  top: 76px;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--unza-orange), var(--unza-green-light), var(--unza-orange));
  z-index: 1001;
  transition: width 0.1s linear;
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Directional reveals */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Shake animation for form validation */
@keyframes shake {

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

  15% {
    transform: translateX(-8px);
  }

  30% {
    transform: translateX(8px);
  }

  45% {
    transform: translateX(-6px);
  }

  60% {
    transform: translateX(6px);
  }

  75% {
    transform: translateX(-3px);
  }

  90% {
    transform: translateX(3px);
  }
}

.shake {
  animation: shake 0.6s ease;
}

/* Pulse keyframe */
@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Float keyframe */
@keyframes float {

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

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

/* Gradient shift */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ---------- Section Base ---------- */
section {
  padding: 100px 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--mid-gray);
  max-width: 680px;
  margin: 0 auto 50px;
}

.text-center {
  text-align: center;
}

/* Section divider wave */
.section-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

.section-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 4px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(1, 94, 30, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(1, 94, 30, 0.98);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
}

.nav-logo .logo-accent {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active-link {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active-link::after {
  width: 100%;
}

.nav-cta {
  background: var(--gold);
  color: var(--royal-blue-dark) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  transition: transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 193, 7, 0.4);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('hero-bg.png') center/cover no-repeat fixed;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(1, 94, 30, 0.92) 0%,
      rgba(1, 134, 43, 0.82) 50%,
      rgba(13, 166, 58, 0.72) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 2;
}

/* Animated particles in hero */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 193, 7, 0.3);
  border-radius: 50%;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-10vh) rotate(360deg);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 820px;
  transition: opacity 0.1s ease, transform 0.1s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(243, 150, 27, 0.2);
  border: 1px solid rgba(243, 150, 27, 0.4);
  color: var(--unza-orange);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  animation: pulse 3s ease-in-out infinite;
}

.hero h1 {
  font-size: 3.8rem;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  color: var(--unza-orange);
  background: linear-gradient(90deg, var(--unza-orange), #ffc94d, var(--unza-orange));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

.hero-tagline {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  margin-bottom: 14px;
  font-style: italic;
  min-height: 1.6em;
}

.hero-date {
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-date i {
  font-size: 1rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-primary {
  background: var(--unza-orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(243, 150, 27, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(243, 150, 27, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.hero-organizer {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero-organizer strong {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   FLOATING CTA BANNER
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 998;
  background: var(--unza-green-dark);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 40px rgba(1, 94, 30, 0.4);
  transition: bottom 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-cta.visible {
  bottom: 28px;
}

.floating-cta.dismissed {
  bottom: -100px !important;
}

.floating-cta span {
  font-size: 0.9rem;
  font-weight: 500;
}

.floating-cta .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.floating-cta-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 1rem;
  transition: color var(--transition);
  padding: 4px;
}

.floating-cta-close:hover {
  color: var(--white);
}

/* ============================================
   REGISTRATION FORM
   ============================================ */
#register {
  background: var(--off-white);
  padding: 100px 0;
}

.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 56px 48px;
  border: 1px solid rgba(1, 134, 43, 0.08);
  border-top: 4px solid var(--unza-green);
  transition: box-shadow var(--transition);
}

.form-wrapper:hover {
  box-shadow: 0 12px 50px rgba(1, 134, 43, 0.12);
}

.form-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.form-description {
  color: var(--mid-gray);
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 1.8;
}

.form-description .free-tag {
  background: linear-gradient(135deg, #00a86b, #00c07f);
  color: var(--white);
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
}

.form-description .fee-tag {
  background: var(--gold);
  color: var(--royal-blue-dark);
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 6px;
  transition: color var(--transition);
}

.form-group.focused label {
  color: var(--royal-blue);
}

.form-group label .required {
  color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1.5px solid #dde2ea;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition), transform 0.2s ease;
  outline: none;
  background: var(--off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(1, 134, 43, 0.1);
  background: var(--white);
  transform: translateY(-1px);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-checkbox {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--royal-blue);
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.85rem;
  color: var(--mid-gray);
  cursor: pointer;
  line-height: 1.5;
}

.form-submit-row {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.05rem;
  background: var(--unza-green);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(1, 134, 43, 0.3);
}

.btn-submit:hover {
  background: var(--unza-green-light);
  box-shadow: 0 8px 30px rgba(1, 134, 43, 0.4);
}

.privacy-note {
  font-size: 0.78rem;
  color: var(--mid-gray);
  text-align: center;
}

.privacy-note i {
  margin-right: 4px;
}

/* Form inner transition */
#formInner {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
  animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.form-success i {
  font-size: 3.5rem;
  color: #00a86b;
  margin-bottom: 16px;
  animation: pulse 2s ease-in-out infinite;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--royal-blue);
}

.form-success p {
  color: var(--mid-gray);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--dark-gray);
  margin-bottom: 20px;
  line-height: 1.85;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(1, 134, 43, 0.06);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
}

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

.stat-card .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--white);
  font-size: 1.3rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card:hover .stat-icon {
  transform: scale(1.15) rotate(5deg);
}

.stat-card .stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--royal-blue);
  margin-bottom: 4px;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--mid-gray);
  font-weight: 500;
}

/* ============================================
   CORE THEMES
   ============================================ */
#themes {
  background: var(--off-white);
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.theme-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid rgba(1, 134, 43, 0.08);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.theme-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--royal-blue), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.theme-card:hover::before {
  transform: scaleX(1);
}

.theme-card:hover {
  box-shadow: var(--shadow-lg);
}

.theme-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(1, 134, 43, 0.08), rgba(1, 134, 43, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--royal-blue);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-card:hover .theme-icon {
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  color: var(--white);
  transform: scale(1.1) rotate(-3deg);
}

.theme-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--royal-blue-dark);
}

.theme-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.theme-card ul li {
  font-size: 0.88rem;
  color: var(--mid-gray);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.theme-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  transition: transform 0.3s ease;
}

.theme-card:hover ul li::before {
  transform: scale(1.4);
}

/* ============================================
   HIGHLIGHTS & SESSIONS
   ============================================ */
#highlights {
  background: var(--white);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.highlight-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(1, 134, 43, 0.07);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  position: relative;
  will-change: transform;
}

.highlight-card:hover {
  box-shadow: var(--shadow-md);
}

.highlight-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(1, 134, 43, 0.06);
  transition: color var(--transition);
}

.highlight-card:hover .highlight-number {
  color: rgba(1, 134, 43, 0.12);
}

.highlight-card .highlight-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--royal-blue-dark);
  font-size: 1.1rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.highlight-card:hover .highlight-icon {
  transform: scale(1.15) rotate(5deg);
}

.highlight-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--royal-blue-dark);
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.7;
}

/* Special UNZA card */
.highlight-card.featured {
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  border: none;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

.highlight-card.featured .highlight-number {
  color: rgba(255, 255, 255, 0.08);
}

.highlight-card.featured .highlight-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold);
}

.highlight-card.featured h3 {
  color: var(--white);
}

.highlight-card.featured p {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   WHO SHOULD ATTEND
   ============================================ */
#audience {
  background: var(--off-white);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.audience-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(1, 134, 43, 0.06);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition), border-color var(--transition);
}

.audience-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--gold);
}

.audience-item i {
  font-size: 1.3rem;
  color: var(--royal-blue);
  width: 40px;
  height: 40px;
  background: rgba(1, 134, 43, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.audience-item:hover i {
  background: var(--royal-blue);
  color: var(--white);
  transform: rotate(10deg) scale(1.1);
}

.audience-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-gray);
}

/* ============================================
   WHY ATTEND
   ============================================ */
#why-attend {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 50px;
}

.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  border: 1px solid rgba(1, 134, 43, 0.04);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition), border-color var(--transition);
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(1, 134, 43, 0.1);
}

.why-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-item:hover .why-number {
  transform: scale(1.15);
}

.why-item p {
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.6;
  padding-top: 8px;
}

.motivational-quote {
  text-align: center;
  padding: 48px 40px;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.motivational-quote::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 10rem;
  font-family: 'Montserrat', sans-serif;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}

.motivational-quote blockquote {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  color: var(--white);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.motivational-quote .gold-text {
  color: var(--gold);
}

/* ============================================
   PARTICIPATION DETAILS
   ============================================ */
#participation {
  background: var(--off-white);
}

.participation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 36px;
  text-align: center;
  border: 2px solid rgba(1, 134, 43, 0.08);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--gold);
}

.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 24px;
  right: -32px;
  background: var(--gold);
  color: var(--royal-blue-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 40px;
  transform: rotate(45deg);
}

.pricing-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.pricing-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--royal-blue);
  margin-bottom: 8px;
}

.pricing-amount .currency {
  font-size: 1.2rem;
  vertical-align: top;
  margin-right: 2px;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--mid-gray);
  margin-bottom: 28px;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.pricing-features li i {
  color: #00a86b;
  font-size: 0.85rem;
}

.btn-pricing {
  width: 100%;
  justify-content: center;
  padding: 14px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(180deg, var(--unza-green-dark) 0%, #013014 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand h3 .gold {
  color: var(--gold);
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--royal-blue-dark);
  transform: translateY(-3px) scale(1.1);
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

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

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition), padding-left var(--transition);
}

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

.footer-col .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-col .contact-item i {
  color: var(--gold);
  width: 16px;
}

/* Footer mini form */
.footer-form {
  margin-top: 20px;
}

.footer-form .input-group {
  display: flex;
  gap: 8px;
}

.footer-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.footer-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.15);
}

.footer-form button {
  padding: 12px 20px;
  background: var(--gold);
  color: var(--royal-blue-dark);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
}

.footer-form button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(243, 150, 27, 0.3);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  margin-top: 40px;
  font-size: 0.82rem;
}

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

.footer-bottom a:hover {
  opacity: 0.8;
}

/* ============================================
   RESPONSIVE — Tablet (<=1024px)
   ============================================ */
@media (max-width: 1024px) {
  .themes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .floating-cta span {
    font-size: 0.8rem;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

/* ============================================
   RESPONSIVE — Mobile (<=768px)
   ============================================ */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  /* Global spacing */
  .container {
    padding: 0 20px;
  }

  .about-images-row {
    flex-direction: column;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
    padding: 0 4px;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 36px;
    padding: 0 4px;
  }

  .section-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }

  /* ─── Navbar ─── */
  .navbar .container {
    height: 60px;
    padding: 0 16px;
    overflow: visible;
  }

  .nav-logo {
    font-size: 1rem;
    gap: 6px;
  }

  .nav-logo i {
    font-size: 0.9rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    background: #015e1e;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 16px;
    z-index: 9999;
    overflow-y: auto;
  }

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

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    display: block !important;
    text-align: center;
    margin-top: 8px;
    padding: 14px 22px !important;
    font-size: 0.95rem !important;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* ─── Scroll progress ─── */
  .scroll-progress {
    top: 60px;
  }

  /* ─── Hero ─── */
  .hero {
    min-height: 100svh;
    padding: 80px 20px 60px;
    background-attachment: scroll;
    align-items: center;
  }

  .hero::after {
    height: 80px;
  }

  .hero-content {
    max-width: 100%;
    padding: 0;
  }

  .hero-badge {
    font-size: 0.68rem;
    padding: 6px 14px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    gap: 6px;
  }

  .hero-badge i {
    font-size: 0.75rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    line-height: 1.2;
    word-break: break-word;
  }

  .hero h1 br {
    display: none;
  }

  .hero-tagline {
    font-size: 0.95rem;
    margin-bottom: 10px;
    padding: 0 8px;
    line-height: 1.5;
    min-height: auto;
  }

  .hero-date {
    font-size: 0.9rem;
    margin-bottom: 28px;
    flex-direction: column;
    gap: 2px;
    line-height: 1.5;
  }

  .hero-date i {
    font-size: 0.85rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 28px;
    padding: 0 8px;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.9rem;
    gap: 8px;
    border-radius: 12px;
  }

  .btn i {
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .btn-primary {
    padding: 16px 20px;
    font-size: 0.95rem;
  }

  .btn-secondary {
    padding: 13px 20px;
    font-size: 0.9rem;
  }

  .hero-organizer {
    font-size: 0.75rem;
    padding: 0 12px;
    line-height: 1.6;
  }

  /* Hide particles on mobile for performance */
  .hero-particles {
    display: none;
  }

  /* ─── Registration Form ─── */
  #register {
    padding: 50px 0;
  }

  .form-wrapper {
    padding: 28px 18px;
    border-radius: 10px;
    margin: 0 4px;
  }

  .form-wrapper h2,
  .form-wrapper .section-title {
    font-size: 1.5rem;
  }

  .form-description {
    font-size: 0.88rem;
    margin-bottom: 24px;
    line-height: 1.7;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 16px;
    /* prevents iOS zoom on focus */
    border-radius: 8px;
  }

  .form-group label {
    font-size: 0.82rem;
  }

  .form-checkbox label {
    font-size: 0.8rem;
  }

  .form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }

  .btn-submit {
    padding: 14px;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .privacy-note {
    font-size: 0.72rem;
    padding: 0 4px;
  }

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

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

  /* ─── About ─── */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-text p {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .stat-card {
    padding: 22px 14px;
  }

  .stat-card .stat-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .stat-card .stat-number {
    font-size: 1.6rem;
  }

  .stat-card .stat-label {
    font-size: 0.78rem;
  }

  /* ─── Themes ─── */
  .themes-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .theme-card {
    padding: 24px 20px;
  }

  .theme-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    margin-bottom: 14px;
  }

  .theme-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .theme-card ul li {
    font-size: 0.84rem;
  }

  /* ─── Highlights ─── */
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .highlight-card {
    padding: 24px 20px;
  }

  .highlight-number {
    font-size: 2rem;
    top: 12px;
    right: 14px;
  }

  .highlight-card .highlight-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
    margin-bottom: 14px;
  }

  .highlight-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .highlight-card p {
    font-size: 0.85rem;
  }

  /* ─── Audience ─── */
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .audience-item {
    padding: 14px 16px;
    gap: 10px;
  }

  .audience-item i {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .audience-item span {
    font-size: 0.82rem;
  }

  /* ─── Why Attend ─── */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 32px;
  }

  .why-item {
    padding: 18px;
    gap: 14px;
  }

  .why-number {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .why-item p {
    font-size: 0.88rem;
    padding-top: 6px;
  }

  .motivational-quote {
    padding: 32px 24px;
  }

  .motivational-quote blockquote {
    font-size: 1.2rem;
  }

  .motivational-quote::before {
    font-size: 6rem;
    top: -10px;
    left: 16px;
  }

  /* ─── Participation ─── */
  .participation-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-card.featured::before {
    font-size: 0.6rem;
    padding: 5px 36px;
    top: 20px;
    right: -36px;
  }

  .pricing-amount {
    font-size: 2.4rem;
  }

  .pricing-desc {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .pricing-features li {
    font-size: 0.85rem;
  }

  .btn-pricing {
    padding: 14px;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  /* ─── Floating CTA ─── */
  .floating-cta {
    left: 12px;
    right: 12px;
    transform: none;
    padding: 10px 16px;
    border-radius: 14px;
    gap: 10px;
    justify-content: center;
  }

  .floating-cta.visible {
    bottom: 16px;
  }

  .floating-cta span {
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .floating-cta .btn {
    width: auto;
    padding: 10px 20px;
    font-size: 0.8rem;
    border-radius: 10px;
  }

  .floating-cta-close {
    padding: 6px;
  }

  /* ─── Footer ─── */
  .footer {
    padding: 50px 0 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .footer-brand h3 {
    font-size: 1.2rem;
  }

  .footer-brand p {
    font-size: 0.85rem;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
  }

  .footer-col h4 {
    font-size: 0.8rem;
    margin-bottom: 14px;
  }

  .footer-col ul {
    gap: 10px;
  }

  .footer-col ul li a,
  .footer-col .contact-item {
    font-size: 0.85rem;
  }

  .footer-form input {
    padding: 11px 14px;
    font-size: 16px;
    /* prevents iOS zoom */
  }

  .footer-form .input-group {
    flex-direction: column;
    gap: 10px;
  }

  .footer-form button {
    padding: 12px;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 20px 0;
    font-size: 0.78rem;
  }
}

/* ============================================
   RESPONSIVE — Small Mobile (<=480px)
   ============================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 76px 16px 48px;
  }

  .hero h1 {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }

  .hero-badge {
    font-size: 0.62rem;
    padding: 5px 12px;
  }

  .hero-tagline {
    font-size: 0.88rem;
    padding: 0 4px;
  }

  .hero-date {
    font-size: 0.82rem;
    margin-bottom: 22px;
  }

  .hero-buttons {
    padding: 0;
    gap: 10px;
  }

  .btn {
    padding: 13px 16px;
    font-size: 0.85rem;
  }

  .hero-organizer {
    font-size: 0.7rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  /* Stats 1-col on very small screens */
  .about-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 20px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }

  .stat-card .stat-icon {
    margin: 0;
    flex-shrink: 0;
  }

  .stat-card .stat-number {
    font-size: 1.4rem;
    margin-bottom: 0;
  }

  .stat-card .stat-label {
    font-size: 0.75rem;
  }

  /* Audience single column on tiny screens */
  .audience-grid {
    grid-template-columns: 1fr;
  }

  /* Form */
  .form-wrapper {
    padding: 24px 14px;
    margin: 0;
    border-radius: 8px;
  }

  .form-wrapper h2,
  .form-wrapper .section-title {
    font-size: 1.3rem;
  }

  .form-description {
    font-size: 0.82rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 11px 12px;
  }

  /* Motivational quote */
  .motivational-quote {
    padding: 28px 18px;
  }

  .motivational-quote blockquote {
    font-size: 1.05rem;
  }

  /* Pricing */
  .pricing-card {
    padding: 26px 18px;
  }

  .pricing-amount {
    font-size: 2rem;
  }

  /* Footer */
  .footer-brand h3 {
    font-size: 1.1rem;
  }
}

/* ============================================
   RESPONSIVE — Extra Small (<=360px)
   ============================================ */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.55rem;
  }

  .hero-tagline {
    font-size: 0.82rem;
  }

  .btn {
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .form-wrapper {
    padding: 20px 12px;
  }

  .form-wrapper h2,
  .form-wrapper .section-title {
    font-size: 1.2rem;
  }

  .pricing-card.featured::before {
    display: none;
  }
}

/* ============================================
   iOS-specific safe area handling
   ============================================ */
@supports(padding: max(0px)) {
  .hero {
    padding-bottom: max(60px, env(safe-area-inset-bottom));
  }

  .floating-cta.visible {
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  .footer-bottom {
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
}

/* ============================================
   ATTENDANCE TOGGLE — In-Person / Online
   ============================================ */
.attendance-toggle-wrapper {
  display: inline-flex;
  gap: 0;
  background: #f0f4f0;
  border-radius: 50px;
  padding: 4px;
  margin: 24px auto 0;
}

.att-btn {
  padding: 10px 28px;
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  background: transparent;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}

.att-btn--active {
  background: var(--unza-green, #01862b);
  color: #fff;
  box-shadow: 0 4px 16px rgba(1, 134, 43, 0.3);
}

.att-btn:not(.att-btn--active):hover {
  background: rgba(1, 134, 43, 0.08);
  color: var(--unza-green, #01862b);
}

.online-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(1, 134, 43, 0.07);
  border: 1px solid rgba(1, 134, 43, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  margin: 16px 0 0;
  font-size: 0.88rem;
  color: #2a6034;
  text-align: left;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.online-hint i {
  margin-top: 2px;
  color: var(--unza-green, #01862b);
  flex-shrink: 0;
}

.online-hint.hidden {
  display: none;
}

#platformGroup {
  transition: opacity 0.3s ease;
}

/* ============================================
   VIDEO SECTION — "Watch Our Story"
   ============================================ */
.video-section {
  background: linear-gradient(135deg, #0a1f0f 0%, #01862b 40%, #01421a 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.video-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(243, 150, 27, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.video-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--off-white), transparent);
  pointer-events: none;
}

.video-header {
  text-align: center;
  margin-bottom: 40px;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 2px rgba(243, 150, 27, 0.3),
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(1, 134, 43, 0.25);
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* Custom play overlay */
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(1, 66, 26, 0.55) 0%, rgba(0, 0, 0, 0.45) 100%);
  backdrop-filter: blur(2px);
  border-radius: 20px;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  cursor: pointer;
  z-index: 5;
}

.video-play-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-play-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--unza-orange);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  position: relative;
  box-shadow: 0 0 0 0 rgba(243, 150, 27, 0.5);
  animation: videoPulse 2.2s ease-in-out infinite;
  transition: transform 0.2s ease, background 0.2s ease;
}

.video-play-btn i.fa-play {
  margin-left: 6px;
  /* optical centering for play icon */
}

.video-play-btn:hover {
  background: var(--unza-orange-dark);
  transform: scale(1.1);
}

@keyframes videoPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(243, 150, 27, 0.5);
  }

  50% {
    box-shadow: 0 0 0 24px rgba(243, 150, 27, 0);
  }
}

.video-overlay-hint {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.video-share-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   PHOTO GALLERY — "Our Community in Action"
   ============================================ */
.gallery-section {
  background: var(--off-white);
  padding: 100px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 50px;
  align-items: stretch;
}

/* Tall hero image on left */
.gallery-hero {
  grid-row: span 2;
}

/* 2×2 sub-grid on the right */
.gallery-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Bottom landscape strip */
.gallery-strip {
  margin-top: 16px;
}

.gallery-strip-item {
  height: 280px;
}

/* Individual gallery item */
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.4s ease;
  filter: brightness(0.92);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.75);
}

/* Height for the sub-grid items */
.gallery-sub-grid .gallery-item {
  height: 200px;
}

/* The hero takes full height of 2 sub-grid rows + gap */
.gallery-hero {
  min-height: 416px;
  /* 2 × 200px + 16px gap */
}

/* Caption overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1, 66, 26, 0.85) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

.gallery-caption i {
  color: var(--gold);
  font-size: 0.8rem;
}

/* ============================================
   RESPONSIVE — tablet (≤ 900px)
   ============================================ */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-hero {
    grid-row: auto;
    min-height: 300px;
  }

  .gallery-sub-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-sub-grid .gallery-item {
    height: 180px;
  }

  .gallery-strip-item {
    height: 220px;
  }

  .video-play-btn {
    width: 72px;
    height: 72px;
    font-size: 1.6rem;
  }
}

/* ============================================
   RESPONSIVE — mobile (≤ 600px)
   ============================================ */
@media (max-width: 600px) {
  .video-section {
    padding: 70px 0 60px;
  }

  .video-container {
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  }

  .video-container video {
    border-radius: 12px;
  }

  .video-play-overlay {
    border-radius: 12px;
  }

  .video-play-btn {
    width: 64px;
    height: 64px;
    font-size: 1.4rem;
  }

  .video-cta-row {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .gallery-section {
    padding: 70px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 32px;
  }

  .gallery-sub-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-hero,
  .gallery-sub-grid .gallery-item {
    min-height: 260px;
    height: 260px;
  }

  .gallery-strip-item {
    height: 220px;
  }

  /* Always show captions on mobile (no hover) */
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(1, 66, 26, 0.7) 0%, transparent 50%);
  }

  .gallery-strip {
    margin-top: 12px;
  }
}

/* ============================================
   Reduced motion preference
   ============================================ */
@media (prefers-reduced-motion: reduce) {

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

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}