.main {
  --space-120: 120px;
}

.py-120 {
  padding-block: var(--space-120);
}

.main-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
}

.link-button {
  display: inline-flex;
  width: 144px;
  height: 44px;
  font-size: 14px;
  background: var(--color-primary);
  font-weight: 600;
  align-items: center;
  justify-content: center;
  transition: background var(--time) ease-in-out;
  border-radius: 5px;
}

.link-button:hover {
  background: #cf9721;
}

/* --------------------------------------------------------------------- */

.hero {
  width: 100%;
  position: relative;
}

.hero-content {
  display: flex;
  align-items: center;
  position: absolute;
  color: #ffffff;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-content .container {
  width: 100%;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 25px;
}
.hero-content .link-button {
  margin-top: 35px;
  color: #000000;
}

.bannerSwiper {
  width: 100%;
}

.bannerSwiper .swiper-slide {
  height: 100vh;
  position: relative;
}

.bannerSwiper .swiper-slide::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--color-secondary);
  opacity: 0.5;
}

.bannerSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bannerSwiper .swiper-slide-active img {
  animation-name: zoom;
  animation-duration: 4s;
  animation-fill-mode: forwards;
}

.bannerSwiper .swiper-pagination {
  bottom: 50px;
  left: 0;
  right: 0;
  display: flex;
  max-width: var(--container-width);
  margin: auto;
}

.bannerSwiper .swiper-pagination-bullet {
  width: 20px;
  height: 4px;
  background: #d9d9d9;
  opacity: 1;
  border-radius: 10px;
}

.bannerSwiper .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
  opacity: 0.3;
}

.bannerSwiper .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

.bannerSwiper .content {
  color: #ffffff;
  position: absolute;
  left: 0;
  bottom: 50px;
  font-size: 35px;
  right: 0;
  text-transform: uppercase;
  text-align: right;
  max-width: 1300px;
  margin: auto;
  z-index: 2;
}

.bannerSwiper .content h5 {
  transform: translateY(50px);
  transition: transform var(--time) ease-in-out, opacity var(--time) ease-in-out;
  opacity: 0;
}

.bannerSwiper .swiper-slide-active .content h5 {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------------- */

.about {
  width: 100%;
}

.about .container {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, 1fr);
  gap: 100px;
}

.about-content h2 {
  margin-bottom: 20px;
  color: var(--color-secondary);
}

.about-content .link-button {
  margin-top: 30px;
}

/* ------------------------------------------------------------------- */

.services {
  background: var(--color-secondary);
}

.services .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.services .title h2 {
  color: #ffffff;
}
.services .service-item {
  padding: 30px;
}

/* ------------------------------------------------------------------- */

.footer {
  background: #222324;
}

.footer-top {
  padding: 80px 0;
  display: grid;
  gap: 50px;
  color: #ffffff;
  grid-template-columns: 400px 400px 1fr;
}

.footer-bottom {
  color: #ffffff;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-address p + p {
  margin-top: 8px;
}

.footer-discription {
  padding-right: 80px;
}

.footer-social ul {
  display: flex;
  flex-wrap: wrap;
  margin-top: 25px;
  gap: 8px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff;
  transition: background var(--time) ease-in-out,
    border-color var(--time) ease-in-out;
  border-radius: 5px;
}
.footer-social a:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.footer-address p a:hover {
  color: var(--color-primary);
}

/* ------------------------------------------------------------------- */

