.footer_locations_section {
  position: relative;
  width: 100%;
  padding: 90px 0px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(255, 166, 0, 0.09),
      transparent 30%
    ),
    radial-gradient(circle at 85% 80%, rgba(255, 102, 0, 0.07), transparent 30%);
}

/* =========================
   LOCATION GRID
========================= */

.footer_locations_section .location_list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-top: 30px;
}

/* =========================
   LOCATION CARD
========================= */

.footer_locations_section .location_item {
  --delay: 0s;

  position: relative;
  min-height: 285px;
  padding: 25px 20px;
  overflow: hidden;

  display: flex;
  flex-direction: column;

  background: #050505;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;

  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;

  animation: locationReveal 0.7s ease both;
  animation-delay: var(--delay);
}

.footer_locations_section .location_item::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  top: -80px;
  right: -80px;
  border-radius: 50%;
  background: rgba(255, 137, 30, 0.12);
  filter: blur(5px);
  transition: 0.5s ease;
}

.footer_locations_section .location_item::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff9d2e, transparent);
  opacity: 0;
  transform: scaleX(0);
  transition: 0.4s ease;
}

.location_item:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 157, 46, 0.4);
  /* background: linear-gradient(
    145deg,
    rgba(255, 157, 46, 0.12),
    rgba(255, 255, 255, 0.035)
  ); */
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 137, 30, 0.08);
}

.footer_locations_section .location_item:hover::before {
  width: 220px;
  height: 220px;
  background: rgba(255, 137, 30, 0.17);
}

.footer_locations_section .location_item:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* =========================
   NUMBER
========================= */

.footer_locations_section .location_number {
  position: absolute;
  top: 18px;
  right: 18px;

  color: rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;

  transition: 0.3s ease;
}

.footer_locations_section .location_item:hover .location_number {
  color: rgba(255, 157, 46, 0.65);
}

/* =========================
   FLAG
========================= */

.footer_locations_section .location_flag_wrapper {
  position: relative;
  z-index: 2;

  width: 55px;
  height: 55px;
  margin-bottom: 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;

  transition:
    transform 0.4s ease,
    border-color 0.3s ease;
}

.footer_locations_section .location_flag {
  width: 34px;
  height: 25px;
  object-fit: cover;
  border-radius: 3px;

  transition: transform 0.4s ease;
}

.footer_locations_section .location_item:hover .location_flag_wrapper {
  transform: rotate(-4deg) scale(1.08);
  border-color: rgba(255, 157, 46, 0.4);
}

.footer_locations_section .location_item:hover .location_flag {
  transform: scale(1.08);
}

/* =========================
   CONTENT
========================= */

.footer_locations_section .location_content {
  position: relative;
  z-index: 2;
}

.footer_locations_section .location_country {
  display: block;
  margin-bottom: 5px;

  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer_locations_section .location_city {
  margin: 0 0 8px;

  color: #fff;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.5px;

  transition: color 0.3s ease;
}

.footer_locations_section .location_item:hover .location_city {
  color: #ffae38;
}

.footer_locations_section .location_description {
  max-width: 160px;
  margin: 0;

  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.65;
}

/* =========================
   ARROW
========================= */

.footer_locations_section .location_arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;

  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;

  color: rgba(255, 255, 255, 0.45);
  font-size: 16px;

  transition:
    transform 0.4s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.footer_locations_section .location_item:hover .location_arrow {
  color: #fff;
  border-color: #ff9d2e;
  background: #ff8b22;
  transform: translate(3px, -3px);
}

/* =========================
   BOTTOM
========================= */

.footer_locations_section .locations_bottom {
  margin-top: 45px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.footer_locations_section .locations_bottom span {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2));
}

.footer_locations_section .locations_bottom span:last-child {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
}

.footer_locations_section .locations_bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* =========================
   ANIMATION
========================= */

@keyframes locationReveal {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (min-width: 767px) and (max-width: 1100px) {
  .footer_locations_section .location_list {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer_locations_section .location_item {
    min-height: 260px;
  }
}

@media (min-width: 576.98px) and (max-width: 767px) {
  .footer_locations_section {
    padding: 65px 15px;
  }

  .footer_locations_section .location_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .footer_locations_section .location_item {
    min-height: 245px;
    padding: 20px 17px;
  }

  .footer_locations_section .location_flag_wrapper {
    width: 48px;
    height: 48px;
    margin-bottom: 28px;
  }

  .footer_locations_section .location_flag {
    width: 30px;
    height: 21px;
  }

  .footer_locations_section .location_city {
    font-size: 20px;
  }

  .footer_locations_section .location_description {
    font-size: 11px;
  }
}

@media (min-width: 0px) and (max-width: 575.98px) {
  .footer_locations_section .location_list {
    grid-template-columns: 1fr;
  }

  .footer_locations_section .location_item {
    min-height: 190px;
  }

  .footer_locations_section .location_flag_wrapper {
    margin-bottom: 20px;
  }

  .footer_locations_section .locations_bottom {
    gap: 10px;
  }

  .footer_locations_section .locations_bottom span {
    width: 30px;
  }

  .footer_locations_section .locations_bottom p {
    font-size: 9px;
    text-align: center;
  }
}
