/* ============================================================
    6G Golden Band Workshop 2026 — Custom Styles
    ============================================================ */

  :root {
    --navy: #020e31;
    --navy-2: #010e32;
    --blue: #1d4078;
    --blue-light: #2a5a9e;
    --white: #ffffff;
    --bg-light: #f5f7fb;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.45);
    --text-muted: #6b7280;
    --radius: 14px;
    --shadow-sm: 0 4px 14px rgba(2, 14, 49, 0.08);
    --shadow-md: 0 10px 30px rgba(2, 14, 49, 0.14);
    --shadow-lg: 0 20px 50px rgba(2, 14, 49, 0.22);
    --font-head: "Poppins", sans-serif;
    --font-body: "Inter", sans-serif;
  }

  * {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--font-body);
    color: #1f2937;
    background-color: var(--white);
    overflow-x: hidden;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
  }

  html {
    scroll-padding-top: 80px;
  }

  /* ========================= LAYOUT HELPERS ========================= */
  .section {
    padding: 4rem 0;
  }

  .section-head {
    margin-bottom: 0.5rem;
  }

  .section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.5rem;
  }

  .section-eyebrow.light {
    color: #8fb4ff;
  }

  .section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .section-title.light {
    color: var(--white);
  }

  /* ========================= BUTTONS ========================= */
  .btn {
    font-family: var(--font-head);
    font-weight: 600;
    border-radius: 50px;
    padding: 0.7rem 1.6rem;
    transition: all 0.3s ease;
  }

  .btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
  }

  .btn-primary-glow {
    background: linear-gradient(135deg, var(--blue) 0%, var(--accent) 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 8px 24px var(--accent-glow);
  }

  .btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px var(--accent-glow);
    color: var(--white);
  }

  .btn-outline-glow {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
  }

  .btn-outline-glow:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-3px);
  }

  .btn-register {
    background: linear-gradient(135deg, var(--blue) 0%, var(--accent) 100%);
    color: var(--white) !important;
    border: none;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
  }

  .btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--accent-glow);
    color: var(--white) !important;
  }

  /* ========================= NAVBAR ========================= */
  .custom-nav {
    padding: 1rem 0;
    transition: all 0.4s ease;
    background: transparent;
  }

  .custom-nav.scrolled {
    background: rgba(2, 14, 49, 0.97);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    padding: 0.6rem 0;
    backdrop-filter: blur(8px);
  }

  .nav-logo {
    height: 44px;
    width: auto;
    /* filter: brightness(0) invert(1);
    transition: filter 0.3s ease; */
  }

  /* .custom-nav.scrolled .nav-logo {
    filter: brightness(0) invert(1);
  } */

  .custom-nav .nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s ease;
  }

  .custom-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.3rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }

  .custom-nav .nav-link:hover,
  .custom-nav .nav-link.active {
    color: var(--white);
  }

  .custom-nav .nav-link:hover::after,
  .custom-nav .nav-link.active::after {
    transform: scaleX(1);
  }

  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
  }

  /* .navbar-toggler-icon {
    filter: invert(1);
  } */

  /* ========================= HERO ========================= */
  .hero {
    position: relative;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    background:
      radial-gradient(ellipse at 20% 20%, rgba(29, 64, 120, 0.55), transparent 55%),
      radial-gradient(ellipse at 80% 30%, rgba(59, 130, 246, 0.35), transparent 50%),
      linear-gradient(160deg, #020e31 0%, #010e32 45%, #04164a 100%);
    overflow: hidden;
    padding-top: 40px;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(
        90deg,
        transparent 0,
        transparent 80px,
        rgba(255, 255, 255, 0.025) 80px,
        rgba(255, 255, 255, 0.025) 81px
      );
    pointer-events: none;
  }

  /* Futuristic animated wave lines */
  .hero-waves {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(90deg, transparent 49%, rgba(59, 130, 246, 0.12) 50%, transparent 51%);
    background-size: 200% 100%;
    animation: heroScan 8s linear infinite;
    pointer-events: none;
  }

  @keyframes heroScan {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
  }

  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
  }

  .hero-badge {
    
    color: #cfe0ff;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    font-family: "Minion Variable Concept", serif;
  }

  .hero-title {
    font-size: clamp(2.4rem, 5.5vw, 5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    font-family: 'Oswald', sans-serif !important;
  }

  .hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: #b4c7ee;
    font-weight: 500;
    margin-bottom: 2rem;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    z-index: 2;
    animation: bounce 2s infinite;
  }

  @keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
  }

  /* ========================= INFO CARDS ========================= */
  .info-cards-section {
    background: var(--bg-light);
    margin-top: -3rem;
    position: relative;
    z-index: 3;
  }

  .info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    height: 100%;
    border: 1px solid rgba(29, 64, 120, 0.06);
  }

  .info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
  }

  .info-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 8px 18px rgba(29, 64, 120, 0.3);
  }

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

  .info-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
  }

  /* ========================= ABOUT ========================= */
  .about-section {
    background: var(--white);
  }

  .about-text p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  .about-text strong {
    color: var(--navy);
  }

  .stat-card {
    background: linear-gradient(150deg, var(--navy) 0%, var(--blue) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
  }

  .stat-wave {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 80% 10%, rgba(59, 130, 246, 0.4), transparent 40%),
      radial-gradient(circle at 10% 90%, rgba(59, 130, 246, 0.25), transparent 40%);
    pointer-events: none;
  }

  .stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8fb4ff;
    position: relative;
  }

  .stat-number {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    position: relative;
  }

  .stat-unit {
    font-size: 1.2rem;
    margin-left: 0.3rem;
    opacity: 0.8;
  }

  .stat-sub {
    color: #c4d5f0;
    font-size: 0.9rem;
    position: relative;
  }

  /* ========================= WHY SECTION ========================= */
  .why-section {
    background: var(--bg-light);
  }

  .feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.2rem 1.6rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    border-top: 3px solid transparent;
  }

  .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--accent);
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(29, 64, 120, 0.1), rgba(59, 130, 246, 0.15));
    color: var(--blue);
    font-size: 1.8rem;
    transition: all 0.35s ease;
  }

  .feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: var(--white);
    transform: scale(1.08);
  }

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

  .feature-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
  }

  /* ========================= SPEAKERS ========================= */
  .speakers-section {
    background: var(--white);
  }

  .speaker-card {
    background: var(--white);
    border-radius: 18px;
    padding: 0.4rem 0.4rem 1rem ;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    border: 1px solid rgba(29, 64, 120, 0.06);
  }

  .speaker-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
  }

  .speaker-image {
    width: 150px;
    
    margin: 0 auto 0.5rem;
    border-radius: 4%;
    overflow: hidden;
    padding: 5px;
    background: linear-gradient(135deg, var(--navy), var(--accent));
    transition: transform 0.35s ease;
  }

  .speaker-card:hover .speaker-image {
    transform: scale(1.05);
  }

  .speaker-image img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    border-radius: 4%;
    background: var(--bg-light);
  }

  .speaker-card h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.2rem;
  }

  .speaker-role {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
  }

  /* ========================= KEY DISCUSSION AREAS ========================= */
  .key-section {
    background: var(--bg-light);
  }

  .key-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--white);
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-left: 3px solid var(--blue);
  }

  .key-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent);
  }

  .key-item i {
    color: var(--blue);
    font-size: 1.3rem;
    flex-shrink: 0;
  }

  .key-item span {
    font-weight: 500;
    color: var(--navy);
    font-size: 0.95rem;
  }

  /* ========================= WRC-27 ========================= */
  .wrc-section {
    position: relative;
    background: linear-gradient(160deg, var(--navy) 0%, #04164a 100%);
    overflow: hidden;
  }

  .wrc-bg {
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle at 15% 30%, rgba(59, 130, 246, 0.25), transparent 40%),
      radial-gradient(circle at 85% 70%, rgba(59, 130, 246, 0.18), transparent 40%);
    pointer-events: none;
  }

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

  .wrc-text {
    color: #c4d5f0;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 1rem;
  }

  /* ========================= AGENDA ========================= */
  .agenda-section {
    background: var(--white);
  }

  .agenda-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 0;
  }

  .agenda-timeline::before {
    content: "";
    position: absolute;
    left: 140px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(var(--blue), var(--accent));
  }

  .agenda-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.8rem;
    position: relative;
  }

  .agenda-time {
    width: 130px;
    flex-shrink: 0;
    text-align: right;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--navy);
    font-size: 1rem;
    padding-right: 1.5rem;
  }

  .agenda-body {
    flex: 1;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin-left: 2.2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
  }

  .agenda-body::before {
    content: "";
    position: absolute;
    left: -2.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--blue);
  }

  .agenda-body:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
  }

  .agenda-body h3 {
    font-size: 1.05rem;
    color: var(--navy);
    margin: 0;
  }

  @media (max-width: 575px) {
    .agenda-timeline::before {
      left: 8px;
    }
    .agenda-time {
      width: auto;
      text-align: left;
      padding-left: 2rem;
      padding-right: 0;
      margin-bottom: 0.4rem;
    }
    .agenda-item {
      flex-direction: column;
      align-items: flex-start;
    }
    .agenda-body {
      margin-left: 1.8rem;
      width: 100%;
    }
    .agenda-body::before {
      left: -1.8rem;
    }
  }

  /* ========================= GALLERY ========================= */
  .gallery-section {
    background: var(--bg-light);
  }

  .gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .gallery-item:hover img {
    transform: scale(1.1);
  }

  .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(2, 14, 49, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
  }

  .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }

  .gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
    transform: scale(0.6);
    transition: transform 0.35s ease;
  }

  .gallery-item:hover .gallery-overlay i {
    transform: scale(1);
  }

  .gallery-modal {
    background: transparent;
    border: none;
    position: relative;
  }

  /* .gallery-modal img {
    width: 100%;
    border-radius: 10px;
  } */

  .gallery-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    filter: invert(1);
    opacity: 0.9;
  }

  /* ========================= REGISTRATION CTA ========================= */
  .reg-cta {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    overflow: hidden;
  }

  .reg-bg {
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.3), transparent 40%),
      radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.2), transparent 40%);
    pointer-events: none;
  }

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

  .reg-text {
    color: #c4d5f0;
    font-size: 1.15rem;
    margin-top: 1rem;
  }

  /* ========================= CONTACT ========================= */
  .contact-section {
    background: var(--bg-light);
  }

  .contact-card {
    background: var(--white);
    border-radius: 18px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    border: 1px solid rgba(29, 64, 120, 0.06);
  }

  .contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
  }

  .contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: var(--white);
    font-size: 1.5rem;
  }

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

  .contact-person {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.95rem;
    margin: 0.3rem 0.8rem;
    transition: color 0.3s ease;
  }

  .contact-link:hover {
    color: var(--blue);
  }

  /* ========================= FOOTER ========================= */
  .footer {
    background: var(--navy);
    color: #c4d5f0;
    padding: 4rem 0 2rem;
  }

  .footer-logo {
    height: 50px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
  }

  .footer-brand h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
  }

  .footer-brand p {
    color: #8fb4ff;
    margin: 0;
  }

  .footer-heading {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
  }

  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .footer-links a {
    color: #c4d5f0;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.3s ease;
  }

  .footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
  }

  .footer-social {
    display: flex;
    gap: 0.8rem;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
  }

  .footer-social a:hover {
    background: var(--accent);
    transform: translateY(-4px);
  }

  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    text-align: center;
  }

  .footer-bottom p {
    margin: 0;
    font-size: 0.88rem;
    color: #8fb4ff;
  }

  /* ========================= SCROLL REVEAL ========================= */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ========================= RESPONSIVE ========================= */
  @media (max-width: 991px) {
    .navbar-collapse {
      background: rgba(2, 14, 49, 0.98);
      border-radius: 12px;
      padding: 1rem;
      margin-top: 0.8rem;
    }
    .custom-nav .nav-link::after {
      display: none;
    }
    .btn-register {
      display: inline-block;
      margin-top: 0.5rem;
    }
  }

  @media (max-width: 768px) {
    .section {
      padding: 3.5rem 0;
    }
    .hero {
      min-height: 90vh;
    }
    .footer-links {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 575px) {
    .hero-title {
      font-size: 2.2rem;
    }
    .hero-actions .btn {
      width: 100%;
    }
    .stat-card {
      padding: 2rem 1.2rem;
    }
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
    }
    .reveal {
      opacity: 1;
      transform: none;
    }
  }

  @media (min-width: 1200px) {
      .col-lg-5-custom {
          width: 20%;
          float: left;
      }
  }

  /* Speaker Card */
  .speaker-card {
      cursor: pointer;
      transition: all 0.3s ease;
  }

  .speaker-card:hover {
      transform: translateY(-6px);
  }

  /* Modal */
  .speaker-modal {
      border: 0;
      border-radius: 18px;
      overflow: hidden;
  }

  .speaker-modal .modal-header {
      border-bottom: 1px solid #eee;
      padding: 20px 25px;
  }

  .speaker-modal .modal-body {
      padding: 30px;
  }

  .speaker-modal-image {
      /* width: 220px; */
      height: 120px;
      object-fit: cover;
      border-radius: 12px;
  }

  #modalSpeakerName {
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 10px;
  }

  #modalSpeakerRole {
      font-size: 16px;
      line-height: 1.6;
      color: #666;
  }

  #modalSpeakerBio {
      font-size: 16px;
      line-height: 1.8;
      color: #444;
  }

  @media (max-width: 767px) {

      .speaker-modal .modal-body {
          padding: 20px;
      }

      .speaker-modal-image {
          width: 160px;
          height: 160px;
      }

      #modalSpeakerName {
          font-size: 23px;
          text-align: center;
      }

      #modalSpeakerRole {
          text-align: center;
      }
  }

  /* Clickable Speaker Card */
  .speaker-card {
      cursor: pointer;
      transition: all 0.3s ease;
  }

  .speaker-card:hover {
      transform: translateY(-6px);
  }

  /* ================= MODAL ================= */

  .speaker-modal {
      border: 0;
      border-radius: 18px;
      overflow: hidden;
  }

  .speaker-modal .modal-header {
      padding: 18px 25px;
      border-bottom: 1px solid #eeeeee;
  }

  .speaker-modal .modal-body {
      padding: 30px;
      max-height: 75vh;
      overflow-y: auto;
  }

  /* ================= TOP ROW ================= */

  .speaker-top-row {
      display: flex;
      align-items: center;
      gap: 25px;
      padding-bottom: 25px;
      border-bottom: 1px solid #eeeeee;
  }

  /* 120 x 120 IMAGE */

  .speaker-modal-image-wrapper {
      flex: 0 0 100px;
  }

  .speaker-modal-image {
      /* width: 50px; */
      /* height: 120px; */
      object-fit: cover;
      /* border-radius: 50%; */
      display: block;
  }

  /* NAME + ROLE */

  .speaker-modal-info {
      flex: 1;
  }

  #modalSpeakerName {
      font-size: 27px;
      font-weight: 700;
      line-height: 1.3;
      margin: 0 0 8px;
  }

  #modalSpeakerRole {
      font-size: 16px;
      font-weight: 500;
      line-height: 1.5;
      color: #666;
  }

  /* ================= BIO ================= */

  .speaker-bio-section {
      padding-top: 25px;
  }

  .speaker-bio-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 15px;
  }

  #modalSpeakerBio {
      font-size: 15px;
      line-height: 1.8;
      color: #444;
  }

  #modalSpeakerBio p {
      margin-bottom: 12px;
  }

  /* ================= MOBILE ================= */

  @media (max-width: 767px) {

      .speaker-modal .modal-body {
          padding: 20px;
      }

      .speaker-top-row {
          gap: 15px;
          align-items: center;
      }

      .speaker-modal-image-wrapper {
          flex: 0 0 90px;
      }

      .speaker-modal-image {
          width: 90px;
          height: 90px;
      }

      #modalSpeakerName {
          font-size: 20px;
      }

      #modalSpeakerRole {
          font-size: 13px;
      }

      .speaker-bio-title {
          font-size: 18px;
      }

      #modalSpeakerBio {
          font-size: 14px;
          line-height: 1.7;
      }

  }

  /* =========================================================
    MAIN NAVBAR
  ========================================================= */

  .custom-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 9999;

    padding: 12px 0;

    background: rgba(5, 12, 32, 0.25);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    transition: all 0.3s ease;
  }

  /* Container */

  .custom-nav .container {
    min-height: 60px;

    display: flex;

    align-items: center;
  }

  /* IAFI Logo */

  .nav-logo {
    display: block;

    width: 165px;

    height: auto;

    /* max-height: 55px; */

    object-fit: contain;
  }

  /* Navbar links */

  .custom-nav .navbar-nav {
    gap: 8px;
  }

  .custom-nav .nav-link {
    position: relative;

    padding: 10px 14px !important;

    color: #ffffff !important;

    font-size: 15px;

    font-weight: 600;

    white-space: nowrap;

    transition: color 0.25s ease;
  }

  .custom-nav .nav-link:hover {
    color: #ffc107 !important;
  }

  /* Active link */

  .custom-nav .nav-link.active {
    color: #ffffff !important;
  }

  .custom-nav .nav-link.active::after {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;

    bottom: 2px;

    height: 2px;

    background: #ffc107;

    border-radius: 10px;
  }

  /* Register button */

  .btn-register {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 44px;

    padding: 10px 24px !important;

    color: #ffffff !important;

    background: #1769e0;

    border: none;

    border-radius: 50px;

    font-size: 15px;

    font-weight: 700;

    white-space: nowrap;

    box-shadow:
      0 6px 20px rgba(23, 105, 224, 0.35);

    transition: all 0.25s ease;
  }

  .btn-register:hover {
    color: #ffffff !important;

    background: #287bea;

    transform: translateY(-2px);

    box-shadow:
      0 10px 25px rgba(23, 105, 224, 0.45);
  }

  /* =========================================================
    BOOTSTRAP MOBILE TOGGLER
  ========================================================= */

  .custom-nav .navbar-toggler {
    width: 44px;

    height: 44px;

    padding: 7px;

    border: 1px solid rgba(255,255,255,0.6);

    border-radius: 8px;

    background: rgba(0,0,0,0.35);
  }

  .custom-nav .navbar-toggler:focus {
    box-shadow:
      0 0 0 3px rgba(255,193,7,0.25);
  }

  /*
    Bootstrap navbar-toggler-icon is sometimes invisible
    on dark backgrounds.
  */

  .custom-nav .navbar-toggler-icon {
    width: 24px;

    height: 24px;

    background-image:
      url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  /* =========================================================
    HERO
  ========================================================= */

 .hero {
    position: relative;
    width: 100%;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url("../hero-banner3.png");
    background-repeat: no-repeat;
    /*background-size: contain;*/
    background-position: center;
    isolation: isolate;
    background-attachment: fixed;
}
  /* =========================================================
    HERO OVERLAY
  ========================================================= */

  .hero-overlay {
    position: absolute;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:
      linear-gradient(
        90deg,
        rgba(0, 5, 20, 0.15),
        rgba(0, 5, 20, 0.02),
        rgba(0, 5, 20, 0.18)
      );
  }

  /* =========================================================
    QUALCOMM
  ========================================================= */

  /* =========================================================
    HERO CONTENT
  ========================================================= */

  .hero-content {

    position: relative;

    z-index: 10;

    width: 100%;

    padding-top: 10px;

    padding-bottom: 10px;
  }

  .hero-inner {

    width: 100%;

    /* max-width: 920px; */

    margin-left: auto;

    margin-right: auto;

    text-align: center;
    padding-top: 40px;
  }

  /* =========================================================
    BADGE
  ========================================================= */

  .hero-badge {

   color: #fff;
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 3rem;
    font-family: "Minion Variable Concept", serif;
  }

  /* =========================================================
    TITLE
  ========================================================= */

  .hero-title span{
    color: #ffc107;
  }
  .hero-title {

    margin: 0;

    

    align-items: center;

    color: #ffffff;

    font-size:
      clamp(
        45px,
        10vw,
        150px
      );

    line-height: 0.98;

    font-weight: 900;

    letter-spacing: -2px;

    text-transform: uppercase;

    text-shadow:
      0 5px 18px rgba(0,0,0,0.9);
      
      font-family: 'Oswald', sans-serif !important;
  }

  .title-top1 {
    color: #ffc107;
    margin-top: 10px;
  }

  /* =========================================================
    GOLD LINE
  ========================================================= */

  .hero-line {

    width: 110px;

    height: 4px;

    margin: 24px auto;

    border-radius: 20px;

    background:
      linear-gradient(
        90deg,
        transparent,
        #ffc107,
        #fff2a8,
        #ffc107,
        transparent
      );

    box-shadow:
      0 0 15px rgba(255,193,7,0.8);
  }

  /* =========================================================
    SUBTITLE
  ========================================================= */

  .hero-subtitle {

    max-width: 700px;

    margin: 0 auto 32px;

    padding: 0 10px;

    color: #ffffff;

    font-size: 18px;

    line-height: 1.5;

    font-weight: 400;

    text-shadow:
      0 2px 8px rgba(0,0,0,0.8);
  }

  /* =========================================================
    HERO BUTTONS
  ========================================================= */

  .hero-actions {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    /* margin-top: 34px; */
  }

  .hero-actions .btn {

    min-width: 185px;

    padding: 14px 25px;

    border-radius: 50px;

    font-size: 20px;

    font-weight: 800;

    white-space: nowrap;
  }

  .btn-primary-glow {

    color: #07132d !important;

    background:
      linear-gradient(
        135deg,
        #ffda4d,
        #ffc107
      );

    border: none;

    box-shadow:
      0 8px 25px rgba(255,193,7,0.4);
  }

  .btn-primary-glow:hover {

    color: #07132d !important;

    transform: translateY(-2px);

    box-shadow:
      0 12px 30px rgba(255,193,7,0.55);
  }

  .btn-outline-glow {

    color: #ffffff !important;

    background:
      rgba(30,55,90,0.75);

    border:
      1px solid
      rgba(255,255,255,0.7);
  }

  .btn-outline-glow:hover {

    color: #ffffff !important;

    border-color: #ffc107;

    transform: translateY(-2px);
  }

  /* =========================================================
    SCROLL
  ========================================================= */

  .hero-scroll {

    position: absolute;

    z-index: 15;

    left: 50%;

    bottom: 18px;

    transform: translateX(-50%);

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ffffff;

    border:
      1px solid #ffc107;

    border-radius: 50%;

    background:
      rgba(0,0,0,0.4);
  }

  /* =========================================================
    TABLET
  ========================================================= */

  @media (max-width: 991.98px) {

    .custom-nav {
      background:
        rgba(3,10,30,0.88);

      backdrop-filter: blur(12px);
    }

    .custom-nav .navbar-collapse {

      margin-top: 12px;

      padding: 12px;

      border-radius: 14px;

      background:
        rgba(3,10,30,0.97);

      border:
        1px solid
        rgba(255,193,7,0.25);

      box-shadow:
        0 15px 35px rgba(0,0,0,0.35);
    }

    .custom-nav .navbar-nav {

      align-items: stretch !important;

      gap: 0;
    }

    .custom-nav .nav-link {

      padding: 12px 10px !important;
    }

    .custom-nav .btn-register {

      margin-top: 8px;

      width: 100%;
    }

    .hero {

      min-height: 690px;

      background-position:
        center center;
    }

    .hero-sponsor {

      top: 110px;

      right: 30px;
    }

    .hero-sponsor img {

      width: 175px;
    }

    
    .hero-sponsor-text {
      text-align: right;

      font-size: 19px;
    }

    .hero-content {

      padding-top: 10px;

      padding-bottom: 10px;
    }
    .hero-inner{
        padding-top: 0px;
    }

    .hero-inner {

      max-width: 760px;
    }

    .hero-badge {
    
    margin-bottom: 2.2rem !important;
}

    .hero-title {

      font-size:
        clamp(
          44px,
          14vw,
          95px
        );
    }

  }

  /* =========================================================
    MOBILE
  ========================================================= */

  @media (max-width: 767.98px) {

    /* =========================
      NAV
    ========================= */

    .custom-nav {

      padding: 8px 0;

      background:
        rgba(3,10,30,0.92);
    }

    .custom-nav .container {

      min-height: 52px;
    }

    .nav-logo {

      width: 120px;

      
    }

    /* =========================
      HERO
    ========================= */

    .hero {

      min-height: auto;

      /*
        Don't use a fixed desktop height.
      */

      background-size: cover;

      background-position:
        center center;

      display: block;
    }

    .hero-overlay {

      background:
        linear-gradient(
          180deg,
          rgba(0,5,20,0.20),
          rgba(0,5,20,0.25) 40%,
          rgba(0,5,20,0.78) 100%
        );
    }

    /* =========================
      QUALCOMM
    ========================= */

    .hero-sponsor {

      top: 75px;

      right: 12px;

      gap: 2px;
    }

    .hero-sponsor-text {

      font-size: 12px;

      line-height: 1;
    }

    .hero-sponsor img {

      width: 100px;

      padding: 5px 7px;

      border-radius: 8px;
    }

    /* =========================
      CONTENT
    ========================= */

    .hero-content {

      padding-top: 60px;

      padding-right: 15px;

      padding-bottom: 65px;

      padding-left: 15px;
    }

    .hero-inner {

      max-width: 100%;
    }

    /* =========================
      BADGE
    ========================= */

    .hero-badge {

      max-width: 90%;

      padding: 7px 13px;

      margin-bottom: 17px;

      font-size: 9px;

      line-height: 1.2;
    }

    /* =========================
      TITLE
    ========================= */

    .hero-title {

      font-size:
        clamp(
          34px,
          11vw,
          52px
        );

      line-height: 0.98;

      letter-spacing: -1px;
    }

    

    .hero-line {

      width: 70px;

      height: 3px;

      margin: 12px auto;
    }

    /* =========================
      SUBTITLE
    ========================= */

    .hero-subtitle {

      margin-bottom: 23px;

      padding: 0 5px;

      font-size: 12px;

      line-height: 1.45;
    }

    /* =========================
      BUTTONS
    ========================= */

    .hero-actions {

      width: 100%;

      flex-direction: column;

      gap: 9px;

      margin-top: 25px;
    }

    .hero-actions .btn {

      width: 100%;

      min-width: 0;

      padding: 12px 18px;

      font-size: 18px;
    }

    /* =========================
      SCROLL
    ========================= */

    .hero-scroll {

      width: 34px;

      height: 34px;

      bottom: 14px;

      font-size: 13px;
    }

  }

  /* =========================================================
    360px / SMALL PHONES
  ========================================================= */

  @media (max-width: 400px) {

    .nav-logo {
      width: 90px;
    }

    .hero-sponsor {

      top: 72px;

      right: 8px;
    }

    .hero-sponsor img {

      width: 85px;

      padding: 4px 6px;
    }

    .hero-content {

      padding-top: 160px;

      padding-left: 12px;

      padding-right: 12px;
    }

    .hero-title {

      font-size: 33px;

      letter-spacing: -0.8px;
    }

    .hero-subtitle {

      font-size: 11px;
    }

  }

  /* ============================================================
    FINAL RESPONSIVE PATCH — ALL DEVICES
    ============================================================ */

  /* Prevent accidental horizontal overflow from long content,
    transforms, images, iframes and Bootstrap rows. */
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    overflow-wrap: break-word;
  }

  img,
  svg,
  video,
  canvas,
  iframe {
    max-width: 100%;
  }

  img {
    height: auto;
  }

  .container,
  .container-fluid {
    --bs-gutter-x: 1.5rem;
  }

  /* Keep every Bootstrap row inside the viewport. */
  .row {
    --bs-gutter-x: 1.5rem;
  }

  /* Speaker grid: 5 columns on large screens, 3 on tablets,
    2 on small tablets, 1 on phones. */
  @media (min-width: 1200px) {
    .speakers-section .col-lg-5-custom {
      width: 20%;
      flex: 0 0 20%;
      max-width: 20%;
    }
  }

  @media (min-width: 768px) and (max-width: 1199.98px) {
    .speakers-section .col-lg-5-custom {
      width: 33.333333%;
      flex: 0 0 33.333333%;
      max-width: 33.333333%;
    }
  }

  @media (min-width: 576px) and (max-width: 767.98px) {
    .speakers-section .col-lg-5-custom {
      width: 50%;
      flex: 0 0 50%;
      max-width: 50%;
    }
  }

  @media (max-width: 575.98px) {
    .speakers-section .col-lg-5-custom {
      width: 100%;
      flex: 0 0 100%;
      max-width: 100%;
    }
  }

  /* Navbar */
  .custom-nav .container {
    width: 100%;
  }

  .custom-nav .navbar-brand {
    min-width: 0;
  }

  .custom-nav .navbar-brand img {
    max-width: 100%;
  }

  @media (max-width: 991.98px) {
    .custom-nav .navbar-collapse {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
    }

    .custom-nav .navbar-nav {
      width: 100%;
    }

    .custom-nav .nav-item,
    .custom-nav .nav-link {
      max-width: 100%;
    }

    .custom-nav .btn-register {
      display: flex;
      width: 100%;
      max-width: 100%;
    }
  }

  /* Hero */
  .hero {
    width: 100%;
    max-width: 100%;
  }

  .hero-content,
  .hero-inner {
    min-width: 0;
  }

  .hero-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-badge,
  .hero-title,
  .hero-subtitle {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  

  .hero-actions {
    max-width: 100%;
  }

  .hero-actions .btn {
    max-width: 100%;
  }

  .hero-sponsor {
    max-width: calc(100% - 24px);
  }

  .hero-sponsor img {
    max-width: 100%;
    height: auto;
  }

  @media (max-width: 767.98px) {
    .hero {
      background-position: 68% center;
    }

    .hero-sponsor {
      right: 12px;
      max-width: 110px;
    }

    .hero-sponsor img {
      width: 100%;
      max-width: 100px;
    }

    .hero-content {
      padding-left: 12px;
      padding-right: 12px;
    }

    .hero-title {
      font-size: clamp(30px, 10vw, 48px);
      letter-spacing: -0.6px;
    }

    .hero-subtitle {
      font-size: clamp(12px, 3.4vw, 16px);
    }

    .hero-actions {
      flex-direction: column;
      align-items: stretch;
    }

    .hero-actions .btn {
      width: 100%;
      min-width: 0;
    }
  }

  /* Speaker images remain proportional at every breakpoint. */
  .speaker-image {
    width: min(150px, 70vw);
    /* aspect-ratio: 1 / 1; */
    height: auto;
  }

  .speaker-image img {
    display: block;
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
  }

  /* Agenda timeline */
  @media (max-width: 575.98px) {
    .agenda-item {
      width: 100%;
      max-width: 100%;
    }

    .agenda-body {
      width: calc(100% - 1.8rem);
      max-width: calc(100% - 1.8rem);
    }
  }

  /* Gallery */
  .gallery-item,
  .gallery-item img {
    width: 100%;
    max-width: 100%;
  }

  .gallery-item img {
    display: block;
    height: auto;
  }

  /* Modals must fit small screens without horizontal scrolling. */
  .modal-dialog {
    width: auto;
    max-width: calc(100% - 1rem);
    margin-left: auto;
    margin-right: auto;
  }

  .modal-content,
  .speaker-modal {
    max-width: 100%;
    overflow: hidden;
  }

  .speaker-top-row {
    min-width: 0;
  }

  .speaker-modal-image-wrapper,
  .speaker-modal-image-wrapper + div {
    min-width: 0;
  }

  /* .speaker-modal-image {
    max-width: 100%;
    height: auto;
  } */

  @media (max-width: 575.98px) {
    .modal-dialog {
      max-width: calc(100% - 0.75rem);
      margin: 0.375rem auto;
    }

    .speaker-top-row {
      align-items: flex-start;
      gap: 12px;
    }

    .speaker-modal-image-wrapper {
      flex: 0 0 76px;
      width: 76px;
    }

    .speaker-modal-image {
      width: 76px;
      height: 76px;
    }

    #modalSpeakerName {
      font-size: clamp(18px, 5vw, 22px);
      line-height: 1.2;
    }

    #modalSpeakerRole,
    #modalSpeakerBio {
      overflow-wrap: anywhere;
    }
  }

  /* Footer */
  .footer-links {
    min-width: 0;
  }

  .footer-links a {
    min-width: 0;
  }

  /* Very small phones */
  @media (max-width: 360px) {
    .container {
      --bs-gutter-x: 1rem;
    }

    .custom-nav .navbar-brand {
      max-width: calc(100% - 58px);
    }

    .nav-logo {
      width: 90px;
      /* max-width: 100%; */
    }

    .hero-sponsor {
      top: 70px;
      right: 8px;
      max-width: 82px;
    }

    .hero-sponsor img {
      width: 82px;
    }

    .hero-content {
      padding-left: 8px;
      padding-right: 8px;
    }

    .hero-title {
      font-size: 29px;
    }

    .hero-badge {
      font-size: 25px;
      padding: 6px 9px;
    }

    .hero-actions .btn {
      padding: 11px 16px;
      font-size: 17px;
    }
  }

  /* Accessibility: avoid hover movement on touch devices. */
  @media (hover: none) {
    .info-card:hover,
    .feature-card:hover,
    .speaker-card:hover,
    .key-item:hover,
    .agenda-body:hover {
      transform: none;
    }
  }

  /* =========================================================
    MOBILE HERO FINAL QA PATCH — 360 / 390 / 400px
    Fixes mobile spacing, typography, sponsor placement,
    Bootstrap row gutters and viewport overflow.
  ========================================================= */
  @media (max-width: 575.98px) {
    html, body {
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
    }

    .custom-nav {
      width: 100%;
      padding: 7px 0;
    }

    .custom-nav .container {
      min-height: 58px;
      padding-left: 10px;
      padding-right: 10px;
    }

    .nav-logo {
      width: 90px;
      /* max-width: 90px;
      max-height: 48px; */
    }

    .custom-nav .navbar-toggler {
      width: 54px;
      height: 54px;
      padding: 8px;
      flex: 0 0 54px;
    }

    .custom-nav .navbar-toggler-icon {
      width: 32px;
      height: 32px;
    }

    .hero {
      min-height: 0;
      width: 100%;
      background-size: cover;
      background-position: 55% top;
    }

    .hero-content {
      width: 100%;
      padding: 50px 12px 28px;
    }

    .hero-inner {
      width: 100%;
      max-width: 100%;
    }

    .hero-sponsor {
      top: 92px;
      right: 12px;
      max-width: 155px;
      gap: 3px;
      margin-top: 0 !important;
    }

    .hero-sponsor-text {
      font-size: 14px;
      line-height: 1.1;
    }

    .hero-sponsor img {
      width: 120px;
      max-width: 120px;
      padding: 5px 7px;
      border-radius: 8px;
    }

    .hero-badge {
      max-width: 100%;
      padding: 7px 13px;
      margin-bottom: 16px;
      font-size: 25px;
      line-height: 1.2;
      letter-spacing: .35px;
    }

    .hero-title {
      width: 100%;
      margin: 0;
      font-size: clamp(30px, 12vw, 50px);
      line-height: 1.02;
      letter-spacing: -0.8px;
    }

    
    .hero-line {
      width: 68px;
      height: 3px;
      margin: 13px auto 15px;
    }

    .hero-subtitle {
      max-width: 100%;
      margin: 0 auto 18px;
      padding: 0 3px;
      font-size: 11px;
      line-height: 1.4;
    }

    /* Remove Bootstrap gutter expansion around the event card. */
    .hero-inner > .row {
      width: 100%;
      margin-left: 0;
      margin-right: 0;
    }

    .hero-inner > .row > [class*="col-"] {
      width: 100%;
      padding-left: 0;
      padding-right: 0;
    }

    .hero-actions {
      width: 100%;
      margin-top: 18px;
      gap: 8px;
    }

    .hero-actions .btn {
      width: 100%;
      min-width: 0;
      padding: 11px 16px;
      font-size: 12px;
    }

    .hero-scroll {
      display: none;
    }
  }

  @media (max-width: 380px) {
    .nav-logo {
      width: 90px;
    }

    .custom-nav .navbar-toggler {
      width: 50px;
      height: 50px;
      flex-basis: 50px;
    }

    .hero-content {
      padding-top: 50px;
      padding-left: 10px;
      padding-right: 10px;
      padding-bottom: 24px;
    }

    .hero-sponsor {
      top: 86px;
      right: 9px;
      max-width: 92px;
    }

    .hero-sponsor img {
      width: 88px;
      max-width: 88px;
    }

    .hero-badge {
      font-size: 19px;
      padding: 7px 11px;
      margin-bottom: 14px;
    }

    .hero-title {
      font-size: 30px;
      line-height: 1.02;
      letter-spacing: -0.6px;
    }
  }

  #speakerModal{
    z-index: 99999;
  }

  .modal{
    height: auto;
  }

  /* =========================================================
   SPEAKER MODAL — FINAL RESPONSIVE
   ========================================================= */

