/* =====================================================
   PharmaXcelerate — Life Sciences Summit
   Palette: navy #0F2A47, deep navy #0A1F38, teal #3FB6A8,
            light bg #F4F6F9, text #1c2a3a, muted #6b7785
   ===================================================== */

:root {
  --navy: #0F2A47;
  --navy-2: #0A1F38;
  --teal: #3FB6A8;
  --teal-2: #4FCBBE;
  --bg: #F4F6F9;
  --card: #ffffff;
  --text: #1c2a3a;
  --muted: #6b7785;
  --border: #e3e7ee;
  --shadow: 0 6px 22px rgba(15,42,71,0.08);
  --radius: 10px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ============ NAV ============ */
.nav {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: 0.3px;
  text-decoration: none;
}
.logo-img {
  display: block;
  height: 92px; width: auto;
  max-width: 420px;
  object-fit: contain;
}
@media (max-width: 860px) { .logo-img { height: 74px; max-width: 320px; } }
@media (max-width: 480px) { .logo-img { height: 64px; max-width: 260px; } }
.logo-mark {
  width: 28px; height: 28px; border-radius: 6px;
  background: linear-gradient(135deg, var(--teal), #79e2d4);
  display: inline-block;
}
.nav ul {
  display: flex; gap: 26px; list-style: none; padding: 0; margin: 0;
}
.nav ul a {
  font-size: 14px; opacity: 0.9; padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: opacity .2s, border-color .2s;
}
.nav ul a:hover, .nav ul a.active { opacity: 1; border-color: var(--teal); }
.nav-toggle {
  display: none; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer;
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav ul {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--navy);
    padding: 12px 24px 18px; display: none;
  }
  .nav ul.open { display: flex; }
  .nav ul a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 70px 24px 80px;
  text-align: center;
}
.hero-tall { padding: 110px 24px 130px; }
@media (max-width: 700px) { .hero-tall { padding: 70px 18px 90px; } }
.hero-inner { max-width: 880px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(22px, 3.3vw, 36px);
  font-weight: 700; line-height: 1.25;
  margin: 0 0 16px;
}
.hero-meta {
  display: flex; justify-content: center; gap: 22px; flex-wrap: wrap;
  font-size: 14px; opacity: 0.95; margin-bottom: 26px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* countdown */
.countdown {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; max-width: 600px; margin: 0 auto 26px;
}
.countdown .box {
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px; padding: 14px 8px; backdrop-filter: blur(2px);
  background: rgba(255,255,255,0.04);
}
.countdown .num { font-size: clamp(22px, 3.5vw, 34px); font-weight: 700; line-height: 1; }
.countdown .lbl { font-size: 12px; opacity: 0.8; letter-spacing: 0.5px; margin-top: 6px; }

.hero-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 30px;
  font-weight: 600; font-size: 14px; cursor: pointer; border: 0;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.18); }
.btn-light { background: #fff; color: var(--navy); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 1px solid #fff; }

/* ============ STATS ============ */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 900px; margin: -40px auto 40px;
  padding: 24px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); position: relative; z-index: 5;
}
.stat { text-align: center; }
.stat-icon {
  width: 46px; height: 46px; margin: 0 auto 10px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(63,182,168,0.12); color: var(--teal); font-size: 18px;
}
.stat .num {
  font-size: clamp(30px, 4vw, 44px); font-weight: 700; color: var(--navy);
}
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 4px; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; margin: -30px 16px 30px; }
}

/* ============ SECTIONS ============ */
.section { padding: 56px 0; }
.section h2 {
  text-align: center; margin: 0 0 32px;
  font-size: clamp(22px, 2.6vw, 28px); color: var(--navy); font-weight: 700;
}
.section-sub { text-align: center; color: var(--muted); margin: -22px auto 32px; max-width: 720px; }

/* speakers */
.speakers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.speaker {
  background: #fff; border-radius: var(--radius); padding: 22px 18px;
  text-align: center; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.speaker:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(15,42,71,0.12); }
