 /* ---------- GLOBAL RESET & VARIABLES ---------- */
  * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

    :root {
      --alliance-blue: #003366;
      --alliance-gold: #FDB913;
      --alliance-teal: #007B8A;
      --alliance-green: #2E7D32;
      --alliance-light: #fff;
      --text-dark: #1E1E1E;
      --text-soft: #3A3A3A;
      --white: #FFFFFF;
      --shadow-sm: 0 8px 20px rgba(0,0,0,0.05);
      --shadow-md: 0 12px 28px rgba(0,0,0,0.08);
      --radius: 12px;
      --radius-sm: 8px;
    }

    body {
      background-color: var(--white);
            font-family: 'Jost', 'Source Sans Pro', sans-serif;

      color: var(--text-dark);
      line-height: 1.5;
      scroll-behavior: smooth;
    }

    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }

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

    /* ---------- TYPOGRAPHY ---------- */
    h1, h2, h3, h4 {
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.02em;
    }

    h1 { font-size: 3.2rem; }

    h2 {
      font-size: 2.4rem;
      margin-bottom: 1.5rem;
      position: relative;
    }

    h2:after {
      content: '';
      display: block;
      width: 70px;
      height: 4px;
      background: var(--alliance-gold);
      margin-top: 12px;
      border-radius: 4px;
    }

    h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

    .section-subhead {
      font-size: 1.2rem;
      color: var(--alliance-blue);
      font-weight: 600;
      margin-bottom: 0.5rem;
      letter-spacing: 0.3px;
    }

    /* ---------- BUTTONS — MAROON #6f0000 ---------- */
    .btn {
      display: inline-block;
      background-color: #6f0000;
      color: #ffffff;
      font-weight: 700;
      padding: 14px 34px;
      border-radius: 40px;
      font-size: 1rem;
      transition: all 0.2s ease;
      border: none;
      cursor: pointer;
      box-shadow: 0 6px 14px rgba(111, 0, 0, 0.3);
      letter-spacing: 0.3px;
    }

    .btn:hover {
      background-color: #8a0000;
      color: #ffffff;
      transform: translateY(-2px);
      box-shadow: 0 12px 20px rgba(111, 0, 0, 0.45);
    }

    /* ============================================================
       BOOTSTRAP NAVBAR — CUSTOM BRANDING
       ============================================================ */
    .custom-navbar {
      padding: 10px 0;
      background-color: #ffffff !important;
      box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    }

    .navbar-logo {
      height: 65px;
      width: auto;
     
      object-fit: cover;
      display: block;
    }

    .navbar-logo-fallback {
      width: 52px;
      height: 52px;
      background: var(--alliance-blue);
      border-radius: 10px;
      display: none;
      align-items: center;
      justify-content: center;
      color: var(--alliance-gold);
      font-size: 1.9rem;
      font-weight: 800;
    }

    /* Nav link style */
    .custom-navbar .nav-link {
      font-weight: 600;
      font-size: 0.95rem;
      color: var(--text-soft) !important;
      position: relative;
      padding: 6px 4px !important;
      transition: color 0.2s;
    }

    .custom-navbar .nav-link:hover,
    .custom-navbar .nav-link:focus {
      color: var(--alliance-blue) !important;
    }

    /* Gold underline on hover */
    .custom-navbar .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 4px;
      width: 0;
      height: 2px;
      background: var(--alliance-gold);
      transition: width 0.25s ease;
    }

    .custom-navbar .nav-link:hover::after {
      width: calc(100% - 8px);
    }

    /* Register Now — maroon button */
    .btn-gold-nav {
      background-color: #6f0000;
      color: #ffffff;
      font-weight: 700;
      padding: 10px 26px;
      border-radius: 40px;
      font-size: 0.9rem;
      border: none;
      transition: all 0.2s ease;
    }

    .btn-gold-nav:hover {
      background-color: #8a0000;
      color: #ffffff;
      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgba(111, 0, 0, 0.4);
    }

    /* Hamburger styling */
    .custom-navbar .navbar-toggler {
      border: none;
      padding: 6px 10px;
    }

    .custom-navbar .navbar-toggler:focus {
      box-shadow: none;
    }

    /* Mobile dropdown styling */
    @media (max-width: 991px) {
      .custom-navbar .navbar-collapse {
        background: #ffffff;
        padding: 16px 0;
        margin-top: 12px;
        border-radius: var(--radius-sm);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
      }

      .custom-navbar .nav-item {
        padding: 4px 16px;
      }

      .custom-navbar .nav-link::after {
        display: none;
      }

      .custom-navbar .btn-gold-nav {
        display: inline-block;
        margin-top: 8px;
      }
    }

    /* ---------- HERO ---------- */
    .hero {
      position: relative;
      min-height: 100vh;
      width: 100%;
      background-color: #0b1f33;
      background-image:
        linear-gradient(135deg, rgba(11, 31, 51, 0.72) 0%, rgba(27, 59, 92, 0.62) 100%),
        url('../../assets/img/alliance-banner.webp');
      background-size: cover, cover;
      background-position: center center, center center;
      background-repeat: no-repeat, no-repeat;
      display: flex;
      align-items: center;
      color: var(--white);
      overflow: hidden;
      margin-bottom: 0;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: radial-gradient(circle at 20% 30%, rgba(253, 185, 19, 0.06) 0%, transparent 60%);
      pointer-events: none;
      z-index: 1;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 950px;
      padding: 80px 0;
    }

    .hero h1 {
      font-size: 4rem;
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 0.6rem;
      text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }

    .hero .hero-tagline {
      font-size: 1.5rem;
      font-weight: 600;
      color: rgba(255,255,255,0.95);
      margin-bottom: 1.2rem;
      letter-spacing: 0.3px;
    }

    .hero .hero-sub {
      font-size: 1.35rem;
      font-weight: 400;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 16px 28px;
      margin: 24px 0 20px;
      color: rgba(255,255,255,0.9);
    }

    .hero .hero-sub i { color: var(--alliance-gold); margin-right: 8px; }

    .hero .guidance {
      font-size: 1.3rem;
      font-weight: 600;
      color: var(--alliance-gold);
      margin: 16px 0 18px;
      letter-spacing: 0.3px;
      border-left: 5px solid var(--alliance-gold);
      padding: 14px 28px 14px 24px;
      background: rgba(255,255,255,0.05);
      border-radius: 0 12px 12px 0;
      width: fit-content;
    }

    .hero .guidance small {
      display: block;
      font-size: 0.85rem;
      font-weight: 400;
      color: rgba(255,255,255,0.85);
      margin-top: 4px;
      letter-spacing: 0;
    }

    .hero .positioning {
      font-size: 1.2rem;
      max-width: 700px;
      color: rgba(255,255,255,0.85);
      margin-bottom: 32px;
      font-style: italic;
    }

    .hero .hero-cta .btn {
      font-size: 1.15rem;
      padding: 18px 52px;
      background: var(--alliance-gold);
      color: #0b1f33;
      box-shadow: 0 12px 30px rgba(253,185,19,0.4);
      font-weight: 700;
    }

    .hero .hero-cta .btn:hover { background: #ffc63f; transform: scale(1.02); }

    /* ---------- GENERAL SECTIONS ---------- */
    section { padding: 80px 0; }
    .section-light { background-color: var(--alliance-light); }
    .section-white { background: var(--white); }
    .section-header { margin-bottom: 48px; }
    .section-header p {
      font-size: 1.15rem;
      max-width: 800px;
      color: var(--text-soft);
    }

    /* ============================================================
       IMAGE SECTIONS WITH DARK OVERLAY
       ============================================================ */
    .section-bg {
      position: relative;
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
      background-attachment: fixed;
      background-color: #1b3b5c;
    }

    .section-bg-light::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(11, 31, 51, 0.72) 0%, rgba(27, 59, 92, 0.65) 100%);
      z-index: 0;
      pointer-events: none;
    }

    .section-bg-dark::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(11, 31, 51, 0.82) 0%, rgba(27, 59, 92, 0.75) 100%);
      z-index: 0;
      pointer-events: none;
    }

    .section-bg > .container {
      position: relative;
      z-index: 1;
    }

    /* White text inside image sections */
    .section-bg h2,
    .section-bg .section-subhead,
    .section-bg .section-header p {
      color: #ffffff !important;
    }

    .section-bg h2:after {
      background: var(--alliance-gold) !important;
    }

    .section-bg .question-list li,
    .section-bg .outcome-list li,
    .section-bg .about-text p {
      color: rgba(255, 255, 255, 0.92) !important;
    }

    .section-bg .about-text strong,
    .section-bg .outcome-list li strong {
      color: var(--alliance-gold) !important;
    }

    .section-bg .question-list i,
    .section-bg .outcome-list li:before {
      color: var(--alliance-gold) !important;
    }

    /* White boxes inside image sections → dark text */
    .section-bg .programme-highlight {
      background: #ffffff !important;
    }

    .section-bg .programme-highlight p,
    .section-bg .programme-highlight strong,
    .section-bg .programme-highlight h3,
    .section-bg .programme-highlight span,
    .section-bg .programme-highlight li {
      color: var(--text-soft) !important;
    }

    .section-bg .programme-highlight strong {
      color: var(--alliance-blue) !important;
    }

    .section-bg .panel-light {
      background: #ffffff !important;
    }

    .section-bg .panel-light h3,
    .section-bg .panel-light p,
    .section-bg .panel-light strong,
    .section-bg .panel-light span,
    .section-bg .panel-light li {
      color: var(--alliance-blue) !important;
    }

    .section-bg .panel-light i {
      color: var(--alliance-gold) !important;
    }

    .section-bg .qr-section {
      background: #ffffff;
    }

    .section-bg .qr-text h3 {
      color: var(--alliance-blue) !important;
    }

    .section-bg .qr-text p {
      color: var(--text-soft) !important;
    }

    .section-bg .register-cta {
      background: linear-gradient(135deg, #0b1f33 0%, #1b3b5c 100%) !important;
    }

    .section-bg .register-cta h2,
    .section-bg .register-cta p,
    .section-bg .register-cta span,
    .section-bg .register-cta .detail-badge {
      color: #ffffff !important;
    }

    @media (max-width: 768px) {
      .section-bg { background-attachment: scroll; }
    .navbar-logo {
    height: 42px;
    width: auto;
    object-fit: cover;
    display: block;
}
    }
 
    /* ---------- PROGRAMME OVERVIEW STRIP ---------- */
    .overview-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-top: 32px;
    }

    .overview-item {
      background: var(--white);
      padding: 28px 22px;
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      text-align: center;
      border-top: 4px solid var(--alliance-gold);
    }

    .overview-item i {
      font-size: 2.2rem;
      color: var(--alliance-blue);
      margin-bottom: 14px;
    }

    .overview-item h4 {
      font-size: 1.1rem;
      margin-bottom: 8px;
      color: var(--alliance-blue);
    }

    .overview-item p {
      font-size: 0.9rem;
      color: #5a5a5a;
    }

    /* ---------- ABOUT ---------- */
    .about-text p {
      margin-bottom: 1.2rem;
      font-size: 1.08rem;
      color: var(--text-soft);
    }

    .about-text strong { color: var(--alliance-blue); }

    /* ---------- FOCUS AREAS ---------- */
 /* ---------- FOCUS AREAS ---------- */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;                       /* was 20px — slightly more breathing room */
  margin-top: 32px;
}

