* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
}

/* Navbar */
/* Header */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}

.nav-centered {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.logo-center img {
  height: 50px;
  margin-bottom: 1rem;
}

/* Navbar */
.nav-menu {
  list-style: none;
  padding: 0;
  display: inline-flex;
  gap: 30px;
}

.nav-menu li a {
  text-decoration: none;
  color: #222;
  font-weight: bold;
  padding: 0.5rem 1rem;
  transition: background 0.3s;
}

.nav-menu li a:hover {
  background-color: #f0f0f0;
  border-radius: 5px;
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
}

.hero img {
  width: 100%;
  height: auto;
}

.hero-text {
  position: absolute;
  height: 100%; /* sama dengan hero height: 300px */
  display: flex;
  padding-left: 150px; /* kamu bisa sesuaikan padding ini */
  z-index: 2;
  color: white;
}

.hero-text h1 {
  font-size: 2rem;
  line-height: 1.3;
  max-width: 400px;
  background-color: rgba(0, 0, 0, 0.4); /* opsional */
  padding: 10px 10px;
  height: 100%; /* sama dengan hero height: 300px */
  padding-top: 75px;
}

.hero-text h1 b {
  font-size: 40px;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide.active {
  opacity: 1;
}

/* Description */
.description {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.description h3 {
  margin-bottom: 20px;
}

.description p {
  margin-bottom: 20px;
  font-size: 19px;
  margin-top: 20px;
}

.description p em {
  font-size: 27px;
}

.description-content {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
}

.description-content img {
  width: 55%;
  height: auto;
}

.description-content div {
  flex: 1;
}

.description-content h2 {
  font-size: 30px;
  margin-bottom: 20px;
  color: #222;
  display: flex;
}

.description-content .btn {
  display: inline-block;
  background-color: #002b5c;
  color: #fff;
  padding: 20px 30px;
  font-size: 18px;
  text-decoration: none;
  font-weight: bold;
  justify-content: center;
}

.description-content .btn:hover {
  background-color: #014696;
  transition: background 0.3s;
}

.description img {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0px auto;
  padding: 20px;
  width: 70%;
  height: auto;
}

.description span {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0px auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 70%;
  height: auto;
}

.description h2{
  margin-top: 20px;
  margin-bottom: 20px;
}

.description h3{
  margin-top: 20px;
  margin-bottom: 20px;
}



/* Contact */
.contact {
  position: relative;

  text-align: center;
}

.contact-image-wrapper {
  position: relative;
  width: 1000px;
  height: 300px;
  margin: 0 auto;
  overflow: hidden;
}

.contact-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(70%);
}

.contact-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  color: #000;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
}

.contact-btn:hover {
  background-color: rgb(201, 201, 201);
  transition: background 0.3s;
}

/* Footer */
footer {
  background: #001f3f;
  color: white;
  padding: 2rem 1rem 1rem;
}

.footer-logo {
  margin-top: 50px;
  text-align: center;
}

.footer-logo p {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.footer-logo img {
  height: 100px;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  color: white;
}

.footer-links a {
  flex: 1; /* biar seimbang ukurannya */
  text-align: center;
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.footer-links a img {
  height: 50px; /* sesuaikan tinggi logo */
  width: auto;
}

.footer-bottom {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  font-size: 15px;
  margin-bottom: 0px;
}

/* button */

.container .description {
  line-height: 1.3;
}

.container .judul {
  background: #001f3f;
  color: white;
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  line-height: 1.3;
  padding: 20px;
}

/* Section Styling */
.news-section {
  background-color: #e8edf2;
  padding: 50px;
  font-family: Arial, sans-serif;
}

/* Container untuk tiap item */
.news-container {
  position: relative;
  max-width: 700px;
  height: 500px;
  margin: 0 auto 50px auto;
  display: flex;
  align-items: center;
}

/* Gambar berita */
.news-item {
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.news-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #ccc;
}

/* Card informasi berita */
.news-card {
  position: absolute;
  top: 35%;
  left: -110px;
  transform: translateY(-50%);
  background-color: white;
  padding: 20px;
  width: 400px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Isi dalam news card */
.news-card h3 {
  font-size: 18px;
  color: #002b5c;
  margin-bottom: 10px;
}

.news-card .news-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.news-card p {
  margin: 0 0 12px;
  color: #333;
  line-height: 1.4;
}

.news-card a {
  color: white;
  background-color: #002b5c;
  padding: 10px 16px;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  border-radius: 2px;
}

.contact-header {
  background-color: #002b5c;
  color: white;
  padding: 20px;
  font-size: 32px;
  text-align: left;
  padding-left: 50px;
}

.contact-intro {
  text-align: center;
  margin: 40px 0;
}

.contact-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 50px;
  padding: 0 20px;
}

.map-container {
  flex: 1 1 400px;
  max-width: 500px;
}

.address-box {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: left;
}

.address-box img {
  max-width: 150px;
  margin-bottom: 10px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto 100px;
  text-align: center;
}

.contact-form h2 {
  margin-bottom: 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row input {
  flex: 1;
}

input, textarea {
  padding: 10px;
  border: none;
  border-bottom: 2px solid #002b5c;
  font-size: 16px;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

button {
  background-color: #002b5c;
  color: white;
  padding: 12px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  width: 120px;
  margin: 0 auto;
}
