/* === BASE STYLE === */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: #f9fbff;
  color: #1a1a1a;
}

header {
  background: #e7f0fa;
  padding-top: 2rem;
  text-align: center;
}

header h1 {
  color: #0a2d6a;
}

/* === NAVBAR === */
.navbar {
  background-color: #049fff;
  color: white;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  margin-right: 10px;
}

.logo-text {
  font-weight: bold;
  color: white;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
}

/* === HERO === */
.hero-modern {
  position: relative;
  background: url('./img/gedung2.jpg') center/cover no-repeat;
  padding: 80px 20px;
  color: white;
}
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.hero-container h1,
.hero-container p {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    order: 2;
    margin-top: 20px;
    box-shadow:whitesmoke;
  }

  .hero-left {
    order: 1;
  }
}

.consultation-card {
  margin: 40px auto;
  padding: 30px;
  max-width: 700px;
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.consultation-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.consultation-content {
  position: relative;
  z-index: 1;
}

.consultation-content h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.consultation-content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.cta-button {
  background-color: #ffffff;
  color: #0077b6;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #caf0f8;
  color: #03045e;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  padding: 12px 24px;
  border: none;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* === SECTION & CARD === */
.section {
  padding: 2rem;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #0a2d6a;
}

.modern-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.modern-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  width: 300px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.modern-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.price {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 10px 0;
}

.modern-card ul {
  padding-left: 20px;
  margin: 15px 0;
}

.modern-card ul li {
  margin-bottom: 8px;
  color: #333;
}

.btn-layanan {
  display: block;
  width: 100%;
  background-color: #fff;
  border: 2px solid #333;
  color: #333;
  font-weight: bold;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-layanan:hover {
  background-color: #333;
  color: #fff;
}

/* Warna Khusus Kartu */
.card-blue {
  border-top: 8px solid #007bff;
}
.card-green {
  border-top: 8px solid #28a745;
}
.card-purple {
  border-top: 8px solid #6f42c1;
}
.card-orange {
  border-top: 8px solid #fd7e14; /* Oranye */
}

.card-teal {
  border-top: 8px solid #20c997; /* Teal / Tosca */
}

.card-red {
  border-top: 8px solid #dc3545; /* Merah */
}
.card-bluegray {
  border-top: 8px solid #6c757d; /* Biru keabu-abuan */
}

.card-yellow {
  border-top: 8px solid #ffc107; /* Kuning cerah */
}

.card-pink {
  border-top: 8px solid #e83e8c; /* Pink elegan */
}

/* === MODAL === */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close {
  color: #aaa;
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

/* === FORM & TESTIMONI === */
.testimonial-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
  }

  .testimonial-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
  }

  .testimonial-card {
    flex: 0 0 80%;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    min-width: 300px;
  }

  .testimonial-text {
    font-style: italic;
  }

  .testimonial-author {
    margin-top: 10px;
    font-weight: bold;
    text-align: right;
  }

  .carousel-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    font-size: 24px;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }
/* ...tetap pakai yang sebelumnya... */

#testimonial-form {
  margin: 40px auto;
  max-width: 500px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

#testimonial-form h3.form-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
}


#testimonial-form input,
#testimonial-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
  font-family: inherit;
  box-sizing: border-box;
}
#testimonial-form button {
  display: block;
  margin: 0 auto;
  padding: 12px 24px;
  background-color: #007bff;
  border: none;
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#testimonial-form button:hover {
  background-color: #0056b3;
}


/* === FOOTER === */
footer {
  background: #0a2d6a;
  color: white;
  padding: 1rem;
  text-align: center;
}

.footer-socials {
  margin-top: 10px;
}

.footer-socials a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  z-index: 100;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.whatsapp-float img {
  width: 35px;
  margin-top: 12px;
}

/* === LOKASI (MAP) === */
iframe {
  border: 0;
  width: 100%;
  height: 300px;
  border-radius: 10px;
}

/* === HERO SLIDESHOW === */
.hero-slideshow {
  padding: 2rem;
  background-color: #e7f0fa;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  max-width: 48%;
}

.hero-text h2 {
  font-size: 2rem;
  color: #0a2d6a;
}

.hero-text p {
  font-size: 1rem;
  color: #333;
}

.hero-image-container {
  flex: 1;
  max-width: 48%;
  position: relative;
}

.hero-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-image.active {
  opacity: 1;
  position: relative;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #1403fb;
    padding: 10px 20px;
    position: absolute;
    top: 60px;
    right: 20px;
    border-radius: 8px;
  }

  .nav-links.show {
    display: flex;
  }

  .hero-modern {
    padding: 40px 20px;
    text-align: center;
  }

  .hero-left h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-text,
  .hero-image-container {
    max-width: 100%;
  }

  .hero-image-container img {
    position: static;
    opacity: 1;
    margin-top: 10px;
  }
}
.language-switcher {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
}

.language-switcher button {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  border: none;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.language-switcher button:hover {
  background: linear-gradient(135deg, #0056b3, #0096c7);
  transform: scale(1.05);
}

.language-switcher button:active {
  transform: scale(0.97);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}


.consultation-carousel {
  overflow: hidden;
  position: relative;
  max-width: 100%;
  margin: 40px auto;
  display: flex;
  align-items: center;
}

.consultation-card-wrapper {
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
  width: 100%;
}
.consultation-card:nth-child(7) {
  background: linear-gradient(135deg, #0096c7, #023e8a);
}

.consultation-card {
  flex: 0 0 100%;
  box-sizing: border-box;
  margin: 0 10px;
  padding: 30px;
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-width: calc(100% - 20px);
}

.consultation-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.consultation-content {
  position: relative;
  z-index: 1;
}

.consultation-content h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.consultation-content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.cta-button {
  background-color: #ffffff;
  color: #0077b6;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #caf0f8;
  color: #03045e;
}

.carousel-btn {
  background: none;
  border: none;
  color: #0077b6;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s;
}

.carousel-btn:hover {
  color: #03045e;
}

@media (max-width: 768px) {
  .consultation-card {
    padding: 20px;
    margin: 0 5px;
  }
  .consultation-content h2 {
    font-size: 20px;
  }
  .consultation-content p {
    font-size: 14px;
  }
  .cta-button {
    padding: 10px 20px;
  }
  .carousel-btn {
    font-size: 1.5rem;
  }
}