.focus-card {
  background: var(--white);
  padding: 28px 22px;              /* was 24px 18px — more room for long text */
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  border-bottom: 4px solid transparent;
  text-align: center;
  display: flex;                   /* NEW — flex column for equal-height cards */
  flex-direction: column;
}

.focus-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--alliance-gold);
}

.focus-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  color: white;
  flex-shrink: 0;                  /* NEW — prevents icon squishing in flex */
}

.focus-card h3 {
  font-size: 1.1rem;               /* was 1.05rem — slightly larger for short titles */
  margin-bottom: 12px;
  color: var(--alliance-blue);
  min-height: 2.4em;               /* NEW — aligns titles across cards */
  display: flex;
  align-items: center;
  justify-content: center;
}

.focus-card p {
  font-size: 0.9rem;               /* was 0.88rem */
  color: #4a4a4a;
  line-height: 1.55;               /* NEW — easier to read long paragraphs */
  text-align: left;                /* NEW — left-align for readability */
  margin: 0;
}

/* NEW — closing note below the grid */
.focus-note {
  margin-top: 40px;
  padding: 20px 24px;
  background: #ffffff;
  border-left: 5px solid var(--alliance-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
  max-width: 1000px;
}

    /* ============================================================
       KEY SPEAKERS SECTION
       ============================================================ */
    .speakers-section {
      position: relative;
      padding: 80px 0;
      background-color: #eef2f7;
      background-image:
        repeating-linear-gradient(
          45deg,
          rgba(253, 185, 19, 0.05) 0px,
          rgba(253, 185, 19, 0.05) 2px,
          transparent 2px,
          transparent 18px
        ),
        radial-gradient(circle at 10% 10%, rgba(0, 51, 102, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(253, 185, 19, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #f5f7fa 0%, #e8eef5 100%);
      background-attachment: fixed;
    }

    @media (max-width: 768px) {
      .speakers-section {
        background-attachment: scroll;
      }
    }

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

    .speaker-card {
      background: var(--white);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      transition: all 0.25s ease;
      text-align: center;
      display: flex;
      flex-direction: column;
      border: 1px solid #eaeef3;
    }

    .speaker-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
      border-color: var(--alliance-gold);
    }

    .speaker-photo {
      width: 100%;
      height: 200px;
      background: linear-gradient(135deg, #e8eef5, #d0dbe8);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
    }

    .speaker-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }

    .speaker-photo .img-fallback {
      display: none;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      font-size: 4rem;
      color: var(--alliance-blue);
      opacity: 0.5;
      background: linear-gradient(135deg, #e8eef5, #d0dbe8);
    }

    .speaker-info {
      padding: 18px 14px 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }

    .speaker-info h4 {
      font-size: 1rem;
      color: var(--alliance-blue);
      margin-bottom: 6px;
      line-height: 1.25;
      font-weight: 700;
    }

    .speaker-info p {
      font-size: 0.8rem;
      color: #5a5a5a;
      line-height: 1.35;
      margin: 0;
    }

    .speakers-note {
      text-align: center;
      margin-top: 36px;
      font-size: 1rem;
      color: var(--text-soft);
      font-style: italic;
      padding: 16px;
      background: rgba(255,255,255,0.6);
      border-radius: var(--radius-sm);
      display: block;
      width: 100%;
    }

    .speakers-note i {
      color: var(--alliance-gold);
      margin-right: 8px;
    }

    /* ---------- QUESTIONS ---------- */
    .question-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px 32px;
      margin-top: 20px;
    }

    .question-list li {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      font-size: 1.02rem;
      color: var(--text-soft);
      padding: 8px 0;
    }

    .question-list i {
      color: var(--alliance-gold);
      font-size: 1.3rem;
      margin-top: 2px;
    }

    /* ---------- PROGRAMME ---------- */
    .programme-highlight {
      background: var(--white);
      padding: 32px 28px;
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      margin-bottom: 28px;
      border-left: 6px solid var(--alliance-gold);
    }

    /* ---------- PARTICIPATE ---------- */
    .participate-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 18px;
      margin-top: 32px;
    }

    .participate-item {
      background: var(--white);
      padding: 24px 18px;
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-sm);
      text-align: center;
    }

    .participate-item i {
      font-size: 2rem;
      color: var(--alliance-blue);
      margin-bottom: 12px;
    }

    .participate-item h4 {
      font-size: 1rem;
      margin-bottom: 8px;
      font-weight: 700;
    }

    .participate-item p {
      font-size: 0.85rem;
      color: #5a5a5a;
    }

    /* ---------- WHY PARTICIPATE ---------- */
    .why-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
      margin-top: 32px;
    }

    .why-card {
      background: var(--white);
      padding: 26px 22px;
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      border-top: 4px solid var(--alliance-teal);
      transition: all 0.25s ease;
    }

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

    .why-card i {
      font-size: 1.8rem;
      color: var(--alliance-teal);
      margin-bottom: 12px;
    }

    .why-card h4 {
      font-size: 1.05rem;
      color: var(--alliance-blue);
      margin-bottom: 8px;
    }

    .why-card p {
      font-size: 0.9rem;
      color: #5a5a5a;
    }

    /* ---------- OUTCOMES ---------- */
    .outcome-list li {
      margin-bottom: 18px;
      padding-left: 28px;
      position: relative;
    }

    .outcome-list li strong {
      display: block;
      font-size: 1.1rem;
      color: var(--alliance-blue);
      margin-bottom: 4px;
    }

    .outcome-list li:before {
      content: "▹";
      position: absolute;
      left: 0;
      color: var(--alliance-gold);
      font-size: 1.4rem;
      font-weight: bold;
    }

        /* ============================================================
       CONTACT SECTION — COMPACT & COHESIVE
       ============================================================ */

    /* Wrap everything in a tighter max-width so it doesn't
       stretch across the full container */
    #contact .container {
      max-width: 1000px;   /* ← narrower than 1280px default */
    }

    #contact .section-header {
      margin-bottom: 32px;
    }

    /* ---- Contact cards row ---- */
    .contact-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;                 /* ← was 32px, now tighter */
      margin-top: 0;
      background: transparent;   /* ← remove the big grey block */
      padding: 0;                /* ← remove the big padding */
    }

    .contact-card {
      background: #ffffff;
      padding: 24px 26px;
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-sm);
      border: 1px solid #eaeef3;
      transition: all 0.2s ease;
    }

    .contact-card:hover {
      border-color: var(--alliance-gold);
      box-shadow: var(--shadow-md);
    }

    .contact-card h4 {
      font-size: 1.15rem;
      color: var(--alliance-blue);
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .contact-card h4 i {
      color: var(--alliance-gold);
      font-size: 1.2rem;
    }

    .contact-card p {
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--text-soft);
      font-size: 0.95rem;
    }

    .contact-card p:last-child {
      margin-bottom: 0;
    }

    .contact-card p i {
      color: var(--alliance-gold);
      width: 18px;
      flex-shrink: 0;
    }

    /* ---- Contact links ---- */
    .contact-link {
      color: var(--text-soft);
      transition: color 0.2s ease;
    }

    .contact-link:hover {
      color: #6f0000;
      text-decoration: underline;
    }

    /* ---- Bottom contact strip ---- */
    .contact-strip {
      margin-top: 24px;
      background: var(--alliance-light);
      padding: 20px 24px;
      border-radius: var(--radius);
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 14px 36px;
    }

    .contact-strip-item {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--text-soft);
      text-decoration: none;
      font-size: 0.92rem;
      transition: color 0.2s ease;
      white-space: nowrap;
    }

    .contact-strip-item i {
      color: var(--alliance-gold);
      font-size: 0.95rem;
    }

    .contact-strip-item:hover {
      color: #6f0000;
    }

    /* ---- Responsive ---- */
    @media (max-width: 768px) {
      .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }

      .contact-strip {
        gap: 12px 20px;
        padding: 18px 16px;
      }

      .contact-strip-item {
        font-size: 0.85rem;
      }
    }

    /* ---------- REGISTER CTA ---------- */
    .register-cta {
      background: linear-gradient(135deg, #0b1f33 0%, #1b3b5c 100%);
      color: var(--white);
      border-radius: var(--radius);
      padding: 56px 48px;
      text-align: center;
      margin: 40px 0 20px;
    }

    .register-cta h2 { color: var(--white); }

    .register-cta h2:after {
      margin-left: auto;
      margin-right: auto;
      background: var(--alliance-gold);
    }

    .register-cta .btn {
      margin-top: 28px;
      font-size: 1.2rem;
      padding: 18px 60px;
    }

    .register-cta p {
      opacity: 0.9;
      font-size: 1.1rem;
      margin: 16px 0 8px;
    }

    .register-cta .detail-badge {
      display: inline-block;
      background: rgba(255,255,255,0.12);
      padding: 8px 20px;
      border-radius: 40px;
      margin: 6px 8px;
      font-size: 0.95rem;
      font-weight: 500;
    }

    /* ---------- QR CODE SECTION ---------- */
    .qr-section {
      display: flex;
      align-items: center;
      gap: 32px;
      background: var(--white);
      padding: 32px;
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      margin-top: 32px;
      flex-wrap: wrap;
    }

    .qr-box {
      width: 180px;
      height: 180px;
      background: #ffffff;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      overflow: hidden;
      border: 3px solid var(--alliance-gold);
      padding: 8px;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    }

    .qr-image {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

    .qr-text h3 {
      color: var(--alliance-blue);
      margin-bottom: 8px;
    }

    .qr-text p {
      color: var(--text-soft);
      margin-bottom: 12px;
    }

    /* ============================================================
       FOOTER — SOLID MAROON #831b1d
       ============================================================ */
    .site-footer {
      background: #831b1d;
      color: #ffffff;
      padding: 56px 0 0;
      position: relative;
    }

    .site-footer::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        repeating-linear-gradient(
          45deg,
          rgba(255, 255, 255, 0.015) 0px,
          rgba(255, 255, 255, 0.015) 1px,
          transparent 1px,
          transparent 24px
        );
      pointer-events: none;
    }

    .site-footer > .container {
      position: relative;
      z-index: 1;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 48px;
      padding-bottom: 40px;
    }

    /* Brand column — LOGO (no filter, shows as-is) */
    .footer-logo-link {
      display: inline-block;
      margin-bottom: 18px;
      line-height: 0;
    }

    .footer-logo {
      max-height: 60px;
      width: auto;
      display: block;
    }

    .footer-logo-fallback {
      width: 60px;
      height: 60px;
      background: #ffffff;
      border-radius: 10px;
      display: none;
      align-items: center;
      justify-content: center;
      color: #831b1d;
      font-size: 1.6rem;
      font-weight: 800;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .footer-brand p {
      font-size: 0.95rem;
      margin-bottom: 6px;
    }

    .footer-brand .footer-tagline {
      font-size: 0.85rem;
      letter-spacing: 2px;
      color: var(--alliance-gold);
      font-weight: 600;
      margin-top: 8px;
    }

    /* Quick links */
    .footer-links h4,
    .footer-social h4 {
      font-size: 1rem;
      color: #ffffff;
      margin-bottom: 18px;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      font-weight: 700;
    }

    .footer-links ul li {
      margin-bottom: 10px;
    }

    .footer-links ul li a {
      color: rgba(255, 255, 255, 0.85);
      font-size: 0.92rem;
      transition: all 0.2s ease;
      display: inline-block;
    }

    .footer-links ul li a:hover {
      color: var(--alliance-gold);
      transform: translateX(4px);
    }

    /* Social icons — white on maroon */
    .social-icons {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .social-icons a {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.22);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      font-size: 1rem;
      transition: all 0.25s ease;
    }

    .social-icons a:hover {
      background: var(--alliance-gold);
      border-color: var(--alliance-gold);
      color: #831b1d;
      transform: translateY(-3px);
      box-shadow: 0 8px 18px rgba(253, 185, 19, 0.4);
    }

    /* Bottom bar */
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.18);
      padding: 22px 0 28px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      gap: 8px;
    }

    .footer-bottom p {
      color: rgba(255, 255, 255, 0.75);
      font-size: 0.85rem;
      margin: 0;
      text-align: center;
    }

    .footer-bottom .footer-note {
      font-style: italic;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
      }
      .footer-brand {
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 480px) {
      .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .social-icons a {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
      }
    }

    /* ---------- RESPONSIVE ---------- */
    @media (max-width: 1100px) {
      .speakers-grid { grid-template-columns: repeat(3, 1fr); }
    }

    @media (max-width: 1024px) {
      h1 { font-size: 2.8rem; }
      .hero h1 { font-size: 3.2rem; }
      .focus-grid { grid-template-columns: repeat(3, 1fr); }
      .participate-grid { grid-template-columns: repeat(3, 1fr); }
      .overview-strip { grid-template-columns: repeat(2, 1fr); }
      .why-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 768px) {
      .hero h1 { font-size: 2.4rem; }
      .hero .hero-tagline { font-size: 1.15rem; }
      .hero .hero-sub { font-size: 1.05rem; }
      .hero .guidance { font-size: 1.1rem; padding: 12px 18px; }
      .question-list { grid-template-columns: 1fr; }
      .participate-grid { grid-template-columns: 1fr 1fr; }
      .focus-grid { grid-template-columns: 1fr 1fr; }
      .speakers-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
      .overview-strip { grid-template-columns: 1fr; }
      .why-grid { grid-template-columns: 1fr; }
      .contact-grid { grid-template-columns: 1fr; padding: 24px; }
      .register-cta { padding: 36px 20px; }
      .qr-section { flex-direction: column; text-align: center; }
      .speaker-photo { height: 170px; }
      .footer-brand img{
        /* height:auto; */
        width:98%;
      }
    }

    @media (max-width: 480px) {
      .hero h1 { font-size: 2rem; }
      .hero .hero-sub { flex-direction: column; align-items: flex-start; gap: 8px; }
      .participate-grid { grid-template-columns: 1fr; }
      .focus-grid { grid-template-columns: 1fr; }
      .speakers-grid { grid-template-columns: 1fr; }
      section { padding: 48px 0; }
      h2 { font-size: 1.8rem; }
      .speaker-photo { height: 220px; }
    }
    /* .navbar-brand img{
      height:70px;
    } */





    /* ============================================================
   FINAL DECENT EFFECTS — KEYFRAMES & SCROLL REVEAL
   ============================================================ */