.speaker img {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px;
  background: #d8e3eb;
}
.speaker .name { font-weight: 700; color: var(--navy); }
.speaker .pos { font-size: 13px; color: var(--muted); margin-top: 4px; }
@media (max-width: 900px) { .speakers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .speakers-grid { grid-template-columns: 1fr; } }

/* sponsors */
.sponsors { background: #fff; }
.tier { margin-bottom: 30px; }
.tier-label { text-align: center; color: var(--muted); margin-bottom: 14px; font-size: 14px; letter-spacing: 1px; }
.logo-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 50px; align-items: center;
}
.logo-row img {
  height: 44px; width: auto; max-width: 140px; object-fit: contain;
  filter: grayscale(0%); transition: transform .25s ease, filter .2s ease;
}
.logo-row img:hover { transform: scale(1.08); }
.tier + .tier { border-top: 1px solid var(--border); padding-top: 26px; }

/* events grid */
.events-grid {
  display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 22px;
}
.event-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(15,42,71,0.12); }
.event-card .img { aspect-ratio: 16/10; background: #233; overflow: hidden; }
.event-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.event-card:hover .img img { transform: scale(1.05); }
.event-card .body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.event-card .title { font-weight: 700; color: var(--navy); font-size: 15px; line-height: 1.4; margin-bottom: 10px; }
.event-card .meta { font-size: 13px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; margin-top: auto; }
@media (max-width: 900px) { .events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .events-grid { grid-template-columns: 1fr; } }

/* search */
.search-bar {
  display: grid; grid-template-columns: 2fr 1fr auto; gap: 10px;
  background: #fff; padding: 12px; border-radius: 10px; box-shadow: var(--shadow);
  max-width: 760px; margin: -40px auto 40px; position: relative; z-index: 5;
}
.search-bar input, .search-bar select {
  border: 1px solid var(--border); padding: 12px 14px; border-radius: 8px; font: inherit;
}
@media (max-width: 640px) { .search-bar { grid-template-columns: 1fr; } }

/* news */
.news-grid {
  display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 22px;
}
.cat-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 0 0 22px;
}
.cat-chip {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  border: 1px solid #d6dee7; background: #fff; color: var(--navy);
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.cat-chip:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }
.cat-chip.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.cat-chip.active:hover { color: #fff; }
.news-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(15,42,71,0.12); }
.news-card .img { aspect-ratio: 16/10; overflow: hidden; }
.news-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .img img { transform: scale(1.05); }
.news-card .body { padding: 16px 18px 18px; }
.news-card h3 { font-size: 15px; color: var(--navy); margin: 0 0 8px; }
.news-card p { font-size: 13.5px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

/* forms */
.form-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow);
  max-width: 760px; margin: 0 auto;
}
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px;
}
.form-grid label, .form-card label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea,
.form-card input, .form-card select, .form-card textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 8px;
  padding: 11px 12px; font: inherit; background: #fff;
}
.form-grid input:focus, .form-grid select:focus,
.form-card input:focus, .form-card select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(63,182,168,0.18);
}
/* checkbox rows inside form-card — higher specificity than the generic label rule */
.form-card label.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 4px 0;
  grid-column: 1 / -1;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
}
.form-card label.form-checkbox input[type=checkbox] {
  width: 18px; height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--navy);
  cursor: pointer;
}
.form-card label.form-checkbox span { font-weight: 400; }

