/* --- GLOBAL STYLES --- */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: #f9f9f9;
  padding-top: 144px; /* 32px top-bar + 64px navbar + 48px menu */
}


.top-bar {
  background-color: #5f94ff;
  color: white;
  font-size: 12px;
  height: 30px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.marquee {
  white-space: nowrap;
  display: inline-block;
  animation: scrollText 15s linear infinite;
  padding-left: 50%;
  /* Start dari kanan */
}

@keyframes scrollText {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}


/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Navbar */
.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 15px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #1976d2;
}

.contact {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
}

.contact span {
  cursor: pointer;
  white-space: nowrap;
  color: #444;
}

/* Style umum */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.navbar {
  background-color: #ffffff;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  font-size: 1.2em;
  font-weight: bold;
}

.navbar .user-profile {
  cursor: pointer;
  font-weight: bold;
}
/* Main Content */

.menu {
  background-color: #f5f5f5;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  position: sticky;
  top: 0;
  z-index: 888;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;

}

.menu li {
  position: relative;
}

.menu a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: #333;
  font-size: 17px;
  cursor: pointer;
}

.menu li:hover {
  background-color: #e6eaff;
}

.menu .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-radius: 0 0 6px 6px;
  overflow: hidden;

}

.menu .dropdown:hover .dropdown-content {
  display: block;
}

.menu .dropdown>a::after {
  content: " ▼";
  font-size: 10px;
  margin-left: 5px;
}

.menu .dropdown-content li a {
  padding: 12px 16px;
  color: #333;
  background-color: #fff;
  white-space: nowrap;
}

.menu .dropdown-content li a:hover {
  background-color: #f0f0f0;
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  z-index: 1100;
}

.hamburger span {
  height: 4px;
  width: 100%;
  background: #5f94ff;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.4s;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {

  .menu {
    position: relative;
  }

  .menu ul {
    flex-direction: column;
    width: 100%;
    display: none;
    background: #f5f5f5;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
  }

  .menu ul.active {
    display: flex;
  }

  .menu li {
    width: 100%;
  }

  .menu a {
    padding: 15px;
    border-bottom: 1px solid #eee;
  }

  .menu .dropdown-content {
    position: static;
    box-shadow: none;
    min-width: 100%;
    border-radius: 0;
  }

  .menu .dropdown:hover .dropdown-content,
  .menu .dropdown:focus-within .dropdown-content {
    display: none;
  }

  .menu .dropdown.open .dropdown-content {
    display: block;
  }

  .hamburger {
    display: flex;
  }
}
/* Styling untuk banner "Tentang Kami" */
        .about-us-banner {
            width: 100%; /* Pastikan banner mengambil lebar penuh */
            height: 250px; /* Menggunakan tinggi yang Anda berikan */
            background-color: #5f94ff; /* Menggunakan warna yang Anda berikan */
            color: #ffffff; /* Warna teks putih */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            /* border-radius: 8px; <--- BARIS INI DIHAPUS UNTUK EFEK FULL-WIDTH */
            margin-bottom: 20px; /* Jarak bawah dari konten berikutnya */
            padding: 0 20px; /* Padding di kiri dan kanan agar teks tidak menempel ke tepi */
            opacity: 0.9; /* Menggunakan opacity yang Anda berikan */
            /* Jika Anda ingin background image, tambahkan seperti ini: */
            /* background-image: url('https://placehold.co/1200x400/3f51b5/ffffff?text=Background+Image'); */
            /* background-size: cover; */
            /* background-position: center; */
            /* background-blend-mode: multiply; */
        }



.about-us-banner h1 {
  font-size: 3em;
  /* Sesuaikan ukuran font sesuai kebutuhan */
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  /* Bayangan teks opsional */
}

.about-us-banner p {
  font-size: 1.2em;
  /* Sesuaikan ukuran font sesuai kebutuhan */
  max-width: 80%;
  /* Batasi lebar untuk keterbacaan yang lebih baik */
  line-height: 1.5;
}
.button-group {
  margin-top: 30px;
}

.submit-button {
  background-color: #4d94ff;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
  margin-right: 10px;
}

.submit-button:hover {
  background-color: #357ae8;
}

/* --- HERO --- */
.hero {
  position: relative;
  background-image: url('imgg/akuountur.jpg');
  background-size: cover;
  background-position: center;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-color: rgba(0, 74, 173, 0.6);
  z-index: 1;
}
.hero h1 {
  position: relative;
  z-index: 2;
  font-size: 36px;
  font-weight: bold;
}

/* --- FOOTER --- */
footer {
  background-color: #4a69bd;
  color: white;
  padding: 30px 20px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}
.footer-column h4 {
  font-size: 1.2em;
  margin-bottom: 10px;
  border-bottom: 2px solid white;
  padding-bottom: 5px;
}
.footer-column p,
.footer-column li {
  font-size: 0.9em;
  line-height: 1.6;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column ul li {
  margin-bottom: 8px;
}
.footer-column.kontak p {
  margin-bottom: 8px;
}
.copyright {
  text-align: center;
  background-color: #6D8EFF;
  color: white;
  padding: 10px;
}

.conten {
  padding: 40px 20px;
  max-width: 1200px; /* diperbesar dari 1000px */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px; /* beri jarak antar card */
}

/* Pastikan .card tampil sebagai flex container */
.card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  max-width: 900px; /* diperbesar dari 700px */
  background-color: #4a69bd;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 28px 32px; /* padding diperbesar */
  margin: 0;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 1;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.card img {
  width: 180px; /* diperbesar dari 140px */
  height: 130px; /* diperbesar dari 100px */
  object-fit: cover;
  border-radius: 8px;
  margin-right: 22px;
  flex-shrink: 0;
}

.card .text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card .text h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  color: #eef0f5;
}

.card .text p {
  font-size: 14px;
  color: #f7f7f7;
  margin: 0;
}

/* Animasi fade-in-left */
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.fade-in-left {
  animation: fadeInLeft 1.2s ease;
  opacity: 1;
}

/* Responsive */
@media (max-width: 800px) {
  .card {
    flex-direction: column;
    align-items: center;
    max-width: 98%;
    padding: 14px 8px;
  }
  .card img {
    margin: 0 0 12px 0;
    width: 100%;
    height: 160px;
  }
  .card .text {
    align-items: center;
    text-align: center;
  }
}
 .btn {
        display: inline-block;
        padding: 8px 16px;
        background-color: #3490dc; /* Biru */
        color: white;
        text-decoration: none;
        border-radius: 7px;
        font-weight: 600;
        transition: background-color 0.2s ease;
        }

      .btn:hover {
      background-color: #064a7e;
      }

      .btn-secondary {
      background-color: #3490dc; /* Abu-abu */
      }

      .btn-secondary:hover {
      background-color: #064a7e;
      }
  .logout-button {
    background-color: #3490dc;
    font-style: italic;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .logout-button:hover {
    background-color: #174166;
  }

  .welcome-text {
    font-weight: bold;
    margin-right: 10px;
    font-style: oblique;
  }