.homepage {
  margin-top: 92px;
}

@media (max-width: 992px) {
  .homepage {
    margin-top: 78px;
  }
}

.homepage .heading {
  text-align: center;
}

/* HERO BANNER */
/* ============================================= */

.homepage .hero-banner {
  position: relative;
  min-height: 500px;
}

.homepage #mobile-hero-banner {
  display: none;
}

.homepage .hero-banner img.banner {
  width: 100%;
  aspect-ratio: 1.8;
  height: auto;
  min-height: 500px;
  object-fit: cover;
}

.homepage .hero-banner .nav-btn {
  position: absolute;
  top: calc(50% - 1.25rem);
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  background-color: var(--primary-cream);
}

.homepage .hero-banner .nav-btn.nav-left {
  left: 2rem;
}

.homepage .hero-banner .nav-btn.nav-right {
  right: 2rem;
}

.homepage .hero-banner .slick-dots {
  display: flex;
  position: absolute;
  list-style: none;
  padding: 0.5rem 0.75rem;
  border-radius: 2rem;
  justify-content: center;
  gap: 0.5rem;
  bottom: 3.5rem;
  left: 0;
  right: 0;
}

.homepage .hero-banner .slick-dots li {
  width: 0.75rem;
  height: 0.75rem;
  cursor: pointer;
  background-color: var(--grey-200);
  transition: 0.3s;
  border-radius: 50%;
}

.homepage .hero-banner .slick-dots li.slick-active {
  background-color: var(--grey-black);
  transition: 0.3s;
}

.homepage .hero-banner .slick-dots button {
  opacity: 0;
  cursor: pointer;
}

@media (max-width: 992px) {
  .homepage .hero-banner .slick-dots {
    bottom: 1rem;
  }

  .homepage .hero-banner .nav-btn {
    width: 1rem;
    height: 1rem;
  }
}

@media (max-width: 768px) {
  .homepage .hero-banner .slick-dots {
    bottom: 0.5rem;
  }

  .homepage .hero-banner .nav-btn.nav-left {
    left: 1rem;
  }

  .homepage .hero-banner .nav-btn.nav-right {
    right: 1rem;
  }
}

@media (max-width: 576px) {
  .homepage #hero-banner {
    display: none;
  }
  
  .homepage #mobile-hero-banner {
    display: block;
  }
}

/* ============================================= */

/* SOCIAL BAR SECTION */
/* ============================================= */
.homepage .social-bar {
  display: flex;
  width: 100%;
}

.homepage .social-bar .social-item {
  width: calc(100% / 3);
  text-decoration: underline;
  display: block;
  padding: 1.5rem;
  text-align: center;
  line-height: 150%;
}

@media (max-width: 768px) {
  .homepage .social-bar {
    flex-direction: column;
  }

  .homepage .social-bar .social-item {
    width: 100%;
    padding: 1.5rem 0;
  }
}

/* COURSE SECTION */
/* ============================================= */
.homepage .course-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-self: center;
  max-width: 740px;
  margin: auto;
  margin-top: 3rem;
  padding: 0.75rem;
  margin-bottom: 4rem;
}

.homepage .course-section .content-wrapper {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.homepage .course-section .card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  width: 50%;
}

.homepage .course-section .thumbnail {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
}

.homepage .course-section .thumbnail .overlay {
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0;
  transition: 0.3s;
  position: absolute;
  inset: 0;
}

.homepage .course-section .thumbnail:hover .overlay {
  opacity: 1;
  transition: 0.3s;
}

.homepage .course-section .thumbnail img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  height: auto;
  display: block;
}

.homepage .course-section .btn-wrapper {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}

.homepage .course-section .title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

@media (max-width: 992px) {
  .homepage .course-section .content-wrapper {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .homepage .course-section {
    margin: 2rem;
    gap: 1rem;
  }
}

@media (max-width: 572px) {
  .homepage .course-section .card {
    width: 100%;
  }

  .homepage .course-section .content-wrapper {
    flex-direction: column;
  }
}

/* ============================================= */

/* EDUCATION MOTTO SECTION */
/* ============================================= */
.homepage .education-motto-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  margin: 8rem 0;
}

.homepage .education-motto-section .content-wrapper {
  display: flex;
  width: 100%;
}

.homepage .education-motto-section .card {
  width: calc(100% / 3);
  position: relative;
}

.homepage .education-motto-section .card img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  height: auto;
}

.homepage .education-motto-section .label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homepage .education-motto-section .quote {
  margin: 0 0.75rem;
}

