/* ==========================================================================
   Base
========================================================================== */
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Kanit', sans-serif;
  color: #333;
}

/* ==========================================================================
   Navbar
========================================================================== */
.navbar-custom {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9) 20%,
    rgba(255, 255, 255, 0) 80%
  );
  /* backdrop-filter: blur(10px); */
  /* -webkit-backdrop-filter: blur(10px); */
}

.img-logo {
  max-height: 60px;
  width: auto;
  height: auto;
}

@media (max-width: 576px) {
  .img-logo {
    max-height: 40px;
  }

  .navbar-custom .btn.d-lg-none {
    margin-left: auto !important;
    margin-right: auto !important;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .navbar-custom .btn.d-lg-none:hover {
    background-color: #074e28;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .navbar-custom .btn.d-lg-none:active {
    background-color: #053a1d;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
}

/* ==========================================================================
   Hero Section
========================================================================== */
.hero-section {
  position: relative;
  top: 0;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  background: url('../images/img-bg-rooftop.png') no-repeat center center;
  background-size: cover;
}

.hero-section-content {
  width: 100%;
  margin: 0 auto;
  padding-top: 100px;
  padding-bottom: 50px;
}

.hero-title {
  font-size: 85px;
  font-weight: bold;
  line-height: 90px;
  letter-spacing: 20;
  text-align: left;
  color: #098f4b;
  -webkit-text-stroke: 10px white;
  paint-order: stroke;

  /* text-shadow: 5px 0 0 white, -5px 0 0 white, 0 5px 0 white, 0 -5px 0 white,
    5px 5px 0 white, -5px -5px 0 white, 5px -5px 0 white, -5px 5px 0 white; */
  filter: drop-shadow(0 5px 7px rgb(0 0 0));
  word-break: keep-all;
}

.hero-subtitle {
  font-size: 32px;
  font-weight: 500;
  text-align: left;
  line-height: auto;
  color: #098f4b;
  -webkit-text-stroke: 4px white;
  paint-order: stroke;
  /* text-shadow: 3px 0 0 white, -3px 0 0 white, 0 3px 0 white, 0 -3px 0 white,
    3px 3px 0 white, -3px -3px 0 white, 3px -3px 0 white, -3px 3px 0 white; */
  filter: drop-shadow(0 5px 10px rgba(0 0 0 / 50%));
}

.hero-section-content .d-lg-flex.d-none {
  display: none !important;
}

.hero-section-content .d-lg-flex:not(.d-none) {
  display: flex !important;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.hero-section-content .btn {
  width: 80%;
  max-width: 300px;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hero-section-content .btn:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.hero-section-content .btn:active {
  background-color: #d0d0d0;
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-banner-btn {
  display: flex;
  gap: 40px;
  margin-top: 130px;
  max-width: 100%;
}

/* ==========================================================================
   Banner Images
========================================================================== */
.bottom-curve {
  position: absolute;
  bottom: -20px;
  z-index: 2;
}

.img-service {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  max-width: 50%;
}

.img-footer-content {
  position: absolute;
  bottom: -0px;
  left: 0;
  width: 100%;
  z-index: 1;
}

/* ==========================================================================
   Buttons
========================================================================== */
.btn-shadow {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.btn-contact {
  background-color: #074e28;
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.btn-outline-service {
  border: 5px solid #05a450;
  border-radius: 20px;
  padding: 15px 40px;
  font-size: 24px;
  white-space: normal;
  text-align: center;
  word-break: break-word;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, transform 0.3s ease;
}

.btn-outline-service:hover {
  background-color: #05a450;
  color: #fff;
  border-color: #05a450;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-outline-service:active {
  background-color: #048a42;
  color: #fff;
  border-color: #048a42;
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-facebook,
.btn-call-center {
  border-radius: 25px;
  padding: 20px 30px;
  font-size: 24px;
  font-weight: 600;
  box-shadow: 0 0 0 2px #fbce00,
    0 0 10px #000000;
  width: 100%;
  max-width: 400px;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-facebook:hover {
  background-color: #1e266f;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-facebook:active {
  background-color: #1a205a;
  transform: translateY(0);
}

.btn-call-center:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.btn-call-center:active {
  background-color: #e0e0e0;
  transform: translateY(0);
}

.btn-facebook {
  background-color: #253089;
  color: #ffffff;
}

.btn-call-center {
  background-color: #ffffff;
}

.btn-call-center span {
  background: linear-gradient(to right, #07512a, #05a450);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Layout Utilities
========================================================================== */
.button-wrapper-responsive {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.service-buttons-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-items: flex-start;
  gap: 20px;
  padding: 10px 0;
}

/* ==========================================================================
   Section: Conditions
========================================================================== */
.conditions-section {
  padding: 20px 0;
  margin-top: 30px;
  text-align: left;
}

.conditions-section .conditions-title {
  font-size: 36px;
  font-weight: bold;
  color: #367b4e;
  margin-bottom: 15px;
  text-align: left;
}

.conditions-section .condition-item {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: #25784d;
  text-align: left;
  padding: 0 15px;
}

/* ==========================================================================
   Section: Footer
========================================================================== */
#section__footer-content {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: linear-gradient(to left, #023e1e, #05a450);
  text-align: center;
}
.footer-title {
  padding: 20px 0;
  font-size: 32px;
  font-weight: 600;
}

.section-footer-btn {
  position: relative;
  z-index: 2;
}

#section__footer-site {
  background: linear-gradient(to top, #023e1e 0, #05a450 100%);
  padding: 20px 0;
  text-align: center;
}

.img-logo-footer {
  max-height: 50px;
  width: auto;
  height: auto;
  margin-bottom: 15px;
}

/* ==========================================================================
   Section: Services
========================================================================== */
#section__services {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.section-service-title {
  font-size: 38px;
  font-weight: 600;
  color: #25784d;
  margin-bottom: 30px;
  align-items: left;
}

/* ==========================================================================
   Section: Payment Methods
========================================================================== */
#section__payment-methods {
  padding: 25px 0;
  background-color: #f5faf3;
}

.section-card-payment {
  background-color: #c5e9d2;
  padding: 40px 10px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   Section: General Content
========================================================================== */
.section-title {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 30px;
  background: linear-gradient(to right, #1a6a25, #3cb371);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-align: left;
}

.section-content-img {
  margin-bottom: 30px;
  padding: 0 20px;
  max-width: 80%;
  height: auto;
}

.section-content-title {
  font-size: 28px;
  font-weight: 600;
  color: #367b4e;
  text-shadow: 2px 0 0 white, -2px 0 0 white, 0 2px 0 white, 0 -2px 0 white,
    2px 2px 0 white, -2px -2px 0 white, 2px -2px 0 white, -2px 2px 0 white;
  filter: drop-shadow(0 4px 6px rgba(255, 255, 255, 0.5));
  text-align: center;
}

.section-content-desc {
  font-size: 22px;
  font-weight: 400;
  color: #367b4e;
  margin-bottom: 30px;
  text-align: center;
}

.section-content-btn {
  font-size: 18px;
  color: #05a450;
  border-radius: 20px;
  padding: 10px 15px;
  filter: drop-shadow(1px 2px 5px rgba(31, 100, 255, 0.15));
  width: 90%;
  max-width: 250px;
  transition: background-color 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.section-content-btn:hover {
  background-color: #e0e0e0;
  color: #05a450;
  transform: translateY(-2px);
  filter: drop-shadow(1px 6px 12px rgba(31, 100, 255, 0.3));
}

.section-content-btn:active {
  background-color: #d0d0d0;
  color: #05a450;
  transform: translateY(0);
  filter: drop-shadow(1px 2px 5px rgba(31, 100, 255, 0.1));
}

.info-outline {
  border: 5px solid #05a450;
  border-radius: 20px;
  padding: 15px 40px;
  font-size: 24px;
  white-space: normal;
  text-align: center;
  word-break: break-word;
  text-shadow: 0 0 7px #ffffff;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, transform 0.3s ease;
}

/* ==========================================================================
   Responsive styles
========================================================================== */
@media (max-width: 1200px) {
  .hero-section-content .col-xl-7 {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 1024px) {
  .hero-title {
    font-size: 64px;
    line-height: 72px;
    letter-spacing: 1.5px;
  }

  .hero-subtitle {
    font-size: 28px;
  }

  .section-service-title,
  .section-title {
    font-size: 36px;
  }

  .section-content-title {
    font-size: 36px;
  }

  .conditions-section .conditions-title {
    font-size: 32px;
  }

  .conditions-section .condition-item {
    font-size: 18px;
  }

  .footer-title {
    font-size: 28px;
  }

  .btn-facebook,
  .btn-call-center {
    font-size: 22px;
    padding: 15px 25px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .hero-section-content {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .hero-title {
    font-size: 48px;
    line-height: 56px;
    letter-spacing: 1px;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 24px;
    text-align: center;
  }

  .hero-section-content .col-xl-5 {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-section-content .d-lg-flex:not(.d-none) {
    margin-top: 20px;
  }

  .img-subtitle {
    display: none;
  }

  .img-service {
    display: none;
  }

  #section__services {
    padding: 50px 0;
  }

  .section-service-title,
  .section-title {
    font-size: 30px;
    margin-bottom: 20px;
  }

  #section__payment-methods {
    padding: 50px 0;
  }

  .section-card-payment {
    padding: 30px 10px;
  }

  .section-content-title {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .section-content-desc {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .section-content-img {
    margin-bottom: 20px;
    max-width: 60%;
  }

  .conditions-section .conditions-title {
    font-size: 28px;
  }

  .conditions-section .condition-item {
    font-size: 16px;
  }

  #section__footer-content {
    padding: 50px 0;
  }

  .footer-title {
    font-size: 24px;
    padding: 15px 0;
  }

  .btn-facebook,
  .btn-call-center {
    font-size: 18px;
    padding: 12px 20px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: 0.5px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-section-content .btn {
    width: 95%;
  }

  .section-banner-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
  }

  .bottom-curve {
    position: absolute;
    bottom: 0;
    z-index: 2;
  }

  .section-service-title,
  .section-title {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
  }

  .info-outline {
    font-size: 16px;
    padding: 10px 20px;
    border-width: 3px;
  }

  .service-buttons-container {
    gap: 10px;
  }

  .section-card-payment {
    padding: 25px 10px;
    border-radius: 20px;
  }

  .section-content-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .section-content-desc {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .section-content-btn {
    font-size: 14px;
    padding: 8px 12px;
  }

  .conditions-section .conditions-title {
    font-size: 24px;
  }

  .conditions-section .condition-item {
    font-size: 14px;
    padding: 0 10px;
  }

  .footer-title {
    font-size: 18px;
    padding: 10px 0;
  }

  .btn-facebook,
  .btn-call-center {
    font-size: 16px;
    padding: 10px 15px;
  }

  .img-logo-footer {
    max-height: 40px;
  }

  .text-policy {
    font-size: 10px;
  }

  .img-footer-content {
    position: absolute;
    bottom: 0;
    z-index: 1;
  }
}