.our-clients-section .container-inside {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.clients-side {
  color: #ffffff;
  padding: 30px;
  background: var(--color-secondary);
  border-radius: 20px;
}

.support h3,
.approach-side h3,
.clients-side h3 {
  margin-bottom: 15px;
  font-size: 28px;
}
.clients-side ul {
  margin-top: 25px;
  padding-left: 24px;
  list-style: disc;
}
.clients-side li + li {
  margin-top: 15px;
}

.approach-side {
  padding: 30px;
  background: var(--color-primary);
  border-radius: 20px;
}

.approach-side ul {
  margin-top: 5px;
}

.support li + li,
.approach-side li + li {
  margin-top: 15px;
}

.approach-side li h4 {
  margin-bottom: 7px;
}

.support {
  padding: 30px;
  margin-top: 50px;
  background: #f6f6f6;
  border-radius: 20px;
}

.support p + p {
  margin-top: 15px;
}

.support ul {
  margin-top: 30px;
  padding-left: 24px;
  list-style: disc;
}

/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */

.hm-banner {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: 0;
}
.hm-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.554);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9));
  z-index: -1;
}

.hm-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  min-height: 580px;
  padding-bottom: 30px;
}

.hm-banner .container h1 {
  font-size: 32px;
  position: relative;
  width: 100%;
  z-index: 0;
  padding: 15px 0;
  color: #ffffff;
}

/* -------------------------------------------------- */

.about-page p + p {
  margin-top: 20px;
}

.mission-vision {
  width: 100%;
  display: grid;
  gap: 50px;
  margin-top: 60px;
  grid-template-columns: repeat(2, 1fr);
}

.mission-vision h4 {
  margin-bottom: 25px;
}

.mission-vision > div {
  padding: 30px;
  border: 1px solid #dddddd;
  border-radius: 15px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.service-item {
  text-align: center;
  border: 1px solid #ddd;
  border-bottom: 5px solid var(--color-primary);
  background: #ffffff;
  border-radius: 12px;
  transition: background var(--time) ease-in-out;
  overflow: hidden;
}

.service-item h4 {
  margin-bottom: 15px;
  font-size: 19px;
  color: var(--color-secondary);
}

.service-item p {
  color: #818181;
}

.service-content {
  padding: 25px;
}

.service-item:hover {
  background: var(--color-primary);
}
.service-item:hover .service-icon {
  background: #ffffff;
}

.get-in-touch {
  padding: 90px 0;
  color: #ffffff;
  background: linear-gradient(rgba(0, 43, 92, 0.8), rgba(0, 43, 92, 0.8)),
    url(../images/effect_banner.jpg) center/cover no-repeat;
  text-align: center;
  background-attachment: fixed;
}
.get-in-touch h2 {
  margin-bottom: 10px;
}
.get-in-touch p {
  opacity: 0.7;
}
.get-in-touch .link-button {
  margin-top: 30px;
}

/* ----------------------------------------------------------- */

.contact_detail_left ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  text-align: center;
  margin: auto;
  max-width: 1000px;
}

.contact_detail_left li {
  width: 33.33%;
}

.contact_detail_left a,
.contact_detail_left p {
  font-weight: bold;
}

.contact_detail_left .icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  margin: 0 auto 20px auto;
  border-radius: 50%;
}

.map-iframe {
  margin-top: 80px;
}

.map-iframe iframe {
  width: 100%;
  border: none;
}

@keyframes zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.2);
  }
}

.service-item-full {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}

.service-item-content h3 {
  font-size: 32px;
  margin-bottom: 15px;
}

/* ----------------------------------------------------------- */
/* ----------------------------------------------------------- */

@media (max-width: 1600px) {
  body {
    --container-width: 1200px;
    --base-font-size: 14px;
    --base-line-height: 24px;
  }
  .main-title {
    font-size: 30px;
  }
  .bannerSwiper .container h1 {
    font-size: 45px;
    margin-bottom: 15px;
  }
}

