@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;800&display=swap");

/* =========================
   RESET & BASE
========================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", Arial, sans-serif;
  background: #ffffff;
}

/* =========================
   SHARED CONTAINER
========================= */
.footer-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 25px;
}

/* =========================
   SPONSORS BAND
========================= */
.footer-sponsors {
  overflow: hidden;
  background: #f5f8fa;
  padding: 30px 0 44px;
  border-top: 1px solid #e0e0e0;
}

.sponsor-group {
  margin-bottom: 28px;
}

.sponsor-heading {
  margin-bottom: 22px;
  color: #06285a;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-transform: capitalize;
  letter-spacing: 0;
}

/* =========================
   PLATINUM + GOLD LOGO ROWS
========================= */
.sponsor-logos {
  display: grid;
  grid-template-columns: repeat(5, 213.6px);
  justify-content: center;
  gap: 18px 44px;
}

/* EXACT BOX SIZE */
.sponsor-logos img {
  width: 213.6px;
  height: 123.6px;
  display: block;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #b8b8b8;
  object-fit: contain;
  filter: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sponsor-logos img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* Gold sponsors: 6 equal boxes */
.sponsor-group:nth-child(2) .sponsor-logos {
  grid-template-columns: repeat(6, 213.6px);
  gap: 8px;
}

/* =========================
   COMMUNITY / PUBLICATION /
   MEDIA / INSIGHTS PARTNERS
========================= */
.sponsor-partners-row{
    display: grid;
    grid-template-columns: repeat(2, 250px);
    justify-content: center;
    gap: 80px;
    margin: 18px 0 52px;
}


.sponsor-partner-item {
  width: 100%;
  min-width: 0;
  text-align: center;
}

/* Keep headings on one line like the second image */
.sponsor-partner-item .sponsor-heading {
  width: 100%;
  min-height: 33px;
  margin-bottom: 23px;
  white-space: nowrap;
  font-size: 27px;
  text-align: center;
}

/* Keep logo boxes same fixed size */
.sponsor-partner-item img {
  width: 213.6px;
  height: 123.6px;
  display: block;
  margin: 0 auto;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #b8b8b8;
  object-fit: contain;
}

.sponsor-partner-item img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* =========================
   SUPPORTING ASSOCIATIONS
   SAME SIZE BOX + MOVING ROW
========================= */
.sponsor-group:last-child {
  margin-bottom: 0;
}

/* Supporting Associations - small equal logo boxes */
.assoc-logos {
  width: max-content;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 22px;
  padding: 8px 0;
  animation: associationMove 32s linear infinite;
  will-change: transform;
}

.assoc-logos img {
  width: 190px;
  height: 105px;
  flex: 0 0 190px;
  display: block;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #b8b8b8;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Small zoom on hover */
.assoc-logos img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  position: relative;
  z-index: 5;
}

/* Pause moving row when cursor is on it */
.assoc-logos:hover {
  animation-play-state: paused;
}

/* Continuous right-to-left movement */
@keyframes associationMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Pause moving row while checking a logo */
.assoc-logos:hover {
  animation-play-state: paused;
}
/* =========================
   MAIN FOOTER BODY
========================= */
.footer-body {
  padding: 60px 0 48px;
  background: #01253f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1.2fr;
  gap: 40px 60px;
  align-items: start;
}

/* =========================
   FOOTER COLUMN HEADINGS
========================= */
.footer-col-heading {
  margin-bottom: 18px;
  padding-bottom: 10px;
  color: #ffca05;
  border-bottom: 2px solid rgba(255, 202, 5, 0.25);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* =========================
   ABOUT
========================= */
.footer-about p {
  color: #b0b8cc;
  font-size: 14.5px;
  line-height: 1.85;
}

/* =========================
   QUICK LINKS
========================= */
.footer-links ul {
  list-style: none;
}

.footer-links ul li a {
  display: block;
  padding: 9px 0;
  color: #b0b8cc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links ul li:last-child a {
  border-bottom: none;
}

.footer-links ul li a:hover {
  padding-left: 8px;
  color: #ffca05;
}

/* =========================
   CONTACT
========================= */
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  list-style: none;
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #b0b8cc;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact ul li i {
  width: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: #ffca05;
  font-size: 15px;
  text-align: center;
}

.footer-contact ul li a {
  color: #b0b8cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact ul li a:hover {
  color: #ffca05;
}

/* =========================
   SOCIAL ICONS
========================= */
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0b8cc;
  background: transparent;
  border: 1.5px solid rgba(255, 202, 5, 0.4);
  border-radius: 50%;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease,
    color 0.25s ease, transform 0.25s ease;
}

.footer-socials a:hover {
  color: #111111;
  background: #ffca05;
  border-color: #ffca05;
  transform: translateY(-3px);
}

/* =========================
   COPYRIGHT BAR
========================= */
.footer-copyright {
  padding: 16px 0;
  background: #01253f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright p {
  color: #6b7280;
  font-size: 13px;
  text-align: center;
  letter-spacing: 0.02em;
}

/* =========================
   TABLET
========================= */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 40px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .sponsor-logos,
  .sponsor-group:nth-child(2) .sponsor-logos {
    grid-template-columns: repeat(3, 213.6px);
    gap: 18px;
  }

  .sponsor-partners-row {
    grid-template-columns: repeat(2, 213.6px);
    gap: 35px 80px;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 640px) {
  .footer-sponsors {
    padding: 32px 0 24px;
  }

  .footer-container {
    padding: 0 18px;
  }

  .sponsor-heading {
    margin-bottom: 16px;
    font-size: 22px;
  }

  .sponsor-group {
    margin-bottom: 34px;
  }

  .sponsor-logos,
  .sponsor-group:nth-child(2) .sponsor-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .sponsor-logos img {
    width: 100%;
    height: 105px;
    padding: 12px;
  }

  .sponsor-partners-row {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 42px;
  }

  .sponsor-partner-item img {
    width: min(213.6px, 100%);
    height: 123.6px;
  }

  .assoc-logos {
    gap: 12px;
    animation-duration: 20s;
  }

  .assoc-logos img {
    width: 140px;
    height: 75px;
    padding: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-body {
    padding: 40px 0 32px;
  }

  .footer-copyright p {
    font-size: 12px;
  }
}

/* =========================
   ACCESSIBILITY
========================= */
@media (prefers-reduced-motion: reduce) {
  .sponsor-logos img,
  .sponsor-partner-item img,
  .footer-links ul li a,
  .footer-socials a,
  .assoc-logos {
    animation: none;
    transition: none;
  }
}