/* banner  */
.banner {
  color: var(--black-color);
  text-align: center;
  padding-top: var(--banner-padding);
}
.banner-content {
  margin: 0 auto;
  max-width: 914px;
  position: relative;
}
.banner-content .banner-tag {
  margin-bottom: 20px;
}
.banner-content .banner-title {
  font-weight: 300;
}
.banner-content .banner-desc {
  max-width: 90%;
  margin: 20px auto 0;
}
.banner-content .btn {
  margin-top: 49px;
}
.banner.section-fixed {
  padding-bottom: calc(
    var(--section-padding) + var(--fixed-section-overlap-spacing)
  );
}

/* fixed banner */
.home-banner,
.home-banner .banner-fixed-wrapper {
  height: 100vh;
}
.banner-fixed-wrapper {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding-top: var(--banner-padding);
  padding-bottom: var(--section-padding);
}

@media (max-width: 991px) {
  .home-banner,
  .home-banner .banner-fixed-wrapper {
    height: 80vh;
  }
}

/* partner banner */
.banner.partner-banner,
.partner-banner .banner-fixed-wrapper {
  height: 75vh;
}

.banner.partner-banner {
  background: linear-gradient(270deg, #00d2a9 0%, #003222 100%);
  text-align: left;
}

.partner-banner .partner-banner-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 138px;
}
.partner-banner .partner-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 245px;
  object-fit: contain;
  object-fit: top left;
}
.partner-banner .partner-desc {
  max-width: 891px;
}

@media (max-width: 1280px) {
  .partner-banner .partner-banner-wrapper {
    gap: 80px;
  }

  .partner-banner .partner-logo {
    max-width: 200px;
  }
}

@media (max-width: 991px) {
  .partner-banner .partner-banner-wrapper {
    gap: 40px;
  }

  .partner-banner .partner-logo {
    max-width: 180px;
  }

  .partner-banner .partner-desc {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .banner.partner-banner,
  .partner-banner .banner-fixed-wrapper {
    height: 65vh;
  }
  .partner-banner .partner-banner-wrapper {
    flex-direction: column;
    gap: 32px;
  }
}
/* fixed section  */
.section-fixed {
  overflow: hidden;
}
/* section after fixed section  */
.section-fixed + section {
  border-top-left-radius: var(--large-border-radius);
  border-top-right-radius: var(--large-border-radius);
  box-shadow: 0px -47px 53.6px -50px var(--black-color-25);
  position: relative;
  margin-top: calc(var(--fixed-section-overlap-spacing) * -1);
  background-color: var(--white-color);
}

@media (max-width: 1280px) {
  .section-fixed + section {
    box-shadow: 0px -35px 45px -40px var(--black-color-25);
  }
}

@media (max-width: 991px) {
  .section-fixed + section {
    box-shadow: 0px -25px 35px -30px var(--black-color-25);
  }
}

@media (max-width: 575px) {
  .section-fixed + section {
    box-shadow: 0px -15px 25px -20px var(--black-color-25);
  }
}

/* section header with link  */
.section-header-link-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 35px;
  gap: 20px;
}
.section-header-link-wrap .section-header-link {
  color: var(--primary-color);
  position: relative;
  padding-right: 16px;
}
.section-header-link-wrap .section-header-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  background-color: currentColor;
  width: 0%;
  transition: var(--normal-transition);
}
.section-header-link-wrap .section-header-link:hover::after {
  width: 100%;
}

.section-header-link-wrap .section-header-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: auto;
  right: 0;
  transform: translateY(-50%);
  display: inline-block;
  width: 6px;
  height: 11px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 11' fill='none'><path d='M5.85361 5.8534L0.85413 10.8531C0.658525 11.0487 0.342308 11.0487 0.146703 10.8531C-0.0489012 10.6575 -0.0489012 10.3413 0.146703 10.1457L4.79309 5.49967L0.146703 0.853682C-0.0482762 0.658693 -0.0482762 0.341836 0.146703 0.146222C0.341683 -0.0493918 0.658525 -0.0493918 0.85413 0.146222L5.85361 5.14594C6.04921 5.34093 6.04921 5.65778 5.85361 5.85277V5.8534Z' fill='white'/></svg>")
    no-repeat center;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 11' fill='none'><path d='M5.85361 5.8534L0.85413 10.8531C0.658525 11.0487 0.342308 11.0487 0.146703 10.8531C-0.0489012 10.6575 -0.0489012 10.3413 0.146703 10.1457L4.79309 5.49967L0.146703 0.853682C-0.0482762 0.658693 -0.0482762 0.341836 0.146703 0.146222C0.341683 -0.0493918 0.658525 -0.0493918 0.85413 0.146222L5.85361 5.14594C6.04921 5.34093 6.04921 5.65778 5.85361 5.85277V5.8534Z' fill='white'/></svg>")
    no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

