/* === Global body resets === */
body {
  font-family:
    "Pretendard Variable",
    Pretendard,
    -apple-system,
    sans-serif !important;
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}

:lang(ko) {
  font-family:
    "Pretendard Variable",
    Pretendard,
    -apple-system,
    sans-serif !important;
}

.fa-solid,
.fas {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;
}

/* === Section 2 Styles === */
#section-2 {
  background-color: #222222;
  padding-top: 151px;
  color: #ffffff;
}

#section-2 .container {
  width: 100%;
  max-width: 100%;
}

/* === Section 3 Styles === */
#section-3 {
  background-color: #f5f5f5;
  padding-top: 122px;
  color: #222222;
  padding-bottom: 111px;
}

#section-3 .why-landit-title {
  text-align: center;
  margin-bottom: 84px;
}

#section-3 .why-landit-title__main,
#section-3 .why-landit-title__sub {
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: #222222;
  margin: 0;
}

#section-3 .why-landit-title__highlight {
  color: #308dff;
}

#section-3 .grid-item {
  height: 200px;
  padding: 0 30px;
  align-items: center;
  gap: 33px;
}

#section-3 .grid-item__number {
  font-weight: 600;
  border-radius: 50%;
  width: 33px;
  height: 45px;
  align-content: center;
  text-align: center;
  font-size: 30px;
}

#section-3 .grid-item__left {
  width: 101px;
  height: 101px;
  justify-items: center;
  align-content: center;
  background-color: #fbfbfb;
  border-radius: 50%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#section-3 .grid-item__point {
  font-size: 14px;
  line-height: 23px;
  margin-bottom: 0;
}

/* === Section 4 Styles === */
#section-4 {
  background-color: #ffffff;
  padding-top: 112px;
  padding-bottom: 111px;
  color: #222222;
  overflow-x: hidden;
}

#section-4 .swiper-slide {
  width: 458px;
}

#section-4 .card-grid-container {
  height: 520px;
}

#section-4 .container {
  margin: 0 auto;
  max-width: 100%;
  overflow-x: hidden;
  width: 100%;
}

@media (min-width: 500px) {
  #section-4 .card-grid-container {
    width: 120%;
  }
}

@media (max-width: 500px) {
  #section-4 .card-grid-container {
    width: 150%;
  }
}

/* === Section 5 Styles === */
#section-5 {
  background-color: #f5f5f5;
  padding-top: 112px;
  color: #222222;
  padding-bottom: 53px;
}
#section-5 .image-scroll-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 20px;
}
/* === Section 6 Styles === */
#section-6 {
  background-color: #424242;
  padding-top: 112px;
  padding-bottom: 157px;
  color: #ffffff;
}

#section-6 .why-landit-section__title {
  color: #ffffff;
}

#section-6 .why-landit-section__subtitle {
  color: #d1d1d1;
}

/* === Section 7 Styles === */
#section-7 {
  background-color: #f5f5f5;
  padding-top: 112px;
  padding-bottom: 111px;
  color: #222222;
  overflow-x: hidden;
}

@media (min-width: 1200px) {
  #section-7 .container {
    max-width: 100%;
    width: 100%;
  }
}

/* === Section 8 Styles === */
#section-8 {
  background: linear-gradient(to bottom, #222222 0%, #434343 100%);
  padding-top: 112px;
  padding-bottom: 111px;
  color: #ffffff;
}

#section-8 .why-landit-section__title {
  color: #ffffff;
}

#section-8 .why-landit-section__subtitle {
  color: #d1d1d1;
}

/* === Section 9 Styles === */
#section-9 {
  background-image: url("https://www.landit.pe.kr/landingzone/allinone/img/g1.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding-top: 122px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

/* === Section 10 Styles === */
#section-10 {
  background: linear-gradient(to bottom, #308dff 0%, #67b0ff 100%);
  padding-top: 122px;
  padding-bottom: 164px;
}
#section-10 .container {
  width: 100%;
}
/* === Video Modal Styles === */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-modal-content iframe {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.3s;
}

.video-modal-close:hover {
  color: #308dff;
}

@media (max-width: 1024px) {
  .why-landit-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
    padding: 0 20px;
  }
}

/* === Media Queries for all sections === */
@media (max-width: 768px) {
  #section-2 .swiper-slide-b {
    width: 214px;
  }

  #section-2 .swiper-b-image-2html {
    width: 214px;
    height: 118px;
    object-fit: cover;
  }

  #section-3 {
    padding-top: 72px;
  }

  #section-3 .why-landit-title {
    margin-bottom: 40px;
  }

  #section-3 .why-landit-title__main,
  #section-3 .why-landit-title__sub {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
  }

  #section-3 .grid-item {
    flex-direction: row;
    gap: 20px;
    padding: 0 16px;
    height: 121px;
    align-items: center;
  }

  #section-3 .grid-item__point {
    font-size: 12px;
    line-height: 17px;
  }

  #section-3 .grid-item__number {
    font-size: 18px;
    height: 31px;
  }

  #section-3 .grid-item__left {
    width: 68px;
    height: 68px;
    justify-items: anchor-center;
    place-content: center;
  }

  #section-3 .grid-right {
    padding: 8.5px 14px;
  }

  #section-3 .grid-item__left {
    width: 64px;
    height: 64px;
    justify-items: anchor-center;
    place-content: center;
  }

  #section-3 .grid-item__title {
    font-size: 16px;
    line-height: 1;
  }

  #section-3 .grid-item__description {
    font-size: 18px;
    line-height: 31px;
  }

  #section-4 .swiper-slide {
    width: 278px;
  }

  #section-4 {
    padding-top: 70px;
    padding-bottom: 72px;
  }

  #section-5 {
    padding-top: 70px;
  }

  #section-6 {
    padding-top: 70px;
    padding-bottom: 90px;
  }

  #section-7 {
    padding-top: 70px;
    padding-bottom: 72px;
  }

  #section-8 {
    padding-top: 70px;
    padding-bottom: 72px;
  }
  #section-8 .review-text {
    font-size: 14px;
  }

  #section-8 .review-text br {
    display: block;
  }
  #section-9 {
    padding-top: 70px;
  }

  #section-9 .final-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 33px;
  }

  #section-9 .final-quote-text {
    margin-bottom: 11px;
    line-height: 21px;
  }

  .final-author {
    line-height: 23px;
  }

  #section-10 {
    padding-top: 70px;
    padding-bottom: 107px;
  }
}
@media (max-width: 389px) {
  #section-8 .review-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #section-4 .card-description {
    font-size: 14px;
    line-height: 30px;
  }
}
@media (min-width: 768px) {
  #section-5 .image-scroll-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 30px 50px;
  }
}
@media (min-width: 2500px) {
  #section-4 .card-grid-container {
    width: 100%;
    padding-left: 20px;
  }
  #section-4 .card-grid-container .swiper-wrapper {
    justify-content: center;
  }
}
