/* Visim "Countries We Help Immigrate" marquee — scoped for Way2Fly */

.offer-country-section {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 90px 40px 110px;
  overflow: hidden;
  background-color: #081828;
  background-image: url("../imgs/home-5/countries-bg-1-1.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.offer-country-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(8, 24, 40, 0.45);
  pointer-events: none;
}

.offer-country-section > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 991.98px) {
  .offer-country-section {
    padding: 60px 24px 50px;
  }
}

@media (max-width: 575.98px) {
  .offer-country-section {
    padding: 50px 16px 40px;
  }
}

.offer-country-section .title-one {
  text-align: center;
  margin-bottom: 70px;
}

@media (max-width: 767.98px) {
  .offer-country-section .title-one {
    margin-bottom: 36px;
  }
}

.offer-country-section .title-one .title {
  font-family: 'Ethnocentric', 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #ffffff;
  margin: 0;
}

@keyframes w2f-marqueslide {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@keyframes w2f-marqueslide-reverse {
  from { transform: translateX(-100%); }
  to { transform: translateX(0%); }
}

.offer-country-section .country-list {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 28px 0;
}

.offer-country-section .country-list::before,
.offer-country-section .country-list::after {
  position: absolute;
  top: 0;
  width: min(250px, 12vw);
  height: 100%;
  content: "";
  z-index: 2;
  pointer-events: none;
}

.offer-country-section .country-list::before {
  left: 0;
  background: linear-gradient(90deg, #081828 0%, rgba(8, 24, 40, 0) 100%);
}

.offer-country-section .country-list::after {
  right: 0;
  background: linear-gradient(270deg, #081828 0%, rgba(8, 24, 40, 0) 100%);
}

.offer-country-section .country-wrapper {
  display: flex;
  align-items: center;
  animation: 35s w2f-marqueslide infinite linear;
  flex-shrink: 0;
}

.offer-country-section .country-list-two .country-wrapper {
  animation: 35s w2f-marqueslide-reverse infinite linear;
}

.offer-country-section .country-list:hover .country-wrapper {
  animation-play-state: paused;
}

.offer-country-section .country-list .item {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  border-radius: 55px;
  padding: 12px 40px 12px 12px;
  gap: 15px;
  margin-left: 15px;
  margin-right: 15px;
  background: #ffffff;
  flex-shrink: 0;
}

.offer-country-section .country-list .item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.offer-country-section .country-list .item span {
  font-size: clamp(16px, 2vw, 28px);
  font-weight: 500;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #111;
  line-height: 1.2;
}

@media (max-width: 767.98px) {
  .offer-country-section .country-list .item {
    padding: 8px 22px 8px 8px;
    gap: 10px;
    margin-left: 8px;
    margin-right: 8px;
  }

  .offer-country-section .country-list .item img {
    width: 36px;
    height: 36px;
  }
}