@media (max-width: 1300px) {
  .main {
    --space-120: 100px;
  }
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 1200px) {
  .main {
    --space-120: 80px;
  }
  .support h3,
  .approach-side h3,
  .clients-side h3 {
    font-size: 22px;
  }
  .footer-top {
    grid-template-columns: 340px 300px 1fr;
  }
  .get-in-touch {
    padding: 70px 0;
  }
  .service-item h4 {
    font-size: 17px;
    margin-bottom: 10px;
  }
  .our-clients-section .container-inside {
    gap: 30px;
  }
  .support {
    margin-top: 30px;
  }
  .get-in-touch .link-button {
    margin-top: 20px;
  }
  .footer-top {
    padding: 50px 0;
  }
  .footer-bottom {
    padding: 20px 0;
  }
  .bannerSwiper .container h1 {
    font-size: 35px;
  }
  .about .container {
    gap: 50px;
  }
  .hero-content h1 {
    font-size: 35px;
  }
  .hero-content h1 br {
    display: none;
  }
  .service-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .service-item-content h3 {
    font-size: 28px;
  }
  .service-item-full {
    margin-bottom: 40px;
  }
  .hm-banner .container {
    min-height: 480px;
  }
  .map-iframe {
    margin-top: 40px;
  }

  .about .container,
  .our-clients-section .container{
    overflow: hidden;
  }
}

@media (max-width: 860px) {
  .main {
    --space-120: 50px;
  }
  .get-in-touch {
    padding: 50px 0;
  }
  .link-button {
    height: 40px;
  }
  .service-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .main-title {
    font-size: 22px;
  }
  .services .title {
    margin-bottom: 30px;
  }
  .footer-discription {
    padding-right: 20px;
  }
  .footer-top {
    gap: 25px;
    grid-template-columns: 260px 230px 1fr;
  }
  .footer-social a {
    width: 32px;
    height: 32px;
  }
  .support ul {
    margin-top: 20px;
  }
  .service-item {
    border-bottom: 3px solid var(--color-primary);
  }
  .contact_detail_left h2 {
    font-size: 24px;
  }
  .service-item-full {
    grid-template-columns: 350px 1fr;
    gap: 30px;
  }
}

@media (max-width: 767px) {
  textarea {
    height: 100px;
  }
  .hero-content h1 {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .hero-content .link-button {
    margin-top: 25px;
  }
  .contact_detail_left h2 {
    margin-bottom: 20px;
  }
  .main {
    margin-top: 84px;
  }
  .bannerSwiper .container {
    height: 500px;
  }
  .hm-banner .container {
    min-height: 300px;
  }
  .bannerSwiper .container h1 {
    font-size: 28px;
  }
  .bannerSwiper .container h1 br {
    display: none;
  }
  .bannerSwiper .link-button {
    margin-top: 20px;
  }
  .about .container {
    grid-template-columns: 1fr;
  }
  .about-content .link-button {
    margin-top: 20px;
  }
  .footer-top,
  .service-list,
  .our-clients-section .container-inside {
    grid-template-columns: 1fr;
  }
  .services .title {
    flex-wrap: wrap;
    row-gap: 15px;
  }
  .footer-discription {
    padding-right: 0;
  }
  .support h3,
  .approach-side h3,
  .clients-side h3 {
    font-size: 19px;
  }
  .mission-vision {
    gap: 20px;
    margin-top: 30px;
    grid-template-columns: 1fr;
  }
  .about-page p + p {
    margin-top: 15px;
  }
  .page-contact .container > div {
    width: 100%;
  }
  .contact_detail_form_list {
    row-gap: 12px;
  }
  .contact_detail_form_list li:nth-child(1),
  .contact_detail_form_list li:nth-child(2) {
    width: 100%;
  }

  .bannerSwiper .content {
    font-size: 20px;
    max-width: 200px;
    text-align: right;
    margin-left: auto;
    margin-right: 10px;
  }
  .bannerSwiper .swiper-pagination-bullet {
    width: 14px;
  }
  .contact_detail_left ul {
    gap: 25px;
    flex-direction: column;
  }
  .contact_detail_left li {
    width: 100%;
  }
  .contact_detail_left .icon {
    width: 85px;
    height: 85px;
    margin: 0 auto 15px auto;
  }
  .map-iframe iframe {
    height: 350px;
  }
  .service-item-full {
    grid-template-columns: 1fr;
  }
  .service-item-content h3 {
    font-size: 20px;
  }
}