@media only screen and (max-width: 768px) {
  .section-header-link-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* common box  */

.common-box-wrapper-3 > .box {
  width: 100%;
  max-width: calc(33.33% - (70px / 3));
  flex: 0 0 calc(33.33% - (70px / 3));
}
.common-box-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 35px;
}
.common-box-wrapper .box {
  background-color: var(--gray-f4);
  border-radius: 12px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.common-box-wrapper .box .box-title,
.common-box-wrapper .box .box-title a {
  color: var(--black-color);
}
.common-box-wrapper .box .box-meta {
  margin-top: auto;
}
.common-box-wrapper .box .category {
  display: block;
  text-transform: uppercase;
  color: var(--black-color-50);
  margin-top: 5px;
}
.common-box-wrapper .box .date {
  display: block;
  font-weight: 500;
  color: var(--black-color);
}

.common-box-wrapper .box .category:has(+ .date) {
  margin-top: 20px;
}

@media only screen and (max-width: 1280px) {
  .common-box-wrapper {
    gap: 32px;
  }
  .common-box-wrapper .box {
    padding: 28px;
  }
}

@media only screen and (max-width: 991px) {
  .common-box-wrapper-3 > .box {
    max-width: calc(50% - (32px / 2));
    flex: 0 0 calc(50% - (32px / 2));
  }
}
@media only screen and (max-width: 575px) {
  .common-box-wrapper-3 > .box {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .common-box-wrapper .box {
    padding: 26px;
  }
}

/* newsletter  */

.newsletter .newsletter-wrapper {
  background-color: var(--light-blue-color);
  border-radius: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 60px 120px 60px 94px;
  gap: 32px;
}

.newsletter .newsletter-content,
.newsletter .newsletter-form-wrap {
  width: 100%;
}

.newsletter .newsletter-content {
  max-width: 33%;
}
.newsletter .newsletter-form-wrap {
  max-width: 40%;
}
.newsletter .newsletter-title {
  margin-bottom: 19px;
}
.newsletter .newsletter-form {
  margin: 20px 0 12px;
}

@media (max-width: 1280px) {
  .newsletter .newsletter-wrapper {
    padding: 50px 80px 50px 70px;
    gap: 28px;
  }

  .newsletter .newsletter-content {
    max-width: 38%;
  }

  .newsletter .newsletter-form-wrap {
    max-width: 45%;
  }
}

@media (max-width: 991px) {
  .newsletter .newsletter-wrapper {
    padding: 40px;
    gap: 24px;
  }

  .newsletter .newsletter-content {
    max-width: 42%;
  }

  .newsletter .newsletter-form-wrap {
    max-width: 50%;
  }
}

/* ≤768px */
@media (max-width: 768px) {
  .newsletter .newsletter-wrapper {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 40px;
    gap: 32px;
    border-radius: 12px;
  }

  .newsletter .newsletter-content,
  .newsletter .newsletter-form-wrap {
    max-width: 100%;
  }

  .newsletter .newsletter-title {
    margin-bottom: 14px;
  }

  .newsletter .newsletter-form {
    margin: 16px 0 10px;
  }
}

/* ≤575px (mobile) */
@media (max-width: 575px) {
  .newsletter .newsletter-wrapper {
    padding: 24px 26px;
  }
}

/* cta banner  */

.newsletter + .cta-banner {
  padding-top: 30px;
}

.cta-banner .cta-banner-wrapper {
  position: relative;
  border-radius: 16px;
  padding: 180px 92px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cta-banner .cta-banner-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--black-color-50);
  z-index: 1;
  border-radius: 16px;
}
.cta-banner .cta-banner-wrapper .cta-banner-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.cta-banner .cta-banner-wrapper *:not(.cta-banner-bg) {
  position: relative;
  z-index: 2;
}

.cta-banner .cta-banner-wrapper .btn {
  margin-top: 40px;
  width: max-content;
}

@media (max-width: 1280px) {
  .cta-banner .cta-banner-wrapper {
    padding: 140px 70px;
    gap: 18px;
  }

  .cta-banner .cta-banner-wrapper .btn {
    margin-top: 32px;
  }
}

@media (max-width: 991px) {
  .cta-banner .cta-banner-wrapper {
    padding: 100px 50px;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .cta-banner .cta-banner-wrapper {
    padding: 70px 40px;
    gap: 14px;
    border-radius: 12px;
  }

  .cta-banner .cta-banner-wrapper::before,
  .cta-banner .cta-banner-wrapper .cta-banner-bg {
    border-radius: 12px;
  }

  .cta-banner .cta-banner-wrapper .btn {
    margin-top: 24px;
  }
}

@media (max-width: 575px) {
  .cta-banner .cta-banner-wrapper {
    padding: 50px 26px;
    gap: 12px;
  }
}

/* search  */

.search-wrapper {
  width: 100%;
  margin: 64px 0 84px;
}
.search-wrapper .search-input-wrap {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--primary-color);
  padding: 0 0 6px;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}
.search-input-wrap .search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 10px 0 3px;
}
.search-input-wrap .search-input::placeholder {
  color: var(--gray-cc);
}
.search-input-wrap .submit-icon {
  width: 39px;
  height: 39px;
  cursor: not-allowed;
}

