/* -------------------------------------------------
   GLOBAL TOKENS / BASE
--------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600;700&display=swap');

:root{
  --white:#fff;
  --text:#0b1020;
  --muted:#5b6a8a;

  --blue:#1e40af;         /* primary blue */
  --blue-600:#2743c0;     /* hover/focus */
  --blue-050:#f3f6ff;     /* very light blue */
  --blue-100:#e6eeff;     /* light border */
  --navy:#0b1630;        
  --navy-2:#053a72;       /* top hero navy */
  --hero-gold:#c8a03a;    /* logo gold */
  --hero-logo:url("/assets/logo.png"); /* optional watermark */
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #ffffff;
  color: #0d1b2a;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }

/* -------------------------------------------------
  NAVBAR (GLOBAL)
--------------------------------------------------*/
.navbar {
  background-color: #ffffff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e0e0e0;
}

.logo-container { 
  display: flex; 
  align-items: center; 
  gap: 1rem; 
}

.logo-container a { 
  display:flex; 
  align-items:center; 
  gap:1rem; 
}

.logo { 
  font-family:'Montserrat',sans-serif; 
  font-size:1.75rem; 
  font-weight:600; 
  margin:0; 
}

.header-logo { 
  height:50px; 
  width:auto; 
  display:block; 
}


.nav-links { 
  list-style: none;
  display: flex;
  flex-wrap: nowrap;          /* ⬅ force single row by default on large screens */
  gap: 2.5rem;
  padding: 0; 
  margin: 0; 
  justify-content: flex-end;
}




.nav-links li a {
  color:#0d1b2a; 
  font-family:'Montserrat',sans-serif; 
  font-size:1rem; 
  font-weight:500;
  transition: all .3s ease; 
  padding:.5rem 0; 
  position:relative; 
  display:inline-block;
}

.nav-links li a::after {
  content:''; 
  position:absolute; 
  width:0; 
  height:2px; 
  bottom:0; 
  left:50%;
  background-color:#002c5f; 
  transition:width .3s ease,left .3s ease; 
  transform:translateX(-50%);
}

.nav-links li a:hover,
.nav-links li a:focus { 
  color:#002c5f; 
  transform:scale(1.15); 
  transform-origin:bottom center; 
}

.nav-links li a:hover::after,
.nav-links li a:focus::after { 
  width:100%; 
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown { 
  position: relative; 
}

.dropdown-toggle{
  appearance:none; 
  display:inline-flex; 
  align-items:center; 
  justify-content:center; 
  border:0; 
  background:transparent;
  padding:.5rem 0; 
  margin:0; 
  font-family:'Montserrat',sans-serif; 
  font-size:1rem; 
  font-weight:500; 
  color:#0d1b2a; 
  cursor:pointer; 
  line-height:1.2; 
  transition:color .25s;
  outline:none;
}

.dropdown-toggle::after{ 
  content:''; 
  position:absolute; 
  left:50%; 
  bottom:0; 
  width:0; 
  height:2px; 
  background:#002c5f; 
  transform:translateX(-50%); 
  transition:width .25s,left .25s; 
}

.nav-dropdown:hover .dropdown-toggle,
.nav-dropdown:focus-within .dropdown-toggle{ 
  color:#002c5f; 
}

.nav-dropdown:hover .dropdown-toggle::after,
.nav-dropdown:focus-within .dropdown-toggle::after{ 
  width:100%; 
}

.dropdown-content{
  position:absolute; 
  top:calc(100% - 1px); 
  left:0; 
  z-index:1000;
  min-width:200px; 
  padding:.75rem .6rem .75rem 1rem; 
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px); 
  -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(0,44,95,.10); 
  border-radius:14px; 
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  overflow:visible; 
  transform:translateX(-6px) translateY(-10px); 
  opacity:0; 
  visibility:hidden;
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  display:flex; 
  flex-direction:column;
}

.dropdown-content.open{ 
  opacity:1; 
  visibility:visible; 
  transform:translateX(-6px) translateY(0);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s;
}

.dropdown-item{ 
  position:relative; 
  padding:.8rem .3rem .8rem 1.5rem; 
}

