/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  /* Colors */
  --color-navy: #1e3a5f;
  --color-blue: #2754ba;
  --color-blue-light: #00aee6;
  --color-blue-dark: #123962;
  --color-gray-light: #f5f7fa;
  --color-gray-med: #dbe6f1;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #ffffff;
  --color-success: #22c55e;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Typography */
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(30, 58, 95, 0.08);
  --shadow-md: 0 4px 16px rgba(30, 58, 95, 0.12);
  --shadow-lg: 0 8px 32px rgba(30, 58, 95, 0.16);
  --shadow-xl: 0 12px 48px rgba(30, 58, 95, 0.2);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Z-index */
  --z-navbar: 1000;
  --z-modal: 2000;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background: radial-gradient(
      ellipse 1400px 900px at 15% -5%,
      rgba(255, 255, 255, 0.12) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 1200px 800px at 85% 10%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 60%
    ),
    linear-gradient(
      135deg,
      var(--color-blue-dark) 0%,
      var(--color-blue) 50%,
      var(--color-blue-light) 100%
    );
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

.popup-success {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.popup-content {
  position: relative;
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  max-width: 400px;
  width: 90%;
  text-align: center;
  z-index: 10000;
}

.popup-content h3 {
  margin: 12px 0 8px 0;
  color: #22c55e;
  font-size: 24px;
}

.popup-content p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: #999;
  background: none;
  border: none;
  transition: color 0.2s;
}

.popup-close:hover {
  color: #333;
}

/* ============================================
   Animated Background Bubbles
   ============================================ */
.bg-bubbles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.06)
  );
  filter: blur(1px);
  opacity: 0.6;
  animation: float 20s ease-in-out infinite;
}

.bubble:nth-child(1) {
  width: 180px;
  height: 180px;
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}
.bubble:nth-child(2) {
  width: 140px;
  height: 140px;
  left: 75%;
  top: 15%;
  animation-delay: -4s;
}
.bubble:nth-child(3) {
  width: 220px;
  height: 220px;
  left: 15%;
  top: 65%;
  animation-delay: -8s;
}
.bubble:nth-child(4) {
  width: 160px;
  height: 160px;
  left: 65%;
  top: 75%;
  animation-delay: -12s;
}
.bubble:nth-child(5) {
  width: 100px;
  height: 100px;
  left: 45%;
  top: 10%;
  animation-delay: -16s;
}
.bubble:nth-child(6) {
  width: 120px;
  height: 120px;
  left: 85%;
  top: 85%;
  animation-delay: -2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(2deg);
  }
  50% {
    transform: translateY(-10px) rotate(-2deg);
  }
  75% {
    transform: translateY(-30px) rotate(1deg);
  }
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  position: relative;
  z-index: 1;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 59, 109, 0.95) 0%,
    /* GenesisChain dark blue */ rgba(0, 86, 164, 0.95) 100% /* Lighter blue */
  );
  backdrop-filter: blur(1px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: var(--z-navbar);
  transition: all var(--transition-base);
}

.nav-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: var(--font-size-2xl);
  color: var(--color-blue-light);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: var(--font-size-base);
  opacity: 0.9;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-blue-light);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.hamburger {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #ffffff;
  position: relative;
  transition: var(--transition-base);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 2px;
  background-color: #ffffff;
  transition: var(--transition-base);
}

.hamburger::before {
  top: -8px;
}
.hamburger::after {
  top: 8px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: var(--spacing-2xl) 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-4xl));
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
}