#speakerModal {
    z-index: 99999;
}

#speakerModal .modal-dialog {
    width: 1300px;
    max-width: calc(100% - 40px);
    margin: 30px auto;
}

#speakerModal .speaker-modal {
    width: 100%;
    max-width: 1300px;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
}

/* Header */
#speakerModal .modal-header {
    padding: 18px 25px;
    border-bottom: 1px solid #eeeeee;
}

/* Body */
#speakerModal .modal-body {
    padding: 30px;
    max-height: 75vh;
    overflow-y: auto;
}

/* =========================
   TOP ROW
   ========================= */

#speakerModal .speaker-top-row {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eeeeee;
}

/* Image */
#speakerModal .speaker-modal-image-wrapper {
    flex: 0 0 100px;
    width: 100px;
    min-width: 100px;
}

#speakerModal .speaker-modal-image {
    display: block;
    width: 100px;
    height: 100px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Name + Role */
#speakerModal .speaker-modal-info {
    flex: 1;
    min-width: 0;
}

#speakerModal #modalSpeakerName {
    margin: 0 0 8px;
    font-size: 27px;
    line-height: 1.3;
    font-weight: 700;
    color: #020e31;
}

#speakerModal #modalSpeakerRole {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    color: #666666;
    overflow-wrap: anywhere;
}

