@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap");

* {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 400;
}

.footer1 {
  display: flex;
  justify-content: space-between;
  padding: 20px 30px;
}

.footer1-section1 {
  width: 15%;
  display: flex;
}

.fs1-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fs1-list a {
  text-decoration: none;
  color: #080d10;
  font-size: 20px;
  font-weight: 400;
  transition: all 0.3s ease-in;
}

.fs1-list a:hover {
  color: #ff7a00;
}

.footer1-section2 {
  width: 25%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fs2-icon-list {
  display: flex;
  gap: 10px;
}

.footer-icon {
  /* width: 25%; */
  padding: 20px;
  background-color: #f5f6f6;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.footer-icon:hover {
  filter: invert(1);
}

.footer1-section3 {
  width: 42%;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fs3-country-row {
  display: flex;
  gap: 7px;
  width: 100%;
}

.country-details {
  border: 1px solid rgb(233, 233, 233);
  border-radius: 10px;
  width: 50%;
  padding: 20px;
  box-sizing: border-box;
  text-decoration: none;
  color: black;
}

.cd {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.country-details:hover {
  border: 1px solid #080d10;
}

.last-one {
  width: 100%;
}

.country-name-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.country-name-arrow p {
  font-size: 12px;
  margin: 0;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.country-name-arrow p i {
  font-size: 24px;
}

.c-flag {
  width: 15%;
  object-fit: contain;
}

.flag3 {
  width: 8%;
}

.footer2 {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
  margin-bottom: 20px;
}

.f2-section1 {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  padding: 0 20px;
}

.f2s1-left-topics {
  display: flex;
  gap: 15px;
}

.f2s1-left-topics a,
.f2s1-right-topics a {
  text-decoration: none;
  font-size: 12px;
  color: black;
  font-weight: 600;
  letter-spacing: 1.5px;
  transition: color 0.3s ease-in-out;
}

.f2s1-left-topics a:hover {
  color: #ff7a00;
}

.f2-section2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  border-top: 1px solid rgb(233, 233, 233);
  border-bottom: 1px solid rgb(233, 233, 233);
}

.f2s2-images {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.logo-box {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #e5e5e5;
  padding: 30px 20px;
  height: 20vh;
}

.logo-box:last-child {
  border-right: none;
}

.logo-box img {
  max-width: 100%;
  width: 100%;
  transition: 0.4s ease;
}

.logo-box:nth-child(-n + 3) img {
  width: 50%;
}

.logo-box img:hover {
  opacity: 0.7;
}

.f2-section3 {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

.f2s3-part1 {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.all-services-text {
  font-size: 24px;
  font-weight: 500;
}

.f2s3-part1 img {
  width: 2%;
}

.f2s3-part2 {
  width: 90%;
  display: flex;
  justify-content: space-between;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.f2s3-part2.active {
  max-height: 1000px;
}

#footer-arrow {
  transition: transform 0.3s ease;
}

.f2s3-part2-c1 a {
  color: #080d10;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.f2s3-part2-c1 p {
  display: flex;
  cursor: pointer;
  margin-bottom: 20px;
  position: relative;
}

.f2s3-part2-c1 .arrow-icon {
  order: 2;
  margin-left: 5px;
  transition:
    transform 0.3s ease,
    order 0.3s ease;
}

.f2s3-part2-c1 a:hover .arrow-icon {
  order: 0;
  margin-left: 0;
  margin-right: 5px;
}

.f2s3-part2-c1 p span {
  position: relative;
  padding-bottom: 7px;
  order: 1;
}

.f2s3-part2-c1 p span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background-color: #080d10;
  transform: scaleX(1);
  transform-origin: bottom right;
  transition: transform 0.4s ease;
}

.f2s3-part2-c1 a:hover p span::after {
  animation: hoverRedraw 0.4s ease forwards;
}

@keyframes hoverRedraw {
  0% {
    transform: scaleX(1);
    transform-origin: bottom right;
  }

  40% {
    transform: scaleX(0);
    transform-origin: bottom right;
  }

  41% {
    transform: scaleX(0);
    transform-origin: bottom left;
  }

  100% {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
}

@media (max-width: 850px) {
  .footer1 {
    flex-wrap: wrap;
  }

  .footer1-section1,
  .footer1-section2 {
    width: 50%;
  }

  .footer1-section3 {
    width: 100%;
    margin-top: 30px;
  }

  .f2-section1 {
    flex-direction: column-reverse;
  }

  .f2s1-left-topics {
    display: inline-block;
    flex-direction: row;
  }

  .f2s2-images {
    display: flex;
    flex-wrap: wrap;
  }

  .logo-box {
    width: 30.33%;
    flex: 0 0 30.33%;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
  }

  .logo-box:nth-child(3),
  .logo-box:nth-child(6) {
    border-right: none;
  }

  .logo-box:nth-child(n + 4) {
    border-bottom: none;
  }

  .f2s3-part2 {
    width: 100%;
    flex-wrap: wrap;
  }

  .c-flag {
    width: 30px;
    height: 30px;
    object-fit: contain;
  }

  .flag3 {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 650px) {
  .footer1 {
    flex-direction: column;
  }

  .footer1-section2 {
    width: 100%;
    margin-top: 30px;
  }

  .f2s1-left-topics {
    flex-direction: column;
    gap: 0;
  }

  .fs3-country-row {
    flex-wrap: wrap;
  }

  .country-details {
    width: 100%;
    padding: 15px;
  }

  .footer1-section1 {
    width: 100%;
  }

  .fs1-list a {
    font-size: 16px;
  }

  .f2s3-part1 img {
    width: 6%;
  }

  .f2s3-part2 {
    flex-direction: column;
  }

  .c-flag {
    width: 13%;
  }
  .logo-box {
    flex: 0 0 50%;
    border: 1px solid #e5e5e5 !important;
    border-left: none;
    border-right: none;
  }
}
