/* Reimagining the Future of Human Rights in Africa: Southern Africa Convening — OSF Convening Theme */

:root {
  --navy: #0b447b;
  --navy-light: #1a3b66;
  --navy-lighter: #2a568f;
  --coral: #d12229;
  --coral-dark: #b51c22;
  --orange: #f7931d;
  --orange-dark: #e07e0a;
  --gold: #f7931d;
  --gold-dark: #e07e0a;
  --teal: #2C3D37;
  --teal-light: #3F544D;
  --cream: #F1DFB7;
  --white: #FFFFFF;
  --off-white: #FDF8F3;
  --gray: #EDE4DC;
  --gray-dark: #7A6B64;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--navy) url('../assets/blue-pattern.jpg') center/cover fixed;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(11, 68, 123, 0.82);
  z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  line-height: 1.2;
}

/* ========== Utility ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 2.5rem 0;
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 3.5rem 0;
  }
}

.section-label {
  display: inline-block;
  color: var(--coral);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: white;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 700px;
  margin-top: 0.5rem;
}

/* ========== Navigation ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  background: rgba(11, 27, 45, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  padding: 0.6rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  height: 80px !important;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo img {
    height: 100px !important;
    max-width: 360px;
  }
}

@media (min-width: 1024px) {
  .logo img {
    height: 120px !important;
    max-width: 440px;
  }
}

.logo-text {
  color: white;
  line-height: 1.1;
}

.logo-text .brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.logo-text .tagline {
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(209, 34, 41, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(209, 34, 41, 0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: white;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247, 147, 29, 0.35);
}

.btn-white {
  background: white;
  color: var(--navy);
}

.btn-white:hover {
  background: var(--gold);
  color: var(--navy);
}

.mobile-toggle {
  display: block;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

/* ========== Pattern Backgrounds ========== */
.african-pattern {
  background-color: var(--navy);
  background-image: 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.04'%3E%3Cpath d='M30 0L60 30L30 60L0 30L30 0zm0 10L10 30l20 20 20-20L30 10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.pattern-brick {
  background-image: url('../assets/pattern-brick.png');
  background-size: cover;
  background-position: center;
}

.pattern-green {
  background-image: url('../assets/pattern-green.png');
  background-size: cover;
  background-position: center;
}

.pattern-orange {
  background-image: url('../assets/pattern-orange.png');
  background-size: cover;
  background-position: center;
}

.pattern-overlay {
  position: relative;
}

.pattern-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 68, 123, 0.85);
  z-index: 0;
}

/* ========== Hero ========== */
.hero {
  min-height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding-top: 150px;
  padding-bottom: 0;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-poster {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  border: 6px solid var(--gold);
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
  max-width: 420px;
  margin: 2rem auto 0;
}

.hero-poster:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-poster img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(247, 147, 29, 0.15);
  border: 1px solid rgba(247, 147, 29, 0.3);
  color: var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  color: white;
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4rem;
  }
}

.hero h1 span {
  color: var(--gold);
}

.hero-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 650px;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.hero-meta div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-meta svg {
  color: var(--gold);
  width: 20px;
  height: 20px;
}

.countdown-bar {
  position: relative;
  width: 100%;
  background: rgba(11, 27, 45, 0.4);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  margin-top: 2.5rem;
}

@media (max-width: 767px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 0;
  }
  .countdown-bar {
    position: relative;
    margin-top: 2rem;
    background: rgba(11, 27, 45, 0.4);
  }
}