/* =========================
   BIO
   ========================= */

#speakerModal .speaker-bio-section {
    padding-top: 25px;
}

#speakerModal .speaker-bio-title {
    margin: 0 0 15px;
    font-size: 20px;
    font-weight: 700;
    color: #020e31;
}

#speakerModal #modalSpeakerBio {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #444444;
    overflow-wrap: anywhere;
}

#speakerModal #modalSpeakerBio p {
    margin-bottom: 12px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 767px) {

    #speakerModal .modal-dialog {
        width: 620px;
        max-width: calc(100% - 40px);
        margin: 25px auto;
    }

    #speakerModal .modal-body {
        padding: 25px;
    }

    #speakerModal .speaker-top-row {
        gap: 18px;
    }

    #speakerModal .speaker-modal-image-wrapper {
        flex: 0 0 90px;
        width: 90px;
        min-width: 90px;
    }

    #speakerModal .speaker-modal-image {
        width: 90px;
        height: 90px;
    }

    #speakerModal #modalSpeakerName {
        font-size: 22px;
    }

    #speakerModal #modalSpeakerRole {
        font-size: 14px;
    }

    #speakerModal .speaker-bio-title {
        font-size: 18px;
    }

    #speakerModal #modalSpeakerBio {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* =========================================================
   MOBILE
   IMPORTANT: MODAL IS NOT FULL WIDTH
   ========================================================= */