.search-input-wrap:has(input:not(:placeholder-shown)) svg path {
  fill: var(--primary-color);
  cursor: pointer;
}

@media (max-width: 1280px) {
  .search-wrapper {
    margin: 56px 0 72px;
  }

  .search-input-wrap .submit-icon {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 991px) {
  .search-wrapper {
    margin: 40px 0 64px;
  }

  .search-input-wrap .submit-icon {
    width: 32px;
    height: 32px;
  }
}

/* filters  */

.filter-list-wrapper {
  width: 100%;
  overflow-x: auto;
}

.filter-list-wrapper + div {
  margin-top: var(--wrapper-spacing);
}
.filter-list-wrapper .filter-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}
.filter-list-wrapper .filter-btn {
  color: var(--black-color);
  background-color: var(--gray-f2);
}
.filter-list-wrapper .filter-btn,
.filter-list-wrapper .filter-btn:focus {
  border: none;
  outline: none;
}
.filter-list-wrapper .filter-btn.active,
.filter-list-wrapper .filter-btn:hover,
.filter-list-wrapper .filter-btn:focus {
  color: var(--primary-color);
  background-color: var(--dark-green-color);
}

@media (max-width: 1280px) {
  .filter-list-wrapper .filter-list {
    gap: 16px;
  }
}

@media (max-width: 991px) {
  .filter-list-wrapper .filter-list {
    gap: 12px;
  }
}

/* load more  */
div:has(+ .load-more-wrap) {
  margin-bottom: var(--wrapper-spacing);
}
.load-more-wrap {
  text-align: center;
}

/* team card */

.team-card-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
}
.team-card-wrapper .team-card {
  width: 100%;
  max-width: calc(25% - (35px * 3 / 4));
  flex: 0 0 calc(25% - (35px * 3 / 4));
  text-align: center;
}
.team-card .image-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 16px;
}

.team-card .image-wrap::before {
  content: "";
  position: absolute;
  top: auto;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 72%;
  background-color: var(--primary-color);
  border-radius: 16px;
}

.team-card .image-wrap img {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
  border-radius: 16px;
}

.team-card .team-member-name {
  margin-bottom: 5px;
}

.team-card .social-icon-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.team-card .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 33px;
  background-color: var(--light-green-color);
  border-radius: 10px;
}

.team-card .social-icon svg path {
  fill: var(--primary-color);
}

