* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial;
}

body {
  background: #e9e9e9;
}

.container {
  width: 95%;
  margin: auto;
  background: #f5f5f5;
  min-height: 100vh;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 3px solid #d4d4d4;
  background: white;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  display: block;
}

.logo h1 {
  font-size: 28px;
  color: black;
}

nav {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  color: #2563eb;
  text-decoration: underline;
}

nav a.active {
  color: #1e3a8a;
  text-decoration: underline;
}

.hero {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 70px 40px;
}

.hero-text {
  width: 40%;
}

.hero-text h2 {
  font-size: 45px;
  margin-bottom: 20px;
}

.hero-img {
  width: 300px;
  height: 350px;
  overflow: hidden;
  border-radius: 20px;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

footer {
  text-align: center;
  padding: 40px;
}

.profile-page {
  display: flex;
  justify-content: space-around;
  padding: 50px;
}

.left-profile {
  width: 55%;
}

.right-profile {
  width: 30%;
}

.left-profile h2,
.right-profile h2 {
  margin-bottom: 20px;
}

.struktur-box {
  width: 100%;
  background: white;
  border-radius: 15px;
  padding: 20px;
  margin-top: 15px;
}

.struktur-box img {
  width: 100%;
  border-radius: 10px;
}

.visi-box {
  background: white;
  padding: 25px;
  border-radius: 15px;
  margin-top: 15px;
  line-height: 1.7;
}

.visi-box h3 {
  margin-bottom: 10px;
  color: #1e3a8a;
}

.visi-box ul {
  padding-left: 20px;
}

.title {
  text-align: center;
  margin-top: 50px;
  font-size: 40px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  padding: 40px;
}

.program-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.program-card:hover {
  transform: translateY(-5px);
}

.program-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.program-content {
  padding: 20px;
}

.program-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.program-header h3 {
  font-size: 22px;
}

.program-header span {
  background: #1e3a8a;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
}

.program-content p {
  color: #555;
  line-height: 1.6;
}

.title {
  text-align: center;
  margin-top: 40px;
  font-size: 35px;
  color: black;
}

.form-page {
  display: flex;
  justify-content: center;
  padding: 50px;
}

form {
  width: 70%;
}

.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.form-group label {
  width: 200px;
  font-size: 25px;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  background: #d9d9d9;
  border: none;
}

button {
  display: block;
  margin: auto;
  background: #42c84d;
  color: black;
  padding: 15px 70px;
  border: none;
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
}

.kontak-page {
  display: flex;
  justify-content: space-around;
  padding: 50px;
}

.kontak-left {
  width: 40%;
}

.kontak-right {
  width: 40%;
}

.kontak-right textarea {
  width: 100%;
  height: 200px;
  background: #d9d9d9;
  border: none;
  margin: 20px 0;
}

.map-box {
  width: 100%;
  height: 250px;

  border-radius: 20px;

  overflow: hidden;

  margin-top: 20px;
}

.map-box iframe {
  width: 100%;
  height: 100%;

  border: none;
}

table {
  width: 90%;
  margin: 50px auto;
  border-collapse: collapse;
  background: white;
  border: 1px solid #ccc;
}

table th,
table td {
  border: 1px solid #ccc;
  padding: 15px;
  text-align: center;
}

.btn-edit,
.btn-delete {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 14px;
  margin: 2px;
}

.button {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.btn-edit {
  background-color: #28a745;
}

.btn-edit:hover {
  background-color: #1e7e34;
}

.btn-delete {
  background-color: #dc3545;
}

.btn-delete:hover {
  background-color: #a71d2a;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 20px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero,
  .profile-page,
  .kontak-page {
    flex-direction: column;
    gap: 30px;
  }

  .hero-text,
  .left-profile,
  .right-profile,
  .kontak-left,
  .kontak-right {
    width: 100%;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  form {
    width: 100%;
  }

  .form-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-group label {
    width: 100%;
    margin-bottom: 10px;
  }
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #1e3a8a;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  transition: 0.3s;
}

.btn:hover {
  background: #2563eb;
}