.form-submit { text-align: center; margin-top: 22px; }
.form-submit .btn { min-width: 220px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* tickets */
.tickets-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.ticket {
  background: #fff; border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  border: 1px solid var(--border);
  transition: transform .25s ease;
}
.ticket:hover { transform: translateY(-4px); }
.ticket.highlight { border-color: var(--teal); }
.ticket h3 { font-size: 14px; color: var(--navy); margin: 0 0 6px; line-height: 1.4; }
.ticket .price { font-size: 28px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.ticket ul { list-style: none; padding: 0; margin: 0 0 18px; }
.ticket ul li {
  font-size: 14px; padding-left: 26px; position: relative; margin-bottom: 8px;
}
.ticket ul li::before {
  content: "\f00c"; /* fa-check */
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; background: var(--teal); color: #fff; border-radius: 50%;
  font-size: 10px; display: grid; place-items: center;
}
.ticket .btn { margin-top: auto; }
@media (max-width: 900px) { .tickets-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* event detail header */
.event-hero {
  background: linear-gradient(120deg, rgba(10,31,56,0.85), rgba(63,182,168,0.55)),
              var(--navy);
  color: #fff; padding: 60px 24px 70px; text-align: center;
}
.event-hero.has-image { background-size: cover; background-position: center; }

/* contact split */
.contact-split {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  background: #fff; max-width: 1080px; margin: 40px auto;
}
.contact-left {
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff; padding: 50px 40px;
}
.contact-left h2 {
  font-size: clamp(40px, 7vw, 78px); line-height: 0.95; font-weight: 800; margin: 0 0 20px;
  letter-spacing: -1px;
}
.contact-right { padding: 40px; }
@media (max-width: 800px) { .contact-split { grid-template-columns: 1fr; } }

/* footer */
.footer {
  background: var(--navy-2); color: #fff; padding: 40px 0 20px; margin-top: 60px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
}
.footer h4 { color: #fff; font-size: 16px; margin: 0 0 14px; }
.footer p, .footer a { font-size: 14px; color: rgba(255,255,255,0.78); }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 4px 0; }
.footer-bottom {
  text-align: center; font-size: 13px; color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; margin-top: 30px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.footer-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
  transition: background .18s ease, color .18s ease, transform .18s ease;
  text-decoration: none;
}
.footer-socials a:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }

/* fade-in on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* slider dots */
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.slider-dots span {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer;
  transition: background .2s, transform .2s;
}
.slider-dots span.active { background: #fff; transform: scale(1.3); }

/* admin */
.admin-shell { max-width: 1100px; margin: 0 auto; padding: 24px; }
.admin-nav {
  background: var(--navy); color: #fff; padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.admin-nav a { color: #fff; margin-right: 16px; font-size: 14px; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 18px; margin-top: 22px; }
.admin-card {
  background: #fff; border-radius: 10px; padding: 20px; box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.admin-card h3 { margin: 0 0 6px; color: var(--navy); font-size: 16px; }
.admin-card p { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.admin-editor textarea {
  width: 100%; min-height: 60vh; font: 13px/1.5 ui-monospace, monospace;
  padding: 14px; border: 1px solid var(--border); border-radius: 8px;
}
.flash { background: #e8fbf5; color: #0e6b5b; padding: 10px 14px; border-radius: 8px; margin: 10px 0; }
.flash.err { background: #fde8e8; color: #8a1818; }

/* ============ HOME HERO (v2 redesign) ============ */
.home-hero {
  min-height: 360px;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: grid;
  place-items: center;
  padding: 70px 24px;
}
.home-hero-inner { max-width: 1100px; width: 100%; }
.home-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin: 0;
  text-align: left;
}
@media (max-width: 700px) { .home-hero { min-height: 240px; padding: 50px 18px; } .home-hero h1 { text-align: center; } }

/* ============ HERO PRO (split: intro + event carousel + partners) ============ */
.hero-pro {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 70px 0 0;
}
.hero-pro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 60px;
}
.hp-left { max-width: 560px; }
.hp-eyebrow {
  display: flex; align-items: center; gap: 12px;
  text-transform: uppercase; letter-spacing: 3px;
  font-size: 12.5px; font-weight: 600; color: var(--teal-2, #4FCBBE);
  margin-bottom: 18px;
}
.hp-eyebrow-line { width: 40px; height: 2px; background: var(--teal); display: inline-block; }
.hp-headline {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.05; font-weight: 800; margin: 0 0 20px;
  white-space: pre-line; letter-spacing: -0.5px;
}
.hp-para { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,0.8); margin: 0 0 28px; max-width: 480px; }
.hp-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hp-btn-primary { background: var(--teal); color: #06231f; font-weight: 700; padding: 13px 26px; border-radius: 30px; }
.hp-btn-primary:hover { background: var(--teal-2, #4FCBBE); transform: translateY(-1px); }
.hp-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); padding: 13px 24px; border-radius: 30px; display: inline-flex; align-items: center; gap: 10px; }
.hp-btn-ghost:hover { border-color: #fff; transform: translateY(-1px); }
.hp-play { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.15); display: inline-grid; place-items: center; font-size: 10px; }
.hp-stats { display: flex; gap: 34px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; }
.hp-stat { display: flex; align-items: center; gap: 12px; }
.hp-stat-icon { color: var(--teal); font-size: 22px; }
.hp-stat-value { font-size: 26px; font-weight: 800; line-height: 1; }
.hp-stat-label { font-size: 12.5px; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* right-side vertical carousel */
.hp-right { position: relative; }
.hp-carousel { position: relative; }
.hp-cards { position: relative; height: 420px; }
.hp-card {
  position: absolute; left: 0; right: 0; top: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(13,32,56,0.72);
  background-size: cover; background-position: center;
  border-radius: 16px; padding: 26px 28px;
  backdrop-filter: blur(4px);
  transition: transform .45s cubic-bezier(.4,0,.2,1), opacity .45s, border-color .3s;
  cursor: default; text-decoration: none; color: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
a.hp-card { cursor: pointer; }
.hp-card.is-active { border-color: var(--teal); box-shadow: 0 22px 55px rgba(0,0,0,0.4); }
.hp-card.is-hidden { opacity: 0; pointer-events: none; }
.hp-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--teal); color: #06231f; font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; padding: 4px 10px; border-radius: 6px;
}
.hp-card-inner { display: flex; align-items: center; gap: 22px; }
.hp-card-badge { flex: 0 0 auto; width: 92px; height: 92px; }
.hp-card-badge .continent-badge { width: 100%; height: 100%; display: block; }
.hp-card-body { min-width: 0; }
.hp-card-brand { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 2px; }
.hp-card-region { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.05; margin-bottom: 12px; }
.hp-card.is-active .hp-card-region { color: #fff; }
.hp-card-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,0.82); }
.hp-card-meta i { color: var(--teal); margin-right: 4px; }
.hp-card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s, opacity .4s, margin-top .4s; }
.hp-card.is-active .hp-card-tags { max-height: 60px; opacity: 1; }
.hp-tag { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.5px; border: 1px solid rgba(255,255,255,0.25); border-radius: 5px; padding: 4px 8px; color: rgba(255,255,255,0.85); }
.hp-nav {
  position: absolute; right: -16px; z-index: 6;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); color: #fff;
  cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s;
}
.hp-nav:hover { background: var(--teal); border-color: var(--teal); color: #06231f; }
.hp-up { top: 8px; }
.hp-down { bottom: 8px; }
.hp-dots { position: absolute; right: -10px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; }
.hp-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.3); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.hp-dots button.active { background: var(--teal); transform: scale(1.4); }

/* partners bar */
.hp-partners { background: rgba(6,18,34,0.55); border-top: 1px solid rgba(255,255,255,0.08); padding: 26px 0 30px; }
.hp-partners-title { text-align: center; text-transform: uppercase; letter-spacing: 3px; font-size: 12px; font-weight: 600; color: var(--teal-2, #4FCBBE); margin-bottom: 20px; }
.hp-partners-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 46px; }
.hp-partner { display: inline-flex; align-items: center; }
.hp-partner img { height: 30px; width: auto; max-width: 150px; object-fit: contain; opacity: 0.78; filter: brightness(0) invert(1); transition: opacity .2s; }
.hp-partner:hover img { opacity: 1; }

@media (max-width: 980px) {
  .hero-pro-grid { grid-template-columns: 1fr; gap: 36px; }
  .hp-left { max-width: none; }
  .hp-cards { position: static; height: auto; display: flex; flex-direction: column; gap: 14px; }
  .hp-card { position: static; transform: none !important; opacity: 1 !important; pointer-events: auto !important; }
  .hp-card .hp-card-tags { max-height: 60px; opacity: 1; }
  .hp-nav, .hp-dots { display: none; }
}
@media (max-width: 560px) {
  .hero-pro { padding-top: 40px; }
  .hp-stats { gap: 22px; }
  .hp-partner img { height: 24px; }
  .hp-card-inner { gap: 16px; }
  .hp-card-badge { width: 72px; height: 72px; }
  .hp-card { padding: 20px; }
}

/* ============ UPDATES (featured 2-row block) ============ */
.updates-list { display: grid; gap: 36px; }
.update-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: center;
}
.update-row.image-right { grid-template-columns: 1fr 1.05fr; }
.update-row.image-right .update-media { order: 2; }
.update-row.image-right .update-body { order: 1; }

.update-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: #14365B; }
.update-image, .video-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-tile { position: relative; width: 100%; height: 100%; cursor: pointer; }
.video-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,31,56,0.35), rgba(0,0,0,0.15));
  pointer-events: none;
}
.video-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  border: 0; cursor: pointer;
  font-size: 22px;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  transition: transform .2s ease, background .2s ease;
  z-index: 2;
}
.video-play:hover { transform: translate(-50%, -50%) scale(1.06); background: #fff; }
.video-tile iframe { width: 100%; height: 100%; border: 0; display: block; position: absolute; inset: 0; }

.update-body h3 { color: var(--navy); font-size: clamp(18px, 2vw, 22px); margin: 0 0 12px; line-height: 1.35; }
.update-body p { color: var(--muted); margin: 0; line-height: 1.65; }

@media (max-width: 800px) {
  .update-row, .update-row.image-right { grid-template-columns: 1fr; }
  .update-row.image-right .update-media,
  .update-row.image-right .update-body { order: initial; }
}

/* ============ NEWS STRIP (date + see more) ============ */
.news-date { font-size: 12px; color: var(--muted); margin-top: 10px; }
.events-grid-6 { /* same 3-col grid, just helps semantics */ }

/* ============ TESTIMONIALS CAROUSEL ============ */
.testimonials-section { background: #fff; }
.testimonials { position: relative; }
.t-viewport { overflow: hidden; }
.t-track {
  display: flex;
  transition: transform .5s ease;
  will-change: transform;
}
.t-slide {
  flex: 0 0 50%;
  padding: 0 12px;
  box-sizing: border-box;
}
@media (max-width: 800px) { .t-slide { flex-basis: 100%; padding: 0 6px; } }

.testimonial-card {
  background: var(--teal);
  border-radius: 24px;
  padding: 12px 12px 22px;
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.t-inner {
  background: #fff;
  border-radius: 20px;
  padding: 72px 24px 28px;
  flex: 1;
  position: relative;
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.t-avatar {
  position: absolute;
  top: -52px;
  left: 18px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid #fff;
  background: #fff;
  z-index: 10;
}
.t-quote {
  position: absolute;
  top: 12px;
  right: 22px;
  font-size: 78px;
  color: #fff;
  line-height: 1;
  opacity: 1;
  z-index: 1;
}
.t-name { font-weight: 700; font-size: 18px; color: var(--navy); margin: 0 0 2px; }
.t-meta { font-size: 13px; color: var(--text); opacity: 0.8; margin-bottom: 12px; line-height: 1.4; }
.t-body {
  font-size: 14px; line-height: 1.55; color: var(--text); margin: 0;
  flex: 1; overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6; line-clamp: 6;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.t-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 22px;
}
.t-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: 0; background: #cfd6df; cursor: pointer;
  padding: 0; transition: background .2s, transform .2s;
}
.t-dots button.active { background: var(--teal); transform: scale(1.3); }

/* tickets-page event carousel hero */
.tickets-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  color: #fff;
}
.tickets-hero .th-track { position: relative; min-height: 420px; }
.tickets-hero .th-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 24px 100px;
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
}
.tickets-hero .th-slide.active { opacity: 1; pointer-events: auto; }
.tickets-hero .th-slide .hero-inner { max-width: 880px; }
.tickets-hero .th-slide h1 { font-size: clamp(22px, 3vw, 36px); margin: 0 0 14px; }
.tickets-hero .th-slide .hero-meta { display: flex; gap: 20px; justify-content: center; opacity: .9; font-size: 15px; margin-bottom: 18px; flex-wrap: wrap; }
.tickets-hero .th-slide .countdown { max-width: 600px; margin: 14px auto 22px; }
.tickets-hero .th-slide .hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.tickets-hero .th-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(15,42,71,0.65); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0.7; transition: opacity .2s ease, background .2s ease;
  z-index: 6;
}
.tickets-hero:hover .th-nav { opacity: 1; }
.tickets-hero .th-nav:hover { background: var(--teal); }
.tickets-hero .th-prev { left: 14px; }
.tickets-hero .th-next { right: 14px; }
.tickets-hero .th-dots {
  position: absolute; bottom: 18px; left: 0; right: 0;
  display: flex; gap: 8px; justify-content: center; z-index: 6;
}
.tickets-hero .th-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,0.45); cursor: pointer; padding: 0;
  transition: background .2s, transform .2s;
}
.tickets-hero .th-dots button.active { background: #fff; transform: scale(1.3); }

.t-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(15,42,71,0.85); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transition: opacity .2s ease, background .2s ease;
  z-index: 5; font-size: 16px;
}
.t-nav:hover { background: var(--teal); }
.t-prev { left: -8px; }
.t-next { right: -8px; }
.testimonials:hover .t-nav { opacity: 1; }
@media (max-width: 800px) {
  .t-nav { width: 36px; height: 36px; font-size: 13px; opacity: 1; }
  .t-prev { left: 4px; }
  .t-next { right: 4px; }
}

