/* =====================================================
   PAGE HỘI NGHỊ — page-hoinghi.css
   ===================================================== */

/* =====================================================
   BANNER
   ===================================================== */
.hn-banner {
  width: 100%;
  line-height: 0; /* loại bỏ khoảng trắng dưới img */
}

.hn-banner__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* =====================================================
   SECTION: ABOUT
   ===================================================== */
.hn-about {
  background: #f8fafc;
  padding: 64px 0;
  width: 100%;
}

.hn-about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hn-about-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hn-about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(1, 52, 103, 0.15);
}

.hn-about-card__image {
  width: 100%;
  aspect-ratio: 476 / 285;
  overflow: hidden;
}

.hn-about-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hn-about-card:hover .hn-about-card__image img {
  transform: scale(1.06);
}

.hn-about-card__footer {
  background: #013467;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 8px 16px;
}

.hn-about-card__title {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  margin: 0;
}

/* =====================================================
   SECTION: CHUYÊN GIA KHÁCH MỜI NƯỚC NGOÀI
   ===================================================== */
.hn-speakers {
  background: #fff;
  padding: 80px 0;
  width: 100%;
}

.hn-speakers__title {
  color: #013467;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 56px;
}

.hn-speakers__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px 20px;
}

.hn-speaker-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.hn-speaker-card__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid #008a45;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f8fafc;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.hn-speaker-card:hover .hn-speaker-card__photo {
  border-color: #013467;
  box-shadow: 0 10px 30px rgba(0, 168, 89, 0.15);
}

.hn-speaker-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hn-speaker-card:hover .hn-speaker-card__photo img {
  transform: scale(1.05);
}

.hn-speaker-card__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hn-speaker-card__name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  color: #008a45;
  margin: 0;
  transition: color 0.25s ease;
}

.hn-speaker-card:hover .hn-speaker-card__name {
  color: #013467;
}

.hn-speaker-card__org {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: #001e40;
  margin: 0;
}

/* Stagger delay */
.hn-speakers__grid .hn-speaker-card:nth-child(1) {
  transition-delay: 0s;
}
.hn-speakers__grid .hn-speaker-card:nth-child(2) {
  transition-delay: 0.04s;
}
.hn-speakers__grid .hn-speaker-card:nth-child(3) {
  transition-delay: 0.08s;
}
.hn-speakers__grid .hn-speaker-card:nth-child(4) {
  transition-delay: 0.12s;
}
.hn-speakers__grid .hn-speaker-card:nth-child(5) {
  transition-delay: 0.16s;
}

/* =====================================================
   SECTION: BAN TỔ CHỨC
   ===================================================== */
.hn-org-card {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

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

.hn-org-card__photo {
  transition: box-shadow 0.32s ease;
}

.hn-org-card__photo img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hn-org-card:hover .hn-org-card__photo {
  box-shadow: 0 10px 30px rgba(1, 52, 103, 0.18);
}

.hn-org-card:hover .hn-org-card__photo img {
  transform: scale(1.05);
}

.hn-org-card__name {
  transition: color 0.25s ease;
}

.hn-org-card:hover .hn-org-card__name {
  color: #013467;
}

.hn-org-card__hospital {
  transition: opacity 0.25s ease;
}

.hn-org-card:hover .hn-org-card__hospital {
  opacity: 0.8;
}

/* Stagger delay */
.hn-organizers__grid .hn-org-card:nth-child(1) {
  transition-delay: 0s;
}
.hn-organizers__grid .hn-org-card:nth-child(2) {
  transition-delay: 0.04s;
}
.hn-organizers__grid .hn-org-card:nth-child(3) {
  transition-delay: 0.08s;
}
.hn-organizers__grid .hn-org-card:nth-child(4) {
  transition-delay: 0.12s;
}

/* =====================================================
   ANIMATIONS — Keyframes
   ===================================================== */
@keyframes hn-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   SCROLL REVEAL — IntersectionObserver
   ===================================================== */
.hn-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s);
}

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