@media (max-width: 768px) {
  .homepage .education-motto-section {
    margin: 3rem 0;
  }
}

@media (max-width: 572px) {
  .homepage .education-motto-section .content-wrapper {
    flex-direction: column;
    max-width: 400px;
    margin: auto;
  }

  .homepage .education-motto-section .card {
    width: 100%;
  }
}

/* ============================================= */

/* GALLERY SECTION */
/* ============================================= */

.homepage .gallery-section {
  max-width: 900px;
  margin: 8rem auto;
  padding: 0 0.75rem;
}

.homepage .gallery-section .slick-dots {
  position: absolute;
  left: 2rem;
  top: 2rem;
  right: 2rem;
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
  z-index: 3;
}

.homepage .gallery-section .slick-dots li {
  height: 0.25rem;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.5);
  transition: 0.3s;
  flex: 1;
  border-radius: 0.5rem;
}

.homepage .gallery-section .slick-dots .in-progress {
  background-color: var(--grey-white);
  border-radius: 4px;
  height: 4px;
}

.homepage .gallery-section .slick-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 2;
  opacity: 0;
  cursor: pointer;
}

.homepage .gallery-section .slick-prev {
  left: 0;
}

.homepage .gallery-section .slick-next {
  right: 0;
}

.homepage .gallery-section .slick-dots button {
  opacity: 0;
  cursor: pointer;
}

@media (max-width: 572px) {
  .homepage .gallery-section {
    margin: 1.5rem 0;
  }

  .homepage .gallery-section .slick-dots {
    left: 1rem;
    top: 1rem;
    right: 1rem;
  }
}

/* ============================================= */

/* PROPERTY SECTION */
/* ============================================= */
.homepage .property-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-self: center;
  margin: 4rem auto;
  padding: 0.75rem;
}

.homepage .property-section .content-wrapper {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.homepage .property-section .card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  flex: 1;
}

.homepage .property-section .thumbnail {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.homepage .property-section .btn-wrapper {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}

.homepage .property-section .title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  max-width: 300px;
}

@media (max-width: 992px) {
  .homepage .property-section .content-wrapper {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .homepage .property-section {
    margin: 3rem auto;
  }

  .homepage .property-section {
    gap: 1rem;
  }
}

@media (max-width: 572px) {
  .homepage .property-section .card {
    width: 100%;
    max-width: 200px;
    margin: auto;
  }

  .homepage .property-section .content-wrapper {
    flex-direction: column;
  }
}

/* ============================================= */

/* OVERVIEW BANNER SECTION */
/* ========================== */
.homepage .overview-banner-section {
  width: 100%;
  display: flex;
  height: 510px;
  margin: 8rem 0;
}

.homepage .overview-banner-section .banner {
  width: 50%;
  object-fit: cover;
}

.homepage .overview-banner-section .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-cream);
  width: 50%;
  padding: 0 0.75rem;
}

.homepage .overview-banner-section .line {
  width: 128px;
  height: 1px;
  background-color: var(--grey-black);
}

.homepage .overview-banner-section .achieve {
  letter-spacing: 0.125rem;
}

.homepage .overview-banner-section .quote {
  max-width: 400px;
}

@media (max-width: 768px) {
  .homepage .overview-banner-section {
    flex-direction: column;
    height: unset;
    margin: 3rem 0;
  }
  .homepage .overview-banner-section .banner {
    width: 100%;
  }

  .homepage .overview-banner-section .content-wrapper {
    width: 100%;
    padding: 2rem 0;
  }
}

/* ============================================= */

/* SHARING SECTION */
/* ========================== */
.homepage .sharing-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-self: center;
  margin: auto;
  padding: 0.75rem;
  margin: 8rem 0;
}

.homepage .sharing-section .group {
  display: flex;
  gap: 2rem;
}

.homepage .sharing-section .card {
  display: flex;
  flex-direction: column;
  margin: 0 1rem;
}

.homepage .sharing-section .content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: var(--primary-red);
  padding: 3rem;
  flex: 1;
}

.homepage .sharing-section .content .text-paragraph {
  line-height: 150%;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4rem;
}

.homepage .sharing-section .info-wrapper {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 1rem;
  background-color: var(--primary-cream);
}

.homepage .sharing-section .avatar {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  object-fit: cover;
}

.homepage .sharing-section .info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: space-between;
}

.homepage .sharing-section .slick-dots {
  display: flex;
  list-style: none;
  padding: 0.5rem 0.75rem;
  border-radius: 2rem;
  justify-content: center;
  gap: 0.5rem;
}

