
  :root {
    --red: #c40000;
    --red-dark: #9a0000;
    --red-light: #e53935;
    --pink-soft: #ffebee;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --text-dark: #1a1a2e;
    --shadow: 0 8px 32px rgba(196,0,0,0.12);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
    --radius: 16px;
    --radius-lg: 24px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
  }

  /* ── NAVBAR ── */
  .navbar {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(196,0,0,0.08);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
  }
  .navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(196,0,0,0.15);
  }
  .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }
  .brand-logo {
    width: 44px;
    height: 44px;
    background: var(--red);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: white;
    font-size: 18px;
    letter-spacing: -1px;
  }
  .brand-text { line-height: 1.1; }
  .brand-text span:first-child {
    display: block;
    font-weight: 800;
    font-size: 14px;
    color: var(--red);
    letter-spacing: 0.5px;
  }
  .brand-text span:last-child {
    display: block;
    font-size: 10px;
    color: var(--gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .nav-link {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 2px;
    background: var(--red);
    transition: all 0.3s;
    border-radius: 2px;
  }
  .nav-link:hover::after, .nav-link.active::after { left: 10%; right: 10%; }
  .nav-link:hover { color: var(--red) !important; }
  .btn-daftar {
    background: linear-gradient(135deg, var(--red), var(--red-light));
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 50px !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(196,0,0,0.3);
    transition: all 0.3s;
  }
  .btn-daftar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196,0,0,0.4);
  }
  .btn-daftar::after { display: none !important; }

  /* ── HERO ── */
  #hero {
    min-height: 100vh;
    background:
      linear-gradient(135deg, rgba(196,0,0,0.85) 0%, rgba(196,0,0,0.6) 50%, rgba(100,0,0,0.75) 100%),
      url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23c40000" width="1200" height="800"/><circle cx="200" cy="200" r="300" fill="%23a00000" opacity="0.5"/><circle cx="1000" cy="600" r="250" fill="%23e53935" opacity="0.3"/></svg>') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  /* Use clinic building photo as actual background via CSS */
  #hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('2.jpeg') center/cover no-repeat;
    z-index: 0;
  }
  #hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(196,0,0,0.88) 0%, rgba(196,0,0,0.65) 50%, rgba(80,0,0,0.80) 100%);
    z-index: 1;
  }
  .hero-content { position: relative; z-index: 2; }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease both;
  }
  .hero-badge i { color: #ffd700; }
  .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    animation: fadeInLeft 0.8s 0.2s ease both;
  }
  .hero-title span {
    color: #ffd700;
    display: block;
  }
  .hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 480px;
    animation: fadeInLeft 0.8s 0.4s ease both;
  }
  .hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: fadeInLeft 0.8s 0.6s ease both;
  }
  .btn-hero-primary {
    background: white;
    color: var(--red);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    transition: all 0.3s;
  }
  .btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0,0,0,0.3); color: var(--red); }
  .btn-hero-secondary {
    background: transparent;
    color: white;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.7);
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
  }
  .btn-hero-secondary:hover { background: rgba(255,255,255,0.15); color: white; border-color: white; }

  .hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInLeft 0.8s 0.8s ease both;
  }
  .stat-item { color: white; }
  .stat-item .num { font-size: 2rem; font-weight: 800; line-height: 1; }
  .stat-item .lbl { font-size: 11px; opacity: 0.75; text-transform: uppercase; letter-spacing: 1px; }

  /* Doctor card floating */
  .hero-img-wrap {
    position: relative;
    animation: fadeInRight 1s 0.4s ease both;
    display: flex;
    justify-content: center;
  }
  .hero-doctor-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    max-width: 360px;
    width: 100%;
    animation: float 6s ease-in-out infinite;
  }
  .hero-doctor-card img {
    width: 100%;
    border-radius: calc(var(--radius-lg) - 8px);
    display: block;
    height: 420px;
    object-fit: cover;
  }
  .hero-float-badge {
    position: absolute;
    background: white;
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float2 4s ease-in-out infinite;
  }
  .hero-float-badge.badge-1 { top: 15%; right: -20px; }
  .hero-float-badge.badge-2 { bottom: 20%; left: -20px; }
  .hero-float-badge i { color: var(--red); font-size: 20px; }
  .hero-float-badge .info span:first-child { display: block; font-weight: 700; font-size: 13px; color: var(--text-dark); }
  .hero-float-badge .info span:last-child { font-size: 11px; color: var(--gray); }

  /* Scroll indicator */
  .scroll-ind {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s ease-in-out infinite;
  }

  /* ── SECTIONS ── */
  section { padding: 5rem 0; }
  .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pink-soft);
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1rem;
  }
  .section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  .section-title span { color: var(--red); }
  .section-desc {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.8;
    max-width: 540px;
  }
  .section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--red-light));
    border-radius: 2px;
    margin: 1rem 0 2rem;
  }

  /* ── KEUNGGULAN ── */
  #keunggulan { background: var(--gray-light); }
  .feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(196,0,0,0.05);
  }
  .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(196,0,0,0.15);
  }
  .feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--red), var(--red-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
  }
  .feature-icon i { color: white; font-size: 26px; }
  .feature-card h5 { font-weight: 700; font-size: 16px; margin-bottom: 0.5rem; }
  .feature-card p { color: var(--gray); font-size: 14px; line-height: 1.7; margin: 0; }

  /* ── TENTANG ── */
  .about-img-wrap { position: relative; }
  .about-img-wrap img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
  }
  .about-badge-floating {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--red);
    color: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    min-width: 130px;
  }
  .about-badge-floating .big { font-size: 2.5rem; font-weight: 900; line-height: 1; }
  .about-badge-floating .small { font-size: 12px; opacity: 0.85; }

  /* ── PELAYANAN ── */
  #pelayanan { background: var(--gray-light); }
  .service-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: default;
  }
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(196,0,0,0.15);
  }
  .service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    background: var(--pink-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
  }
  .service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--red), var(--red-light));
  }
  .service-icon i { color: var(--red); font-size: 28px; transition: all 0.3s; }
  .service-card:hover .service-icon i { color: white; }
  .service-card h6 { font-weight: 700; font-size: 14px; margin: 0; }

  /* ── DOKTER ── */
  .doctor-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.35s ease;
    border: 1px solid transparent;
  }
  .doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(196,0,0,0.1);
  }
  .doctor-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: #f5f5f5;
  }
  .doctor-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
  }
  .doctor-card:hover .doctor-img-wrap img { transform: scale(1.05); }
  .doctor-specialty-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(196,0,0,0.9);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
  }
  .doctor-info { padding: 1.4rem; }
  .doctor-info h6 { font-weight: 800; font-size: 14px; margin-bottom: 4px; line-height: 1.35; color: var(--text-dark); }
  .doctor-info .spec { color: var(--red); font-size: 11.5px; font-weight: 600; margin-bottom: 12px; letter-spacing: 0.3px; }
  .doctor-schedule {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: var(--gray-light);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
    line-height: 1.6;
  }
  .doctor-schedule i { color: var(--red); flex-shrink: 0; margin-top: 2px; font-size: 12px; }
  .doctor-schedule span { color: #555; font-size: 11.5px; font-weight: 500; }
  .schedule-row { display: flex; flex-direction: column; gap: 2px; }
  .schedule-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--red); }
  .schedule-val { font-size: 11.5px; color: #555; font-weight: 500; }
  .btn-reservasi {
    width: 100%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
  }
  .btn-reservasi:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(37,211,102,0.3); color: white; }

  /* ── TESTIMONI ── */
  #testimoni { background: var(--gray-light); }
  .testi-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
    height: 100%;
    position: relative;
  }
  .testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
  .testi-card .quote-icon {
    font-size: 4rem;
    color: var(--pink-soft);
    line-height: 1;
    font-family: Georgia, serif;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
  }
  .stars { color: #ffc107; font-size: 14px; margin-bottom: 0.75rem; }
  .testi-card p { font-size: 14px; line-height: 1.8; color: #444; margin-bottom: 1.25rem; font-style: italic; }
  .testi-author { display: flex; align-items: center; gap: 12px; }
  .testi-avatar {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--red), var(--red-light));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 18px;
    flex-shrink: 0;
  }
  .testi-author .info span:first-child { display: block; font-weight: 700; font-size: 14px; }
  .testi-author .info span:last-child { font-size: 12px; color: var(--gray); }

  /* ── FORM ── */
  .form-section { background: linear-gradient(135deg, #fff5f5, white); }
  .form-wrap {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(196,0,0,0.1);
    padding: 2.5rem;
    border: 1px solid rgba(196,0,0,0.08);
  }
  .form-label { font-weight: 600; font-size: 13px; color: var(--text-dark); margin-bottom: 6px; }
  .form-control, .form-select {
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.2s;
    font-family: 'Poppins', sans-serif;
  }
  .form-control:focus, .form-select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(196,0,0,0.1);
    outline: none;
  }
  .btn-submit {
    background: linear-gradient(135deg, var(--red), var(--red-light));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(196,0,0,0.3);
  }
  .btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(196,0,0,0.4); }

  /* ── JADWAL TABLE ── */
  .schedule-table {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
  }
  .schedule-table thead { background: linear-gradient(135deg, var(--red), var(--red-light)); }
  .schedule-table thead th { color: white; font-weight: 700; font-size: 13px; padding: 16px 18px; border: none; letter-spacing: 0.3px; }
  .schedule-table tbody tr { transition: all 0.2s; }
  .schedule-table tbody tr:hover { background: var(--pink-soft); }
  .schedule-table tbody td { padding: 14px 18px; font-size: 13px; border-color: #f0f0f0; vertical-align: middle; line-height: 1.6; }
  .poli-badge {
    background: var(--pink-soft);
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.3px;
  }
  .jadwal-pagi { display: block; }
  .jadwal-sore { display: block; color: var(--gray); }
  .jadwal-label { font-weight: 700; color: var(--red); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; margin-right: 4px; }

  

  /* ── KONTAK ── */
  #kontak { background: var(--gray-light); }
  .contact-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all 0.3s;
    height: 100%;
  }
  .contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
  .contact-icon {
    width: 60px; height: 60px;
    background: var(--pink-soft);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
  }
  .contact-icon i { color: var(--red); font-size: 24px; }
  .contact-card h6 { font-weight: 700; margin-bottom: 0.5rem; }
  .contact-card p { color: var(--gray); font-size: 13px; line-height: 1.8; margin: 0; }
  .map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
  .map-wrap iframe { width: 100%; height: 380px; border: none; display: block; }

  /* ── FOOTER ── */
  footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 1.5rem;
  }
  footer .brand-text span:first-child { color: white; font-size: 16px; }
  footer .brand-text span:last-child { color: rgba(255,255,255,0.5); }
  footer h6 { color: white; font-weight: 700; margin-bottom: 1rem; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
  footer ul { list-style: none; padding: 0; }
  footer ul li { margin-bottom: 8px; }
  footer ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px; transition: color 0.2s; }
  footer ul li a:hover { color: white; }
  .social-links { display: flex; gap: 10px; margin-top: 1rem; }
  .social-links a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
    font-size: 15px;
    text-decoration: none;
  }
  .social-links a:hover { background: var(--red); color: white; }
  .footer-divider { border-color: rgba(255,255,255,0.08); margin: 2rem 0 1.5rem; }
  .footer-bottom { font-size: 12px; color: rgba(255,255,255,0.4); }

  /* ── WA FLOATING ── */
  .wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px; height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 30px rgba(37,211,102,0.4);
    text-decoration: none;
    transition: all 0.3s;
    animation: pulse-wa 2s ease-in-out infinite;
  }
  .wa-float:hover { transform: scale(1.1); color: white; box-shadow: 0 12px 40px rgba(37,211,102,0.5); }
  .wa-float-tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .wa-float:hover .wa-float-tooltip { opacity: 1; }

  /* ── ANIMATIONS ── */
  @keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
  @keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
  @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
  }
  @keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
  }
  @keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
  }
  @keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
  }

  .fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 991px) {
    #hero { min-height: auto; padding: 120px 0 60px; }
    .hero-img-wrap { margin-top: 3rem; }
    .hero-float-badge { display: none; }
    .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
    .about-badge-floating { right: 0; bottom: -15px; }
  }
  @media (max-width: 767px) {
    section { padding: 3.5rem 0; }
    .hero-title { font-size: 2rem; }
  }