/*TEMPLATE*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #ffffff 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 4px solid #f97316;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Mengurangi padding horizontal & gap antar item */
.navigation ul {
  display: flex;
  list-style: none;
  gap: 1.2rem; /* dari 2rem jadi lebih rapat */
  margin: 0;
  flex-wrap: wrap; /* penting jika banyak nav list */
}

.nav-list {
  display: flex;
  gap: 0.8rem; /* dari 1.5rem jadi lebih hemat ruang */
  align-items: center;
  flex-wrap: wrap; /* biar ngga overflow di layar kecil */
}

/* Mengurangi padding tiap link supaya tidak terlalu besar */
.navigation a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  padding: 0.4rem 0.5rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.navigation a:hover {
  color: #f97316;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 250px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 1000;
  border: 1px solid #e5e7eb;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
}

.dropdown-content a:hover {
  background-color: #f3f4f6;
  color: #f97316;
}

.dropdown-content a:hover {
  background: #f9fafb;
}

/* Dropdown submenu ke kanan */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-subcontent {
  position: absolute;
  top: 0;
  left: 100%;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s;
  z-index: 1000;
  border: 1px solid #e5e7eb;
}

.dropdown-submenu:hover > .dropdown-subcontent {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Optional: styling item submenu */
.dropdown-subcontent a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  white-space: nowrap;
  color: #374151;
  text-decoration: none;
}

.dropdown-subcontent a:hover {
  background-color: #f3f4f6;
  color: #f97316;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #374151;
}
/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem 0;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e5e7eb;
    z-index: 999;
  }

  .navigation.open {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .dropdown-content,
  .dropdown-submenu > .dropdown-subcontent {
    position: relative;
    top: 0;
    left: 0;
    transform: translateX(0);
    opacity: 1 !important;
    visibility: visible !important;
    border: none;
    box-shadow: none;
    background: #f9fafb;
    padding: 0;
    border-radius: 0;
    display: none;
  }

  .dropdown:hover > .dropdown-content,
  .dropdown-submenu:hover > .dropdown-subcontent {
    display: block;
  }

  .dropdown-content a,
  .dropdown-subcontent a {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.875rem;
  }

  .dropdown-content a:last-child,
  .dropdown-subcontent a:last-child {
    border-bottom: none;
  }

  .dropdown-submenu {
    margin-left: 1rem;
  }

  .mobile-menu-toggle {
    display: block;
  }
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo-icon {
  width: 320px;
  height: auto;
  /* background: #ffffff; --> hapus background */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.5rem 0; /* opsional, agar tidak mepet atas/bawah */
  border-radius: 0; /* hilangkan sudut membulat jika tidak perlu */
}

.footer-logo-icon img.footer-logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-section p {
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section h5 {
  color: #fbbf24;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #fbbf24;
}

.social-media {
  display: flex;
  gap: 0.75rem;
}

.social-media a {
  width: 32px;
  height: 32px;
  background: #f97316;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

.social-media a:hover {
  background: #ea580c;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #d1d5db;
}

.contact-item i {
  color: #f97316;
  margin-top: 0.125rem;
  width: 16px;
}
.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 3 kolom */
  gap: 0rem; /* jarak antar logo, lebih rapat dari 1rem */
  align-items: center;
  justify-items: center;
  margin-top: 2rem;
}

.partner {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem; /* padding kecil agar tidak terlalu dempet */
}

.partner img {
  max-height: 150%;
  width: auto;
  object-fit: contain;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fbbf24;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navigation {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .hero-buttons {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .tab-buttons {
    grid-template-columns: 1fr;
  }

  .tab-btn {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }

  .tab-btn:last-child {
    border-bottom: none;
  }

  .footer-bottom {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.875rem;
  }

  .footer-author {
    position: absolute;
    bottom: 0.5rem;
    right: 1rem;
    font-size: 0.7rem;
    color: #9ca3af;
    opacity: 0.8;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 8rem 0 3rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-header h3 {
    font-size: 2.5rem;
  }

  .button-card {
    padding: 1.5rem;
  }

  .event-content,
  .news-content {
    padding: 1rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Hover effects */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* SVG Get Wave*/
svg {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: -1px;
}

@media (max-width: 768px) {
  svg {
    width: 100vw;
    height: auto;
    display: block;
    margin-bottom: -5px;
  }

  body,
  html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
}

/* Wrapper for all content below the wave */
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px; /* Horizontal padding */
  padding-top: 100px;
}

/* Main Title Section Styling */
.hero-section {
  text-align: center;
  max-width: 800px;
  /* This creates the space above and below */
  padding-bottom: 0px;
}

.hero-section h1 {
  font-size: 2.8rem;
  font-weight: bold;
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 15px;
}

.hero-section p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-section .divider {
  width: 80px;
  height: 4px;
  background-color: #f39c12; /* Orange color */
  margin: 0 auto; /* Centers the divider */
  border-radius: 2px;
}

/*END TEMPLATE*/
/* ====== HUBUNGI KAMI FORM ====== */
#contactForm {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  max-width: 600px;
  margin: 0 auto;
}

#contactForm .form-group {
  margin-bottom: 1.2rem;
}

#contactForm label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  color: #374151;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s ease-in-out;
}

#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25);
}

#contactForm textarea {
  resize: none;
  min-height: 120px;
}

#contactForm .btn-submit {
  display: inline-block;
  background: #f97316;
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

#contactForm .btn-submit:hover {
  background: #ea580c;
  transform: translateY(-2px);
}

#formMsg {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Responsif */
@media (max-width: 768px) {
  #contactForm {
    padding: 1.5rem;
  }
}

/* Loading Spinner */
#loading {
  display: none;
  margin: 1rem auto;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #f97316;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Grid Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: flex-start;
}

/* Form Style */
#contactForm {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  width: 100%;
}

#contactForm .form-group {
  margin-bottom: 1.2rem;
}

#contactForm label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  color: #374151;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s ease-in-out;
}

#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25);
}

#contactForm textarea {
  resize: none;
  min-height: 120px;
}

#contactForm .btn-submit {
  display: inline-block;
  background: #f97316;
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  width: 100%;
}

#contactForm .btn-submit:hover {
  background: #ea580c;
  transform: translateY(-2px);
}

/* Maps */
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* ===== Responsif ===== */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  #contactForm {
    padding: 1.5rem;
  }

  #contactForm input,
  #contactForm textarea {
    font-size: 1rem;
  }

  #contactForm .btn-submit {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  #contactForm {
    padding: 1rem;
  }

  #contactForm label {
    font-size: 0.9rem;
  }

  #contactForm input,
  #contactForm textarea {
    font-size: 0.9rem;
    padding: 0.6rem 0.9rem;
  }

  #contactForm .btn-submit {
    padding: 0.7rem;
    font-size: 0.9rem;
  }
}