/* news / newsletter page — 2-column intro + paginated grid */
.news-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 800px) {
  .news-intro-grid { grid-template-columns: 1fr; }
}
.news-grid-paged .news-card.is-hidden { display: none; }

/* rich-text body (output of Quill editor on posts / events) */
.rich-body { color: var(--text); line-height: 1.7; font-size: 15px; }
.rich-body h1, .rich-body h2, .rich-body h3 { color: var(--navy); margin: 1.4em 0 0.5em; line-height: 1.3; }
.rich-body h1 { font-size: 1.6em; }
.rich-body h2 { font-size: 1.35em; }
.rich-body h3 { font-size: 1.15em; }
.rich-body p { margin: 0 0 1em; }
.rich-body ul, .rich-body ol { padding-left: 1.4em; margin: 0 0 1em; }
.rich-body blockquote {
  border-left: 3px solid var(--teal);
  background: #f3fbf9;
  padding: 10px 16px;
  margin: 0 0 1em;
  color: #2d3a48;
}
.rich-body a { color: var(--teal); text-decoration: underline; }
.rich-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 12px 0; }
.rich-body iframe { max-width: 100%; border-radius: 10px; }
/* Quill alignment classes — apply to text in rich-body content */
.rich-body .ql-align-center,
.rich-body p.ql-align-center, .rich-body h1.ql-align-center, .rich-body h2.ql-align-center, .rich-body h3.ql-align-center, .rich-body h4.ql-align-center { text-align: center; }
.rich-body .ql-align-right,
.rich-body p.ql-align-right, .rich-body h1.ql-align-right, .rich-body h2.ql-align-right, .rich-body h3.ql-align-right, .rich-body h4.ql-align-right { text-align: right; }
.rich-body .ql-align-justify,
.rich-body p.ql-align-justify, .rich-body h1.ql-align-justify, .rich-body h2.ql-align-justify, .rich-body h3.ql-align-justify, .rich-body h4.ql-align-justify { text-align: justify; }

