/* Footer Section starts */

.footer-section {
  padding-top: 14em;
  width: 100%;
  background: #fff;
}

.footer-container {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 2em;
  width: 100%;
  color: var(--primary-color-light);
  padding: 3%;
  padding-top: 5em;
  padding-bottom: 1%;
  background: var(--primary-color);
  border-top: 1px solid #cecece;
}

.footer-container .footer-content {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 1.5em;
}

.footer-content .about-company {
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 1em;
  font-family: 'Poppins', sans-serif;
  margin-top: 2%;
}

.footer-content .about-company .desc {
  margin-top: .25em;
}

.footer-content .about-company .title {
  font-family: Manrope;
  font-weight: 600;
  font-size: 2em;
}

.footer-content .about-company .follow-title {
  font-weight: 500;
  font-size: 1.25em;
  margin: 1em 0 0;
}

.footer-content .about-company .social-icons-container {
  display: flex;
  align-items: center;
  margin-top: 5%;
  gap: 1.25em;
}

.footer-content .about-company .social-icons-container a {
  text-decoration: none;
  border-radius: 50%;
  border: 1.5px solid rgb(255, 255, 255, 50%);
  aspect-ratio: 1;
  width: 45px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
}
.footer-content .about-company .social-icons-container a:hover {
  translate: 0 -5px;
}

.footer-content .about-company .social-icons-container a svg {
  fill: #fff;
}

.footer-content .quick-links {
  margin-left: 5em;
}

.footer-content .quick-links,
.footer-content .contact {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  gap: 2.5em;
  width: 17%;
  font-family: 'Poppins', sans-serif;
  text-transform: capitalize;
}
.footer-content .quick-links .title,
.footer-content .contact .title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  color: rgba(255, 255, 255, 60%);
  font-weight: 500;
  font-size: 1.5em;
}
.footer-content .quick-links .container,
.footer-content .contact .container {
  display: flex;
  justify-content: start;
  align-items: start;
  height: 100%;
  position: relative;
}

.link-container,
.info-container {
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  gap: 2em;
  font-family: 'Poppins', sans-serif;
  color: var(--primary-color-light);
  margin-left: calc(30px + 1em);
}

.link-container .info,
.info-container .info {
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  gap: 0.5em;
}

.link-container .info .desc:hover,
.info-container .info .desc:hover {
  text-decoration: underline;
  cursor: pointer;
}

.link-container .info .desc.num,
.info-container .info .desc.num {
  letter-spacing: 2px;
}

.link-container .info .title,
.info-container .info .title {
  font-weight: 500;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 10px;
  color: #ffffff99;
}

.link-container .info .desc,
.info-container .info .desc {
  color: var(--primary-color-light);
  font-size: 1em;
  text-transform: none;
}

.link-container a,
.info-container a {
  color: #ffffff99;
  font-weight: 300;
}

.link-container a.active,
.info-container a.active {
  color: var(--primary-color-light);
  font-weight: 500;
  position: relative;
}

.link-container a.active::before {
  content: "";
  position: absolute;
  left: -33.5px;
  top: 0;
  height: 100%;
  width: 4.25px;
  background-color: #ffffff;
}


.footer-content .quick-links .container .divider,
.footer-content .contact .container .divider {
  width: 30px;
  height: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
}

.footer-content .quick-links .container .divider .background,
.footer-content .contact .container .divider .background {
  width: 10%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
}

.footer-content .quick-links .container .divider .background.active,
.footer-content .contact .container .divider .background.active {
  width: 20%;
  height: 15%;
  background: var(--primary-color-light);
  position: absolute;
  left: 50%;
  translate: -50% 0;
  top: 0;
}

.footer-content .contact {
  width: 23%;
}

.footer-container .scroll-up {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-container .scroll-up .container {
  width: 100%;
  border-radius: 50%;
  background: var(--primary-color-light);
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  max-width: 70px;
}

.footer-container .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-color-light);
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  width: 100%;
}

.footer-container .footer-bottom .footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: fit-content;
  white-space: nowrap;
  gap: 1em;
  font-family: 'Poppins', sans-serif;
  color: var(--primary-color-light);
  list-style: none;
}

.footer-container .footer-bottom .footer-nav a {
  text-decoration: none;
}