@media (max-width: 575.98px) {

    #speakerModal .modal-dialog {
        width: auto;
        max-width: calc(100% - 32px);
        margin: 16px auto;
    }

    #speakerModal .speaker-modal {
        width: 100%;
        max-width: 100%;
        border-radius: 15px;
    }

    #speakerModal .modal-header {
        padding: 14px 18px;
    }

    #speakerModal .modal-body {
        padding: 18px;
        max-height: 78vh;
        overflow-y: auto;
    }

    /* Top row remains horizontal */
    #speakerModal .speaker-top-row {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 18px;
    }

    /* Small speaker image */
    #speakerModal .speaker-modal-image-wrapper {
        flex: 0 0 72px;
        width: 72px;
        min-width: 72px;
    }

    #speakerModal .speaker-modal-image {
        width: 72px;
        height: 72px;
        border-radius: 8px;
    }

    /* Name */
    #speakerModal #modalSpeakerName {
        font-size: 19px;
        line-height: 1.25;
        margin-bottom: 5px;
        text-align: left;
    }

    /* Role */
    #speakerModal #modalSpeakerRole {
        font-size: 12px;
        line-height: 1.45;
        text-align: left;
    }

    /* Bio */
    #speakerModal .speaker-bio-section {
        padding-top: 18px;
    }

    #speakerModal .speaker-bio-title {
        font-size: 17px;
        margin-bottom: 10px;
    }

    #speakerModal #modalSpeakerBio {
        font-size: 13px;
        line-height: 1.65;
    }

    #speakerModal #modalSpeakerBio p {
        margin-bottom: 10px;
    }
}

