* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  height: 2000px;
}

/* NAVBAR */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  background: #2ce095;
  position: fixed;
  width: 100%;
  z-index: 9999;
}

.logo {
  color: white;
  font-size: 22px;
  font-weight: bold;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #38f8c5;
}

/* DROPDOWN */

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  list-style: none;
  width: 180px;
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  display: none;
  overflow: hidden;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 15px;
  color: #333;
}

.dropdown-menu li a:hover {
  background: #f1f5f9;
}

/* HOVER */

.dropdown:hover .dropdown-menu {
  display: block;
}

.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)),
    url("../img/super.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
}

/* hero content */

.hero-content {
  max-width: 700px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 35px;
  color: #e2e8f0;
}

/* tombol */

.hero-btn {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-primary {
  padding: 12px 28px;
  background: #2ce095;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #2ce095;
  transform: translateY(-2px);
}

.btn-secondary {
  padding: 12px 28px;
  border: 2px solid #2ce095;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: #2ce095;
}

/* scroll indicator */

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 40px;
  border: 2px solid white;
  border-radius: 20px;
}

.scroll-down::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 15px);
  }
}

.kegiatan {
  padding: 100px 8%;
  background: #f8fafc;
  margin-top: -2rem;
}

.kegiatan-header {
  text-align: center;
  margin-bottom: 50px;
}

.kegiatan-header h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.kegiatan-header p {
  color: #64748b;
  font-size: 16px;
}

.kegiatan-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* card */

.kegiatan-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.kegiatan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.kegiatan-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.card-content p {
  color: #64748b;
  font-size: 14px;
}

