/* ===============================
   HOTSPAN FOUNDATION – PREMIUM
   =============================== */

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #0f172a;
  line-height: 1.75;
}


.hsf-support-card p strong{
  color: rgb(36, 36, 36);
}

/* HERO */
#hsf-hero-premium {
  position: relative;
  padding: 198px 20px;
  background-image: url('../foundationimg/foundationpagebanner.jpg');
  background-size: cover;
  background-position: center;
}

.hsf-hero-overlay {
  position: absolute;
  inset: 0;
  /* background: rgb(15 23 42 / 53%); */
}

.hsf-hero-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}

#hsf-hero-premium h1 {
  font-size: 34px;
  font-weight: 500;
  color: white;
  line-height: 48px;
}

/* COMMON WRAPS */
.hsf-content-wrap {
  max-width: 1298px;
  margin: 0 auto;
  padding: 90px 20px;
}

/* INTRO CARD */
.hsf-text-card {
  background: linear-gradient(90deg, #e6f2ffc7 0%, #f5f6f7 100%);
  padding: 50px;
  border-radius: 18px;
}

/* SPLIT */
#hsf-section-mission {
  background: #ffffff;
  padding: 1px 73px 90px;
}

.hsf-support-card p strong{
  font-size: 18px;
}

.hsf-closing-wrap p{
  font-size: 17px;
}

.hsf-split-premium {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.hsf-split-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hsf-split-text p {
  color: #333333;
  margin-top: 18px;
}

.hsf-split-visual {
  height: 470px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}

.hsf-bg-thailand {
  background-image: url('../foundationimg/ourmissionimg.jpg');
}

/* SUPPORT */
#hsf-section-support {
  background: linear-gradient(90deg, #e6f2ffc7 0%, #f5f6f7 100%);
}

.hsf-support-intro {
  font-size: 23px;
  text-align: center;
  padding: 0 148px;
  line-height: 32px;
  margin-bottom: 58px;
  color: #333333;
}

.hsf-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.hsf-support-card {
  background: #ffffff;
  padding: 36px;
  border-radius: 16px;
}

/* CLOSING */
#hsf-section-closing {
  position: relative;
  background-image: url('your-image/closing.jpg');
  background-size: cover;
  background-position: center;
  padding: 97px 20px;
  box-shadow: 0 0 30px #f1f5f9;
}

.hsf-closing-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.92);
}

.hsf-closing-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hsf-cta-row {
  margin-top: 30px;
  font-weight: 500;
}

.hsf-cta-row a {
  text-decoration: underline;
  color: #c91f27;
  font-size: 16px;
}
.hsf-cta-row a:hover {
  text-decoration: underline;
  color: #0f172a;
}

.hsf-cta-row span {
  margin: 0 10px;
  color: #94a3b8;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hsf-split-premium {
    grid-template-columns: 1fr;
  }

  .hsf-support-grid {
    grid-template-columns: 1fr;
  }

  #hsf-hero-premium h1 {
    font-size: 30px;
  }
}


/* ===============================
   HOTSPAN FOUNDATION – GALLERY
   =============================== */

#hsf-section-gallery {
  background: #ffffff;
  border-top: 1px solid #c6c6c68f;
}

.hsf-gallery-title {
  font-size: 34px;
  margin-bottom: 50px;
  text-align: center;
}

.hsf-gallery-subtitle {
  text-align: center;
  font-size: 18px;
  color: #475569;
  margin-bottom: 50px;
}

.hsf-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.hsf-gallery-item {
  overflow: hidden;
  border-radius: 8px;
  background: #e5e7eb;
}

.hsf-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

/* Subtle focus on hover */
.hsf-gallery-item:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 900px) {
  .hsf-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .hsf-gallery-grid {
    grid-template-columns: 1fr;
  }
}


/* ===============================
   HOTSPAN FOUNDATION – LIGHTBOX SLIDER
   =============================== */

#hsf-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

#hsf-lightbox-modal.active {
  display: block;
}

.hsf-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.85);
}

.hsf-lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  /* background: #ffffff; */
  padding: 18px;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.hsf-lightbox-content img {
  max-width: 80vw;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
  border-radius: 0px;
  object-fit: contain;
}

.hsf-lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #0f172a;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
}

/* Navigation arrows */
.hsf-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(15,23,42,0.8);
  color: #ffffff;
  font-size: 17px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
}

.hsf-prev {
  left: -18px;
}

.hsf-next {
  right: -18px;
}

/* Mobile */
@media (max-width: 600px) {
  .hsf-prev {
    left: 10px;
  }
  .hsf-next {
    right: 10px;
  }
}

@media (max-width: 575px) {
  #hsf-hero-premium h1 {
    font-size: 25px;
    line-height: 41px;
}
.hsf-content-wrap {
    padding: 47px 20px;
}
.hsf-text-card {
    padding: 25px;
}
#hsf-section-mission {
    padding: 1px 20px 52px;
}
.hsf-split-text h2 {
    font-size: 23px;
}
.hsf-split-premium {
    gap: 10px;
}
.hsf-split-visual {
    height: 280px;
}
.hsf-support-intro {
    font-size: 20px;
    padding: 0 0px;
    line-height: 30px;
}
.hsf-support-card {
    padding: 27px;
}
#hsf-section-closing {
    padding: 48px 20px;
}
.hsf-gallery-title {
    font-size: 23px;
}
#searchres{
  display: none !important;
}
#accountres{
  display: none !important;
}
.iconh{
  display: none !important;
}
}

#abtlinknew{
  list-style: none;
  font-weight: 500;
}

#folush{
  font-size: 12px;
}

.hsf-support-card p{
  margin-bottom: 0px;
  color: #333333;
}

#founhban{
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hsf-text-card p{
  color: #333333 !important;
}