:root {
  --primary: #5d060f;
  --primary-dark: #5d060f86;
  --accent: #f97316;
  --bg: #f5f5f7;
  --text: #5d060f;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --border: #e5e7eb;
  --radius-lg: 18px;
  --shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 100% - 3rem);
  margin: 0 auto;
}

/* HEADER / NAV */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo {
  width: 42px;
  height: auto;
  object-fit: cover;
}

.nav-title {
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-menu a {
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.btn-primary {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.30);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.35);
}

/* MOBILE NAV */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

/* HERO SLIDER */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 70px);
  max-height: 780px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(15, 118, 110, 0.4), transparent 55%),
              linear-gradient(to top, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.1));
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
}

.hero-inner {
  width: min(1100px, 100% - 3rem);
  margin: 0 auto;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.2rem 0.7rem 0.2rem 0.2rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.18);
  backdrop-filter: blur(10px);
  font-size: 0.8rem;
}

.hero-badge-dot {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.3);
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0.6rem 0 0.4rem;
}

.hero-subtitle {
  font-size: 1rem;
  max-width: 520px;
  color: #e5e7eb;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: #cbd5f5;
}

.hero-meta-value {
  font-weight: 600;
}

.hero-cta {
  margin-top: 1.8rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* COUNTDOWN */
.countdown-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: 16px;
  padding: 0.9rem 1.6rem;
  margin: 1.2rem auto 0 !important;
  max-width: 780px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.25); 
}

.countdown-title {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #cbd5f5;
  margin-bottom: 0.6rem;
  text-align: center;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
}

.countdown-item {
  text-align: center;
  min-width: 95px;
}

.countdown-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.countdown-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #a5b4fc;
  margin-top: 0.15rem;
}

/* SECTIONS */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  margin-top: 0.4rem;
  font-size: 1.8rem;
}

