
/* === GLOBAL SAFETY (WAJIB PALING ATAS) === */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* === RESET GLOBAL (JANGAN DIHAPUS) === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* === NAVBAR === */
header {
  background: #008000; /* hijau */
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 50px;
}

.logo h1 {
  font-size: 30px;        /* ukuran teks */
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;    /* agar tidak turun baris di desktop */
}

.logo a,
.logo a:visited,
.logo a:hover,
.logo a:active {
    color: #ffffff;          /* warna putih seperti sebelumnya */
    text-decoration: none;   /* hilangkan garis bawah */
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;         /* tetap tangan saat hover */
}

.menu {
  list-style: none;
  display: flex;
  gap: 30px;
}

.menu li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.menu li a:hover,
.menu li a.active {
  color: #ffffff;  /* putih */
}

/* === MEGA MENU (AUTO SHOW ON HOVER) === */
.dropdown {
  position: relative;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
  }

  .logo h1 {
    font-size: 10px;
    text-align: center;
  }
}

/* === MEGA MENU (AUTO SHOW ON HOVER) === */
.dropdown {
  position: relative;
}

/* Default: hidden */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #008000;         /* Hijau */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  padding: 20px 40px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  border-top: 3px solid #ffc107;
  border-radius: 6px;
  
  opacity: 0;               /* Hidden */
  visibility: hidden;       /* Hidden */
  transition: all 0.35s ease;
  z-index: 999;
}

/* DESKTOP: tampil saat hover */
.dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* =========================
   HAMBURGER DEFAULT (DESKTOP)
========================= */
.hamburger {
  display: none;
}

/* =====================================
   ARROW TOGGLE â€” DESKTOP (HIDDEN)
===================================== */
.arrow {
  display: none;
}


/* === SHOW SAAT HOVER MENU === */

.dropdown.active .mega-menu {
    max-height: 300px;
}

.dropdown-toggle {
  -webkit-tap-highlight-color: rgba(255,255,255,0.2);
}


.arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.dropdown-toggle .arrow {
  pointer-events: none;
  transition: transform 0.3s ease;
}

.dropdown.active .arrow {
  transform: rotate(180deg);
}


/* === SHOW SAAT HOVER MENU === */
.dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* === Kolom Mega Menu === */
.menu-column {
  flex: 1;
  min-width: 160px;
  border-right: 1px solid #eee;
  padding: 0 15px;
}

.menu-column:last-child {
  border-right: none;
}

.menu-column h3 {
  color: #ffc107;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid #ffc107;
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 10px;
}

.menu-column a {
  display: block;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  padding: 3px 0;
  transition: color 0.3s, transform 0.2s;
}

.menu-column a:hover {
  color: #007bff;
  transform: translateX(4px);
}

/* Custom khusus dropdown Klinik Kami (lebih lebar) */
.dropdown:nth-child(2) .mega-menu {
  min-width: 700px;
}

@media (max-width: 768px) {
  .dropdown:nth-child(2) .mega-menu {
    min-width: auto;
    width: 100%;
  }
}


/* === RESPONSIVE === */
@media (max-width: 900px) {
  .mega-menu {
    flex-direction: column;
    width: 100%;
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
  }

  .menu-column {
    width: 100%;
    border: none;
    padding: 10px 0;
  }
}

/* === SLIDER PREMIUM === */
.slider {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 85vh;
  background: #000;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 1.5s ease;
  display: none;
}

.slide.active {
  display: block;
  opacity: 1;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(65%);
}

/* CAPTION */
.caption {
  position: absolute;
  bottom: 18%;
  left: 10%;
  color: #fff;
  animation: fadeUp 1.2s ease;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.caption h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-shadow: 0 4px 12px rgba(0,0,0,.4);
}

.caption p {
  font-size: 18px;
  max-width: 600px;
  line-height: 1.6;
  text-shadow: 0 4px 12px rgba(0,0,0,.4);
}

/* NEXT & PREV */
.controls span {
  position: absolute;
  top: 45%;
  font-size: 45px;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  transition: 0.3s;
  z-index: 50;
}

.prev { left: 30px; }
.next { right: 30px; }

.controls span:hover {
  color: #ffc107;
  transform: scale(1.2);
}

