:root {
  --color-primary: #67b7f9;
  --color-primary-dark: #3a8dde;
  --color-gray-light: #ffffff;
  --color-gray-medium: #6b7280;
  --color-gray-dark: #374151;
  --border-radius: 0.75rem;
  --transition-speed: 0.3s;
  --max-width: 1200px;
  --font-sans: 'Inter', 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--color-gray-light);
  font-family: var(--font-sans);
  color: var(--color-gray-medium);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color var(--transition-speed);
}

a:hover,
a:focus {
  color: var(--color-primary-dark);
  outline: none;
}

/* Header & Navigation */
header {
  background: var(--color-gray-light);
  z-index: 100;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgb(103 183 249 / 0.1);
}

nav.container {
  max-width: var(--max-width);
  width: 95%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.logo img {
  height: 48px;
  display: block;
}

ul.nav-list {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.nav-list li {
  font-weight: 600;
}

ul.nav-list li a {
  font-size: 1.125rem;
  padding: 0.5rem 0;
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-speed), color var(--transition-speed);
}

ul.nav-list li a:hover,
ul.nav-list li a:focus {
  border-bottom: 2px solid var(--color-primary);
  color: var(--color-primary-dark);
}

ul.nav-list li a[aria-current="page"] {
  color: var(--color-primary-dark);
  border-bottom: 2px solid var(--color-primary);
  font-weight: 700;
}

/* Container */
.container {
  max-width: var(--max-width);
  width: 95%;
  margin: 0 auto;
  padding: 0 1rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem 6rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-gray-dark);
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 1.5rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-gray-medium);
  margin: 0 0 3rem;
  max-width: 520px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-gray-light);
  font-weight: 700;
  font-size: 1.25rem;
  padding: 1rem 3rem;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-speed), box-shadow var(--transition-speed);
  box-shadow: 0 6px 20px rgba(103, 183, 249, 0.5);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-primary-dark);
  box-shadow: 0 8px 24px rgba(58, 141, 222, 0.7);
  outline: none;
}

/* Slider */
.slider {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgb(103, 183, 249 / 0.12);
  background: var(--color-gray-light);
}

.slider img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 1rem;
}

.slider-controls button {
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-primary-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
}

.slider-controls button:hover,
.slider-controls button:focus {
  background: var(--color-primary);
  color: var(--color-gray-light);
  outline: none;
}

.slider-bullets {
  text-align: center;
  margin-top: 1rem;
}

.slider-bullets button {
  background-color: #cbd5e1;
  border: none;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  margin: 0 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-bullets button.active,
.slider-bullets button:hover,
.slider-bullets button:focus {
  background-color: var(--color-primary);
  outline: none;
}

/* Cards Section */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  margin-bottom: 6rem;
}

.card {
  background: var(--color-gray-light);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem 3rem;
  box-shadow: 0 8px 24px rgb(103, 183, 249 / 0.12);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover,
.card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgb(103, 183, 249 / 0.25);
  outline: none;
}

.card img {
  max-height: 140px;
  margin-bottom: 1.8rem;
  border-radius: 0.5rem;
  object-fit: contain;
}

.card h3 {
  margin: 0 0 1rem;
  color: var(--color-gray-dark);
  font-weight: 700;
  font-size: 1.375rem;
}

