*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  height: 100%;
  overflow: hidden;
  background: #000;
}
body {
  font-family: "Inter", sans-serif;
  background: #000;
  color: #000;
  height: 100%;
  overflow: hidden;
}

.page-wrapper {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
  background: #f4f6f7;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 40px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled {
  background: rgba(23, 120, 235, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  padding: 20px 80px;
}
.logo {
  height: 37px;
}
nav {
  display: flex;
  gap: 60px;
}
nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}
nav a:hover {
  opacity: 0.8;
}
.btn-konsultasi {
  border: 1px solid white;
  color: white;
  padding: 8px 36px;
  border-radius: 36px;
  text-decoration: none;
  font-size: 16px;
}
.btn-konsultasi:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Section - Centered */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(23, 120, 235, 0.85) 0%,
    rgba(13, 68, 133, 0.85) 100%
  );
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
}
.badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  border: 1px solid white;
  padding: 8px 48px;
  border-radius: 36px;
  color: white;
  font-size: 14px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 70px;
  color: white;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero p {
  color: white;
  font-size: 16px;
  margin-bottom: 32px;
}
.btn-gradient {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #fc6a51, #ac64f9);
  color: white;
  padding: 14px 28px;
  border-radius: 36px;
  text-decoration: none;
  font-size: 16px;
}
.btn-gradient:hover {
  opacity: 0.9;
}
.btn-gradient img {
  width: 16px;
  height: 16px;
}

/* Section Styles */
section {
  padding: 80px 0;
  overflow: hidden;
}
.section-label {
  color: #c55949;
  font-size: 14px;
  margin-bottom: 12px;
}
.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 36px;
}
.section-title.center {
  text-align: center;
}

/* Alur Pelayanan */
.alur {
  text-align: center;
  padding-top: 80px;
}
.alur .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 20px;
}
.cards {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
  padding-bottom: 15px;
}
.card {
  background: white;
  border-radius: 18px;
  padding: 26px 28px;
  width: 230px;
  box-shadow: 8px 8px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
}
.card img {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
}
.card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  margin-bottom: 18px;
}
.card p {
  font-size: 14px;
  line-height: 1.5;
}

.divider-wrapper {
  padding: 0 110px;
}
.divider {
  height: 1px;
  background: #ddd;
  margin: 80px 0;
}

/* Kesehatan Mental */
.kesehatan {
  display: flex;
  gap: 60px;
  align-items: center;
  padding: 0 110px;
}
.kesehatan > img {
  width: 55%;
  border-radius: 18px;
  object-fit: cover;
}
.kesehatan-content {
  flex: 1;
}
.kesehatan-content p {
  font-size: 14px;
  line-height: 1.8;
}

/* Manfaat */
.manfaat {
  display: flex;
  gap: 100px;
  padding: 0 110px;
}
.manfaat-left {
  width: 400px;
}
.manfaat-left p {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 14px;
}
.manfaat-right {
  flex: 1;
}
.manfaat-item {
  padding: 18px 0;
  border-bottom: 1px solid #ddd;
}
.manfaat-item:last-child {
  border-bottom: none;
}
.manfaat-item h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  margin-bottom: 18px;
}
.manfaat-item p {
  font-size: 14px;
  line-height: 1.6;
}

/* CTA Section */
.cta-wrapper {
  max-width: 100%;
  margin: 80px auto;
  padding: 0 110px;
  overflow: hidden;
}
.cta-section {
  position: relative;
  height: 296px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 24px;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(21, 109, 213, 0.85);
  z-index: 2;
}
.cta-content {
  position: relative;
  z-index: 3;
}
.cta-content h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 42px;
  color: white;
  margin-bottom: 24px;
  line-height: 1.2;
}
.btn-gradient-shadow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #fc6a51, #ac64f9);
  color: white;
  padding: 14px 28px;
  border-radius: 36px;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.25);
}
.btn-gradient-shadow:hover {
  opacity: 0.9;
}
.btn-gradient-shadow img {
  width: 16px;
  height: 16px;
}