.dropdown-item::before{
  content:''; 
  position:absolute; 
  left:.5rem; 
  top:6px; 
  bottom:6px; 
  width:0; 
  background:linear-gradient(180deg,#ffc75f,#ffd77d); 
  border-radius:2px; 
  transition:width .2s;
}

.dropdown-item:hover,
.dropdown-item:focus{ 
  color:#002c5f; 
  background:rgba(0,44,95,.06); 
  padding-left:1.2rem; 
}

.dropdown-item:hover::before,
.dropdown-item:focus::before{ 
  width:3px; 
}

.dropdown-toggle { 
  transform: translateY(3.5px);
}

/* ===== HAMBURGER BUTTON (hidden on desktop) ===== */
.nav-toggle {
  display: none;                /* shown on mobile via media query */
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #0d1b2a;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Animate into an "X" when nav is open */
.navbar.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.navbar.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== RESPONSIVE NAVBAR (incl. About Us mobile menu) ===== */

@media (max-width: 1200px) {
  .nav-links {
    flex-wrap: wrap;         
    column-gap: 2.2rem;
    row-gap: 0.35rem;
  }
}

@media (max-width: 768px){
  .navbar{
    padding:0.75rem 1rem;
    position:sticky;
    top:0;
    z-index:999;
    display:flex;
    flex-direction:row;
    align-items:center;
  }

  .logo-container{
    flex:1;
  }

  /* show hamburger on mobile */
  .nav-toggle{
    display:flex;
  }

  /* collapse links into dropdown panel */
  .nav-links{
    position:absolute;
    top:100%;
    left:0;
    right:0;

    display:none;
    flex-direction:column;
    gap:0.25rem;

    padding:0.75rem 1rem 1rem;
    margin:0;
    list-style:none;
    background:#ffffff;
    border-bottom:1px solid #e0e0e0;
    box-shadow:0 6px 18px rgba(0,0,0,.06);
  }

  /* when navbar has .nav-open (from React), show the menu */
  .navbar.nav-open .nav-links{
    display:flex;
  }

  .nav-links li a,
  .dropdown-toggle{
    width:100%;
    text-align:left;
    padding:0.5rem 0;
    transform:none; /* no scale hover on mobile */
  }

  /* ===== CLEAN "ABOUT US" NESTED MENU ON MOBILE ===== */
  .nav-dropdown{
    width:100%;
  }

  .nav-dropdown .dropdown-toggle{
    justify-content:space-between;
    padding:0.5rem 0;
  }

  /* remove underline effect on mobile for About Us label */
  .nav-dropdown .dropdown-toggle::after{
    display:none;
  }

  /* dropdown becomes a simple nested list under About Us */
  .dropdown-content{
    position:static;
    border:0;
    box-shadow:none;
    padding:0.25rem 0 0 0;
    margin-top:0.15rem;
    background:transparent;
    backdrop-filter:none;
    transform:none;
    opacity:1;
    visibility:visible;
    display:flex;
    flex-direction:column;
    gap:0;
  }

  .dropdown-item{
    padding:0.4rem 0 0.4rem 1rem;  /* indent under About Us */
    background:transparent;
  }

  /* remove vertical accent bar from desktop style */
  .dropdown-item::before{
    width:0;
  }

  .dropdown-item:hover,
  .dropdown-item:focus{
    background:rgba(0,44,95,0.04);
    padding-left:1rem; /* keep indent stable on hover */
  }
}

/* --------------------------------------------------
  SHARED HERO — SPONSORS / SPEAKERS / EVENTS / FAQ
--------------------------------------------------*/
:is(.sponsors-banner, .speakers-hero, .events-hero, .faq-hero, .home-hero, .home-hero){
  position:relative; overflow:hidden; color:#fff;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  box-shadow: inset 0 -2px 0 rgba(200,160,58,.65);
  padding: clamp(36px, 5vw, 72px) 16px;
  text-align:center;
}
:is(.sponsors-banner, .speakers-hero, .events-hero, .faq-hero, .home-hero)::before{
  content:""; position:absolute; left:0; right:0; top:0; height:6px;
  background: linear-gradient(90deg, transparent, rgba(233,182,54,.87), transparent);
  opacity:.9; pointer-events:none;
}
:is(.sponsors-banner, .speakers-hero, .events-hero, .faq-hero, .home-hero)::after{
  content:""; position:absolute; right:-6%; top:-8%; width:620px; height:620px;
  background-image: var(--hero-logo); background-size:contain; background-repeat:no-repeat; background-position:center;
  opacity:.06; filter:saturate(.8) contrast(1.1); pointer-events:none;
}
:is(.sponsors-banner, .speakers-hero, .events-hero, .faq-hero, .home-hero) h1,
:is(.sponsors-banner, .speakers-hero, .events-hero, .faq-hero, .home-hero) h2{
  color:#fff; margin:0 0 10px; font-size:clamp(26px,3.6vw,40px); letter-spacing:.2px; position:relative;
}
:is(.sponsors-banner, .speakers-hero, .events-hero, .faq-hero, .home-hero) h1::after,
:is(.sponsors-banner, .speakers-hero, .events-hero, .faq-hero, .home-hero) h2::after{
  content:""; display:block; width:120px; height:3px; margin:12px auto 0; border-radius:2px;
  background: linear-gradient(90deg, var(--hero-gold), rgba(255,191,28,.95));
  box-shadow: 0 2px 10px rgba(200,160,58,.25);
}
:is(.sponsors-banner, .speakers-hero, .events-hero, .faq-hero, .home-hero) p{
  color:rgba(255,255,255,.9); line-height:1.65; max-width:800px; margin:0 auto;
}

/* --------------------------------------------------
  HOME PAGE (Hero, News, Highlights)
--------------------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 5.5rem 1.5rem 4.5rem;
}
.home-hero .golden-button { margin-top: 1.3rem; } 

.hero--yais {
  background:
    radial-gradient(1200px 600px at 30% 40%, rgba(255,255,255,0.07), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #053a72 0%, #002c5f 45%, #03244a 100%);
}
.yais-home .hero__inner { max-width: 1200px; margin: 0 auto; text-align: center; position: relative;}

.yais-home .hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3.3vw, 3rem);
  font-weight:700;
  letter-spacing: .2px;
  margin: 0 0 1.25rem;
}

.yais-home .hero__lead { max-width: 1000px; margin: .25rem auto .75rem; line-height: 1.65; opacity: .95; }

.yais-home .hero__lead--small { opacity: .9; }

.hero--yais::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("/assets/logo.png"); background-repeat: no-repeat;
  background-size: min(44vw, 520px); background-position: right -6vw bottom -6vw;
  opacity: .10; pointer-events: none; filter: saturate(.8) contrast(1.05);
}

@media (max-width: 720px) {
  .hero { padding: 4.5rem 1rem 3.25rem; }
  .hero--yais::after { background-size: 70vw; background-position: right -12vw bottom -12vw; }
}
/* CTA button in hero */
.golden-button {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #ffc75f 0%, #ffd77d 100%);
  color: #002c5f;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  display: inline-block;
  text-decoration: none;
}
.yais-home .golden-button:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 199, 95, 0.3); }