.homepage .sharing-section .slick-dots li {
  width: 0.75rem;
  height: 0.75rem;
  cursor: pointer;
  background-color: var(--grey-200);
  transition: 0.3s;
  border-radius: 50%;
}

.homepage .sharing-section .slick-dots li.slick-active {
  background-color: var(--grey-black);
  transition: 0.3s;
}

.homepage .sharing-section .slick-dots button {
  opacity: 0;
  cursor: pointer;
}

.homepage .sharing-section .slick-track {
  display: flex !important;
}

.homepage .sharing-section .slick-slide {
  height: auto !important;
}

@media (max-width: 768px) {
  .homepage .sharing-section {
    margin: 3rem auto;
  }

  .homepage .sharing-section .card {
    margin: 0 0.5rem;
  }
}

/* ============================================= */

/* ============================================= */

/* CONTACT SECTION */
/* ========================== */

.homepage .contact-section {
  display: flex;
  margin: 8rem 0;
  height: 510px;
  align-items: stretch;
}

.homepage .contact-section .overview {
  background-color: var(--primary-red);
  padding: 6.5rem 3rem;
  width: calc(100% / 3);
  height: auto;
  text-align: right;
}

.homepage .contact-section #contact-slider {
  height: 100%;
}

.homepage .contact-section .info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.homepage .contact-section .info-wrapper {
  display: flex;
  flex-direction: column;
}

.homepage .contact-section .card {
  padding: 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  height: 360px;
  margin: 0.25rem;
}

.homepage .contact-section .card.first {
  background-color: var(--grey-white);
}

.homepage .contact-section .card.second {
  background-color: var(--primary-red);
  color: var(--grey-white);
}

.homepage .contact-section .card.third {
  background-color: var(--grey-black);
  color: var(--grey-white);
}

.homepage .contact-section .card.second p,
.homepage .contact-section .card.third {
  color: var(--grey-white);
}


.homepage .contact-section .slick-list {
  height: 100%;
}

.homepage .contact-section .slick-slide {
  transform: scale(0.9);
  transition: 0.3s;
}

.homepage .contact-section .slick-slide.slick-current {
  transform: scale(1);
  transition: 0.3s;
}

.homepage .contact-section .slick-track {
  height: 100%;
  display: flex;
  align-items: center;
}

.homepage .contact-section .social-wrapper {
  display: flex;
  gap: 0.5rem;
}

.homepage .contact-section .social-wrapper a {
  width: 2.75rem;
  height: 2.75rem;
  display: block;
}

.homepage .contact-section .social-wrapper img {
  width: 100%;
}

.homepage .contact-section img {
  width: 240px;
}

@media (max-width: 768px) {
  .homepage .contact-section {
    flex-direction: column-reverse;
    height: unset;
    margin: 3rem 0;
  }

  .homepage .contact-section .card {
    height: unset;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .homepage .contact-section .social-wrapper {
    justify-content: center;
  }

  .homepage .contact-section .slick-track {
    padding: 2rem 0;
  }

  .homepage .contact-section .overview {
    width: calc(100% - 3rem);
    text-align: center;
    padding: 4rem 1.5rem;
  }
}

/* ============================================= */

/* NEWS SECTION */
/* ========================== */
.homepage .news-section {
  display: flex;
  margin: 8rem 0;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 0 0.75rem;
}

.homepage .news-section .list {
  display: flex;
  gap: 2rem;
}

.homepage .news-section .card {
  display: flex;
  flex-direction: column;
  width: calc(100% / 3);
  background-color: var(--primary-cream);
}

.homepage .news-section .thumbnail {
  width: 100%;
  aspect-ratio: 1.45;
  height: auto;
  object-fit: cover;
}

.homepage .news-section .info {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  padding: 1.5rem;
}

.homepage .news-section .text-paragraph {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.homepage .news-section .text-title-2 {
  min-height: 4.125rem;
  line-height: 125%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.homepage .news-section a {
  margin-left: auto;
  width: fit-content;
  text-decoration: underline;
  margin-top: 0.5rem;
}

.homepage .see-more {
  margin-left: auto;
  display: block;
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .homepage .news-section .list {
    gap: 0.5rem;
  }
  .homepage .news-section .text-title-2 {
    min-height: 3.125rem;
  }
}

@media (max-width: 768px) {
  .homepage .news-section .list {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 1rem;
  }

  .homepage .news-section .card {
    width: calc(50% - 0.25rem);
  }
}

@media (max-width: 572px) {
  .homepage .news-section .card {
    width: 100%;
    max-width: 400px;
  }
}
