/* Speakers Subheader Content */
.speakers-subheader {
  padding: 110px 0 120px;
}

/* Eyebrow */
.speakers-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #9ad8ff;
  margin-bottom: 20px;
}

/* Title */
.speakers-title {
  font-size: 58px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #ffffff;
}

/* Subtitle */
.speakers-subtitle {
  font-size: 18px;
  max-width: 760px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

/* Responsive */
@media (max-width: 991px) {
  .speakers-subheader {
    padding: 80px 0;
  }

  .speakers-title {
    font-size: 34px;
  }

  .speaker-stat {
    padding: 16px;
  }
}

@media (max-width: 575px) {
  .speakers-title {
    font-size: 34px;
  }

  .speakers-subtitle {
    font-size: 16px;
  }
}
/* Featured Speakers Section */
/* Section */
.featured-speakers {
  padding: 80px 0;
  background: #ffffff;
}

.featured-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #0b1b2b;
  margin-bottom: 36px;
}

/* Card */
.featured-speaker-card {
  display: flex;
  gap: 24px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #dbe6f2;
  background: #f3f9f8;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.featured-speaker-card.card-alt {
  background: #fbf7ed;
}

/* Image */
.speaker-photo {
  width: 170px;
  height: 170px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
}

.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.speaker-content {
  display: flex;
  flex-direction: column;
}

.speaker-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #2b78c5;
  margin-bottom: 6px;
}

.speaker-content h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0b1b2b;
  margin-bottom: 4px;
}

.speaker-role {
  font-size: 14px;
  font-weight: 600;
  color: #1b7fc8;
  text-decoration: none;
}

.speaker-org {
  font-size: 13px;
  color: #556b82;
  margin: 6px 0 10px;
}

.speaker-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #4b5f77;
  max-width: 520px;
}

/* Social */
.speaker-social {
  margin-top: auto;
  display: flex;
  gap: 14px;
}

.speaker-social a {
  font-size: 15px;
  color: #6b7f96;
  transition: color 0.2s ease;
}

.speaker-social a:hover {
  color: #1b7fc8;
}

/* Responsive */
@media (max-width: 768px) {
  .featured-speaker-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .speaker-photo {
    width: 140px;
    height: 140px;
  }

  .speaker-content {
    width: 100%;
  }

  .speaker-desc {
    max-width: 100%;
  }
}

.speakers-section {
  padding: 70px 0;
  background: #f8fbff;
}

.speakers-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
  gap: 20px;
}

.speakers-filter-bar input {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #dce6f2;
  width: 260px;
}

.filter-tabs {
  display: flex;
  gap: 10px;
}

.filter-btn {
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid #dce6f2;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}

.filter-btn.active {
  background: #1b7fc8;
  color: #fff;
  border-color: #1b7fc8;
}

.speaker-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  height: 420px; /* 🔒 FIXED HEIGHT */
  display: flex;
  align-content: center;
  flex-direction: column;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid #dce6f2;
}

.speaker-card:hover {
  transform: translateY(-6px);
}

.speaker-card img {
  width: 100%;
  height: 200px; /* 🔒 FIXED IMAGE HEIGHT */
  object-fit: cover; /* crops nicely */
  border-radius: 10px;
  margin-bottom: 12px;
}
@media (max-width: 576px) {
  .speaker-card {
    height: auto; /* allow content flow */
  }

  .speaker-card img {
    height: 180px;
  }
}

.nation-badge {
  display: block; /* forces proper alignment */
  margin-top: 6px; /* spacing from designation */
  font-weight: 700;
  font-size: 13px;
  color: #000;
  letter-spacing: 0.5px;
}

.speaker-info {
  flex: 1; /* fills remaining space */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.speaker-day {
  font-size: 11px;
  font-weight: 700;
  color: #1b7fc8;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.speaker-info h4 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 6px 0 4px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.role {
  font-size: 13px;
  color: #1b7fc8;
  font-weight: 600;
}

.org {
  font-size: 12px;
  color: #6c7a90;
}

.socials {
  margin-top: auto; /* pushes icons down */
}

.socials a {
  margin-right: 10px;
  color: #6c7a90;
  font-size: 14px;
}

.speaker-info .role {
  font-size: 13px;
  color: #1b7fc8;
  font-weight: 600;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.speaker-info .org {
  font-size: 12px;
  color: #6c7a90;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Become a Speaker CTA */
.speaker-cta {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1a8fd0 0%, #0f5f9c 50%, #0b3f6f 100%);
  text-align: center;
  color: #ffffff;
}

.speaker-cta .cta-content {
  max-width: 720px;
  margin: 0 auto;
}

.speaker-cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.speaker-cta p {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
}

/* Button */
.cta-btn {
  display: inline-block;
  background: #ffffff;
  color: #0f5f9c;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #f1f7ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .speaker-cta {
    padding: 60px 16px;
  }

  .speaker-cta h2 {
    font-size: 26px;
  }

  .speaker-cta p {
    font-size: 14px;
  }
}
/* Speakers Hero Enhancements */
.speakers-eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  color: #7dd3fc;
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-block;
}

.speakers-title span {
  color: #7dd3fc;
}

.speakers-cta {
  position: relative;
  z-index: 10; /* force above overlays */
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.speakers-cta a {
  position: relative;
  z-index: 11;
  pointer-events: auto;
}

/* Buttons */
.btn-primary {
  background: #facc15;
  color: #001f38;
  border-radius: 10px;
  padding: 12px 22px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary:hover {
  background: #fde047;
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
}

/* Stat Cards */
.speaker-stat {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  height: 100%;
}

.speaker-stat i {
  font-size: 22px;
  color: #facc15;
  margin-bottom: 10px;
}

.speaker-stat h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}
@media (max-width: 576px) {
  .speaker-stat h3 {
    font-size: 22px;
  }

  .speaker-stat p {
    font-size: 12px;
  }
}

.speaker-stat p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .speakers-cta {
    justify-content: center;
  }
  .speaker-stat {
    padding: 18px;
  }
}
@media (max-width: 576px) {
  .speakers-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .speakers-cta a {
    text-align: center;
  }
}

.speaker-nationality {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1b7fc8; /* matches role accent */
}
@media (max-width: 768px) {
  .speakers-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .speakers-filter-bar input {
    width: 100%;
  }

  .filter-tabs {
    flex-wrap: wrap;
    gap: 8px;
  }

  .filter-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
/* Speaker registration form */
.hero-speaker-cta {
  margin-top: 28px;
  position: relative;
  z-index: 10;
}

/* Button */
.hero-speaker-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;

  background: linear-gradient(135deg, #1991d2, #0b5f9a);
  box-shadow: 0 10px 30px rgba(25, 145, 210, 0.35);

  transition: all 0.3s ease;
  position: relative;
  z-index: 11;
}

/* Hover effect */
.hero-speaker-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(25, 145, 210, 0.45);
}

/* Active click */
.hero-speaker-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(25, 145, 210, 0.3);
}

/* Ensure overlay never blocks click */
.hero-speaker-btn,
.hero-speaker-cta {
  pointer-events: auto;
}