.hero-description {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-note {
  color: #fff;
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 1.6rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.hero-note-check {
  flex-shrink: 0;
  margin-bottom: 1px;
}

.hero-note-green {
  color: #22c55e; /* GenesisChain success green */
  font-weight: 600;
  margin-left: 7px;
}



/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background-color: #003b6d;
  border-color: #003b6d;
  color: var(--color-white);
  box-shadow: 0 6px 24px rgba(39, 84, 186, 0.35);
}

.btn-primary:hover {
  background-color: #0056a4;
  border-color: #0056a4;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(39, 84, 186, 0.45);
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-lg);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ============================================
   Section Styles
   ============================================ */
.schedule-section,
.about-section {
  padding: var(--spacing-2xl) 0;
  position: relative;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Schedule Grid
   ============================================ */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.webinar-card {
  position: relative;
  background: rgba(0, 174, 230, 0.08); /* Light blue tint using brand color */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.webinar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(39, 84, 186, 0.1); /* Very subtle blue overlay */
  border-radius: var(--radius-lg);
  z-index: 0;
}

.webinar-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.webinar-card:hover {
  background: rgba(0, 174, 230, 0.12); /* Slightly more visible on hover */
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.week-badge,
.date-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  background: rgba(0, 174, 230, 0.15);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 174, 230, 0.2);
}

.webinar-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.webinar-title {
  color: #fff !important;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.85), 0 1.5px 3.5px rgba(0, 0, 0, 0.45);
}

.webinar-description {
  font-size: var(--font-size-base);
  color: var(--color-text);
  opacity: 0.95;
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.webinar-description {
  color: #e3e6ef !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

/* Bullet list built by JS inside webinar description */
.webinar-description .webinar-points {
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
}
.webinar-description .webinar-points li {
  color: #e6ebf5;
  line-height: 1.6;
  margin: 0.25rem 0;
}

.speaker-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.speaker-info .speaker-name,
.speaker-info .speaker-role {
  color: #fff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.speaker-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-blue-light),
    var(--color-blue)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-white);
  font-size: var(--font-size-sm);
  flex-shrink: 0;
}

.speaker-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.speaker-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.speaker-name {
    /* remove or comment out these styles as they're being overridden */
    /*
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-blue);
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-fast);
    */
}

.speaker-name:hover {
    /* remove or comment out this */
    /*
    color: #1f4399;
    text-decoration: underline;
    */
}

/* Add these updated styles */
.speaker-details .speaker-name {
    color: #ffffff !important; /* Using !important to override any other styles */
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.speaker-details .speaker-role {
    color: rgba(255, 255, 255, 0.8) !important; /* Using !important to override any other styles */
    font-size: var(--font-size-sm);
}

/* Optional: Add hover effect */
.speaker-details .speaker-name:hover {
    opacity: 0.8;
}

.speaker-role {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

/* ============================================
   About Section
   ============================================ */
.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.value-item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: all var(--transition-base);
}

.value-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.value-item h3 {
  font-size: var(--font-size-xl);
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
}

.value-item p {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   ENHANCED FOOTER
   ============================================ */
.footer {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  padding: 4rem 0 2rem;
  z-index: 1;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer-content {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo-text {
  background: linear-gradient(135deg, #93c5fd 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  color: #94a3b8;
  font-size: 1rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.footer-links {
  display: flex;
  gap: 2.5rem;
}

.footer-column h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #f1f5f9;
}

.footer-column p {
  color: #cbd5e1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-direction: row;
  justify-content: flex-start; /* or center if you prefer */
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #e2e8f0;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
  border-color: transparent;
}

.footer-bottom {
  position: relative;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.9rem;
}

/* ============================================
   MOBILE RESPONSIVE - TABLETS
   ============================================ */
@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center; /* Only center on mobile */
  }
  
  .footer-brand {
    order: 1;
  }
  
  .footer-brand .logo {
    justify-content: center;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
  }
  .footer-column {
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-column p {
    max-width: 100%;
    font-size: 0.95rem;
  }
}

/* ============================================
   MOBILE RESPONSIVE - PHONES
   ============================================ */
@media (max-width: 480px) {
  .footer {
    padding: 2.5rem 1rem 1.5rem;
  }
  
  .footer-content {
    gap: 2rem;
  }
  
  .footer-brand .logo-text {
    font-size: 1.3rem;
  }
  
  .footer-tagline {
    font-size: 0.9rem;
  }
  
  .footer-column h4 {
    font-size: 1rem;
  }
  
  .footer-column p {
    font-size: 0.85rem;
    padding: 0 1rem;
  }
  
  .social-links {
    gap: 0.75rem;
    flex-direction: row; /* Keep horizontal even on phones (change to column if you MUST stack on XS screens) */
    justify-content: center;
  }
  
  .social-link {
    width: 36px;
    height: 36px;
  }
  
  .footer-bottom {
    font-size: 0.8rem;
    padding: 1.5rem 1rem 0;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .footer-column p {
    font-size: 0.8rem;
    word-break: break-all;
  }
}




/* ============================================
   Modals
   ============================================ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--color-gray-light);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn var(--transition-slow);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(30, 58, 95, 0.08);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(30, 58, 95, 0.15);
  transform: rotate(90deg);
}

.modal-content h3 {
  font-size: var(--font-size-2xl);
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
}

.modal-subtitle {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-lg);
}

/* ============================================
   Forms
   ============================================ */
.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form-group label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group select {
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid rgba(30, 58, 95, 0.15);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-blue);
}

.form-success {
  text-align: center;
  padding: var(--spacing-lg) 0;
}

.form-success svg {
  margin-bottom: var(--spacing-md);
}

.form-success h3 {
  color: var(--color-success);
  margin-bottom: var(--spacing-sm);
}

.form-success p {
  color: var(--color-text-light);
}

/* ============================================
   Speaker Modal
   ============================================ */
.speaker-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0.8rem;
}

.speaker-modal-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  margin: 0 auto 1.6rem auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  box-shadow: 0 2px 10px rgba(59,130,246,0.15);
}

.speaker-modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#speakerName {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.speaker-modal-role {
  color: #737373;
  margin-bottom: 1.2rem;
}


/* ============================================
   Animations
   ============================================ */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for grid items */
.reveal[data-delay="0"] {
  transition-delay: 0ms;
}
.reveal[data-delay="100"] {
  transition-delay: 100ms;
}
.reveal[data-delay="200"] {
  transition-delay: 200ms;
}
.reveal[data-delay="300"] {
  transition-delay: 300ms;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 968px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-navy);
    flex-direction: column;
    padding: var(--spacing-md);
    gap: var(--spacing-sm);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero {
    min-height: 70vh;
    padding: var(--spacing-xl) 0;
  }

  .hero-title {
    font-size: var(--font-size-3xl);
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .webinar-card {
    padding: var(--spacing-md);
  }

  .modal-content {
    padding: var(--spacing-lg);
  }
}

.logo-img {
  height: 45px;
  width: auto;
}

.btn-logo {
  height: 24px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}

/* Update the existing logo class if needed */
.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  color: #ffffff; /* Dark blue from the logo */
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}

.registration-success {
    background: rgba(34, 197, 94, 0.1);
    backdrop-filter: blur(8px);
    padding: 1rem 0;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 100;
    animation: slideDown 0.5s ease-out;
}

.success-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-success);
    font-weight: 500;
}

