/* === Original site styles (preserved) === */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f9f9f9;
  scroll-behavior: smooth;
  padding-top: 56px; /* Only offset for navbar height */
}

/* Navbar */
.navbar.fixed-top {
  z-index: 1040;
}
.navbar {
  background-color: #1A2951;
}
.navbar .nav-link,
.navbar-brand {
  color: #fff !important;
}
.navbar .nav-link:hover,
.navbar-brand:hover {
  color: #FFD34E !important;
}

/* Header (brand logos section) */
.header-branding {
  background: #fff;
  border-bottom: 2px solid #e0e0e0;
  /* No position: fixed -- it's now normal flow */
}
.branding-logos {
  display: flex;
  align-items: center;
  justify-content: space-between; /* splits logos to ends */
  gap: 40px;
  padding: 20px 0;
}
.branding-logos img {
  max-height: 90px;
  width: auto;
}

/* Banner */
.banner {
  background: #1A2951;
  color: #fff;
  text-align: center;
  padding: 54px 20px 32px 20px;
  margin-top: 30px;
}
.banner h1 {
  font-weight: 700;
  font-size: 2.2em;
}
.banner h4 {
  font-weight: 400;
  color: #FFD34E;
  margin-top: 14px;
}

/* Section spacing */
.section {
  padding: 48px 0;
}

/* Footer */
footer {
  background: #903C26;
  color: #fff;
  text-align: center;
  padding: 18px 0;
}

/* Responsive fixes for mobile */
@media (max-width: 600px) {
  .branding-logos {
    flex-direction: column;
    gap: 18px;
    padding: 10px 0;
  }
  .branding-logos img {
    max-height: 70px;
  }
  .banner h1 {
    font-size: 1.2em;
  }
}

/* Active navbar link */
.navbar .nav-link.active {
  color: #FFD34E !important;
  font-weight: 600;
}

/* Back to top hover */
#backToTop:hover {
  background-color: #FFD34E;
  color: #1A2951;
  transform: scale(1.05);
  transition: all 0.2s ease;
}

.alert-warning {
  background-color: #fff8e5;
  border: 2px solid #FFD34E;
  color: #1A2951;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* === Appended: small, focused styles for Speakers & Schedule === */

/* Speaker top tabs (small) */
.speaker-top-tabs { max-width: 760px; margin: 0 auto 18px auto; display:flex; justify-content:flex-start; padding-left:0; }
.speaker-top-tabs .nav-link { padding: 8px 14px; font-weight:600; color:#495057; border-radius:6px; }
.speaker-top-tabs .nav-link.active { color:#0b2540; border-bottom:3px solid #0b2540; }

/* Member-info speaker cards (template style) - equal sized boxes */
.speakers .member-info {
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(16,24,40,0.06);
  transition: transform .18s ease, box-shadow .18s ease;
  display:flex;
  flex-direction:column;
  justify-content:center;
  height:170px; /* fixed height to ensure equal size boxes */
  box-sizing: border-box;
  text-align:left;
}
.speakers .member-info h5 {
  margin: 0 0 6px 0;
  font-size: 1rem;
  color: #0b2540;
  font-weight: 600;
}
.speakers .member-info p {
  margin: 0;
  color: #6c757d;
  font-size: 0.95rem;
}
.speakers .member-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(16,24,40,0.12);
}

/* Ensure rows of equal height on small screens */
.speaker-grid .col-xl-3, .speaker-grid .col-lg-4, .speaker-grid .col-md-6 {
  display:flex;
}
.speaker-grid .col-xl-3 > .member-info, .speaker-grid .col-lg-4 > .member-info, .speaker-grid .col-md-6 > .member-info {
  flex:1;
}

/* Schedule tab tweaks - keep consistent with template */
.schedule .nav-tabs { border-bottom: none; }
.schedule .nav-tabs .nav-link {
  color: #495057;
  border: none;
  padding: 10px 18px;
  font-weight: 600;
}
.schedule .nav-tabs .nav-link.active {
  color: #0b2540;
  border-bottom: 3px solid #0b2540;
  background: transparent;
}
.schedule .schedule-item {
  padding: 12px 0;
  border-bottom: 1px dashed #e9ecef;
  align-items: center;
}
.schedule .schedule-item time {
  display:block;
  font-weight:700;
  color:#495057;
}
.schedule .schedule-item h4 {
  margin: 0;
  font-size: 1rem;
  color:#111827;
}
.schedule .schedule-item p {
  margin: 6px 0 0 0;
  color:#6c757d;
  font-size: 0.95rem;
}

/* Make tab panes centered like the template */
.schedule .tab-pane { padding-top: 6px; padding-bottom: 6px; }
@media (max-width: 768px) {
  .speakers .member-info { text-align: left; height:auto; min-height:130px; }
  .schedule .col-md-2 { margin-bottom: 6px; }
  .speaker-top-tabs { justify-content:center; }
}