/* email-capture popup */
.email-popup {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.email-popup.open { display: flex; animation: ep-fade .25s ease both; }
@keyframes ep-fade { from { opacity: 0 } to { opacity: 1 } }
.email-popup-backdrop {
  position: absolute; inset: 0; background: rgba(15,42,71,0.55);
}
.email-popup-card {
  position: relative; z-index: 2;
  background: #fff; max-width: 520px; width: 100%;
  border-radius: 14px; padding: 28px 26px 22px;
  box-shadow: 0 30px 80px rgba(15,42,71,0.25);
}
.email-popup-card h3 { margin: 0; color: var(--navy); font-size: 22px; }
.email-popup-close {
  position: absolute; top: 10px; right: 12px;
  background: transparent; border: 0; cursor: pointer;
  font-size: 18px; color: var(--muted); width: 32px; height: 32px;
  border-radius: 50%;
}
.email-popup-close:hover { background: #f4f6fa; color: var(--navy); }

/* gallery carousel — home + event detail */
.gallery-carousel {
  position: relative;
  --cols: 3;
}
.gallery-viewport {
  overflow: hidden;
  margin: 0 44px;
  border-radius: 12px;
}
.gallery-track {
  display: flex;
  gap: 12px;
  transition: transform .4s ease;
  will-change: transform;
}
.gallery-carousel .gallery-tile {
  flex: 0 0 calc((100% - (var(--cols) - 1) * 12px) / var(--cols));
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 10px;
  background: #f4f6fa;
  cursor: zoom-in;
  position: relative;
}
.gallery-carousel .gallery-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery-carousel .gallery-tile:hover img { transform: scale(1.05); }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--navy);
  border: 1px solid #d6dee7;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 12px rgba(15,42,71,0.12);
  z-index: 2; transition: background .2s, color .2s, transform .2s;
}
.gallery-nav:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.gallery-nav:disabled { opacity: .35; cursor: default; pointer-events: none; }
.gallery-prev { left: 0; }
.gallery-next { right: 0; }
@media (max-width: 860px)  { .gallery-carousel { --cols: 2; } }
@media (max-width: 540px)  { .gallery-carousel { --cols: 1; } .gallery-viewport { margin: 0 36px; } }