@media (max-width: 1280px) {
  .team-card-wrapper {
    gap: 32px;
  }

  .team-card-wrapper .team-card {
    max-width: calc(25% - (32px * 3 / 4));
    flex: 0 0 calc(25% - (32px * 3 / 4));
  }

  .team-card .image-wrap {
    margin-bottom: 18px;
  }
}

@media (max-width: 991px) {
  .team-card-wrapper {
    gap: 28px;
  }

  .team-card-wrapper .team-card {
    max-width: calc(33.33% - (28px * 2 / 3));
    flex: 0 0 calc(33.33% - (28px * 2 / 3));
  }
}

@media (max-width: 767px) {
  .team-card-wrapper {
    gap: 24px;
  }

  .team-card-wrapper .team-card {
    max-width: calc(50% - (24px / 2));
    flex: 0 0 calc(50% - (24px / 2));
  }

  .team-card .image-wrap {
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .team-card-wrapper {
    gap: 20px;
  }

  .team-card-wrapper .team-card {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .team-card .image-wrap,
  .team-card .image-wrap::before,
  .team-card .image-wrap img {
    border-radius: 12px;
  }
}

/* custom pagination  */

.custom-pagination {
  display: flex;
  padding: 16px 24px;
  border-radius: 50px;
  background-color: var(--gray-f4);
}
.custom-navigation:has(.white-btn) .custom-pagination {
  background-color: var(--white-color);
}
.custom-pagination .swiper-pagination-bullet {
  background-color: var(--gray-d9);
}
.custom-pagination .swiper-pagination-bullet-active {
  width: 40px;
  border-radius: 8px;
  position: relative;
  padding: 0 3px;
  overflow: hidden;
  background-color: var(--gray-d9);
}
.custom-pagination .swiper-pagination-bullet-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 3px;
  border-radius: 8px;
  height: 100%;
  background-color: var(--blue-color);
  animation: expandWidth 5s forwards;
}
@keyframes expandWidth {
  from {
    width: 20%;
  }
  to {
    width: 100%;
  }
}
.custom-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: absolute;
  top: auto;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
}
.custom-navigation > * {
  position: static !important;
  top: unset;
  right: unset;
  bottom: unset;
  left: unset;
  width: max-content;
  min-width: max-content;
}
.custom-navigation .custom-button-prev,
.custom-navigation .custom-button-next {
  margin-top: unset;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.custom-navigation:has(.swiper-button-prev[aria-disabled="true"]):has(
    .swiper-button-next[aria-disabled="true"]
  ) {
  display: none;
}
.custom-navigation .custom-button-prev.white-btn,
.custom-navigation .custom-button-next.white-btn {
  background: var(--white-color);
}
.custom-navigation .custom-button-prev,
.custom-navigation .custom-button-next {
  background: var(--grey-color);
}
.custom-navigation .custom-button-prev::after,
.custom-navigation .custom-button-next::after {
  font-size: 12px;
  font-weight: 900;
  color: var(--default-black);
  position: relative;
  width: auto !important;
}
.custom-navigation .swiper-button-next:after,
.custom-navigation .swiper-button-prev:after,
.custom-navigation .swiper-button-next1:after,
.custom-navigation .swiper-button-prev1:after {
  position: static;
  top: unset;
  right: unset;
  bottom: unset;
  left: unset;
  width: 12px;
  height: 12px;
  transform: none;
}
@media only screen and (max-width: 575px) {
  .custom-navigation {
    gap: 12px;
  }
}

/* large gallery section  */
.service-slider-section {
  position: relative;
  overflow: hidden;
  background-color: var(--gray-f4);
}

.service-slider-section .service-slider-wrapper {
  background-color: var(--white-color);
  border-radius: 12px;
  margin-top: var(--wrapper-spacing);
}

.service-slider-section .swiper-slide {
  background-color: var(--white-color);
  opacity: 0 !important;
  border-radius: 12px;
}

.service-slider-section .service-slider-wrapper .service-img img.mobile-img {
  display: none;
}
.service-slider-section .service-slide {
  display: flex;
  flex-direction: row;
  height: 100%;
}
.service-slider-section .service-content {
  padding: 70px 50px;
  width: 100%;
  max-width: 54%;
}
.service-slider-section .service-content .service-slide-title-link {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-bottom: 20px;
  color: var(--black-color);
}
.service-slider-section .service-content .service-slide-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: 58px;
  gap: 10px;
  aspect-ratio: 1/1;
  border-radius: 4px;
}
.service-slider-section .service-desc {
  margin-bottom: 35px;
}
.service-slider-section .service-list {
  padding: 0 0 25px;
  margin: 0;
}
.service-slider-section .service-list .service-item {
  border-radius: 4px;
}
.service-slider-section .service-list .service-item .service-link {
  font-size: var(--font-md);
  font-weight: 700;
  padding: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 4px;
  transition: var(--normal-transition);
  color: var(--black-color);
}
.service-slider-section .service-img .lottie-container {
  height: 100%;
  max-height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  z-index: 2;
}
.service-slider-section
  .service-slider-wrapper
  .lottie-container.lottie-container-desktop {
  display: block;
}
.service-slider-section
  .service-slider-wrapper
  .lottie-container.lottie-container-mobile {
  display: none;
}
.service-slider-section .service-img {
  position: relative;
  height: 707px;
  min-height: 100%;
  width: 100%;
  max-width: 46%;
}
.service-slider-section .service-img img {
  position: absolute;
  top: 1px;
  left: 1px;
  z-index: 1;
  height: calc(100% - 2px);
  width: calc(100% - 2px);
  object-fit: cover;
  border-radius: 12px;
}