/* =========================================================
   VERY SMALL MOBILE — 360px
   ========================================================= */

@media (max-width: 375px) {

    #speakerModal .modal-dialog {
        max-width: calc(100% - 24px);
        margin: 12px auto;
    }

    #speakerModal .modal-body {
        padding: 15px;
    }

    #speakerModal .speaker-top-row {
        gap: 10px;
    }

    #speakerModal .speaker-modal-image-wrapper {
        flex: 0 0 62px;
        width: 62px;
        min-width: 62px;
    }

    #speakerModal .speaker-modal-image {
        width: 62px;
        height: 62px;
    }

    #speakerModal #modalSpeakerName {
        font-size: 17px;
    }

    #speakerModal #modalSpeakerRole {
        font-size: 11px;
    }

    #speakerModal #modalSpeakerBio {
        font-size: 12.5px;
    }
}


/* =========================================================
   NAVBAR
   DESKTOP:
   IAFI LEFT | MENU CENTER | QUALCOMM RIGHT

   MOBILE:
   MENU LEFT | IAFI CENTER | QUALCOMM RIGHT
========================================================= */

.custom-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    width: 100%;
    z-index: 9999;

    padding: 10px 0;

    background: rgba(3, 10, 30, 0.88);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition: all 0.3s ease;
}