.card p {
  color: var(--color-gray-medium);
  font-size: 1.05rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* Footer */
footer {
  text-align: center;
  color: var(--color-gray-medium);
  font-size: 0.9rem;
  padding: 3rem 1rem;
  border-top: 1px solid #e5e7eb;
  user-select: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    max-width: 650px;
    padding: 5rem 2rem;
  }

  .hero h1 {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
    line-height: 1.5;
  }

  nav.container {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
  }

  .logo img {
    height: 40px;
  }

  ul.nav-list {
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    text-align: center;
    display: none; /* Sembunyikan daftar menu secara default */
  }

  /* Tambahkan gaya untuk tombol toggle */
  .nav-toggle {
    display: block; /* Tampilkan tombol toggle */
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-primary);
  }

  /* Tampilkan daftar menu saat toggle diaktifkan */
  .nav-list.active {
    display: flex; /* Tampilkan daftar menu */
  }

  ul.nav-list li a {
    font-size: 1.125rem;
    padding: 0.75rem 0;
    border-bottom: none;
  }

  ul.nav-list li a:hover,
  ul.nav-list li a:focus {
    background-color: var(--color-primary);
    color: var(--color-gray-light);
    border: none;
  }

  .hero {
    width: 100%;
    max-width: 100%;
    margin: 3rem 0 4rem;
    padding: 4rem 2rem 5rem;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    color: var(--color-primary-dark);
  }

  .hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.15;
  }

  .hero p {
    font-size: 1.125rem;
    max-width: 100%;
    color: var(--color-gray-medium);
    margin-bottom: 2rem;
  }

  .btn-primary {
    width: 100%;
    max-width: 280px;
    padding: 1.25rem 0;
    font-size: 1.25rem;
    box-shadow: 0 8px 24px rgba(103, 183, 249, 0.5);
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
  }

  .card {
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 28px rgb(103, 183, 249 / 0.2);
  }

  .card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .card p {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  footer {
    padding: 2.5rem 1rem;
    font-size: 1rem;
  }
}

/* ----- Hubungi Kami Page Content Enhancement ----- */

/* Container padding for vertical spacing */
main.container {
  padding-top: 4rem;
  padding-bottom: 5rem;
}

/* Article styling: card-like with smooth shadow and rounded corners */
article {
  background: var(--color-gray-light);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgb(103, 183, 249 / 0.12);
  padding: 3rem 3.5rem;
  max-width: 840px;
  margin: 0 auto;
  color: var(--color-gray-medium);
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: left;
  transition: box-shadow 0.3s ease;
}

article:hover,
article:focus-within {
  box-shadow: 0 12px 48px rgb(103, 183, 249 / 0.2);
  outline: none;
}

article strong {
  font-weight: 700;
  color: var(--color-gray-dark);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  display: block;
  letter-spacing: -0.02em;
}

/* Paragraph spacing inside content */
article p {
  margin-top: 1rem;
  margin-bottom: 1rem;
  max-width: 700px;
}

/* Link styling for emails */
article a {
  color: var(--color-primary);
  font-weight: 600;
  transition: color var(--transition-speed);
}

article a:hover,
article a:focus {
  color: var(--color-primary-dark);
  outline: none;
  text-decoration: underline;
}

/* Map container enhancements */
.konten-map {
  margin: 3rem auto;
  max-width: 840px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgb(103, 183, 249 / 0.18);
  border: 1px solid rgba(103, 183, 249, 0.15);
}

/* Responsive adjustments for contact page */

@media (max-width: 640px) {
  main.container {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }
  article {
    padding: 2rem 1.5rem;
    font-size: 1rem;
    max-width: 100%;
    margin: 0 1rem;
  }
  article strong {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }
  article p {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
  }
  .konten-map {
    margin: 2rem auto;
    border: none;
    box-shadow: 0 6px 20px rgb(103, 183, 249 / 0.15);
  }
  iframe {
    height: 280px !important;
    border-radius: var(--border-radius);
  }
}

/* ----- Blog Card Style ----- */
.konten3 {
  margin-bottom: 2rem;
}

.card {
  background: var(--color-gray-light);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
  color: var(--color-gray-dark);
}

.card p {
  font-size: 1rem;
  color: var(--color-gray-medium);
  line-height: 1.5;
}

.read-more {
  margin-top: 1rem;
}

.read-more a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.read-more a:hover {
  text-decoration: underline;
}

/* Tambahkan gaya untuk tombol toggle */
.nav-toggle {
  display: none; /* Sembunyikan tombol toggle secara default */
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--color-primary);
}

/* Tampilkan tombol toggle hanya pada tampilan mobile */
@media (max-width: 640px) {
  .nav-toggle {
    display: block; /* Tampilkan tombol toggle pada tampilan mobile */
  }
}
.articles {
  padding: 2rem 0;
}

.articles h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}