.hn-reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hn-reveal-stagger.is-visible > *:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.hn-reveal-stagger.is-visible > *:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.08s;
}
.hn-reveal-stagger.is-visible > *:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.16s;
}
.hn-reveal-stagger.is-visible > *:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.24s;
}
.hn-reveal-stagger.is-visible > *:nth-child(5) {
  opacity: 1;
  transform: none;
  transition-delay: 0.32s;
}
.hn-reveal-stagger.is-visible > *:nth-child(6) {
  opacity: 1;
  transform: none;
  transition-delay: 0.4s;
}
.hn-reveal-stagger.is-visible > *:nth-child(7) {
  opacity: 1;
  transform: none;
  transition-delay: 0.48s;
}
.hn-reveal-stagger.is-visible > *:nth-child(8) {
  opacity: 1;
  transform: none;
  transition-delay: 0.56s;
}
.hn-reveal-stagger.is-visible > *:nth-child(n + 9) {
  opacity: 1;
  transform: none;
  transition-delay: 0.6s;
}

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  .hn-reveal,
  .hn-reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hn-about-card,
  .hn-about-card__image img,
  .hn-speaker-card,
  .hn-speaker-card__photo,
  .hn-speaker-card__photo img,
  .hn-org-card,
  .hn-org-card__photo,
  .hn-org-card__photo img,
  .hn-sponsor-logo,
  .hn-sponsor-logo img {
    transition: none;
    animation: none;
  }
}

/* =====================================================
   SECTION: NHÀ TÀI TRỢ
   ===================================================== */
.hn-sponsors {
  background: #fff;
  padding: 64px 0;
  width: 100%;
}