/* =========================================================
   CONTAINER
========================================================= */

.custom-nav > .container {
    min-height: 60px;

    display: flex;
    align-items: center;

    position: relative;
}


/* =========================================================
   IAFI LOGO
========================================================= */

.custom-nav .navbar-brand {
    flex: 0 0 auto;

    /* display: flex;
    align-items: center; */

    margin: 0;

    padding: 0;
}

.custom-nav .nav-logo {
    display: block;

    width: 120px;
    max-width: 100%;

    height: auto;

    object-fit: contain;
}


/* =========================================================
   DESKTOP NAV MENU
========================================================= */

.custom-nav .navbar-collapse {
    flex: 1 1 auto;

    display: flex !important;

    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;
}

.custom-nav .navbar-nav {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 4px;

    margin: 0 auto;
}


/* NAV LINKS */

.custom-nav .nav-link {
    position: relative;

    padding: 10px 14px !important;

    color: #ffffff !important;

    font-size: 15px;
    font-weight: 600;

    white-space: nowrap;

    transition: color 0.25s ease;
}

.custom-nav .nav-link:hover {
    color: #ffc107 !important;
}


/* ACTIVE */

.custom-nav .nav-link.active {
    color: #ffffff !important;
}

.custom-nav .nav-link.active::after {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 2px;

    height: 2px;

    background: #ffc107;

    border-radius: 10px;
}


