/* ===== Home page ===== */

/* ── HERO ── */
.hero-home {
  position: relative;
  min-height: 820px;
  background: url('../images/v_homehero.webp') center center / cover no-repeat;
  display: flex; align-items: center;
}
.hero-home .hero-content {
  position: relative; z-index: 1;
  padding: 120px 0;
  max-width: 640px;
}
.hero-home h1 {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900; color: var(--gold);
  line-height: 1.08; margin: 0;
}

/* ── SILOAM SPECIALIST CENTER ── */
.sec-about {
  background: url('../images/v-homeabout.webp') center top / 100% auto no-repeat, #FAF7F0;
  padding: 100px 0 45px; text-align: center;
}
.sec-about h2 {
  font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 900; color: var(--gold);
  margin-bottom: 24px; line-height: 1.12;
}
.sec-about p {
  font-size: 16px; color: var(--navy); line-height: 1.9;
  margin: 0 auto 30px; max-width: 780px;
}
.btn-learn-more {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #fff;
  border-radius: 30px; padding: 12px 32px;
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; text-decoration: none; transition: background .2s;
}
.btn-learn-more:hover { background: #b8913a; color: #fff; }

/* ── FUTURE OF LONGEVITY (intro inside sec-about) ── */
.future-intro-row { margin-top: 120px; }
.future-title {
  font-size: clamp(1.9rem,3.6vw,2.6rem); font-weight: 900; line-height: 1.15;
  margin: 0 0 18px; text-align: left;
}
.future-desc { font-size: 15px; color: var(--navy); line-height: 1.8; margin: 0; text-align: left; }

/* ── FUTURE PHOTO CARDS ── */
.future-cards-row { margin-top: 64px; }
.future-photo-card {
  position: relative; display: block; border-radius: 12px; overflow: hidden;
  height: 320px; text-decoration: none; border: 1.5px solid rgba(201,168,76,0.55);
}
.future-photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.future-photo-card:hover img { transform: scale(1.05); }
.future-photo-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,10,40,0.93) 0%, rgba(0,10,40,0.45) 42%, transparent 75%);
}
.future-photo-card .fpc-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 20px; }
.future-photo-card h4 { font-size: 18px; font-weight: 900; color: #fff; margin: 0 0 9px; line-height: 1.25; }
.future-photo-card h4 .g { color: var(--gold); }
.future-photo-card p { font-size: 12.5px; color: rgba(255,255,255,0.88); line-height: 1.62; margin: 0; }

/* ── MEDICAL EXPERTS ── */
.sec-experts-home { padding: 60px 0; background: #fff; }
.sec-experts-home h2 {
  color: var(--gold); font-size: clamp(1.7rem,3vw,2.2rem); font-weight: 900;
  text-align: center; margin: 0 0 12px;
}
.sec-experts-home .experts-sub {
  font-size: 14px; color: var(--navy); margin: 0 auto 36px;
  line-height: 1.75; text-align: center; max-width: 680px;
}

.doc-slider-wrap { position:relative; padding:0 44px; }
.doc-slider-outer { overflow:hidden; padding-top:58px; }
.doc-slider-track { display:flex; gap:20px; transition:transform .4s ease; will-change:transform; }
.doc-card-item { flex:0 0 calc(33.333% - 14px); }
.doc-slider-btn {
  position:absolute; top:50%; transform:translateY(-20%);
  width:36px; height:36px; border-radius:50%;
  border:1.5px solid #ccc; background:#fff;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; font-size:18px; color:#555;
  z-index:10; transition:all .2s; line-height:1;
}
.doc-slider-btn:hover { background:var(--gold); border-color:var(--gold); color:#fff; }
.doc-slider-prev { left:0; }
.doc-slider-next { right:0; }
.doctor-card { border-radius:16px; overflow:visible; position:relative; }
.doctor-card .doc-upper {
  background:linear-gradient(160deg,#D6E8FF 0%,#A8CAFF 100%);
  border-radius:16px 16px 0 0;
  height:200px; position:relative; overflow:visible;
}
.doctor-card .doc-photo {
  position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  height:260px; width:auto;
  object-fit:contain; object-position:bottom center;
  display:block; z-index:1;
}
.doctor-card .doc-lower {
  background:linear-gradient(160deg,#1A3F8F 0%,#0B1F55 100%);
  border-radius:16px; padding:18px 20px 20px;
  position:relative; z-index:2; margin-top:-110px;
}
.doctor-card .doc-name { color:var(--gold); font-size:15px; font-weight:800; line-height:1.4; margin-bottom:5px; }
.doctor-card .doc-spec { color:rgba(255,255,255,0.75); font-size:12px; font-weight:500; margin-bottom:18px; display:block; }
.btn-profile {
  background:var(--gold); color:#fff; border-radius:20px;
  font-size:11px; font-weight:700; padding:7px 18px;
  text-decoration:none; display:inline-flex; align-items:center; gap:5px;
  float:right; transition:background .2s;
}
.btn-profile:hover { background:#b8913a; color:#fff; }

/* ── SPECIALTIES & PROGRAMS ── */
.sec-programs {
  background: url('../images/v_homespecialties.webp') center top / cover no-repeat;
  padding: 72px 0; min-height: calc(100vw * 1559 / 2074);
}
.sec-programs h2 {
  font-size: clamp(1.8rem,3.5vw,2.4rem); font-weight: 900; color: var(--gold);
  text-align: center; margin-bottom: 44px;
}
.prog-sub { margin-bottom: 36px; }
.prog-sub:last-child { margin-bottom: 0; }
.prog-sub-title { font-size: 28px; font-weight: 900; color: var(--navy); margin-bottom: 12px; line-height: 1.2; }
.prog-sub-desc { font-size: 17px; color: var(--navy); line-height: 1.7; margin: 0 0 18px; }
.prog-list { list-style: none; padding: 0; margin: 0; }
.prog-list li {
  font-size: 17px; color: var(--navy); font-weight: 500;
  display: flex; align-items: center; gap: 14px; padding: 8px 0;
}
.prog-ic {
  width: 42px; height: 42px; object-fit: contain; flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(69%) sepia(38%) saturate(630%)
          hue-rotate(2deg) brightness(97%) contrast(92%);
}
.prog-list li .arrow { color: var(--gold); font-size: 9px; margin-right: 7px; }

/* ── DISCOVER OUR SPECIALTIES ── */
.sec-discover { padding: 0 0 60px; background: transparent; margin-top: -200px; position: relative; z-index: 2; }
.sec-discover h2 {
  font-size: clamp(1.8rem,3.5vw,2.4rem); font-weight: 900; margin-bottom: 28px;
  text-align: center;
}
.spec-card {
  position:relative; border-radius:12px; overflow:hidden; height:350px; cursor:pointer;
}
.spec-card img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s; }
.spec-card:hover img { transform:scale(1.05); }
.spec-card::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(to top,rgba(0,15,50,.75) 30%,transparent 100%);
}
.spec-card .spec-label {
  position:absolute; bottom:0; left:0; right:0; z-index:1;
  color: var(--gold); font-size:22px; font-weight:900;
  text-align:center; padding:20px 12px 24px;
}

/* ── INSIGHTS & ARTICLES ── */
.sec-articles {
  padding: 64px 0;
  background: url('../images/v_homearticles.webp') center center / cover no-repeat;
}
.sec-articles h2 {
  font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 900; color: var(--gold);
  margin-bottom: 36px; text-align: center;
}
.article-card {
  border-radius:14px; overflow:hidden; text-decoration:none;
  position:relative; height:360px; cursor:pointer;
  box-shadow:0 6px 20px rgba(0,0,0,0.12);
}
.article-card img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s; }
.article-card:hover img { transform:scale(1.04); }
.article-card::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(to top, rgba(0,15,50,0.85) 0%, rgba(0,15,50,0.15) 45%, transparent 70%);
}
.article-card .art-title {
  position:absolute; bottom:0; left:0; right:0; z-index:1;
  color:#fff; font-size:22px; font-weight:900; line-height:1.3;
  margin:0; padding:24px 24px 28px;
}
.btn-all-articles {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #fff;
  border-radius: 30px; padding: 12px 28px;
  font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s;
}
.btn-all-articles:hover { background: #b8913a; color: #fff; }

/* ===== Responsive — Home ===== */
@media (max-width: 991px) {
  .hero-home { min-height: 560px; }
  .hero-home .hero-content { padding: 120px 0 60px; }
  .sec-about { padding: 70px 0 36px; }
  .future-intro-row { margin-top: 56px; }
  .future-title { text-align: center; }
  .future-desc { text-align: center; }
  .future-cards-row { margin-top: 36px; }
  .sec-experts-home { padding: 48px 0; }
  .doc-card-item { flex: 0 0 calc(50% - 10px); }
  .sec-programs { min-height: auto; padding: 56px 0; }
  .prog-sub-title { font-size: 24px; }
  .prog-sub-desc, .prog-list li { font-size: 15px; }
  .sec-discover { margin-top: 40px; }   /* drop the desktop -200px overlap */
}

@media (max-width: 576px) {
  .hero-home { min-height: 460px; }
  .hero-home h1 { font-size: 2.8rem; }
  .sec-about { padding: 56px 0 32px; }
  .sec-about h2 { font-size: 2rem; }
  .future-intro-row { margin-top: 40px; }
  .doc-card-item { flex: 0 0 100%; }     /* 1 doctor card per view */
  .doc-slider-wrap { padding: 0 38px; }
  .spec-card, .article-card { height: 300px; }
  .article-card .art-title { font-size: 18px; padding: 18px 18px 22px; }
}