.close-notice {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--color-success);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.25rem;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-success {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.popup-content {
  position: relative;
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  max-width: 400px;
  width: 90%;
  text-align: center;
  z-index: 10000;
}

.popup-content h3 {
  margin: 12px 0 8px 0;
  color: #22c55e;
  font-size: 24px;
}

.popup-content p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: #999;
  background: none;
  border: none;
  transition: color 0.2s;
}

.popup-close:hover {
  color: #333;
}

/* Speaker info styles */
.speaker-details .speaker-name {
    color: #ffffff;
    background: none;
    border: none;
    padding: 0;
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.speaker-details .speaker-name:hover {
    opacity: 0.8;
}

.speaker-details .speaker-role {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
}

/* Speaker modal styles - keep these as is for contrast */
.speaker-modal-content #speakerName {
    color: var(--color-text);
}

.speaker-modal-content .speaker-modal-role {
    color: var(--color-text-light);
}

.sponsor-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  position: relative;
}

.sponsor-card {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 900px;
  margin: 3rem auto 0;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.sponsor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
}

.sponsor-logo {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sponsor-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sponsor-info {
  flex: 1;
}

.sponsor-name {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.sponsor-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.sponsor-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #22c55e;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sponsor-link:hover {
  color: #16a34a;
  gap: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
  .sponsor-card {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .sponsor-logo {
    width: 180px;
    height: 180px;
  }

  .sponsor-name {
    font-size: 1.75rem;
  }

  .sponsor-description {
    font-size: 1rem;
  }
}