.service-slider-section .swiper-slide.swiper-slide-active {
  opacity: 1 !important;
}
.service-slider-section
  .service-content
  .service-list
  .service-item
  .service-link
  img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.service-slider-section .green ul li:hover {
  background-color: #e1fadc;
}
.service-slider-section .purple ul li:hover {
  background-color: #e8deff;
}
.service-slider-section .orange ul li:hover {
  background-color: #ffe4d6;
}
.service-slider-section .blue ul li:hover {
  background-color: #d5e2ff;
}
@media only screen and (max-width: 991px) {
  .service-slider-section .service-content {
    padding: 50px 40px;
  }
  .service-slider-section .service-img {
    height: auto;
    min-height: max-content;
  }
  .service-slider-section .service-list .service-item .service-link {
    padding: 10px;
    margin: 0;
  }
}
@media only screen and (max-width: 767px) {
  .service-slider-section .service-slider-wrapper {
    padding-left: 0;
    overflow: hidden;
  }
  .service-slider-section .service-slide {
    flex-direction: column-reverse;
    justify-content: flex-end;
  }
  .service-slider-section .service-img {
    width: 100%;
    max-width: 100%;
  }
  .service-slider-section .service-content {
    max-width: 100%;
    padding: 44px 35px;
  }
  .service-slider-section .service-desc {
    margin-bottom: 18px;
  }
  .service-slider-section .service-content .service-slide-title-link {
    gap: 20px;
  }
  .service-slider-section .service-list .service-item {
    margin-bottom: 0;
  }
  .service-slider-section .service-slider-wrapper {
    overflow: visible;
    background: none;
  }
  .service-slider-section .swiper-wrapper {
    overflow: hidden;
    border-radius: 12px;
  }
  .service-slider-section .service-slider {
    padding-bottom: 100px;
  }
  .service-slider-section .service-content .service-slide-icon {
    width: 44px;
    height: 44px;
  }
  .service-slider-section .service-content .service-slide-icon svg {
    height: 24px;
  }
  .service-slider-section .service-slider-wrapper .service-img img {
    display: none;
  }
  .service-slider-section .service-slider-wrapper .service-img {
    height: auto;
    min-height: auto;
    aspect-ratio: 10/6;
  }
  .service-slider-section .service-slider-wrapper .service-img img.mobile-img {
    display: block;
  }
  .service-slider-section
    .service-slider-wrapper
    .lottie-container.lottie-container-desktop {
    display: none;
  }
  .service-slider-section
    .service-slider-wrapper
    .lottie-container.lottie-container-mobile {
    display: block;
  }
  .service-slider {
    position: relative;
  }
}