.hn-sponsors__container {
  max-width: 1466px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.hn-sponsors__header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hn-sponsors__heading {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 31.2px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #013467;
  text-align: center;
  margin: 0;
}

.hn-sponsors__tiers {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 64px;
  width: 100%;
}

.hn-sponsors__row-top {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
}

.hn-sponsor-tier {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hn-sponsor-tier--diamond {
  flex-shrink: 0;
}
.hn-sponsor-tier--platinum {
  flex-shrink: 0;
}
.hn-sponsor-tier--gold {
  flex: 1 1 0;
  min-width: 0;
}
.hn-sponsor-tier--silver {
  width: 100%;
}

.hn-sponsor-tier__label {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 24px;
  text-transform: uppercase;
  color: #565e71;
  text-align: center;
  margin: 0;
}

.hn-sponsor-tier__logos {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.hn-sponsor-tier--diamond .hn-sponsor-tier__logos {
  justify-content: center;
  gap: 0;
}
.hn-sponsor-tier--platinum .hn-sponsor-tier__logos {
  gap: 20px;
  justify-content: center;
}
.hn-sponsor-tier--gold .hn-sponsor-tier__logos {
  gap: 20px;
  justify-content: center;
}
.hn-sponsor-tier--silver .hn-sponsor-tier__logos {
  gap: 10px;
  justify-content: center;
}

.hn-sponsor-logo {
  background: #fff;
  border: 1px solid #c3c6d1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition:
    box-shadow 0.28s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease;
}

.hn-sponsor-logo:hover {
  box-shadow: 0 6px 20px rgba(1, 52, 103, 0.12);
  transform: translateY(-3px);
  border-color: #013467;
}

.hn-sponsor-logo img {
  display: block;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hn-sponsor-logo:hover img {
  transform: scale(1.05);
}

.hn-sponsor-logo--diamond {
  width: 348px;
  height: 160px;
  border-radius: 12px;
  padding: 10px;
}
.hn-sponsor-logo--platinum {
  width: 222px;
  height: 130px;
  border-radius: 12px;
  padding: 10px;
}
.hn-sponsor-logo--gold {
  width: 182.76px;
  height: 77.98px;
  border-radius: 8px;
  padding: 8px;
}
.hn-sponsor-logo--silver {
  width: 137px;
  height: 78px;
  border-radius: 8px;
  padding: 10px;
}

.hn-sponsor-logo--diamond img {
  width: 100%;
  height: 100%;
  max-width: 328px;
  max-height: 140px;
}
.hn-sponsor-logo--platinum img {
  width: 202px;
  height: 99px;
}
.hn-sponsor-logo--gold img {
  width: 166px;
  height: 62px;
}
.hn-sponsor-logo--silver img {
  width: 117px;
  height: 58px;
}

/* Stagger animation khi tiers vào viewport */
.hn-sponsors__tiers.is-visible .hn-sponsor-logo {
  animation: hn-fadeInUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hn-sponsors__row-top .hn-sponsor-logo:nth-child(1) {
  animation-delay: 0s;
}
.hn-sponsors__row-top .hn-sponsor-logo:nth-child(2) {
  animation-delay: 0.06s;
}
.hn-sponsors__row-top .hn-sponsor-logo:nth-child(3) {
  animation-delay: 0.12s;
}

.hn-sponsor-tier--silver .hn-sponsor-logo:nth-child(1) {
  animation-delay: 0.05s;
}
.hn-sponsor-tier--silver .hn-sponsor-logo:nth-child(2) {
  animation-delay: 0.1s;
}
.hn-sponsor-tier--silver .hn-sponsor-logo:nth-child(3) {
  animation-delay: 0.15s;
}
.hn-sponsor-tier--silver .hn-sponsor-logo:nth-child(4) {
  animation-delay: 0.2s;
}
.hn-sponsor-tier--silver .hn-sponsor-logo:nth-child(5) {
  animation-delay: 0.25s;
}
.hn-sponsor-tier--silver .hn-sponsor-logo:nth-child(6) {
  animation-delay: 0.3s;
}
.hn-sponsor-tier--silver .hn-sponsor-logo:nth-child(7) {
  animation-delay: 0.35s;
}
.hn-sponsor-tier--silver .hn-sponsor-logo:nth-child(8) {
  animation-delay: 0.4s;
}
.hn-sponsor-tier--silver .hn-sponsor-logo:nth-child(9) {
  animation-delay: 0.45s;
}
.hn-sponsor-tier--silver .hn-sponsor-logo:nth-child(10) {
  animation-delay: 0.5s;
}

.hn-sponsors__btn-wrap {
  display: flex;
  justify-content: center;
}

.hn-sponsors__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ef2f3c;
  border-radius: 4px;
  padding: 12px 32px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 24px;
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 2px 4px -2px rgba(0, 0, 0, 0.1),
    0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition:
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.hn-sponsors__btn:hover {
  background: #d82632;
  color: #fff;
  box-shadow:
    0 4px 8px -2px rgba(0, 0, 0, 0.15),
    0 8px 12px -2px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.hn-sponsors__btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* =====================================================
   SECTION: TESTIMONIALS
   ===================================================== */
.hn-testimonials {
  background: #f3f3f3;
  padding: 64px 0;
  width: 100%;
  position: relative;
}

.hn-testimonials__container {
  max-width: 1466px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

/* Slider: overflow hidden + entrance animation (merged) */
.hn-testimonials__slider {
  width: 100%;
  overflow: hidden;
  min-height: 300px; /* đảm bảo có height để IntersectionObserver detect */
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.hn-testimonials__slider.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hn-testimonial-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.hn-testimonial-item__photo {
  width: 100%;
  height: 262px;
  border-radius: 4px;
  overflow: hidden;
  background: #e5e7eb;
}

.hn-testimonial-item__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hn-testimonial-item__body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.hn-testimonial-item__quote {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 24px;
  color: #101828;
  text-align: center;
  margin: 0;
}

/* Nav buttons: position + opacity (merged) */
.hn-testimonials__nav {
  position: absolute;
  top: 131px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease 0.4s;
}

.hn-testimonials__slider.is-visible ~ .hn-testimonials__nav {
  opacity: 1;
}

.hn-testimonials__btn {
  width: 48px;
  height: 48px;
  border: 1px solid #013467;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  flex-shrink: 0;
  transition:
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.hn-testimonials__btn:hover {
  background: #013467;
  box-shadow: 0 4px 12px rgba(1, 52, 103, 0.2);
  transform: scale(1.08);
}

.hn-testimonials__btn:hover svg path {
  stroke: #fff;
}
.hn-testimonials__btn:active {
  transform: scale(0.96);
}
.hn-testimonials__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.hn-testimonials__btn svg {
  flex-shrink: 0;
}

.hn-testimonials__btn--prev {
  position: absolute;
  left: -60px;
}
.hn-testimonials__btn--next {
  position: absolute;
  right: -60px;
}

.hn-testimonials__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.hn-testimonials__dots > * {
  padding-left: 0 !important;
  margin: 0 4px;
}

.hn-testimonials__dots > * > * {
  display: block;
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c3c6d1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.hn-testimonials__dots > *:hover > * {
  background: #013467;
  transform: scale(1.2);
}
.hn-testimonials__dots > .uk-active > * {
  background: #013467;
  transform: scale(1.3);
}

/* =====================================================
   SECTION: SOCIAL
   ===================================================== */
.hn-social {
  background: #f3f3f3;
  padding: 64px 0;
  width: 100%;
  border-top: 1px solid #c3c6d1;
}

.hn-social-inner {
  display: flex;
  align-items: center;
  gap: 250px;
}

.hn-social__heading-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 60px;
  flex-shrink: 0;
}

.hn-social__heading {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 31.2px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #013467;
  text-align: center;
  margin: 0;
  white-space: nowrap;
}

.hn-social__items {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 120px;
}

.hn-social__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.hn-social__item:hover {
  transform: translateY(-6px);
}

.hn-social__icon {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition:
    filter 0.25s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.hn-social__item:hover .hn-social__icon {
  filter: drop-shadow(0 8px 20px rgba(1, 52, 103, 0.3));
  transform: scale(1.05);
}

.hn-social__icon--facebook svg {
  width: 100px;
  height: 100px;
}
.hn-social__icon--youtube svg {
  width: 93px;
  height: 100px;
}

.hn-social__handle {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 24px;
  color: #013467;
  text-align: center;
  transition: opacity 0.22s ease;
}

.hn-social__item:hover .hn-social__handle {
  opacity: 0.75;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1400px) {
  .hn-speaker-card__photo {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 1200px) {
  .hn-speakers__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .hn-about__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hn-speakers__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hn-speakers__title {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .hn-social__container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .hn-social__heading-wrap {
    height: auto;
  }
  .hn-social__heading {
    white-space: normal;
  }
  .hn-social__items {
    gap: 48px;
  }
}

@media (max-width: 640px) {
  .hn-about {
    padding: 40px 0;
  }
  .hn-about__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hn-speakers__grid {
    grid-template-columns: 1fr;
  }

  .hn-social__items {
    gap: 32px;
  }
  .hn-social__icon--facebook svg {
    width: 72px;
    height: 72px;
  }
  .hn-social__icon--youtube svg {
    width: 67px;
    height: 72px;
  }
}

/* =====================================================
   CUSTOM HEADER — HỘI NGHỊ & CHƯƠNG TRÌNH
   ===================================================== */
.hn-custom-header {
  background: #fff;
  width: 100%;
}

.hn-header-top {
  padding: 15px 0;
  border-bottom: 1px solid #e2e8f0;
}

.hn-header-top-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logos side by side */
.hn-header-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.hn-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

/* Title text */
.hn-header-title {
  flex: 1;
  text-align: left;
  padding: 0 10px;
  font-size: 20px;
}

.hn-title-line1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: #013467;
  margin: 0 0 4px 0;
  text-transform: uppercase;
}

.hn-title-line2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: #013467;
  margin: 0;
  text-transform: uppercase;
}

/* Meta info (Time & Location) */
.hn-header-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.hn-meta-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hn-meta-label {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.hn-meta-value {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #008a3b;
  text-transform: uppercase;
}

.hn-meta-divider {
  width: 1px;
  height: 36px;
  background: #cbd5e1;
}

/* Navigation Menu */
.hn-header-nav {
  background: #fff;
  padding: 14px 0;
}

.hn-menu {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
  flex-wrap: wrap;
}

.hn-menu .menu-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hn-menu .menu-item a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #013467;
  text-decoration: none !important;
  transition: color 0.2s ease;
  text-transform: uppercase;
}

.hn-menu .menu-item a:hover,
.hn-menu .menu-item.current-menu-item a {
  color: #ef2f3c;
}

.hn-home-icon {
  width: 16px;
  height: 16px;
  color: inherit;
}

/* Colorful Ribbon */
.hn-header-ribbon {
  height: 4px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    #013467,
    #013467 8px,
    #ef2f3c 8px,
    #ef2f3c 16px,
    #f2af29 16px,
    #f2af29 24px
  );
}

/* Mobile styles */
.hn-header-mobile {
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.hn-header-mobile-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hn-mobile-logos {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hn-mobile-logos .hn-logo-img {
  height: 44px;
}

.hn-offcanvas-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hn-offcanvas-logos .hn-logo-img {
  height: 52px;
}

#hn-offcanvas .uk-offcanvas-bar {
  background: #fff;
}

#hn-offcanvas .uk-nav-default > li > a {
  color: #364153;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 0;
  border-top: 1px solid var(--border-color);
}

#hn-offcanvas .uk-nav-default > li > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

#hn-offcanvas .uk-offcanvas-bar .uk-icon-button {
  background: var(--primary-color);
}

/* RESPONSIVE HEADERS */
@media (max-width: 959px) {
  .hn-header-top,
  .hn-header-nav {
    display: none !important;
  }
}

@media (max-width: 1200px) {
  .hn-menu {
    gap: 16px;
  }
  .hn-menu-item a {
    font-size: 13px;
  }
  .hn-title-line1 {
    font-size: 18px;
  }
  .hn-title-line2 {
    font-size: 14px;
  }
  .hn-logo-img {
    height: 52px;
  }
}

/* =====================================================
   ADDITIONAL RESPONSIVE FIXES & MOBILE OPTIMIZATIONS
   ===================================================== */

@media (max-width: 1600px) {
  .hn-testimonials__container {
    padding: 0 64px;
  }
  .hn-testimonials__btn--prev {
    left: 8px;
  }
  .hn-testimonials__btn--next {
    right: 8px;
  }
}

@media (max-width: 959px) {
  /* Sponsors responsive stacking */
  .hn-sponsors__row-top {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .hn-sponsor-tier {
    width: 100%;
    align-items: center;
  }

  .hn-sponsor-tier--gold {
    flex: none;
  }

  .hn-sponsor-tier__logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px !important;
  }

  /* Social media section stacking & alignment */
  .hn-social-inner {
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
  }

  .hn-social__heading-wrap {
    height: auto;
    text-align: center;
  }

  .hn-social__heading {
    white-space: normal;
    font-size: 20px;
    line-height: 1.4;
  }

  .hn-social__items {
    flex-direction: row;
    justify-content: center;
    gap: 48px;
    align-items: center;
  }
}

@media (max-width: 768px) {
  /* Testimonials: hide navigation arrows and rely on swipe + dots */
  .hn-testimonials__container {
    padding: 0 16px;
  }

  .hn-testimonials__nav {
    display: none !important;
  }
}

@media (max-width: 576px) {
  /* Speaker cards optimization for smaller viewports */
  .hn-speaker-card__photo {
    width: 120px;
    height: 120px;
  }

  .hn-speaker-card__name {
    font-size: 15px;
  }

  .hn-speaker-card__org {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  /* Sponsor logos scaling for mobile */
  .hn-sponsor-logo--diamond {
    width: 280px;
    height: 128px;
    padding: 8px;
  }

  .hn-sponsor-logo--diamond img {
    max-width: 250px;
    max-height: 110px;
  }

  .hn-sponsor-logo--platinum {
    width: 130px;
    height: 80px;
    padding: 8px;
  }

  .hn-sponsor-logo--platinum img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }

  .hn-sponsor-logo--gold {
    width: 130px;
    height: 70px;
    padding: 6px;
  }

  .hn-sponsor-logo--gold img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }

  .hn-sponsor-logo--silver {
    width: 80px;
    height: 50px;
    padding: 6px;
  }

  .hn-sponsor-logo--silver img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }

  .hn-sponsors__heading {
    font-size: 20px;
    line-height: 1.4;
  }

  /* Social items vertical stack on small screens */
  .hn-social__items {
    gap: 24px;
  }

  .hn-sponsors__container {
    gap: 30px;
  }

  .hn-speakers {
    padding: 40px 0;
  }

  /* header */
  .hn-meta-label,
  .hn-meta-value {
    font-size: 10px;
  }

  .hn-header-meta {
    gap: 6px;
  }
}
