/* --- STYLING KHUSUS Layanan - Kanopi Nursing Home --- */
/* --- 1. CINEMATIC HERO (Konsisten dgn halaman lain) --- */
.directory-hero-cinematic {
  /* Menggunakan Primary Dark murni dengan opacity 65%. Natural, Elegan, dan Lembut. */
  background: linear-gradient(to bottom, rgba(15, 41, 30, 0.65), rgba(15, 41, 30, 0.65)), url('/assets/img/header-knh.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 200px 0 140px;
  text-align: center;
  color: #fff;
  position: relative;
}
.directory-hero-content { max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.directory-hero-content .sub-title { color: #B7FFB1; border-color: #BFECB9; margin-bottom: 20px; }
.directory-hero-content h1 { font-size: 4.5rem; margin-bottom: 25px; text-shadow: 0 4px 20px rgba(0,0,0,0.3); color: #fff; line-height: 1.1; letter-spacing: -0.02em; }
.directory-hero-content p { color: rgba(255,255,255,0.95); font-size: 1.2rem; line-height: 1.8; text-shadow: 0 2px 10px rgba(0,0,0,0.4); max-width: 800px; margin: 0 auto 50px; }

/* Tombol Scroll Down Animasi */
.scroll-down-btn { display: inline-flex; justify-content: center; align-items: center; width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); color: #fff; font-size: 1.5rem; transition: 0.3s; animation: bounce 2s infinite; }
.scroll-down-btn:hover { background: var(--brand-green); border-color: var(--brand-green); }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-15px); } 60% { transform: translateY(-7px); } }

/* --- 2. INTRO STATEMENT (Transisi Bersih) --- */
.hub-intro { padding: 100px 0 80px; text-align: center; background: #fff; }
.hub-intro h2 { font-size: 2.2rem; color: var(--primary-dark); font-weight: 400; max-width: 950px; margin: 0 auto; line-height: 1.6; }
.hub-intro h2 strong { font-weight: 800; color: var(--brand-green); }

/* --- 3. STAGGERED SHOWCASE (ZIG-ZAG LAYOUT MODERN) --- */
.hub-showcase { padding: 20px 0 120px; background: #fff; }
.showcase-item { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 120px; position: relative; }
.showcase-item:last-child { margin-bottom: 0; }

/* Layout Kiri-Kanan bergantian */
.showcase-item:nth-child(even) .sc-image-wrap { order: 2; }
.showcase-item:nth-child(even) .sc-content-wrap { order: 1; }

.sc-image-wrap { position: relative; }
.sc-image-wrap img { width: 100%; border-radius: 30px; box-shadow: 0 30px 60px rgba(15, 41, 30, 0.12); display: block; position: relative; z-index: 2; transition: 0.5s; border: 1px solid #f0f0f0; }
.showcase-item:hover .sc-image-wrap img { transform: scale(1.02); box-shadow: 0 40px 70px rgba(15, 41, 30, 0.2); }

/* Ornamen Elegan di Belakang Gambar */
.sc-image-wrap::before { content: ''; position: absolute; width: 100%; height: 100%; border: 3px solid var(--light-green-bg); border-radius: 30px; top: -20px; left: -20px; z-index: 1; transition: 0.4s; }
.showcase-item:nth-child(even) .sc-image-wrap::before { left: auto; right: -20px; border-color: #e2f0e5; }
.showcase-item:hover .sc-image-wrap::before { transform: translate(10px, 10px); border-color: var(--brand-green); opacity: 0.3;}

/* Angka Raksasa Watermark */
.sc-number { position: absolute; top: -60px; left: -30px; font-size: 14rem; font-weight: 800; color: var(--light-green-bg); line-height: 1; z-index: 0; transition: 0.5s; }
.showcase-item:nth-child(even) .sc-number { left: auto; right: -30px; }
.showcase-item:hover .sc-number { color: #e2f0e5; transform: scale(1.05); }

.sc-content-wrap { position: relative; z-index: 3; }
.sc-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--light-green-bg); color: var(--brand-green); font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; padding: 10px 20px; border-radius: 30px; margin-bottom: 25px; border: 1px solid #d1ebd5; }
.sc-content-wrap h3 { font-size: 3rem; color: var(--primary-dark); margin-bottom: 20px; line-height: 1.2; letter-spacing: -0.02em; }
.sc-content-wrap p { font-size: 1.1rem; color: var(--text-gray); line-height: 1.8; margin-bottom: 30px; }

.sc-features { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 40px; }
.sc-feat-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--primary-dark); font-size: 0.95rem; }
.sc-feat-item i { color: var(--brand-green); font-size: 1.1rem; }

/* Tombol Elegan (Outline to Solid Hover) */
.btn-elegant { display: inline-flex; align-items: center; gap: 12px; background: transparent; color: var(--brand-green); padding: 16px 35px; border-radius: 12px; font-weight: 800; font-size: 1rem; transition: 0.4s; overflow: hidden; border: 2px solid var(--brand-green); }
.btn-elegant i { transition: 0.4s; }
.btn-elegant:hover { background: var(--brand-green); color: #fff; box-shadow: 0 15px 30px rgba(45, 174, 65, 0.2); }
.btn-elegant:hover i { transform: translateX(5px); }


/* --- 4. THE PROCESS (Alur Pelayanan Clean) --- */
.hub-process { padding: 120px 0; background: #fdfbfd; border-top: 1px solid #f0f0f0; }
.process-title { text-align: center; margin-bottom: 80px; }
.process-title h2 { font-size: 2.8rem; color: var(--primary-dark); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.proc-card { background: #fff; padding: 40px 30px; border-radius: 24px; border: 1px solid #eee; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.02); text-align: center; }
.proc-card:hover { border-color: var(--brand-green); box-shadow: 0 20px 40px rgba(45, 174, 65, 0.08); transform: translateY(-10px); }

.proc-step { font-size: 4rem; font-weight: 800; color: var(--light-green-bg); position: absolute; top: 5px; right: 10px; line-height: 1; transition: 0.4s; z-index: 0; }
.proc-card:hover .proc-step { color: var(--brand-green); opacity: 0.05; transform: scale(1.2) translate(-10px, 10px); }

.proc-icon { width: 70px; height: 70px; background: #fff; border: 2px solid #e2f0e5; color: var(--brand-green); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; margin: 0 auto 25px; position: relative; z-index: 1; transition: 0.3s; }
.proc-card:hover .proc-icon { background: var(--brand-green); color: #fff; border-color: var(--brand-green); box-shadow: 0 10px 20px rgba(45, 174, 65, 0.2); }

.proc-card h4 { font-size: 1.25rem; color: var(--primary-dark); margin-bottom: 10px; position: relative; z-index: 1; }
.proc-card p { font-size: 0.95rem; color: var(--text-gray); line-height: 1.6; margin: 0; position: relative; z-index: 1; }

/* --- 5. BOTTOM CTA --- */
.directory-cta { background: linear-gradient(135deg, #059D2B 0%, #2c6a1f 100%); padding: 100px 0; text-align: center; color: #fff; position: relative; overflow: hidden; }
.directory-cta::before { content: ''; position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(45, 174, 65, 0.2) 0%, transparent 70%); border-radius: 50%; top: -200px; left: -100px; }
.directory-cta::after { content: ''; position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%); border-radius: 50%; bottom: -150px; right: -50px; }
.cta-content-inner { position: relative; z-index: 2; }
.directory-cta h2 { font-size: 2.8rem; margin-bottom: 20px; color: #fff; }
.directory-cta p { color: rgba(255,255,255,0.8); margin-bottom: 40px; font-size: 1.15rem; max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.btn-white { background: #fff; color: var(--primary-dark); padding: 16px 35px; border-radius: 30px; font-weight: 800; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; border: 2px solid #fff; }
.btn-white:hover { background: transparent; color: #fff; transform: translateY(-5px); }

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
  .directory-hero-content h1 { font-size: 3.8rem; }
  .showcase-item { gap: 40px; margin-bottom: 100px; }
  .sc-content-wrap h3 { font-size: 2.5rem; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 968px) {
  .showcase-item { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .showcase-item:nth-child(even) .sc-image-wrap { order: unset; }
  .showcase-item:nth-child(even) .sc-content-wrap { order: unset; }
  .sc-features { text-align: left; }
  .sc-number { display: none; }
  .sc-image-wrap::before { display: none; }
  .hub-intro h2 { font-size: 1.8rem; }
}
@media (max-width: 768px) {
  .directory-hero-cinematic { padding: 160px 0 80px; background-attachment: scroll; }
  .directory-hero-content h1 { font-size: 3rem; }
  .hub-intro { padding: 60px 0; }
  .hub-intro h2 { font-size: 1.5rem; padding: 0 20px; }
  .sc-content-wrap h3 { font-size: 2rem; }
  .sc-features { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 30px; }
  .directory-cta h2 { font-size: 2.2rem; }
}      