.countdown-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.countdown-label {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.countdown-timer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

@media (max-width: 480px) {
  .countdown-unit {
    min-width: 55px;
  }
  .countdown-unit .number {
    font-size: 1.5rem;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
}

.countdown-unit {
  text-align: center;
  min-width: 70px;
}

.countdown-unit .number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.countdown-unit .label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========== Stats Bar ========== */
.stats-bar {
  background: var(--navy-light);
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ========== About ========== */
.about-section {
  background: transparent;
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-visual {
  position: relative;
}

.about-visual .image-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(11, 27, 45, 0.2);
  padding-bottom: 110px;
}

.about-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.about-visual .accent-box {
  position: absolute;
  bottom: -25px;
  right: 25px;
  background: var(--coral);
  color: white;
  padding: 1.5rem;
  border-radius: 16px;
  max-width: 220px;
  box-shadow: 0 15px 40px rgba(209, 34, 41, 0.35);
  z-index: 2;
}

.about-visual .accent-box h4 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

@media (max-width: 767px) {
  .about-visual .image-frame {
    padding-bottom: 80px;
  }
  .about-visual .accent-box {
    bottom: -15px;
    right: 15px;
    padding: 1rem;
    max-width: 160px;
  }
  .about-visual .accent-box h4 {
    font-size: 1.15rem;
  }
}

.about-text h2 {
  margin-bottom: 1.25rem;
}

.about-text p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.about-features {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.about-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about-feature .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(209, 34, 41, 0.1);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: white;
}

.about-feature p {
  font-size: 0.9rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

/* ========== Why Attend ========== */
.why-attend {
  background: transparent;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border-color: var(--gold);
}

.why-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(209, 34, 41, 0.1) 0%, rgba(247, 147, 29, 0.1) 100%);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.why-card p {
  color: var(--gray-dark);
  font-size: 0.95rem;
}

/* ========== Speakers ========== */
.speakers-section {
  background: var(--navy);
}

.speakers-section .section-title,
.speakers-section .section-label {
  color: white;
}

.speakers-section .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .speakers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .speakers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.speaker-card {
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s ease;
}

.speaker-card:hover {
  transform: translateY(-8px);
  background: var(--navy-lighter);
  border-color: rgba(247, 147, 29, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.speaker-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(209, 34, 41, 0.2) 0%, rgba(247, 147, 29, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 3px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.speaker-avatar span {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}

.speaker-card h3 {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.speaker-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* ========== Programme ========== */
.programme-section {
  background: transparent;
}

.programme-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.25rem 0 1rem;
}

.programme-tab {
  background: white;
  border: 2px solid var(--gray);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  min-width: 120px;
  max-width: 180px;
  flex: 1 1 auto;
}

.programme-tab:hover {
  border-color: var(--gold);
}

.programme-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.programme-tab .day {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
}

.programme-tab .date {
  font-size: 0.8rem;
  opacity: 0.8;
}

.programme-day {
  display: none;
}

.programme-day.active {
  display: block;
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.25);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid rgba(255, 255, 255, 0.25);
}

.timeline-card {
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(11, 27, 45, 0.06);
  border: 1px solid var(--gray);
}

.timeline-time {
  display: inline-block;
  background: rgba(209, 34, 41, 0.1);
  color: var(--coral);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.timeline-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.timeline-card p {
  color: var(--gray-dark);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.timeline-speakers {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
}

.timeline-speakers strong {
  color: var(--teal);
}

.parallel-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .parallel-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.parallel-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 1.25rem;
  border-left: 4px solid var(--gold);
}

.parallel-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.parallel-card p {
  font-size: 0.85rem;
  margin: 0;
}

.parallel-card .mod {
  font-size: 0.75rem;
  color: var(--gray-dark);
  margin-top: 0.5rem;
}

/* ========== Venue ========== */
.venue-section {
  background: transparent;
}

.venue-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
}

@media (min-width: 1024px) {
  .venue-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.venue-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.venue-info address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.venue-info .venue-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: white;
}

.venue-info .venue-detail svg {
  color: var(--coral);
  flex-shrink: 0;
}

.venue-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 27, 45, 0.12);
  border: 1px solid var(--gray);
  height: 280px;
}

.venue-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========== Partners ========== */
.partners-section {
  background: transparent;
  color: white;
}

.partners-section .section-title,
.partners-section .section-label {
  color: white;
}

.partners-banner {
  background: rgba(11, 68, 123, 0.9);
  border-radius: 20px;
  padding: 1.5rem;
  margin-top: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.partners-banner img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
}

/* ========== Registration Page ========== */
.register-page {
  min-height: 100vh;
  background: transparent;
  padding-top: 100px;
  padding-bottom: 4rem;
}

.register-page .section-title,
.register-page .section-label {
  color: white;
}

.form-wrapper {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  margin-top: 2.5rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .form-wrapper {
    padding: 3.5rem;
  }
}

.form-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}

.form-group label .required {
  color: var(--coral);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.9rem 1rem;
  border: 2px solid var(--gray);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(247, 147, 29, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.radio-group label,
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  cursor: pointer;
}

.form-message {
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(13, 97, 101, 0.1);
  color: var(--teal);
  border: 1px solid var(--teal);
}

.form-message.error {
  display: block;
  background: rgba(209, 34, 41, 0.1);
  color: var(--coral);
  border: 1px solid var(--coral);
}

/* ========== Admin Dashboard ========== */
.admin-page {
  min-height: 100vh;
  background: var(--off-white);
  padding-top: 100px;
  padding-bottom: 4rem;
}

.admin-page .section-title {
  color: var(--navy);
}

.admin-page .section-subtitle {
  color: var(--gray-dark);
}

.admin-page h2 {
  color: var(--navy);
}

.login-box {
  max-width: 420px;
  margin: 3rem auto;
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(11, 27, 45, 0.1);
}

.login-box h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.admin-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(11, 27, 45, 0.06);
  margin-bottom: 1.5rem;
}

.admin-table-wrapper {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--gray);
  color: var(--navy);
}

.admin-table th {
  background: var(--navy);
  color: white;
  font-weight: 600;
  white-space: nowrap;
}

.admin-table tr:hover td {
  background: var(--off-white);
  color: var(--navy);
}

/* ========== Footer ========== */
.footer {
  background: var(--navy);
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 56px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-column h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.6rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ========== Modal ========== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 27, 45, 0.9);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 24px;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-content h3 {
  color: var(--navy);
}

.modal-header {
  text-align: center;
  flex-shrink: 0;
  padding-bottom: 1rem;
}

.modal-header h3 {
  font-size: 1.5rem;
  margin: 0.5rem 0 0.25rem;
}

.modal-header .speaker-role {
  color: var(--coral);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}

.modal-bio {
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  color: var(--gray-dark);
  font-size: 0.95rem;
  line-height: 1.7;
  padding-right: 0.75rem;
}

.modal-bio p {
  margin: 0;
}

.modal-bio::-webkit-scrollbar {
  width: 6px;
}

.modal-bio::-webkit-scrollbar-track {
  background: rgba(11, 68, 123, 0.08);
  border-radius: 4px;
}

.modal-bio::-webkit-scrollbar-thumb {
  background: var(--navy-lighter);
  border-radius: 4px;
}

@media (max-width: 640px) {
  .modal-content {
    padding: 1.75rem;
    max-height: 88vh;
  }

  .modal-header h3 {
    font-size: 1.25rem;
  }
}

.modal.open .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-dark);
}