@media (max-width: 768px) {
  .news-cards, .highlight-cards { gap: 1rem; }
  .card { width: 100%; max-width: 300px; }
}

.yais-home { font-family: 'Open Sans', sans-serif; color: #0d1b2a; }
.yais-home .home-hero::before{ 
  content:""; 
  position:absolute; 
  left:0; right:0; top:0; height:6px; 
  background:linear-gradient(90deg,transparent,rgba(233,182,54,.87),transparent); 
  opacity:.9; 
  pointer-events:none; 
}

@media (max-width:720px){ 
  .yais-home .home-hero{ padding:4.5rem 1rem 3.25rem; } 
}

/* Home Page Section Utils */
.yais-home .section{ padding: clamp(2.5rem, 5vw, 4rem) 1rem; }
.yais-home .container{ max-width:1150px; margin:0 auto; }
.yais-home .muted{ color:var(--muted); }

/* The global .section-title is slightly different, so we use a scoped version for the home page */
.yais-home .section-title { 
  font-family:'Montserrat',sans-serif; 
  font-size: clamp(1.8rem, 2.4vw, 2.25rem);
  margin: 0 0 3rem; 
  color: var(--navy-2); 
  text-align: center; 
  font-weight: 700;
}

/* AT A GLANCE Section */
.yais-home .at-a-glance { background: var(--white); }
.yais-home .at-a-glance__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.yais-home .at-a-glance__card {
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 22px rgba(0, 44, 95, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.yais-home .at-a-glance__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 44, 95, .08);
}
.yais-home .at-a-glance__card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy-2);
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}
.yais-home .at-a-glance__card p {
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}
@media (max-width: 900px) {
  .yais-home .at-a-glance__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .yais-home .at-a-glance__grid { grid-template-columns: 1fr; }
}

/* WHO MESSAGE Section */
.yais-home .message { background: linear-gradient(180deg,#f9fbff,#ffffff 90%); }
.yais-home .message__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  justify-items: center;
}
.yais-home .message__text {
  max-width: 900px;
  margin: 0 auto;
}
.yais-home .message__text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: #0b2347;
  font-weight: 700;
  margin: 0 0 1rem;
  text-align: center;
}
.yais-home .message__text p {
  line-height: 1.7;
  color: var(--text);
  margin: 0;
  text-align: center;
}
.yais-home .video-embed {
  width: 100%;
  max-width: 1040px;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(0, 44, 95, .12);
  box-shadow: 0 20px 48px rgba(0, 44, 95, .15);
}
.yais-home .video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* INNOVATION LABS Section */
.yais-home .innovation-labs { background: var(--blue-050); }
.yais-home .innovation-labs__intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 700px;
  margin: -2rem auto 2.5rem;
  text-align: center;
}