/* DOTS */
.dots {
  position: absolute;
  bottom: 25px;
  width: 100%;
  text-align: center;
  z-index: 30;
}

.dots span {
  display: inline-block;
  width: 13px;
  height: 13px;
  background: #ffffffaa;
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
  transition: 0.3s;
}

.dots span.active {
  background: #ffc107;
  transform: scale(1.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .caption h2 { font-size: 26px; }
  .caption p { font-size: 14px; max-width: 90%; }
  .prev, .next { font-size: 30px; top: 50%; }
  .slider { height: 60vh; }
}

/* ======================================================
     SUPER DELUXE ABOUT PAGE â€“ Klinik Graha Mitra
====================================================== */

/* -------- GLOBAL -------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #f6f9fc;
    overflow-x: hidden;
}

/* -------- ANIMASI GLOBAL -------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeZoom {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

.fadeUp   { animation: fadeUp .9s ease forwards; }
.fadeLeft { animation: fadeLeft .9s ease forwards; }
.fadeZoom { animation: fadeZoom .7s ease forwards; }

/* -------- PARTICLE EFFECT -------- */
.particles {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 2;
}

.particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(0,255,120,0.4);
    border-radius: 50%;
    filter: blur(2px);
    animation: floatParticle 6s linear infinite;
}

@keyframes floatParticle {
    0%   { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-120px) scale(1.3); opacity: 0; }
}

/* -------- HERO SUPER CINEMATIC -------- */
.tentang-kami-page .hero,
.karyawan-staff-page .hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 80px;
    color: #fff;
}

/* Parallax Layers */
.tentang-kami-page .hero .layer-bg {
    position: absolute;
    inset: 0;
    background: url('akre.png') center/cover no-repeat;
    z-index: -5;
    transform: scale(1);
    filter: brightness(0.8);
}
.karyawan-staff-page .hero .layer-bg {
    position: absolute;
    inset: 0;
    background-image: url('pondokgede.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: -5;
    filter: brightness(0.9);
}

.hero .layer-light {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,255,120,0.25), rgba(0,0,0,0.6));
    z-index: -2;
    mix-blend-mode: screen;
}

.hero .layer-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.15));
    z-index: -1;
}

/* Floating Luxury Glow */
.hero .floating-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    top: -120px;
    left: -120px;
    background: radial-gradient(circle, rgba(0,255,120,0.3), transparent);
    filter: blur(80px);
    animation: floatGlow 5s infinite alternate ease-in-out;
    z-index: 0;
}

@keyframes floatGlow {
    from { transform: translate(0,0); }
    to   { transform: translate(40px,20px); }
}

/* Hero Text */
.tentang-kami-page .hero h1,
.karyawan-staff-page .hero h1 {
    font-size: 40px;
    font-weight: 900;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 8px 35px rgba(0,0,0,0.6);
    z-index: 3;
}

.tentang-kami-page .hero p,
.karyawan-staff-page .hero p {
    font-size: 30px;
    margin-top: 10px;
    text-align: center;
    opacity: 0.95;
    z-index: 3;
}

/* -------- SECTIONS -------- */
.tentang-kami-page .section,
.karyawan-staff-page .section {
    padding: 110px 90px;
}

