*{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 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;
}

/* 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;
}

/* === 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;
}

/* =========================
   HAMBURGER DEFAULT (DESKTOP)
========================= */
.hamburger {
  display: none;
}

/* =====================================
   ARROW TOGGLE — DESKTOP (HIDDEN)
===================================== */
.arrow {
  display: none;
}

/* === 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;
  }
}

/* HERO */
.hero-fisio {
    background: url('fisio.jpg') center/cover no-repeat;
    height: 70vh;
    display: flex;
    align-items: center;
    padding: 0 50px;
}
.hero-content {
    max-width: 480px;
    background: rgba(0, 0, 0, 0.45);
    padding: 25px;
    border-radius: 10px;
    color: #fff;
}
.hero-content h2 {
    font-size: 36px;
    font-weight: 700;
}
.hero-content p {
    margin: 15px 0;
    font-size: 16px;
}
.btn-main {
    background: #ffcc00;
    padding: 12px 22px;
    color: #000;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

/* ===========================
      DOKTER SECTION
=========================== */
.fisioterapi-page .doctor-section {
  padding: 50px 0;
  background: #ffffff;
}

.fisioterapi-page .doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 kolom */
  gap: 30px;
  justify-items: center;
}

/* Baris kedua (dokter ke-4 & ke-5) berada di tengah */
.fisioterapi-page .doctor-card:nth-child(4),
.fisioterapi-page .doctor-card:nth-child(5) {

  grid-column: span 1;
}

/* Centering item baris kedua */
.fisioterapi-page .doctor-card:nth-child(4){
  grid-column-start: 1; /* pindah ke kolom tengah */
}

.fisioterapi-page .doctor-card {
  background: #f9f9f9;
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.fisioterapi-page .doctor-card:hover {
  transform: translateY(-5px);
}

.fisioterapi-page .doctor-card img {
    width: 50%;
    height: auto;            /* ✔ tidak memotong foto */
    object-fit: contain;     /* ✔ seluruh gambar terlihat */
    border-radius: 5px;
    margin-top: 0;
    background: #f4f4f4;     /* opsional, kalau ada area kosong */
    padding: 5px;            /* opsional */
}


/* -------- PROFILE GRID (Dokter + Staff) -------- */
.fisioterapi-page .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* Super Deluxe Card */
.fisioterapi-page .card {
    background: #ffffff;
    padding: 30px;
    border-radius: 26px;
    text-align: center;
    border: 1px solid #e5e5e5;
    box-shadow: 0 16px 30px rgba(0,0,0,0.10);
    transition: 0.45s;
    overflow: hidden;
    position: relative;
}

/* Hover 3D + Glow Line */
.fisioterapi-page .card:hover {
    transform: translateY(-14px) scale(1.04);
    box-shadow: 0 32px 50px rgba(0,0,0,0.2);
}

.fisioterapi-page .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 7px;
    background: linear-gradient(#00ff88, #008437);
    opacity: 0;
    transition: 0.3s;
}

.fisioterapi-page .card:hover::before {
    opacity: 1;
}

/* Foto Bulat Elegan */
.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);
}

.fisioterapi-page .card h3 {
    margin-bottom: 10px;
}

.fisioterapi-page .specialist {
  font-size: 20px;
  color: #555;
}

.fisioterapi-page .schedule {
  font-size: 17px;
  margin: 8px 0 15px;
  color: #777;
}

.fisioterapi-page .pukul {
  font-size: 15px;
  margin: 8px 0 10px;
  color: #777;
}

/* SECTION */
.section {
    padding: 60px 50px;
}
.title {
    font-size: 28px;
    font-weight: 700;
    color: #008000;
    text-align: center;
    margin-bottom: 35px;
}

/* GRID */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}
.card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-6px);
}
.icon {
    font-size: 40px;
    color: #008000;
    margin-bottom: 10px;
}

/* CTA */
.cta {
    text-align: center;
}
.btn-wa {
    background: #25D366;
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* === FOOTER === */
.footer {
  background: #0b0830;
  color: #ddd;
  padding: 60px 40px 20px;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-column h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.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 {
  width: 50px;
  height: auto;
  margin-right: 10px;
  opacity: 0.8;
  transition: 0.3s;
}

.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 {
  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 {
  text-align: center;
  margin-top: 8px;
}


.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 {
  color: #ffc107;
}

/* === 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;         
}