* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #333;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-top: 60px;
  margin-bottom: 20px;
  color: #222;
}


/* ======= FIX NAVBAR RESPONSIVE & BUTTONS ======= */
.nav-links {
  display: flex;
  gap: 15px;
  list-style: none;
  align-items: center;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.btn-daftar {
  background-color: #ffcc00;
  color: #000 !important;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-daftar:hover {
  background-color: #e0b800;
  color: #000 !important;
}

/* MOBILE MENU */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    display: none;
    padding: 20px;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links li a {
    color: #000 !important;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    color: white;
    font-size: 24px;
  }
}


/* LOGIN & CTA BUTTON */
.login-btn,
.cta {
  background-color: #ff4b5c;
  color: white !important;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
}

.login-btn:hover,
.cta:hover {
  background-color: #c0392b;
  color: white !important;
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 450px; /* untuk desktop */
  height: auto;
  padding: 60px 20px;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
}



.hero-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}


/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    min-height: auto; /* penting: jangan dipaksa fixed height */
  }

  .hero .logo-area {
    order: -1; /* supaya logo muncul dulu */
    margin-bottom: 20px;
  }

  .hero .logo-area img {
    max-width: 200px;
  }

  .hero .text-area {
    text-align: center;
  }

  .hero h1 {
    font-size: 20px;
  }
  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 14px;
  }

  .cta {
    font-size: 0.9rem;
    padding: 8px 14px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    color: #000;
    font-weight: bold;
    margin: 10px 0;
  }

  .menu-toggle {
    display: block;
  }

  .login-btn {
    margin-top: 10px;
    text-align: center;
  }
}

  @media (max-width: 480px) {
  .hero {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 15px;
    min-height: auto;
  }


  .hero-content h2 {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .hero-content p {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .cta {
    font-size: 0.75rem;
    padding: 6px 10px;
  }
}


/* ========== FORM TESTIMONI ========== */
.form-testimoni {
  background: #f9f9f9;
  padding: 30px 20px;
  border-radius: 12px;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-testimoni .form-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 600;
  color: #333;
}

.testimoni-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.testimoni-form input,
.testimoni-form textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
}

.testimoni-form input:focus,
.testimoni-form textarea:focus {
  border-color: #ff4b5c;
  outline: none;
}

.testimoni-form .cta {
  background: #ff4b5c;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.testimoni-form .cta:hover {
  background: #c0392b;
}

/* ========== TESTIMONI HORIZONTAL SCROLL ========== */
.testimoni-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 20px;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.testimoni-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
  scroll-snap-type: x mandatory;
  width: max-content;
  padding-bottom: 20px;
}

.testimoni-container blockquote {
  flex: 0 0 auto;
  width: 280px;
  padding: 16px;
  background: #ffffff;
  border-left: 4px solid #ff4b5c;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  font-size: 0.95rem;
  scroll-snap-align: start;
  transition: transform 0.3s;
}

.testimoni-container blockquote:hover {
  transform: scale(1.03);
}

.testimoni-container blockquote strong {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
}

/* ========== LAYANAN SECTION ========== */
.layanan-wrapper {
  overflow-x: auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.layanan-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.card {
  min-width: 260px;
  flex: 0 0 auto;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2),
              -2px -2px 6px rgba(255, 255, 255, 0.8);
  text-align: center;
  transition: 0.3s;
  border: 1px solid #ddd;
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 6px 6px 14px rgba(0, 0, 0, 0.3),
              -3px -3px 8px rgba(255, 255, 255, 0.7);
}

/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #e0e0e0;
  text-align: left;
  padding: 3rem 1rem;
  margin-top: 40px;
  font-size: 0.95rem;
}

.footer h3,
.footer h4 {
  color: #ffffff;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer p {
  margin-bottom: 10px;
  line-height: 1.7;
}

.footer a {
  color: #e0e0e0;
  text-decoration: none;
  transition: 0.3s;
}

.footer a:hover {
  color: #f3c623;
  text-decoration: underline;
}

.footer .footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #bbb;
  font-size: 0.85rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    color: #000;
    font-weight: bold;
    margin: 10px 0;
  }

  .menu-toggle {
    display: block;
  }

  .login-btn {
    margin-top: 10px;
    text-align: center;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .form-testimoni {
    padding: 20px 10px;
  }

  .layanan-container {
    flex-direction: column;
    align-items: center;
  }

  .footer {
    padding: 2rem 1rem;
  }

  .footer > div {
    flex-direction: column;
  }

  .footer div > * {
    margin-bottom: 20px;
  }
}