/* =========================================================
   REGISTER
========================================================= */

.custom-nav .btn-register {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 9px 22px !important;

    color: #ffffff !important;

    background: #1769e0;

    border: none;
    border-radius: 50px;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    box-shadow:
        0 6px 20px rgba(23, 105, 224, 0.35);

    transition: all 0.25s ease;
}

.custom-nav .btn-register:hover {
    background: #287bea;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(23, 105, 224, 0.45);
}


/* =========================================================
   QUALCOMM — DESKTOP RIGHT
========================================================= */

.custom-nav .hero-sponsor {
    flex: 0 0 auto;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 2px;

    margin-left: 20px;
}

.custom-nav .hero-sponsor-text {
    color: #ffffff;

    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;

    line-height: 1;

    white-space: nowrap;

    text-shadow:
        0 2px 8px rgba(0,0,0,0.8);
}

.custom-nav .hero-sponsor img {
    display: block;

    width: 190px;
    

    /* height: auto; */

    padding: 5px 8px;

    background: #ffffff;

    border-radius: 5px;

    box-shadow:
        0 5px 18px rgba(0,0,0,0.35);
}


/* =========================================================
   HAMBURGER
========================================================= */

.custom-nav .navbar-toggler {
    width: 44px;
    height: 44px;

    padding: 7px;

    border: 1px solid rgba(255,255,255,0.6);

    border-radius: 8px;

    background: rgba(0,0,0,0.35);

    display: none;
}

.custom-nav .navbar-toggler:focus {
    box-shadow:
        0 0 0 3px rgba(255,193,7,0.25);
}