/* ========== Mobile Menu ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--navy-light);
  z-index: 1100;
  padding: 5rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ========== Back to Top ========== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(209, 34, 41, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--coral-dark);
  transform: translateY(-3px);
}

/* ========== Animations ========== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Language Switcher ========== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 1.5rem;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.mobile-menu .lang-switcher {
  margin: 1rem 1.5rem 0;
  justify-content: center;
}

.mobile-menu .lang-btn {
  flex: 1;
  font-size: 0.85rem;
  padding: 0.6rem;
}

/* ========== Partner Logos ========== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.partner-logo-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.partner-logo-card img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-logo-card.dark,
.partner-logo-card.osf-dark {
  background: var(--navy);
}

.partner-logo-card.dark img {
  filter: brightness(0) invert(1);
}

/* Convener logo (single line under 'Convened By') */
.convener-logo {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  max-width: 480px;
  margin: 1.5rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.convener-logo img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Footer social icons */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.25s ease;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ========== Resource buttons ========== */
.btn.disabled,
.btn:disabled,
span.btn-outline {
  cursor: not-allowed;
  opacity: 0.6;
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.resource-links .btn {
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
}

/* Speaker photo placeholder */
.speaker-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
}

/* Feedback banner below each programme day */
.feedback-banner {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--gray);
  border-left: 4px solid var(--coral);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.feedback-banner .feedback-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(209, 34, 41, 0.1);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-banner .feedback-content {
  flex: 1 1 300px;
}

.feedback-banner h4 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.feedback-banner p {
  color: var(--gray-dark);
  font-size: 0.95rem;
  margin: 0;
}

.feedback-banner .btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
}
