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

body,
html {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #fff;
}

.modal {
  position: fixed;
  z-index: 50;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 500px;
  width: 100%;
  position: relative;
}

.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.opd-list li {
  margin-bottom: 0.5rem;
}

.hidden {
  display: none;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
      to right,
      rgba(7, 7, 7, 0.7),
      rgba(18, 18, 18, 0.3)
    ),
    url("img/tribun.jpeg") no-repeat center center/cover;
  color: white;
  padding: 2rem;
  min-height: 80vh; /* DITINGGIKAN */
}

.hero-logo {
  display: block;
  max-width: 80px;
  margin: 0 auto 1.5rem auto;
}

.hero-image {
  flex: 1;
  max-width: 50%;
}

.hero-image img {
  width: 100%;
  border-radius: 10px;
}

.hero-text {
  flex: 1;
  max-width: 50%;
  margin-left: 2rem;
  padding: 1rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0.25rem; /* Lebih rapat */
}

.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.hero-text p {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 0;
}

.services {
  padding: 3rem 2rem;
  background-color: #f0f0f0;
  text-align: center;
}

.services .container {
  margin: 0 auto;
  max-width: 80rem; /* TAILWIND'S max-w-3xl */
}

.services h2 {
  /* margin-bottom: 2rem; */
  font-size: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  text-decoration: none;
  color: #333;
}

.card:hover {
  transform: translateY(-5px);
}

.card .icon {
  width: 40px;
  height: 40px;
  /* margin-bottom: 1rem; */
  color: #b91c1c; /* red-700 */
}

.card h3 {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

footer {
  background-color: #b91c1c;
  color: white;
  padding: 1.5rem 2rem;
  text-align: center;
}

footer p {
  margin: 0.25rem 0;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-image,
  .hero-text {
    max-width: 100%;
    margin-left: 0;
    margin-bottom: 1rem;
  }

  .hero-text {
    padding: 1rem 0.5rem;
  }

  @media (max-width: 768px) {
    .hero-text h1 {
      font-size: 1.8rem;
      margin-bottom: 0.2rem;
    }

    .hero-text h2 {
      font-size: 1.5rem;
      margin-bottom: 0.5rem;
    }

    .hero-text p {
      font-size: 1rem;
      line-height: 1.4;
      margin-top: 0;
    }
  }
}