/* Center the section title */
.tentang-kami-page .section h2,
.karyawan-staff-page .section h2 {
    font-size: 35px;
    font-weight: 900;
    color: #025c20;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}

.tentang-kami-page .section p,
.karyawan-staff-page .section p {
    font-size: 20px;     /* ubah ukuran teks */
    line-height: 1.7;    /* jarak antar baris */
    color: #333;         /* warna teks */
    text-align: center;  /* kalau mau rata tengah */
    margin-top: 10px;    /* jarak atas */
    max-width: 900px;    /* biar tidak melebar ke pinggir */
    margin-left: auto;   /* untuk center */
    margin-right: auto;  /* untuk center */
}

/*Center the green underline */
.tentang-kami-page .section h2::after,
.karyawan-staff-page .section h2::after {
    content: "";
    width: 90px;
    height: 6px;
    background: linear-gradient(90deg, #00ff88, #008437);
    border-radius: 6px;
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50px);
}

.tentang-kami-page h3,
.karyawan-staff-page h3{
    font-size: 20;
    text-align: center;
    margin-top: 32px;
    margin-bottom: 12px;
}


/* -------- GLASS VISI MISI ULTRA -------- */
.tentang-kami-page .visi-misi {
    display: flex;
    gap: 45px;
    flex-wrap: wrap;
}

.tentang-kami-page .box {
    flex: 1;
    min-width: 300px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 25px 55px rgba(0,0,0,0.12);
    transition: 0.45s ease;
    animation: fadeZoom 1s ease forwards;
}


.tentang-kami-page .box:hover {
    transform: translateY(-14px) scale(1.03);
    box-shadow: 0 40px 80px rgba(0,0,0,0.18);
}

/* === ABOUT === */
.about{text-align:center;padding:70px 50px;background:#008000;color:#fff}
.about h2{color:#fff;margin-bottom:15px}

/* === SECTION: Alasan Memilih Kami === */
.reasons,
.tentang-kami-page .reasons {
  background: #f8faff;
  padding: 80px 0;
  text-align: center;
}

.reasons h2,
.tentang-kami-page .reasons h2 {
  font-size: 28px;
  color: #0b1541;
  font-weight: 700;
  margin-bottom: 50px;
  position: relative;
}

.reason-grid,
.tentang-kami-page .reason-grid {
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:40px;
    padding:0 40px;
}

.reason-item,
.tentang-kami-page .reason-item {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.reason-item:hover,
.tentang-kami-page .reason-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.reason-item i,
.tentang-kami-page .reason-item i {
  font-size: 45px;
  color: #0b1541;
  min-width: 60px;
}

.reason-item h3,
.tentang-kami-page .reason-item h3 {
  color: #0b1541;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}

.reason-item p,
.tentang-kami-page .reason-item p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

/* -------- PROFILE GRID (Dokter + Staff) -------- */
.karyawan-staff-page .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* Super Deluxe Card */
.karyawan-staff-page .card {
    background: #ffffff;
    padding: 40px;
    border-radius: 26px;
    text-align: center;
    border: 1px solid #e5e5e5;
    box-shadow: 0 16px 50px rgba(0,0,0,0.10);
    transition: 0.45s;
    overflow: hidden;
    position: relative;
}

/* Hover 3D + Glow Line */
.karyawan-staff-page .card:hover {
    transform: translateY(-14px) scale(1.04);
    box-shadow: 0 32px 80px rgba(0,0,0,0.2);
}

.karyawan-staff-page .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 7px;
    background: linear-gradient(#00ff88, #008437);
    opacity: 0;
    transition: 0.3s;
}

.karyawan-staff-page .card:hover::before {
    opacity: 1;
}

/* Foto Bulat Elegan */
.karyawan-staff-page .profile-img {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid #00c865;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* === Section: Tim Bersertifikat === */
.certified-team {
  text-align: center;
  background: #fff;
  padding: 80px 0;
}

.certified-team h2 {
  font-size: 28px;
  font-weight: 700;
  color: #0b1541;
  margin-bottom: 15px;
}

.certified-team p {
  font-size: 15px;
  color: #444;
  max-width: 750px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.certified-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-item img {
  width: 90px;
  height: auto;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.logo-item span {
  color: #333;
  font-size: 15px;
  font-weight: 500;
}

/* Efek hover */
.logo-item:hover img {
  transform: scale(1.1);
}

.logo-item:hover span {
  color: #0b1541;
  font-weight: 600;
}

/* Responsif */
@media (max-width: 768px) {
  .certified-logos {
    gap: 40px;
  }

  .logo-item img {
    width: 70px;
  }

  .certified-team h2 {
    font-size: 22px;
  }

  .certified-team p {
    font-size: 14px;
  }
}


/* === PRICING === */
.pricing{text-align:center;padding:70px 50px}
.pricing h2{color:#0b1541;margin-bottom:30px}
.pricing-grid{display:flex;justify-content:center;flex-wrap:wrap;gap:30px}
.pricing-card{background:#fff;padding:25px;border-radius:10px;box-shadow:0 4px 10px rgba(0,0,0,.1);width:280px}
.price{font-size:28px;color:#ffc107;margin:15px 0}
.btn{display:inline-block;text-decoration:none;padding:10px 20px;border-radius:5px;font-weight:600}
.btn-primary{background:#ffc107;color:#0b1541}
.btn-primary:hover{background:#e6a700}
.btn-outline{border:2px solid #0b1541;color:#0b1541}
.btn-outline:hover{background:#0b1541;color:#fff}

/* === CONTACT === */
.contact{text-align:center;padding:70px 50px;background:#fff}
.contact form{max-width:600px;margin:0 auto;display:flex;flex-direction:column;gap:15px}
.contact select {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  width: 100%;
}

.contact input,.contact textarea{padding:12px;border:1px solid #ccc;border-radius:5px;font-size:14px}
.contact button{background:#0b1541;color:#fff;padding:12px;border:none;border-radius:5px;cursor:pointer}
.contact button:hover{background:#091133}
/* === RATING STAR === */
.rating {
  font-size: 32px;
  display: inline-flex;
  gap: 6px;
  cursor: pointer;
  justify-content: center;
  margin-top: 10px;
}

.rating span {
  color: #ccc;              /* warna default */
  transition: color 0.2s;
}

.rating span.hover,
.rating span.selected {
  color: #ffc107;           /* warna bintang aktif */
}

/* Agar tidak kejadian klik terbalik saat RTL */
.rating span {
  direction: ltr;
}


/* === FOOTER === */
.footer,
.karyawan-staff-page .footer{
  background: #0b0830;
  color: #ddd;
  padding: 60px 40px 20px;
  font-family: "Poppins", sans-serif;
}

.footer-container,
.karyawan-staff-page .footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-column h3,
.karyawan-staff-page .footer-column h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-column p,
.karyawan-staff-page .footer-column p {
  font-size: 14px;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 10px;
}

/* Logo kecil di bawah kolom Tentang Kami */
.footer-logos img,
.karyawan-staff-page .footer-logos img {
  width: 50px;
  height: auto;
  margin-right: 10px;
  opacity: 0.8;
  transition: 0.3s;
}

.footer-logos img:hover,
.karyawan-staff-page .footer-logos img:hover {
  opacity: 1;
}

/* Subscribe form */
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subscribe-form input {
  padding: 10px;
  border: none;
  border-radius: 4px;
  outline: none;
}

.subscribe-form button {
  background: #5145ff;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.subscribe-form button:hover {
  background: #3a2df8;
}

/* Terbaru */
.latest-post {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.latest-post img {
  width: 45px;
  height: 45px;
  border-radius: 6px;
  object-fit: cover;
}

.latest-post a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.latest-post a:hover {
  color: #ffc107;
}

.latest-post p {
  font-size: 12px;
  color: #aaa;
  margin: 3px 0 0;
}

/* Footer bawah */
.footer-bottom,
.karyawan-staff-page .footer-bottom {
  border-top: 1px solid #2b275a;
  padding-top: 15px;
  text-align: center; /* ini yang membuat tulisan ke tengah */
  font-size: 13px;
  color: #bbb;
}

.footer-bottom .footer-links,
.karyawan-staff-page .footer-links {
  text-align: center;
  margin-top: 8px;
}


.footer-bottom,
.karyawan-staff-page .footer-bottom {
  grid-column: 1 / -1 !important;   /* Ambil seluruh lebar grid footer */
  width: 100%;
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
}


.footer-bottom a:hover,
.karyawan-staff-page .footer-bottom a:hover {
  color: #ffc107;
}

.footer-map,
.karyawan-staff-page .footer-map {
    margin-top: 12px;
}

.footer-map iframe,
.karyawan-staff-page .footer-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 8px;
}



/* === RESPONSIVE === */
@media(max-width:768px){
  .navbar{flex-direction:column;align-items:flex-start;padding:12px 25px}
  .menu{flex-direction:column;width:100%;gap:15px}
  .mega-menu{flex-direction:column;width:100%;position:static;box-shadow:none}
  .menu-column{width:100%;margin-bottom:20px}
}

/* === ANTI COPY / ANTI SELECT === */
body {
    -webkit-user-select: none; 
    -moz-user-select: none;    
    -ms-user-select: none;     
    user-select: none;         
}
