:root {
  --primary: #32cd32;
  --bg: #000080;
}

body {
  margin: 0;
  font-family: "Times New Roman", serif;
  background-color: var(--bg);
}

/* Navbar */
.navbar {
  background-color: var(--primary);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
}

.navbar a:hover {
  text-decoration: underline;
}

.container {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.card {
  background-color: white;
  width: 80%; /* lebih gede */
  max-width: 900px;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card h2 {
  margin-bottom: 15px;
  font-size: 28px;
}

.card p {
  color: #555;
  line-height: 1.6;
  font-size: 16px;
}

.arabic-quote {
  font-family: "Amiri", serif; /* Font Arab yang elegan */
  font-size: 2rem; /* Ukuran besar seperti judul */
  direction: rtl; /* Arah kanan-ke-kiri */
  text-align: center;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(34, 197, 94, 0.4);
  border-radius: 12px;
}
/* === Divider antar poin dalam card === */
.section-divider {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, #22c55e, transparent);
  margin: 2.5rem 0;
}

/* === Section styling === */
.advantage-section {
  margin-bottom: 1rem;
}
.advantage-section h3 {
  color: #15803d;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px dashed #86efac;
}
.advantage-section p {
  margin-bottom: 1rem;
  color: #14532d;
  font-size: 1.05rem;
  text-align: justify;
  line-height: 1.8;
}

/* === Timeline list === */
.timeline {
  list-style: none;
  padding-left: 0.5rem;
  margin: 1.5rem 0;
  border-left: 3px solid #22c55e;
  padding-left: 1.5rem;
}
.timeline li {
  margin-bottom: 0.75rem;
  color: #166534;
  position: relative;
  line-height: 1.6;
}
.timeline li::before {
  content: "•";
  color: #22c55e;
  font-weight: bold;
  position: absolute;
  left: -1.2rem;
  font-size: 1.5rem;
  top: -3px;
}

/* === Highlight box === */
.highlight-box {
  background: rgba(34, 197, 94, 0.15);
  border: 2px solid #22c55e;
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  color: #14532d;
}
.highlight-box p {
  margin: 0 !important;
}

/* === Sanad Flow === */
.sanad-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 12px;
  border: 1px solid #86efac;
}
.sanad-item {
  text-align: center;
  padding: 0.75rem 1.25rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  min-width: 200px;
  transition: transform 0.2s;
  width: 100%;
  max-width: 280px;
}
.sanad-item:hover {
  transform: scale(1.03);
}
.sanad-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.25rem;
}
.sanad-item strong {
  display: block;
  color: #166534;
  font-size: 1.05rem;
}
.sanad-item small {
  display: block;
  color: #6b7280;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}
.sanad-arrow {
  font-size: 1.25rem;
  color: #22c55e;
  font-weight: bold;
}

/* === Matan Grid === */
.matan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.matan-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.25rem;
  border-radius: 12px;
  border-left: 4px solid #22c55e;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.matan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.matan-card h4 {
  color: #15803d;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.matan-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.6;
}

/* === Responsive === */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  .advantage-section h3 {
    font-size: 1.2rem;
  }
  .advantage-section p,
  .timeline li,
  .matan-card p {
    font-size: 0.95rem;
  }
  .sanad-item {
    min-width: 100%;
    font-size: 0.95rem;
  }
  .matan-grid {
    grid-template-columns: 1fr;
  }
  .highlight-box {
    padding: 1rem;
  }
}
/* === DROPDOWN STYLING === */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .dropbtn {
  color: white;
  margin-left: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
}

.dropdown .dropbtn:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.dropdown-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(37, 99, 235, 0.98);
  min-width: 220px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  overflow: hidden;
  z-index: 101;
  backdrop-filter: blur(10px);
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-content a {
  color: white;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  display: block;
  margin: 0;
  font-size: 0.95rem;
  transition: all 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.15);
  padding-left: 1.5rem; /* Efek geser sedikit */
  text-decoration: none;
}

/* Tampilkan dropdown saat hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* === RESPONSIVE: Mobile Dropdown === */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .navbar .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
  }
  
  .navbar .menu a,
  .dropdown .dropbtn {
    margin: 0;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }
  
  /* Dropdown mobile: full width & posisi relatif */
  .dropdown {
    position: static;
    width: 100%;
  }
  
  .dropdown-content {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 8px;
    margin-top: 0.5rem;
    background: rgba(37, 99, 235, 0.85);
  }
  
  .dropdown-content a {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .dropdown-content a:hover {
    padding-left: 1.25rem;
  }
}

background-image: url("/home/diaz/Downloads/waterfall.jpg");