/* in-page lightbox — used by both home and event galleries */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(8,12,20,0.94);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  opacity: 0; transition: opacity .2s ease;
}
.lightbox-overlay.is-open { opacity: 1; }
.lightbox-img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  user-select: none;
}
.lightbox-nav, .lightbox-close {
  position: absolute;
  background: rgba(255,255,255,0.12); color: #fff;
  border: 0; border-radius: 50%;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 18px;
  transition: background .2s, transform .2s;
}
.lightbox-nav:hover, .lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: #fff; opacity: 0.7; font-size: 13px;
  background: rgba(0,0,0,0.4); padding: 4px 10px; border-radius: 999px;
}
@media (max-width: 540px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-nav, .lightbox-close { width: 40px; height: 40px; }
}

/* legacy grid kept for any old markup still using .event-gallery */
.event-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.event-gallery .gallery-tile {
  display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 10px;
  background: #f4f6fa;
}
.event-gallery .gallery-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.event-gallery .gallery-tile:hover img { transform: scale(1.05); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}
.video-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.video-frame { position: relative; padding-top: 56.25%; background: #000; }
.video-author { padding: 10px 14px; font-size: 14px; color: var(--muted); }

/* share row (news cards + post detail) */
.share-row { font-size: 14px; }
.share-row .share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; color: var(--navy); cursor: pointer; transition: all .18s ease;
  text-decoration: none; padding: 0; font: inherit;
}
.share-row .share-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.news-card .share-row { margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef1f5; }
.news-card .share-row .share-btn { width: 28px; height: 28px; font-size: 12px; }

/* utility */
.text-center { text-align: center; }
.muted { color: var(--muted); }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