/* SLIDER COMPONENT (used in Innovation Labs) */
.pxrow{ margin-top:1rem; }
.pxrow.no-title-bar { margin-top: 0; }
.pxrow__bar{ display:flex; align-items:center; justify-content:space-between; margin:0 0 .5rem; }
.pxrow__title{ margin:0; font-family:'Montserrat',sans-serif; font-size:1.15rem; font-weight:800; color:#0e2247; letter-spacing:.2px; }
.pxrow__rail{
  position:relative;
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(300px, 92%);
  gap:1.25rem;
  overflow:auto;
  padding:.5rem .5rem .75rem;
  scroll-snap-type:x mandatory;
  border-radius:18px;
  background:linear-gradient(180deg,#f9fbff,#f6f9ff);
  scrollbar-width:thin;
}
.pxrow__rail:focus{ outline:2px solid var(--hero-gold); outline-offset:2px; }
.pxrow__card{
  scroll-snap-align:start;
  background:#fff;
  border:1px solid #e2ecff;
  border-radius:16px;
  padding:1.25rem 1.4rem;
  display:flex; flex-direction:column; gap:.5rem;
  transition:transform .12s ease, box-shadow .18s ease, border-color .18s ease;
}
.pxrow__card:hover{
  transform: translateY(-2px);
  box-shadow:0 12px 32px rgba(0,44,95,.09);
  border-color:#cfe0ff;
}
.pxrow.workshops .pxrow__card--work .pxrow__work-title{ font-weight:800; color:#0f2347; font-size:1.12rem; }
.pxrow.workshops .pxrow__card--work .pxrow__work-blurb{ color:#5f6f8d; font-size:1.02rem; line-height:1.55; }
.pxrow.speakers .pxrow__card--speaker{ align-items:center; text-align:center; }
.pxrow__avatar{ width:180px; height:180px; border-radius:999px; overflow:hidden; background:#eef4ff; margin:.25rem auto .6rem; border:2px solid #e2ecff; box-shadow:0 8px 24px rgba(0,44,95,.08); }
.pxrow__avatar img{ width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
.pxrow__name{ font-weight:800; color:#0f2347; font-size:1.2rem; letter-spacing:.2px; }
.pxrow__role{ color:#5f6f8d; font-size:1.02rem; }

@media (min-width: 768px){
  .pxrow__rail{
    grid-auto-columns:minmax(380px, 520px);
  }
}


/* --------------------------------------------------
  TEAM / COMMITTEE (ABOUT US PAGE)
--------------------------------------------------*/
.team { padding: 4rem 2rem; background-color: #e8f3ff; text-align: center; }
.team-title { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; color: #0b2347; margin-bottom: .5rem; }
.team-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:4rem; row-gap:5rem; max-width:1350px;
  margin:0 auto; padding:2rem;
}
.team-member{
  position:relative; overflow:hidden; border-radius:12px; background:#fff;
  box-shadow:0 4px 8px rgba(0,0,0,.1);
  opacity:0; transform:translateY(20px);
  transition:opacity .9s ease-out, transform .6s ease-out, box-shadow .3s ease, transform .3s ease;
}
.team-member.visible{ opacity:1; transform:translateY(0); }
.team-member:hover{ transform:scale(1.04); box-shadow:0 8px 16px rgba(0,0,0,.2); }
.team-member img{ display:block; width:100%; height:auto; border-radius:12px; object-fit:cover; }
.member-info{
  position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:65%;
  background-color:#0151ad93; padding:.7rem .5rem; border-top-left-radius:8px; border-top-right-radius:8px; text-align:center;
}
.member-info h4{ font-family:'Montserrat',sans-serif; font-size:1.125rem; font-weight:700; margin:0; color:#fff; transition:.2s; }
.member-info h4:hover{ color:rgb(255,194,82); }
.member-info p{ font-size:.95rem; margin:.25rem 0 0; color:#fff; }
@media (max-width:1024px){ .team-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .team-grid{ grid-template-columns:1fr; } }
@media (min-width: 1025px) {
  .team-grid > .team-member:last-child:nth-child(3n + 1) {
    grid-column: 2; /* put it in the middle column */
  }
}

/* --------------------------------------------------
  SPONSOR PAGE — CONTENT 
--------------------------------------------------*/
.supporters { max-width:1300px; margin:0 auto; padding: clamp(20px, 4vw, 48px) 16px 64px; }
.supporters__tier { margin-bottom: 32px; }
.supporters__title{
  margin:28px 0 14px; font-size:clamp(20px,2.2vw,26px); color:var(--text); position:relative; padding-left:10px;
}
.supporters__title::before{ content:""; position:absolute; left:0; top:.55em; width:6px; height:6px; border-radius:2px; background:var(--hero-gold); }

.supporters__grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(12px,2.4vw,20px); }
@media (max-width:980px){ .supporters__grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:720px){ .supporters__grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .supporters__grid{ grid-template-columns:1fr; } }

.supporter-card{
  background:#fff; border:1px solid var(--blue-100); border-radius:14px; padding:16px 14px; text-align:center;
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow:0 8px 24px rgba(0,0,0,.04); outline:none; animation: cardReveal .4s ease both;
}
@keyframes cardReveal{ from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:translateY(0);} }
.supporter-card:hover, .supporter-card:focus-visible{
  transform:translateY(-2px);
  border-color: color-mix(in oklab, var(--blue-100), var(--hero-gold) 35%);
  box-shadow:0 14px 30px rgba(30,64,175,.12);
}

.supporter-card__logoWrap{
  background:var(--blue-050); border:1px solid var(--blue-100); border-radius:12px; padding:14px; display:grid; place-items:center; transition:.25s;
}
.supporter-card:hover .supporter-card__logoWrap,
.supporter-card:focus-visible .supporter-card__logoWrap{
  background:#fff; border-color: color-mix(in oklab, var(--blue-100), var(--hero-gold) 35%);
}

.supporter-card__logo{ max-width:220px; max-height:80px; width:auto; height:auto; filter:grayscale(100%) contrast(1.05); opacity:.9; transition:.25s; }
.supporter-card:hover .supporter-card__logo,
.supporter-card:focus-visible .supporter-card__logo{ filter:none; opacity:1; }

.supporter-card__name{ margin:10px 0 6px; font-size:16px; color:var(--text); }

.supporter-card__link{
  display:inline-block; font-weight:700; color:var(--blue); text-decoration:none; border-bottom:2px solid var(--hero-gold);
  padding-bottom:2px; transition: color .2s ease, border-color .2s ease, transform .06s ease;
}
.supporter-card__link:hover{ color:var(--blue-600); border-color: color-mix(in oklab, var(--hero-gold), #000 18%); }
.supporter-card__link:active{ transform:translateY(1px); }
.supporter-card__link--disabled{ pointer-events:none; opacity:.6; border-bottom-color:transparent; }

/* CTA box */
.cta-box{
  margin-top:clamp(28px,4vw,48px); padding:clamp(16px,3vw,22px);
  border:1px dashed color-mix(in oklab, var(--blue-100), var(--hero-gold) 30%); border-radius:16px; text-align:center;
  background: linear-gradient(180deg,#fff,#fff) padding-box,
              repeating-linear-gradient(45deg, rgba(200,155,31,.10) 0 10px, rgba(30,64,175,.08) 10px 20px) border-box;
}
.cta-box h2{ margin:0 0 8px; color:var(--text); }
.cta-box p{ margin:0 0 12px; color:var(--muted); }
.cta-box__button{
  display:inline-block; padding:10px 14px; border-radius:10px; background:var(--blue); color:#fff; font-weight:700; position:relative;
  transition: filter .2s ease, transform .06s ease, box-shadow .2s ease; box-shadow:0 8px 22px rgba(30,64,175,.20);
}
.cta-box__button::after{ content:""; position:absolute; left:12px; right:12px; bottom:6px; height:2px; border-radius:2px; background:var(--hero-gold); }
.cta-box__button:hover{ filter:brightness(1.05); }
.cta-box__button:active{ transform:translateY(1px); }


/* --------------------------------------------------
  EVENTS PAGE (Tabs / Schedule)
--------------------------------------------------*/
.schedule-tabs-container .tab-input{ position:absolute; opacity:0; pointer-events:none; }
.schedule-tabs-container{ margin-top:3rem; }
.schedule-tabs-container .tab-labels{ display:flex; justify-content:center; gap:1rem; margin-bottom:1.5rem; flex-wrap:wrap; }
.schedule-tabs-container .tab-label{
  font-family:'Montserrat',sans-serif; font-weight:600; padding:.5rem 1rem; cursor:pointer; border-radius:6px;
  background-color:#e8f3ff; color:#0b2347; transition:.2s;
}
.schedule-tabs-container .tab-label:hover,.schedule-tabs-container .tab-label:focus{ background:#d6e2f1; }
#tab-day1:checked ~ .tab-labels label[for="tab-day1"],
#tab-day2:checked ~ .tab-labels label[for="tab-day2"],
#tab-day3:checked ~ .tab-labels label[for="tab-day3"]{ background:#002855; color:#fff; }
.schedule-tabs-container .tab-content{
  display:none; opacity:0; transform:translateY(10px); transition:opacity .4s, transform .4s;
  padding:2rem 2rem 3rem; background:#fff; border:1px solid #e0e0e0; border-radius:8px; max-width:1000px; margin:0 auto 3rem;
}
#tab-day1:checked ~ .day1, #tab-day2:checked ~ .day2, #tab-day3:checked ~ .day3{ display:block; opacity:1; transform:translateY(0); }
.schedule-list{ display:grid; grid-template-columns:180px 1fr; gap:1.25rem 1.5rem; }
.schedule-item{ display:contents; }
.item-time{ font-weight:600; color:#0b2347; text-align:right; padding-top:.25rem; }
.item-content{ color:#0d1b2a; }
.item-main{ margin:0 0 .4rem; font-weight:600; color:#0b2347; }
.item-sublist{ margin:0; padding-left:1.25rem; list-style:disc; }
.item-sublist li{ margin-bottom:.3rem; }
.schedule-list > .schedule-item .item-content{ border-bottom:1px solid #e0e0e0; padding-bottom:.75rem; margin-bottom:.75rem; }
@media (max-width:500px){ .schedule-tabs-container .tab-labels{ gap:.5rem; } .schedule-tabs-container .tab-label{ font-size:.9rem; padding:.4rem .8rem; } }
@media (max-width:600px){
  .schedule-list{ display:block; }
  .schedule-item{ margin-bottom:1.25rem; }
  .item-time{ text-align:left; font-size:.95rem; margin-bottom:.25rem; }
  .item-content{ font-size:.95rem; }
  .item-main{ font-size:1rem; }
}

/* --------------------------------------------------
  FAQ PAGE (Accordion + CTA)
--------------------------------------------------*/
body:has(.faq-section) { background-color:#e8f3ff; }
.faq-section { max-width:900px; margin:0 auto; padding:2rem 2rem 4rem; }
.faq-item{
  margin-bottom:1rem; border-radius:8px; overflow:hidden; background:#ffffff; box-shadow:0 2px 5px rgba(0,0,0,.05); position:relative;
}
.faq-toggle{ position:absolute; opacity:0; pointer-events:none; }
.faq-question{
  display:flex; justify-content:space-between; align-items:center; padding:1rem 1.25rem; cursor:pointer;
  font-family:'Montserrat',sans-serif; font-size:1.125rem; font-weight:600; color:#0b2347; background:#f9fcff; transition:.2s;
}
.faq-question:hover{ background:#e2eaf5; }
.faq-icon{ font-size:1.25rem; transition:transform .2s; }
.faq-answer{ max-height:0; overflow:hidden; transition:max-height .3s, padding .3s; padding:0 1.25rem; background:#ffffff; }
.faq-answer p{ font-size:1rem; line-height:1.5; color:#0d1b2a; margin:1rem 0; }
.faq-toggle:checked + .faq-question + .faq-answer{ max-height:500px; padding:1rem 1.25rem 1.5rem; }
.faq-toggle:checked + .faq-question .faq-icon{ transform:rotate(45deg); }
@media (max-width:600px){
  .faq-section{ padding:2rem 1rem; }
  .faq-question{ font-size:1rem; padding:.75rem 1rem; }
  .faq-icon{ font-size:1rem; }
  .faq-answer p{ font-size:.95rem; }
}
/* “Still have questions?” CTA */
.faq-contact{
  background:#f9fcff; padding:3rem 2rem; margin-top:2rem; text-align:center; border-radius:8px; box-shadow:0 2px 5px rgba(0,0,0,.05);
}
.faq-contact h3{ font-family:'Montserrat',sans-serif; font-size:1.75rem; font-weight:700; color:#0b2347; margin-bottom:.5rem; }
.faq-contact p{ font-size:1rem; color:#0d1b2a; max-width:600px; margin:0 auto 1.5rem; }
.faq-contact-button{
  display:inline-block; font-family:'Montserrat',sans-serif; font-weight:600; background:#002855; color:#fff; padding:.75rem 2.5rem; border-radius:6px; transition:.2s;
}
.faq-contact-button:hover,.faq-contact-button:focus{ background:#001f47; }
@media (max-width:600px){
  .faq-contact{ padding:2rem 1rem; margin-top:1.5rem; }
  .faq-contact h3{ font-size:1.5rem; }
  .faq-contact p{ font-size:.95rem; margin-bottom:1rem; }
  .faq-contact-button{ width:100%; padding:.75rem 1rem; }
}

/* --------------------------------------------------
  SPEAKERS PAGE — LIST
--------------------------------------------------*/
.speakers-section { padding:40px 20px 80px; background:#f8f9fb; }
.section-title {
  font-size:2.5rem; font-weight:bold; margin-bottom:50px; color:#002554; font-family:'Montserrat',sans-serif; text-align:center;
}
.speakers-container { max-width:1200px; margin:0 auto; }
.speaker-row{
  display:flex; background:#fff; border-radius:12px; box-shadow:0 5px 15px rgba(0,0,0,.05); margin-bottom:40px; overflow:hidden;
}
.speaker-photo-container{ flex:0 0 300px; }
.speaker-photo{ width:100%; height:100%; object-fit:cover; }
.speaker-info{ flex:1; padding:30px; display:flex; flex-direction:column; justify-content:center; }
.speaker-name{ font-size:1.8rem; font-weight:bold; margin:0 0 10px; color:#002554; font-family:'Montserrat',sans-serif; }
.speaker-row.keynote{ border-left:4px solid #002c5f; position:relative; }
.speaker-row.keynote::before{
  content:"Keynote Speaker"; position:absolute; top:20px; right:20px; font-family:'Montserrat',sans-serif; font-size:.9rem; font-weight:600; color:#002c5f;
  border:1px solid #002c5f; padding:4px 12px; border-radius:20px; background:rgba(0,44,95,.05); letter-spacing:.5px;
}
.speaker-title{ font-size:1.1rem; color:#666; margin-bottom:20px; font-weight:600; }
.speaker-description{ font-size:1rem; color:#444; line-height:1.6; }
@media (max-width: 768px) {
  .speakers-section {
    padding: 24px 16px 56px;
  }

  .speaker-row {
    flex-direction: column;
    margin-bottom: 24px;
  }

  .speaker-photo-container {
    flex: 0 0 auto;
    width: 100%;
    height: auto;          
    display: flex;              /* ✅ center the image */
    justify-content: center;
  }

  .speaker-photo {
    width: 100%;
    max-width: 300px;           /* keeps it from stretching too wide */
    height: auto;               
    object-fit: cover;          
    display: block;
  }

  .speaker-info {
    padding: 20px 16px 24px;
  }

  .speaker-name {
    font-size: 1.5rem;
  }
}




/* --------------------------------------------------
  CONTACT US PAGE (Section + Form)
--------------------------------------------------*/
body:has(.contact-section) { background-color: #e8f3ff; }
.contact-section {
  background:#ffffff; padding:4rem 2rem; max-width:900px; margin:3rem auto; border-radius:12px;
  box-shadow: 0 4px 10px rgba(112, 52, 52, 0.1);
}
.contact-heading {
   font-size:2.5rem; font-weight:600; color:#0b2347; text-align:center; margin-bottom:2rem; margin-top:-.5rem;
}
.contact-form { display:flex; flex-direction:column; gap:1.5rem; }
.form-row { display:flex; gap:1rem; flex-wrap:wrap; }
.form-group { flex:1 1 0; display:flex; flex-direction:column; }
.form-group label { font-size:1rem; color:#0b2347; margin-bottom:.5rem; }
.required { font-size:.9rem; color:#555; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea{
  font-size:1rem; padding:.75rem 1rem; border:1px solid #cccccc; border-radius:6px; color:#0d1b2a; background:#fff; resize:vertical;
  transition:border-color .2s, box-shadow .2s;
}
.contact-form input[type="text"]:focus, .contact-form input[type="email"]:focus, .contact-form textarea:focus{
  border-color:#002855; box-shadow:0 0 0 3px rgba(0,40,85,.1); outline:none;
}
.btn-submit{
  align-self:flex-start; font-weight:600; color:#fff; background:#0b2347; padding:.75rem 2rem; border:none; border-radius:6px; cursor:pointer; transition:background-color .2s;
  margin-top:1rem;
}
.btn-submit:hover,.btn-submit:focus{ background:#001f47; }
.flash-message { padding:1rem; margin-bottom:1.5rem; border-radius:6px; }
.flash-message.success{ background:#e3f5e9; color:#0f5132; border:1px solid #badbcc; }
.flash-message.error{ background:#f8d7da; color:#842029; border:1px solid #f5c2c7; }
@media (max-width:768px){ .form-row{ flex-direction:column; } .btn-submit{ width:100%; text-align:center; } }

/* --------------------------------------------------
  FOOTER SECTION
--------------------------------------------------*/
.footer{
  background:
    linear-gradient(135deg, rgba(0,44,95,.95) 0%, rgba(11,35,71,.98) 100%),
    radial-gradient(circle at 20% 80%, rgba(255,199,95,.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,215,125,.08) 0%, transparent 50%);
  color:white; padding:0; margin-top:auto; position:relative; overflow:hidden;
}
.footer::before{
  content:''; position:absolute; inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events:none;
}
.footer-container{ max-width:1300px; margin:0 auto; position:relative; z-index:1; }

/* Newsletter */
.footer-newsletter{
  background:linear-gradient(135deg, rgba(255,199,95,.15) 0%, rgba(255,215,125,.1) 100%);
  border-bottom:1px solid rgba(255,255,255,.1); padding:1.5rem 2rem; text-align:center;
}
.newsletter-content{ max-width:600px; margin:0 auto; }
.newsletter-content h3{ font-family:'Montserrat',sans-serif; font-size:1.8rem; font-weight:700; margin:0 0 .5rem; color:#fff; }
.newsletter-content p{ color:rgba(255,255,255,.85); margin:0 0 1rem; }
.newsletter-form{ display:flex; gap:.75rem; max-width:400px; margin:0 auto; }
.newsletter-input{
  flex:1; padding:.75rem 1rem; border:2px solid rgba(255,255,255,.2); border-radius:8px; background:rgba(255,255,255,.1); color:white;
  backdrop-filter:blur(10px); transition:.3s;
}
.newsletter-input::placeholder{ color:rgba(255,255,255,.6); }
.newsletter-input:focus{ outline:none; border-color:rgba(255,199,95,.8); background:rgba(255,255,255,.15); }


/* Footer content */
.footer-main{ display:grid; grid-template-columns:1.2fr 2fr; gap:3rem; padding:2rem 2rem 1.5rem; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand{ max-width:500px; }
.brand-logo{ display:flex; align-items:center; gap:1rem; margin-bottom:1rem; }
.footer-logo{ width:48px; height:48px; object-fit:contain; }
.footer-brand h3{ font-family:'Montserrat',sans-serif; font-size:1.4rem; font-weight:700; margin:0; color:#fff; line-height:1.3; }
.footer-brand > p{ color:rgba(255,255,255,.8); margin:0 0 1.25rem; }

.footer-stats{ display:flex; gap:1.5rem; margin-top:1rem; }
.stat{ text-align:center; }
.stat-number{ display:block; font-family:'Montserrat',sans-serif; font-size:1.5rem; font-weight:700; color:#ffc75f; line-height:1; }
.stat-label{ display:block; font-size:.8rem; color:rgba(255,255,255,.7); margin-top:.25rem; text-transform:uppercase; letter-spacing:.5px; }

.footer-links{ display:grid; grid-template-columns:repeat(3,1fr); gap:3rem; }
.footer-column h4{ font-family:'Montserrat',sans-serif; font-size:1.1rem; font-weight:600; margin:0 0 .75rem; color:#fff; position:relative; }
.footer-column h4::after{ content:''; position:absolute; bottom:-.5rem; left:0; width:30px; height:2px; background:linear-gradient(90deg,#ffc75f,#ffd77d); border-radius:1px; }
.footer-column ul{ list-style:none; padding:0; margin:0; }
.footer-column ul li{ margin-bottom:.5rem; }
.footer-column ul li a{ font-size:.9rem; color:rgba(255,255,255,.75); transition:.3s; display:inline-block; }
.footer-column ul li a:hover{ color:#ffc75f; transform:translateX(4px); }

.social-links{ display:flex; flex-direction:column; gap:.5rem; }
.social-link{ display:flex; align-items:center; gap:.75rem; color:rgba(255,255,255,.75); transition:.3s; padding:.25rem 0; }
.social-link:hover{ color:#ffc75f; transform:translateX(4px); }
.social-icon{ width:20px; height:20px; flex-shrink:0; }

.quick-info{ display:flex; flex-direction:column; gap:.75rem; }
.info-item{ display:flex; align-items:center; gap:.75rem; color:rgba(255,255,255,.8); }
.info-icon{ width:18px; height:18px; color:#ffc75f; flex-shrink:0; }

.footer-bottom{ padding:1.25rem 2rem; }
.footer-bottom-content{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; }
.footer-bottom p{ font-size:.85rem; color:rgba(255,255,255,.6); margin:0; }
.footer-bottom-links{ display:flex; gap:2rem; }
.footer-bottom-links a{ font-size:.85rem; color:rgba(255,255,255,.6); transition:color .3s; }
.footer-bottom-links a:hover{ color:#ffc75f; }

/* Footer responsive */
@media (max-width:1024px){
  .footer-links{ grid-template-columns:repeat(2,1fr); gap:2rem; }
}

@media (max-width:768px){
  .footer-newsletter{ padding:1.25rem 1rem; }
  .newsletter-form{ flex-direction:column; gap:.75rem; }

  .footer-main{ 
    grid-template-columns:1fr; 
    gap:1.5rem; 
    padding:1.5rem 1rem 1rem; 
  }

  /* keep two columns for Event / Resources / Connect on tablet/phone */
  .footer-links{ 
    grid-template-columns:repeat(2, 1fr); 
    gap:1.5rem; 
  }

  .footer-bottom{ padding:1rem; }
  .footer-bottom-content{ 
    flex-direction:column; 
    text-align:center; 
    gap:.75rem; 
  }
  .footer-bottom-links{ gap:1rem; }
}

@media (max-width:480px){
  .newsletter-content h3{ font-size:1.5rem; }
  .footer-brand h3{ font-size:1.2rem; }
  .brand-logo{ flex-direction:column; text-align:center; gap:.75rem; }
  .footer-stats{ flex-direction:column; gap:1rem; text-align:center; }
  .footer-bottom-links{ flex-direction:column; gap:.75rem; }

  /* 🔁 NOTE: no .footer-links override here anymore,
     so it will stay as 2 columns even on iPhone 14 */
}
