/* ==========================================================
   IPDAY 2026
   FOOTER
========================================================== */

.footer-section {
  position: relative;

  width: 100%;

  margin: 0;

  padding: 75px 0 28px;

  overflow: hidden;

  color: #ffffff;

  background: linear-gradient(135deg, #123d30 0%, #0b3026 55%, #08271f 100%);
}

/* Gold line */

.footer-section::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 4px;

  background: linear-gradient(90deg, #9d6c00, #ffd54a, #ffbf00, #9d6c00);
}

/* ==========================================================
   BRAND
========================================================== */

.footer-brand {
  display: flex;

  align-items: center;

  gap: 18px;

  margin-bottom: 22px;
}

.footer-logo {
  width: 92px;

  height: 92px;

  flex-shrink: 0;

  object-fit: cover;

  border: 4px solid rgba(255, 255, 255, 0.9);

  border-radius: 50%;

  background: #ffffff;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.footer-title {
  margin: 0 0 5px;

  color: #ffffff;

  font-family: "Montserrat", sans-serif;

  font-size: 28px;

  font-weight: 700;

  line-height: 1.2;
}

.footer-tagline {
  margin: 0;

  color: #ffd54a;

  font-family: "Poppins", sans-serif;

  font-size: 12px;

  font-weight: 600;

  line-height: 1.4;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.footer-text {
  max-width: 510px;

  margin: 0 0 17px;

  color: rgba(255, 255, 255, 0.8);

  font-family: "Poppins", sans-serif;

  font-size: 14px;

  line-height: 1.8;
}

.footer-organizer {
  margin: 0;

  color: rgba(255, 255, 255, 0.67);

  font-size: 13px;
}

.footer-organizer strong {
  color: #ffffff;
}

/* ==========================================================
   HEADINGS
========================================================== */

.footer-heading {
  position: relative;

  display: inline-block;

  margin: 5px 0 26px;

  padding-bottom: 11px;

  color: #ffffff;

  font-family: "Montserrat", sans-serif;

  font-size: 19px;

  font-weight: 600;
}

.footer-heading::after {
  content: "";

  position: absolute;

  bottom: 0;

  left: 0;

  width: 44px;

  height: 3px;

  border-radius: 999px;

  background: #ffd54a;
}

/* ==========================================================
   LINKS
========================================================== */

.footer-links {
  margin: 0;

  padding: 0;

  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  color: rgba(255, 255, 255, 0.78);

  font-family: "Poppins", sans-serif;

  font-size: 14px;

  line-height: 1.5;

  text-decoration: none;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-links a::before {
  content: "›";

  color: #ffd54a;

  font-size: 19px;

  line-height: 1;

  transition: transform 0.25s ease;
}

.footer-links a:hover {
  color: #ffd54a;

  transform: translateX(5px);
}

.footer-links a:hover::before {
  transform: translateX(2px);
}

/* Document links already contain folder icons */

.footer-document-links a::before {
  display: none;
}

.footer-folder {
  width: 20px;

  color: #ffd54a;

  text-align: center;

  transition: transform 0.25s ease;
}

.footer-document-links a:hover .footer-folder {
  transform: scale(1.14);
}

/* ==========================================================
   FOOTER BOTTOM
========================================================== */

.footer-divider {
  height: 1px;

  margin: 45px 0 24px;

  border: 0;

  opacity: 1;

  background: rgba(255, 255, 255, 0.13);
}

.footer-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;
}

.copyright {
  margin: 0;

  color: rgba(255, 255, 255, 0.65);

  font-size: 13px;
}

.footer-social {
  display: flex;

  align-items: center;

  gap: 10px;
}

.footer-social a {
  width: 39px;

  height: 39px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.18);

  border-radius: 50%;

  color: #ffffff;

  background: rgba(255, 255, 255, 0.08);

  text-decoration: none;

  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.footer-social a:hover {
  border-color: #ffd54a;

  color: #123d30;

  background-color: #ffd54a;

  transform: translateY(-3px);
}

/* ==========================================================
   BACK TO TOP
========================================================== */

#backToTop {
  position: fixed;

  right: 24px;

  bottom: 24px;

  z-index: 999;

  width: 54px;

  height: 54px;

  display: flex;

  align-items: center;

  justify-content: center;

  border: 0;

  border-radius: 50%;

  color: #123d30;

  background: #ffd54a;

  font-size: 20px;

  cursor: pointer;

  opacity: 0;

  visibility: hidden;

  transform: translateY(15px);

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background-color 0.3s ease;
}

#backToTop.show {
  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}

#backToTop:hover {
  background-color: #ffe27a;

  transform: translateY(-4px);
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 991.98px) {
  .footer-section {
    padding-top: 62px;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-section .col-lg-5,
  .footer-section .col-lg-3,
  .footer-section .col-lg-4 {
    text-align: center;
  }

  .footer-text {
    margin-right: auto;

    margin-left: auto;
  }

  .footer-heading::after {
    left: 50%;

    transform: translateX(-50%);
  }

  .footer-links a {
    justify-content: center;
  }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767.98px) {
  .footer-section {
    padding: 55px 0 25px;
  }

  .footer-brand {
    flex-direction: column;

    gap: 13px;

    text-align: center;
  }

  .footer-title {
    font-size: 25px;
  }

  .footer-heading {
    margin-bottom: 21px;
  }

  .footer-divider {
    margin: 35px 0 22px;
  }

  .footer-bottom {
    flex-direction: column;

    text-align: center;
  }

  #backToTop {
    right: 17px;

    bottom: 17px;

    width: 49px;

    height: 49px;
  }
}