.about {
  padding: 100px 8%;
  background: white;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* gambar */

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* teks */

.about-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-content p {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* tombol */

.about-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background: #2ce095;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}

.about-btn:hover {
  background: #2ce095;
  transform: translateY(-2px);
}

.contact {
  padding: 100px 8%;
  background: #f8fafc;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.contact-header p {
  color: #64748b;
}

/* layout */

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* info */

.contact-info {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 10px;
  color: #475569;
}

/* sosial */

.contact-social {
  margin-top: 20px;
}

.contact-social a {
  margin-right: 15px;
  text-decoration: none;
  color: #2ce095;
  font-weight: 600;
}

/* form */

.contact-form {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  border: none;
  background: #2ce095;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #2ce095;
}

.footer {
  background: #2ce095;
  color: white;
  padding: 70px 8% 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  margin-bottom: 15px;
}

.footer h4 {
  margin-bottom: 15px;
}

.footer p {
  color: #cbd5f5;
  line-height: 1.6;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  text-decoration: none;
  color: #cbd5f5;
  transition: 0.3s;
}

.footer ul li a:hover {
  color: #38bdf8;
}

/* bottom */

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 14px;
  color: #94a3b8;
}

.sejarah {
  padding: 100px 8%;
  background: #f8fafc;
}

.sejarah-header {
  text-align: center;
  margin-bottom: 60px;
}

.sejarah-header h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.sejarah-header p {
  color: #64748b;
}

/* container */

.timeline {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* card */

.timeline-card {
  display: flex;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* gambar */

.timeline-card img {
  width: 250px;
  height: 200px;
  object-fit: cover;
}

/* teks */

.timeline-text {
  padding: 20px;
}

.timeline-text .tahun {
  display: inline-block;
  background: #2ce095;
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 8px;
}

.timeline-text h3 {
  margin-bottom: 8px;
}

.timeline-text p {
  color: #64748b;
  line-height: 1.6;
}

.visi-misi {
  padding: 100px 8%;
  background: white;
}

.vm-header {
  text-align: center;
  margin-bottom: 50px;
}

.vm-header h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.vm-header p {
  color: #64748b;
}

/* visi */

.visi-box {
  max-width: 800px;
  margin: 0 auto 60px;
  background: #2ce095;
  color: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.visi-box h3 {
  margin-bottom: 10px;
}

/* misi */

.misi-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.misi-card {
  background: #f8fafc;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}

.misi-card:hover {
  transform: translateY(-5px);
}

.misi-card h4 {
  font-size: 30px;
  margin-bottom: 10px;
}

.misi-card p {
  color: #475569;
  font-size: 14px;
}
.struktur {
  padding: 100px 8%;
  background: #f1f5f9;
  text-align: center;
}

.struktur-header {
  margin-bottom: 60px;
}

.struktur-header h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.struktur-header p {
  color: #64748b;
}

/* ketua */

.ketua-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  width: 250px;
  margin: 0 auto 60px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.ketua-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.ketua-card span {
  color: #2ce095;
  font-weight: 600;
}

/* pengurus */

.pengurus-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.pengurus-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  transition: 0.3s;
}

.pengurus-card:hover {
  transform: translateY(-6px);
}

.pengurus-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.pengurus-card h4 {
  margin-bottom: 5px;
}

.pengurus-card p {
  color: #64748b;
  font-size: 14px;
}
.jadwal {
  padding: 80px 10%;
  background: #f4f9ff;
  text-align: center;
}

.jadwal h2 {
  font-size: 2.5rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.jadwal .tanggal {
  color: #555;
  margin-bottom: 40px;
}

.jadwal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.jadwal .card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.jadwal .card:hover {
  transform: translateY(-8px);
}

.jadwal .card h3 {
  margin-bottom: 10px;
  color: #2ce095;
}

.jadwal .card p {
  font-size: 1.4rem;
  font-weight: bold;
}
.kajian {
  padding: 80px 10%;
  background: #ffffff;
  text-align: center;
}

.kajian h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #0f172a;
}

.kajian .sub {
  color: #666;
  margin-bottom: 50px;
}

.kajian-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.kajian-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.kajian-card:hover {
  transform: translateY(-10px);
}

.kajian-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.kajian-content {
  padding: 20px;
}

.kajian-content h3 {
  margin-bottom: 10px;
  color: #1e293b;
}

.kajian-content .ustadz {
  color: #2ce095;
  font-weight: 500;
}

.kajian-content .waktu {
  color: #666;
  margin: 10px 0 15px;
}

.btn-kajian {
  display: inline-block;
  padding: 8px 20px;
  background: #2ce095;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.btn-kajian:hover {
  background: #2ce095;
}
.event {
  padding: 80px 10%;
  background: #f4f9ff;
  text-align: center;
}

.event h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #0f172a;
}

.event .sub {
  color: #666;
  margin-bottom: 50px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.event-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: 0.3s;
}

.event-card:hover {
  transform: translateY(-10px);
}

.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #2ce095;
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
}

.event-date .day {
  font-size: 20px;
  font-weight: bold;
  display: block;
}

.event-date .month {
  font-size: 12px;
}

.event-content {
  padding: 20px;
}

.event-content h3 {
  margin-bottom: 10px;
  color: #1e293b;
}

.event-content p {
  color: #666;
  margin-bottom: 15px;
}

.btn-event {
  display: inline-block;
  padding: 8px 20px;
  background: #2ce095;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.btn-event:hover {
  background: #2ce095;
}

.asal {
  align-items: center;
  position: absolute;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 0.1rem;
}

.card h1 {
  align-items: center;
}


/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero-content h1 { font-size: 40px; }
  .about-container, .contact-container, .footer-container { grid-template-columns: 1fr; }
}

@media (max-width: 450px) {
  .hero-content h1 { font-size: 30px; }
  .hero-btn { flex-direction: column; }
  .kegiatan-container, .pengurus-container, .jadwal-grid, .kajian-grid { grid-template-columns: 1fr; }
  .timeline-card, .event .card { flex-direction: column; }
  .timeline-card img, .event img { width: 100%; height: auto; }
}