.footer-container .footer-bottom .footer-nav p {
  width: 5px;
  height: fit-content;
  aspect-ratio: 1;
  display: flex;
  background: var(--primary-color-light);
  border-radius: 50%;
  pointer-events: none;
}

.footer-container .footer-bottom .copyright {
  display: flex;
  width: max-content;
  text-wrap: wrap;
  font-size: 1em;
  color: rgb(255, 255, 255, 75%);
  opacity: 0.8;
}

.footer-container .footer-bottom .copyright .tag {
  font-size: 1em;
  color: var(--primary-color-light);
  font-weight: 500;
}

.footer-container .footer-bottom .copyright .highlight {
  font-weight: 500;
  color: var(--primary-color-light);
}

/* Footer Section ends */

@media screen and (max-width: 768px) {
  .link-container .info .title,
  .info-container .info .title {
    letter-spacing: 6px;
    font-size: 0.875em;
  }
}

@media (max-width: 1400px) {
  .footer-container {
    gap: 2em;
  }

  .footer-content .about-company {
    width: 37%;
  }

  .footer-content .quick-links,
  .footer-content .contact {
    width: 20%;
  }

  .footer-content .contact .container .link-container,
  .footer-content .quick-links .container .link-container,
  .footer-content .contact .container .info-container,
  .footer-content .quick-links .container .info-container {
    font-size: 1em;
  }

  .footer-nav {
    width: 100%;
  }

  .footer-container .footer-bottom {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .copyright {
    margin: 3em 0 2em;
  }
  .footer-section {
    padding-top: 10em;
  }
  .footer-container .scroll-up {
    display: none;
    .container {
      width: 0%;
    }
  }

  .quick-links {
    display: none !important;
  }

  .footer-container {
    gap: 1.5em;
    padding-left: 6%;
  }

  .footer-container .footer-content {
    flex-direction: column;
    gap: 2em;
  }

  .footer-content .about-company img {
    width: 40%;
  }

  .footer-content .about-company {
    width: 70%;
    gap: 0.5em;
  }
  .footer-content .about-company .title {
    font-size: 2em;
  }

  .footer-content .about-company .desc {
    font-size: 0.938em;
    margin: 1em;
    margin-left: 0;
    line-height: 24px;
  }

  .footer-content .about-company .follow-title {
    font-size: 1em;
    margin-top: 2%;
  }

  .footer-content .about-company .social-icons-container {
    width: 60%;
    margin-top: 3%;
  }

  .footer-content,
  .footer-content .contact {
    width: 100%;
    gap: 1.5em;
  }
  .footer-content .contact > .title{
    font-size: 1.5em;
  }

  .footer-content  .title {
    font-size: 0.875;
  }

  .footer-content .container,
  .footer-content .contact .container {
    .link-container,
    .info-container {
      font-size: 1em;
      gap: 1.5em;
      margin-left: calc(30px + 0.5em);
    }
  }

  .footer-container .footer-bottom {
    flex-direction: column-reverse;
    gap: 1em;
  }

  .footer-container .footer-bottom .footer-nav {
    flex-direction: column;
    align-items: start;
    align-self: self-start;
    width: 90%;
    font-size: 0.9em;
    flex-wrap: wrap;
    gap: 0.75em;
  }

  .footer-content .contact .container .divider{
    height: 180%;
  }

  .footer-container .footer-bottom .footer-nav li{
    list-style:outside !important;
    font-size: 1.112em;
  }

  .footer-container .footer-bottom .footer-nav a {
    width: fit-content;
  }
  .footer-container .footer-bottom .footer-nav p {
    display: none;
  }

  .footer-container .footer-bottom {
    align-items: center;
  }
  .footer-container .footer-bottom .footer-nav {
    width: fit-content;
    p {
      display: none;
    }
  }
}

@media (max-width: 420px) {
  .footer-container .footer-bottom {
    width: fit-content;
  }

  .footer-container .scroll-up {
    display: none;
  }
  .footer-container .scroll-up .container {
    width: 0%;
  }

  .footer-content .about-company {
    width: 100%;
  }
}


/* Display none for footer link items  */
.link-container a:nth-last-child(-n+2) {
  display: none;
}