/* ABOUT + CHAIR */
.split-2 {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

.card-title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.card-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.chair-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.chair-photo {
  width: 150px;
  height: 190px;
  object-fit: cover;
  border-radius: 18px;
  border: 3px solid #5d060f;
}

/* SPEAKERS SLIDER */
.speakers-slider-wrapper {
  margin-top: 3rem;
}

.speakers-track {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.4rem;
}

.speaker-card {
  min-width: 300px;
  width: 300px;
  height: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.8rem 1.2rem;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hide horizontal scrollbar */
.speakers-track {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;     /* Firefox */
}

.speakers-track::-webkit-scrollbar {
  display: none;             /* Chrome, Safari, Edge */
}

.speakers-track {
  scroll-snap-type: x mandatory;
}

.speaker-card {
  scroll-snap-align: center;
}

.speaker-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

.speaker-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.speaker-avatar {
  width: 90px;
  height: 90px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid #5d060f;
}

.speaker-name {
  text-align: center;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.speaker-title {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.speaker-meta {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* SPONSORS */
.sponsors-section {
  margin-top: 3rem;
}

.sponsor-tier {
  margin-bottom: 1.9rem;
}

.sponsor-tier-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.sponsor-logo {
  width: 150px;
  height: 70px;
  border-radius: 14px;
  background: #fff;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* MAP */
.map-wrapper {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.map-wrapper iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

/* FOOTER */
.footer {
  margin-top: 3rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* SPEAKERS PAGE GRID */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
}

.speakers-grid-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.1rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.28);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.speakers-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

.speakers-grid-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 0.8rem;
}

.speakers-grid-name {
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.speakers-grid-title {
  font-size: 0.85rem;
  color: var(--muted);
}

/* SPEAKER DETAIL */
.speaker-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.speaker-detail-photo {
  width: 220px;
  height: 280px;
  border-radius: 24px;
  object-fit: cover;
  border: 4px solid rgba(15, 118, 110, 0.7);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
}

.speaker-detail-header {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.speaker-detail-name {
  font-size: 1.4rem;
  font-weight: 700;
}

.speaker-detail-title {
  font-size: 0.95rem;
  color: var(--muted);
}

.speaker-detail-bio {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.speaker-detail-bio {
  white-space: pre-line;
}

.speaker-session-card {
  background: #f9fafb;
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  font-size: 0.9rem;
}

/* SCHEDULE PAGE */
.schedule-day {
  margin-bottom: 2.5rem;
}

.schedule-day-title {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.schedule-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1.4fr) minmax(0, 1fr);
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: 0.93rem;
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-head {
  background: #f3f4f6;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: #4b5563;
}

.schedule-row-merged {
  grid-template-columns: 140px minmax(0, 2.4fr);
}

.schedule-time {
  font-weight: 600;
  font-size: 0.9rem;
}

.schedule-session {
  font-size: 0.95rem;
}

.schedule-speaker a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
}

.schedule-speaker span {
  font-size: 0.85rem;
}

.schedule-controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.schedule-row > .schedule-time,
.schedule-row > .schedule-session,
.schedule-row > .schedule-speaker {
  display: flex;
  align-items: center;
}

.schedule-head > .schedule-time,
.schedule-head > .schedule-session,
.schedule-head > .schedule-speaker {
  display: flex;
  align-items: center;
}

.schedule-row > div {
  justify-content: center;
  text-align: center;
}

/* ===== BREAK ROW STYLE ===== */
.break-row {
  background: #f0f7ff;
}

.break-row .schedule-time,
.break-row .schedule-session {
  color: #0057a4;
  font-weight: 700;
}

.break-row .schedule-session {
  font-size: 1rem;
}

/* ===== Fixed logo on top of hero slider ===== */
.hero-fixed-logo{
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 60;
  background: #fff;
  padding: 10px 12px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-fixed-logo img{
  width: 120px;
  height: auto;
  object-fit: contain;
  display: block;
}

.section-light {
  background: #f9fafb;
}

.section-desc {
  max-width: 640px;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #6b7280;
}

/* ============================= */
/* Target Audience – Spectrum   */
/* ============================= */

.audience-spectrum{
  background:
    linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
  border-top: 1px solid #eef0f4;
}

.section-subtitle{
  max-width: 680px;
  color:#4b5563;
  font-size:1rem;
  line-height:1.7;
}

.audience-grid{
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.audience-card{
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  font-weight:600;
  color:#111827;
  text-align:center;
  box-shadow: 0 10px 24px rgba(15,23,42,0.05);
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
}

.audience-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, transparent, rgba(15,118,110,0.08), transparent);
  opacity:0;
  transition: opacity .25s ease;
}

.audience-card:hover{
  transform: translateY(-3px);
  border-color: #5d060f;
  box-shadow: 0 16px 32px rgba(15,23,42,0.08);
}

.audience-card:hover::before{
  opacity:1;
}

.audience-card.highlight::before{
  display:none;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  }
  .speakers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    right: 1.5rem;
    top: 62px;
    background: #fff;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    min-width: 170px;
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    height: auto;
    min-height: 0;
  }

  .countdown-card {
    margin-top: 3rem !important;
  }

  .hero-badge,
  .hero-title,
  .hero-subtitle,
  .hero-meta {
    display: none;
  }

  .hero-slider {
    height: 260px;
  }

  .hero-slide img {
    height: 260px;
    object-fit: cover;
  }

  .hero-content {
    align-items: flex-end;
    padding-top: 0;
    padding-bottom: 1.2rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .hero-cta {
    margin-top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0;
  }

  .hero-cta a:not(.btn-primary) {
    display: none;
  }

  .hero-cta .btn-primary {
    padding: 0.75rem 2.4rem;
    font-size: 0.95rem;
  }
  
  .split-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .chair-photo {
    width: 170px;
    height: 210px;
    margin: 0 auto 1rem auto;
  }

  .chair-layout {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .countdown-card {
    padding: 0.55rem 1rem;
    max-width: 100%;
  }

  .countdown-grid {
    gap: 0.5rem;
  }

  .countdown-number {
    font-size: 1rem;
  }

  .countdown-label {
    font-size: 0.55rem;
  }
  
  .speaker-detail-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.5rem 1.3rem;
  }

.countdown-card {
    padding: 0.8rem 1.2rem;
  }

  .countdown-grid {
    gap: 0.8rem;
  }

  .countdown-item {
    min-width: 75px;
  }

  .countdown-number {
    font-size: 1.4rem;
  }

  .countdown-label {
    font-size: 0.6rem;
  }

  .speaker-detail-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .speaker-detail-photo {
    margin: 0 auto 1rem auto;
    width: 180px;
    height: 220px;
  }

  .speaker-detail-name {
    font-size: 1.2rem;
    word-break: break-word;
  }

  .speaker-detail-title {
    font-size: 0.9rem;
  }

  .speakers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-head {
    display: none;
  }

  .schedule-row {
    grid-template-columns: minmax(0, 1fr);
    padding: 0.75rem 1rem;
    row-gap: 0.25rem;
  }

  .schedule-row.schedule-row-merged {
    grid-template-columns: minmax(0, 1fr);
  }

  .schedule-row > .schedule-time,
  .schedule-row > .schedule-session,
  .schedule-row > .schedule-speaker {
    display: block;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .schedule-row .schedule-time {
    font-weight: 700;
    margin-bottom: 0.2rem;
  }

  .schedule-row .schedule-session {
    margin-bottom: 0.15rem;
  }

  .schedule-row .schedule-speaker {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .speakers-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .countdown-card {
    padding: 0.8rem 1.1rem;
  }
  .countdown-grid {
    gap: 0.5rem;
  }
  .countdown-number {
    font-size: 1.1rem;
  }
  .countdown-label {
    font-size: 0.6rem;
  }
}


/* ===== Fix text overflow on mobile (general) ===== */
.speaker-card,
.speakers-grid-card,
.audience-card,
.card,
.speaker-detail-card {
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Any long text should wrap */
.speaker-name,
.speaker-title,
.section-subtitle,
.audience-card,
.card p {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

/* Speaker slider card text spacing on mobile */
@media (max-width: 600px) {
  .speaker-card {
    padding: 18px 14px;
  }

  .speaker-name {
    font-size: 1rem;
    line-height: 1.25;
  }

  .speaker-title {
    font-size: 0.9rem;
    line-height: 1.3;
    padding: 0 10px;
    text-align: center;
  }
}





/* ===== Speaker Detail Layout (Fixed) ===== */
.speaker-layout{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 34px;
  align-items: start;
}

.speaker-left{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.speaker-detail-photo{
  max-width: 100%;
  border-radius: 18px;
  margin: 0 0 14px 0;
}

.speaker-detail-name{
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin: 0;
}

.speaker-detail-title{
  font-size: 0.95rem;
  color: #6b7280;
  margin: 6px 0 0 0;
}

.speaker-right{
  min-width: 0;
}

.speaker-right .speaker-detail-bio{
  margin: 0;
  padding: 0;
  width: 100%;
  line-height: 1.75;
  text-align: left;
}

.speaker-bottom{
  grid-column: 1 / -1;
  margin-top: 18px;
}

.speaker-session-card{
  width: 100%;
}

/* Mobile */
@media (max-width: 900px){
  .speaker-layout{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .speaker-left{
    align-items: center;
    text-align: center;
  }
  .speaker-bottom{
    margin-top: 8px;
  }
  .speaker-session-card{
    max-width: 100%;
  }
}
/* Center the session box under the two columns */
.speaker-bottom{
  grid-column: 1 / -1;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.speaker-session-card{
  width: 100%;
  max-width: 720px;
}