/* ---------- 1. KEYFRAMES ---------- */

/* Fade up — the workhorse reveal */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade in — for hero text */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Slide in from left — for hero heading */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Gentle float — for icons */
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Gold shimmer — for the h2 underline */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Pulse glow — for the Register button */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 6px 14px rgba(111, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 6px 24px rgba(253, 185, 19, 0.55);
  }
}

/* Slow zoom — for the hero background */
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* Underline grow — for the h2 gold bar */
@keyframes growWidth {
  from { width: 0; }
  to   { width: 70px; }
}

/* ---------- 2. APPLY TO HERO ---------- */

.hero {
  /* keep your existing background-image — add zoom layer */
  animation: fadeIn 0.8s ease-out;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: heroZoom 20s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero h1 {
  animation: slideInLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero .hero-tagline {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero .hero-sub {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero .guidance {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.hero .hero-cta {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

/* ---------- 3. H2 GOLD UNDERLINE — shimmer + grow ---------- */

h2::after {
  animation: growWidth 0.9s cubic-bezier(0.22, 1, 0.36, 1) both,
             shimmer 3s linear 1.2s infinite;
  background-size: 200% 100% !important;
  background-image: linear-gradient(
    90deg,
    var(--alliance-gold) 0%,
    #ffe27a 50%,
    var(--alliance-gold) 100%
  ) !important;
}

/* ============================================================
   4. SCROLL REVEAL
   ============================================================ */

/* Elements start hidden and float up as they enter the viewport */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside grids — cascade effect */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger timing — 1 through 8 */
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.00s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.36s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.42s; }

/* Keep revealed content above the dark overlay in .section-bg sections */
.section-bg .reveal,
.section-bg .reveal-stagger {
  position: relative;
  z-index: 2;
}

/* ============================================================
   5. ICON MICRO-ANIMATIONS
   ============================================================ */

/* Focus card icons — gentle float on hover */
.focus-card:hover .focus-icon {
  animation: floatSoft 1.6s ease-in-out infinite;
}

/* Overview strip icons — lift on card hover */
.overview-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.overview-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.overview-item:hover i {
  animation: floatSoft 1.4s ease-in-out infinite;
}

/* Participate icons — subtle scale */
.participate-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.participate-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.participate-item:hover i {
  transform: scale(1.12);
  transition: transform 0.3s ease;
}

/* Why card icons — pulse */
.why-card:hover i {
  animation: floatSoft 1.4s ease-in-out infinite;
}

/* ============================================================
   6. CTA BUTTON PULSE
   ============================================================ */

.btn,
.btn-gold-nav {
  position: relative;
  overflow: hidden;
}

/* Shine sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 100%
  );
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn:hover::before {
  left: 100%;
}

/* Hero CTA — very subtle pulse to draw the eye */
.hero .hero-cta .btn {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* ============================================================
   7. NAVBAR LINK — smoother underline
   ============================================================ */

.custom-navbar .nav-link {
  transition: color 0.2s ease;
}

/* ============================================================
   8. ACCESSIBILITY — respect reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}



/* ============================================================
   FOOTER — CENTERED LAYOUT (logo + social only)
   ============================================================ */
.footer-top.footer-top-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
  padding-bottom: 40px;
  grid-template-columns: none;   /* neutralises the 3-col grid */
}

.footer-top-centered .footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-column: auto;
}

.footer-top-centered .footer-logo-link {
  margin-bottom: 16px;
}

.footer-top-centered .footer-brand p {
  text-align: center;
}

.footer-top-centered .footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-top-centered .footer-social h4 {
  margin-bottom: 18px;
  text-align: center;
}

.footer-top-centered .social-icons {
  justify-content: center;
}