.custom-nav .navbar-toggler-icon {
    width: 24px;
    height: 24px;

    background-image:
        url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* =========================================================
   TABLET + MOBILE
========================================================= */

@media (max-width: 991.98px) {

    .custom-nav {
        padding: 7px 0;
    }

    .custom-nav > .container {
        min-height: 52px;
    }


    /* -----------------------------------------
       MOBILE TOP BAR

       ☰       IAFI       QUALCOMM
    ----------------------------------------- */

    .custom-nav .navbar-toggler {
        display: flex;

        align-items: center;
        justify-content: center;

        flex: 0 0 44px;

        order: 1;

        margin: 0;
    }


    /* IAFI CENTER */

    .custom-nav .navbar-brand {
        position: absolute;

        left: 50%;

        transform: translateX(-50%);

        z-index: 5;
    }

    .custom-nav .nav-logo {
        width: 75px;
        max-height: 45px;
    }


    /* QUALCOMM RIGHT */

    .custom-nav .hero-sponsor {
        order: 3;

        margin-left: auto;

        margin-right: 0;

        flex: 0 0 auto;
    }

    .custom-nav .hero-sponsor-text {
        font-size: 14px;
    }

    .custom-nav .hero-sponsor img {
        width: 170px;

        padding: 4px 6px;
    }


    /* -----------------------------------------
       COLLAPSED MENU
    ----------------------------------------- */

    .custom-nav .navbar-collapse {
        order: 4;

        flex-basis: 100%;
        width: 100%;

        display: none !important;

        margin-top: 10px;

        padding: 12px;

        border-radius: 12px;

        background: rgba(3,10,30,0.97);

        border:
            1px solid rgba(255,193,7,0.25);

        box-shadow:
            0 15px 35px rgba(0,0,0,0.35);
    }

    .custom-nav .navbar-collapse.show,
    .custom-nav .navbar-collapse.collapsing {
        display: block !important;
    }


    .custom-nav .navbar-nav {
        width: 100%;

        flex-direction: column;

        align-items: stretch !important;

        gap: 0;

        margin: 0;
    }


    .custom-nav .nav-item {
        width: 100%;
    }


    .custom-nav .nav-link {
        width: 100%;

        padding: 12px 10px !important;

        text-align: left;
    }


    .custom-nav .nav-link.active::after {
        display: none;
    }


    .custom-nav .btn-register {
        width: 100%;

        margin-top: 8px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .custom-nav > .container {
        padding-left: 12px;
        padding-right: 12px;
    }


    .custom-nav .nav-logo {
        width: 70px;
    }


    .custom-nav .hero-sponsor img {
        width: 160px;
    }


    .custom-nav .hero-sponsor-text {
        font-size: 12px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .custom-nav .navbar-toggler {
        width: 40px;
        height: 40px;
    }

    .custom-nav .nav-logo {
        width: 70px;
    }

    .custom-nav .hero-sponsor img {
        width: 130px;
    }

    .custom-nav .hero-sponsor-text {
        font-size: 5.5px;
    }
}


/* =========================================================
   MENU + IAFI + QUALCOMM
   DESKTOP:
   IAFI LEFT | MENU CENTER | QUALCOMM RIGHT

   MOBILE:
   MENU LEFT | IAFI CENTER | QUALCOMM RIGHT

   MENU OPEN:
   IAFI + QUALCOMM STAY IN TOP BAR
========================================================= */


/* =========================
   DESKTOP
========================= */

.custom-nav > .container {
    position: relative;

    min-height: 60px;

    display: flex;
    align-items: center;
}


/* IAFI — LEFT */

.custom-nav .navbar-brand {
    flex: 0 0 auto;

    margin: 0;
    padding: 0;
}


/* MENU — TRUE CENTER */

.custom-nav .navbar-collapse {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: max-content;

    display: flex !important;
    align-items: center;
    justify-content: center;

    margin: 0 !important;
    padding: 0;
}

.custom-nav .navbar-nav {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 4px;

    margin: 0;
    padding: 0;
}


/* QUALCOMM — RIGHT */

.custom-nav .hero-sponsor {
    margin-left: auto;

    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* =========================================================
   TABLET + MOBILE
========================================================= */

@media (max-width: 991.98px) {

    .custom-nav > .container {
        position: relative;

        min-height: 52px;

        display: flex;
        align-items: center;
        justify-content: space-between;
    }


    /* -----------------------------------------
       HAMBURGER — LEFT
    ----------------------------------------- */

    .custom-nav .navbar-toggler {
        position: absolute;

        left: 0;
        top: 50%;

        transform: translateY(-50%);

        z-index: 1000;

        display: flex;

        align-items: center;
        justify-content: center;

        margin: 0;
    }


    /* -----------------------------------------
       IAFI — CENTER
       NEVER INSIDE MENU
    ----------------------------------------- */

    .custom-nav .navbar-brand {
        position: absolute;

        left: 50%;
        top: 50%;

        transform: translate(-50%, -50%);

        z-index: 1001;

        margin: 0 !important;
        padding: 0 !important;
    }


    /* -----------------------------------------
       QUALCOMM — RIGHT
    ----------------------------------------- */

    .custom-nav .hero-sponsor {
        position: absolute;

        right: 0;
        top: 50%;

        transform: translateY(-50%);

        z-index: 1001;

        margin: 0 !important;
    }


    /* -----------------------------------------
       MENU
       OPENS BELOW HEADER
       WITHOUT MOVING IAFI
    ----------------------------------------- */

    .custom-nav .navbar-collapse {
        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        transform: none;

        display: none !important;

        margin: 8px 0 0 !important;

        padding: 10px;

        background: rgba(3, 10, 30, 0.98);

        border: 1px solid rgba(255, 193, 7, 0.25);

        border-radius: 10px;

        z-index: 900;
    }


    /* MENU OPEN */

    .custom-nav .navbar-collapse.show {
        display: block !important;
    }

    .custom-nav .navbar-collapse.collapsing {
        display: block !important;

        height: auto !important;

        transition: none;
    }


    /* -----------------------------------------
       MENU ITEMS — EQUAL SPACE
    ----------------------------------------- */

    .custom-nav .navbar-nav {
        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: stretch !important;

        gap: 0;

        margin: 0 !important;
        padding: 0;
    }

    .custom-nav .nav-item {
        width: 100%;

        height: 42px;
        min-height: 42px;

        display: flex;
        align-items: center;

        margin: 0 !important;
    }

    .custom-nav .nav-link {
        width: 100%;

        height: 42px;
        min-height: 42px;

        display: flex;
        align-items: center;

        padding: 0 12px !important;

        margin: 0;

        text-align: left;

        box-sizing: border-box;
    }


    /* REGISTER SAME SPACING */

    .custom-nav .nav-item.ms-lg-3 {
        height: 48px;
        min-height: 48px;

        padding-top: 6px;
    }

    .custom-nav .btn-register {
        width: 100%;

        height: 38px;

        margin: 0 !important;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .custom-nav > .container {
        min-height: 52px;
    }

    .custom-nav .navbar-toggler {
        left: 8px;
    }

    .custom-nav .navbar-brand {
        left: 50%;
    }

    .custom-nav .hero-sponsor {
        right: 8px;
    }

    .custom-nav .navbar-collapse {
        left: 8px;

        width: calc(100% - 16px);
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .custom-nav .navbar-toggler {
        left: 6px;
    }

    .custom-nav .hero-sponsor {
        right: 6px;
    }

    .custom-nav .navbar-collapse {
        left: 6px;

        width: calc(100% - 12px);
    }
}

/* =========================================================
   MOBILE / TABLET NAVBAR TOP ALIGNMENT
   HAMBURGER | IAFI | QUALCOMM
========================================================= */

@media (max-width: 991.98px) {

    .custom-nav {
        padding: 0 !important;
        height: 72px;
    }

    .custom-nav > .container {
        height: 72px;
        min-height: 72px;

        position: relative;

        display: flex;
        align-items: flex-start;
    }


    /* =========================================
       HAMBURGER
    ========================================= */

    .custom-nav .navbar-toggler {
        position: absolute;

        left: 10px;
        top: 12px;

        transform: none;

        width: 44px;
        height: 44px;

        margin: 0 !important;

        display: flex;
        align-items: center;
        justify-content: center;

        z-index: 1002;
    }


    /* =========================================
       IAFI — CENTER
    ========================================= */

    .custom-nav .navbar-brand {
        position: absolute;

        left: 50%;
        top: 7px;

        transform: translateX(-50%);

        height: 58px;

        margin: 0 !important;
        padding: 0 !important;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: flex-start;

        z-index: 1001;
    }


    /* IAFI LOGO */

    .custom-nav .nav-logo {
        width: 75px;

        height: auto;
        max-height: 45px;

        display: block;
    }


    /* =========================================
       QUALCOMM — RIGHT
    ========================================= */

    .custom-nav .hero-sponsor {
        position: absolute;

        right: 10px;
        top: 7px;

        transform: none;

        height: 58px;

        margin: 0 !important;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: flex-start;

        gap: 3px;

        z-index: 1001;
    }


    /* ORGANIZER / SUPPORTED BY */

    .custom-nav .hero-sponsor-text {
        margin: 0 0 3px !important;

        height: 16px;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 14px;

        line-height: 16px;

        white-space: nowrap;
    }


    /* QUALCOMM LOGO */

    .custom-nav .hero-sponsor img {
        width: 170px;

        height: 38px;

        padding: 4px 6px;

        object-fit: contain;

        display: block;
    }


    /* =========================================
       DROPDOWN
    ========================================= */

    .custom-nav .navbar-collapse {
        position: absolute;

        top: 72px;
        left: 0;
        right: 0;

        width: 100%;

        margin: 0 !important;

        z-index: 1000;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .custom-nav {
        height: 64px;
    }

    .custom-nav > .container {
        height: 64px;
        min-height: 64px;
    }


    .custom-nav .navbar-toggler {
        left: 8px;
        top: 10px;

        width: 40px;
        height: 40px;
    }


    .custom-nav .navbar-brand {
        top: 5px;
        height: 54px;
    }

    .custom-nav .nav-logo {
        width: 70px;
        max-height: 40px;
    }


    .custom-nav .hero-sponsor {
        right: 8px;
        top: 5px;

        height: 54px;
    }


    .custom-nav .hero-sponsor-text {
        height: 14px;

        margin-bottom: 2px !important;

        font-size: 12px;

        line-height: 14px;
    }


    .custom-nav .hero-sponsor img {
        width: 160px;

        height: 34px;

        padding: 4px 6px;
    }


    .custom-nav .navbar-collapse {
        top: 64px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .custom-nav {
        height: 58px;
    }

    .custom-nav > .container {
        height: 58px;
        min-height: 58px;
    }


    .custom-nav .navbar-toggler {
        left: 6px;
        top: 8px;

        width: 40px;
        height: 40px;
    }


    .custom-nav .navbar-brand {
        top: 3px;
    }

    .custom-nav .nav-logo {
        width: 70px;
    }


    .custom-nav .hero-sponsor {
        right: 6px;
        top: 3px;
    }


    .custom-nav .hero-sponsor-text {
        font-size: 5.5px;
        height: 10px;
        line-height: 10px;
    }


    .custom-nav .hero-sponsor img {
        width: 130px;
        height: 30px;
    }


    .custom-nav .navbar-collapse {
        top: 58px;
    }
}