/* Footer */
footer {
  margin: 0;
  padding: 0;
  overflow: hidden;
  max-width: 100%;
}
.footer-wrapper {
  background: linear-gradient(180deg, #f96a57 0%, #01488a 100%);
  padding: 60px 80px 40px;
  max-width: 100%;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  color: white;
}
.footer-logos {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-logos span {
  font-size: 14px;
  opacity: 0.8;
}
.logo-row {
  display: flex;
  gap: 24px;
  align-items: center;
}
.logo-row img {
  height: 50px;
  object-fit: contain;
}
.footer-links {
  display: flex;
  gap: 80px;
}
.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}
.footer-col p,
.footer-col a {
  font-size: 14px;
  line-height: 1.6;
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
}
.footer-col p:last-child,
.footer-col a:last-child {
  margin-bottom: 0;
}
.footer-col a:hover {
  opacity: 0.8;
}
.copyright-bar {
  background: #000;
  text-align: center;
  padding: 20px;
}
.copyright-bar p {
  font-size: 12px;
  color: white;
}
/* Floating Back to Top Button */
.floating-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #1778eb;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(23, 120, 235, 0.4);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  color: white; 
}
.floating-top.show {
  opacity: 1;
  pointer-events: auto;
}
.floating-top:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(23, 120, 235, 0.5);
}
.floating-top svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* Responsive */
@media (max-width: 1024px) {
  header {
    padding: 15px 40px;
  }
  header.scrolled {
    padding: 12px 40px;
  }
  nav {
    gap: 30px;
  }

  .hero {
    height: 500px;
  }
  .hero h1 {
    font-size: 50px;
  }

  .cards {
    gap: 24px;
  }
  .card {
    width: 200px;
    padding: 20px;
  }

  .kesehatan {
    flex-direction: column;
    padding: 0 40px;
  }
  .kesehatan > img {
    width: 100%;
  }

  .manfaat {
    flex-direction: column;
    gap: 40px;
    padding: 0 40px;
  }
  .manfaat-left {
    width: 100%;
  }

  .divider-wrapper {
    padding: 0 40px;
  }
  .divider {
    margin: 60px 0;
  }

  .cta-wrapper {
    padding: 0 40px;
  }
  .cta-content h2 {
    font-size: 32px;
  }

  .footer-wrapper {
    padding: 40px;
  }
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  .footer-links {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }
  header.scrolled {
    padding: 12px 20px;
  }
  nav {
    display: none;
  }

  .hero {
    height: 450px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero p {
    font-size: 14px;
  }
  .badge {
    padding: 6px 24px;
    font-size: 12px;
  }

  .alur {
    padding-top: 60px;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 280px;
  }

  .section-title {
    font-size: 32px;
  }
  .kesehatan {
    padding: 0 20px;
  }
  .manfaat {
    padding: 0 20px;
  }

  .divider-wrapper {
    padding: 0 20px;
  }
  .divider {
    margin: 60px 0;
  }

  .cta-wrapper {
    padding: 0 20px;
    margin: 60px auto;
  }
  .cta-section {
    height: 250px;
  }
  .cta-content h2 {
    font-size: 26px;
  }

  .footer-wrapper {
    padding: 30px 20px;
  }
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
  .logo-row {
    flex-wrap: wrap;
    gap: 16px;
  }
  .logo-row img {
    height: 40px;
  }
  .floating-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  .floating-top svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }
  .hero-content {
    padding: 0 20px;
  }

  .section-title {
    font-size: 28px;
  }
  .manfaat-item h4 {
    font-size: 18px;
  }

  .cta-section {
    height: 220px;
  }
  .cta-content h2 {
    font-size: 22px;
  }
  .btn-gradient-shadow {
    padding: 12px 20px;
    font-size: 14px;
  }
}

#alur {
    scroll-margin-top: 60px;
}

#tentang, #manfaat {
    scroll-margin-top: 100px;
}