* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f4f5f4;
  position: relative;
}


.topbar {
  background: #0b7c77;
  color: #eaf0ec;
  padding: 8px 20px;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeDown 0.6s ease-out;
}


.navbar {
  position: relative;
  z-index: 1000; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #f8fbfa;
  flex-wrap: wrap;
  animation: fadeDown 0.8s ease-out;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
}

.logo h3 {
  font-size: 16px;
}

.logo p {
  font-size: 12px;
  color: #555;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

nav a.active {
  color: #0b7c77;
  font-weight: bold;
}


.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  margin-left: auto;
  z-index: 1100;
}


nav a.active {
  color: #0b7c77;
  font-weight: bold;
}


.page-header {
  position: relative;
  height: 40vh;
  background: url("img.jpg/foto\ gedung.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ecf1f1;
}

.page-header .overlay {
  position: absolute;
  inset: 0;
  
}

.page-header h1 {
  position: relative;
  z-index: 2;
  font-size: 36px;
  animation: fadeDown 0.8s ease;
}

/* PROGRAM SECTION */
.program {
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  background: #f9f9f9;
}

.program-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
  animation: fadeUp 0.8s ease;
}

.program-card:hover {
  transform: translateY(-8px);
}

.program-card h3 {
  color: #0b7c77;
  margin-bottom: 10px;
}

.program-card p {
  font-size: 14px;
  color: #444;
}

/* FADE UP */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 26px;
  }

  .program {
    padding: 40px 20px;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 1200; /*  MENU DI ATAS HERO */
  }

  nav.show {
    display: flex;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 30px 20px;
  }

  .hero-content h1 {
    font-size: 28px;
  }
}

/* ANIMATION */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}





/* KONTAK */
.kontak {
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background: #f9f9f9;
}

.kontak-info,
.kontak-form {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  animation: fadeUp 0.8s ease;
}

.kontak-info h3,
.kontak-form h3 {
  color: #0b7c77;
  margin-bottom: 10px;
}

.kontak-info p {
  font-size: 14px;
  color: #444;
  margin-bottom: 15px;
}

.kontak-form input,
.kontak-form textarea {
  width: 100%;
  padding: 10px; 
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.kontak-form button {
  background: #03eded;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
}

.kontak-form button:hover {
  background: #096a66;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .kontak {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }
} 

.kontak-info {
  grid-column: 1;
}

.kontak-map {
  grid-column: 2;
}

.kontak-map {
  padding: 0;            /* HAPUS padding biar maps full */
  overflow: hidden;
  height: 100%;
  min-height: 300px;
}

.kontak-map iframe {
  width: 100%;
  height: 200px;  /* bikin maps gede */
  border: 0;
  display: block;
}

.kontak-map iframe {
  height: 80%;
}

.kontak {
  align-items: stretch;
}






/* TOP BAR */
.topbar {
  background: #0b7c77;
  color: #eaf0ec;
  padding: 8px 20px;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeDown 0.6s ease-out;
}




.social-mini {
  position: fixed;
  top: 10px;
  right: 15px;
  display: flex;
  gap: 8px;
  z-index: 1000;
}

.social-mini img {
  width: 16px;
  height: 16px;
  opacity: 0.9;
  transition: 0.2s ease;
}

.social-mini img:hover {
  opacity: 1;
  transform: scale(1.15);
}




.login-btn{
  background: linear-gradient(135deg, #0b7c77, #16a085);
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: inline-block;
}

.login-btn:hover{
  transform: translateY(-2px);
  background: linear-gradient(135deg, #095c59, #0b7c77);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.login-btn:active{
  transform: scale(0.97);
}