  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: 'Times New Roman', Times, serif;
  }

  .navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color:#909483;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  /* Logo dan teks */
  .logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .logo {
    height: 40px;
  }

  .tanggal-hari {
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    color: black;
    font-weight: 500;
    white-space: nowrap;
  }

  .masjid-name {
    font-size: 20px;
    color: rgb(89, 80, 80);
  }

  /* Nav links */
  .nav-links {
    display: flex;
    gap: 20px;
  }

  .nav-links a {
    
    color: black;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 6px;
    transition: background 0.3s ease, color 0.3s ease;
  }

  .nav-links a:hover {
    background-color: #e1f3eb;
    color: #b0a91d;
  }

  .nav-links a.active {
    background-color: #E1E4E7;
    color: black;
    /* border-bottom: 2px solid rgb(111, 255, 0); */
  }

  /* Hamburger icon */
  .hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: rgb(89, 80, 80);
  }

  .footer {
    background-color: #909483;
    color: black;
    padding: 50px 7%;
    font-family: 'Times New Roman', Times, serif;
    box-shadow: 5px -3px 5px rgba(0, 0, 0, 0.1), 5px 3px 5px rgba(0, 0, 0, 0.1);
  }

  .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
  }

  .footer-left,
  .footer-right {
    flex: 1 1 300px;
  }

  .footer-left p {
    font-size: 16px;
    line-height: 1.6;
    color: #E1E4E7;
    font-family: 'Times New Roman', Times, serif;
  }
  .footer-left h4,
  .footer-right h4 {
    font-size: 22px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    color: #E1E4E7;
  }

  .footer-left h4::after,
  .footer-right h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: black;
    margin-top: 5px;
    border-radius: 2px;
  }



  .social-icons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
  }

  .social-icons a {
    font-size: 28px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .social-icons a.instagram {
    color: #E1306C;
  }
  .social-icons a.facebook {
    color: #1877F2;
  }
  .social-icons a.youtube {
    color: #FF0000;
  }
  .social-icons a.whatsapp {
    color: #25D366;
  }

  .social-icons a:hover {
    transform: scale(1.2);
    opacity: 0.85;
    filter: brightness(1.1);
  }


  #arabic-clock {
    position: fixed;
    right: 15px;
    bottom: 15px;
    left: auto;
    background-color: white;
    color: black;
    font-family: 'Amiri', serif;
    font-size: 28px;
    padding: 10px 18px;
    border-radius: 12px;
    box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    text-align: center;
    line-height: 1.3;
  }

  .arabic-time {
    font-size: 30px;
    letter-spacing: 2px;
  }

  .arabic-zone {
    font-size: 16px;
    font-family: Arial, sans-serif;
    color: #555;
    margin-top: 4px;
  }

  /* .gambar1 {
    width: 100%;
    display: flex;
    justify-content: center; 
    padding: 20px 0;
  }

  .gambar1 img {
    width: 90%;              
    height: auto;           
    max-width: 800px;        
    border-radius: 8px;    
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
  } */

  .gambar1 {
    width: 100vw; 
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .gambar1 img {
    width: 100%;
    height: auto;
    display: block;
  }

  .page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff8b3; 
    z-index: 3000;
    opacity: 1;
    transition: opacity 1s ease;
    pointer-events: auto;
  }


  .page-transition.hide {
     opacity: 0;
    pointer-events: none;
  }

  .info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 7%;
    background-color: #909483;
    align-items: start;
    padding-bottom:20px;
  }

  .info-card {
    flex: 1 1 300px;
    background-color:#E1E4E7;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease; 
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .info-card h3 {
    font-family: 'Times New Roman', Times, serif;
    color: black;
    font-size: 22px;
    margin-bottom: 12px;
  }



  .info-card p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 15px;
    color: #909483;
    line-height: 1.6;
  }

  .extra-text {
    margin-top: 10px;
    margin-bottom: 0px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    color: #909483;
  }

  .info-card.expanded .extra-text {
    opacity: 1;
    max-height: 1200px;
  }

  .toggle-btn {
    margin-top: auto;
    background-color: #007B5E;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: 'Times New Roman', Times, serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;              
    max-width: 100%;           
    white-space: nowrap;
    display: inline-block;      
    align-self: flex-start; 
  }

  .toggle-btn:hover {
    background-color: #025c32;
  }

  .info-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    vertical-align: middle;
  }
  .kami{
    font-family: 'Times New Roman', Times, serif;
  }
  .info-card h3 {
    margin-right: 8px;
    color: black; 
  }

  .info-card i {
    margin-right: 8px;
    color: #025c32; 
  }



  /* .slideshow-container {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  } */

  .slide {
    display: none;
  }

  .slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
  }

  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s;
    user-select: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  }

  .prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
  }

  .prev {
    left: 15px;
  }

  .next {
    right: 15px;
  }

  /* Efek transisi */
  .fade {
    animation: fadeEffect 1s ease-in-out;
  }

  .kegiatan-section {
    padding: 40px 5% 60px;
    text-align: center;
    background-color: #f3f8f4; 
  }
  .kegiatan-section1 {
    padding: 40px 5% 60px;
    text-align: center;
    background-color: #f3f8f4; 
  }

  .kegiatan-heading {
    font-family: 'Times New Roman', Times, serif;
    font-size: 32px;
    color: #909483;
    margin-bottom: 0px;
    position: relative;
    display: inline-block;
    font-weight: bold;
  }

  .kegiatan-heading::after {
    content: '';
    display: block;
    height: 3px;
    width: 60px;
    background-color: #b0a91d;
    margin: 10px auto 0;
    border-radius: 4px;
  }

  .kegiatan-heading i {
    margin-right: 10px;
    color: #b0a91d;
  }

  .slide img {
    height: 400px;
    object-fit: cover;
  }

  .slideshow-wrapper {
      padding: 0 7%;
    
    }

    .slideshow-container {
      position: relative;
      width: 100%;
      max-width: 100%;
      margin: 30px auto 0;
      border: 1px solid #d0e6d8;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    }

    .slideshow-container img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
    }

    .prev, .next {
      font-size: 18px;
      padding: 8px;
    }

    .artikel {
    padding: 60px 20px;
    background-color: #909483;
  }

  .artikel-heading {
    font-family: 'Times New Roman', Times, serif;
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    color: #E1E4E7;
  }

  .artikel-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .artikel-card {
    background-color: #E1E4E7;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
  }

  .artikel-card:hover {
    transform: translateY(-5px);
  }

  .artikel-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
  }

  .artikel-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .artikel-content h3 {
    font-size: 18px;
    color: #1c1c1c;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
  }

  .pengarang {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
    font-style: italic;
  }

  .btn-artikel {
    margin-top: auto;
    background-color: #007B5E;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: 'Times New Roman', Times, serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;                
    max-width: 100%;           
    white-space: nowrap;
    display: inline-block;      
    align-self: flex-start; 
    text-decoration: none;
  }

  .btn-artikel:hover {
    background-color: #005f46;
  }

  .slide-buku {
      display: none;
    }

    .slide-buku img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
      border-radius: 12px;
    }

    .prev-buku, .next-buku {
      cursor: pointer;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      padding: 16px;
      color: white;
      font-size: 28px;
      font-weight: bold;
      background-color: rgba(0, 0, 0, 0.4);
      border-radius: 50%;
      transition: background-color 0.3s, transform 0.3s;
      user-select: none;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }

    .prev-buku:hover, .next-buku:hover {
      background-color: rgba(0, 0, 0, 0.7);
      transform: translateY(-50%) scale(1.1);
    }

    .prev-buku {
      left: 15px;
    }

    .next-buku {
      right: 15px;
    }

    .prev-buku, .next-buku {
      font-size: 18px;
      padding: 8px;
    }

    .copyright {
      background-color: #909483;
      color: #E1E4E7;
      text-align: center;
      font-family: 'Times New Roman', Times, serif;
      padding: 12px 20px;
      font-size: 14px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .donasi-main {
    padding: 60px 5%;
    background-color: #f9f9f9;
    font-family: 'Times New Roman', Times, serif;
  }

  .donasi-section {
    max-width: 800px;
    margin: 0 auto;
    background-color: #909483;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    text-align: center;
  }

  .donasi-title {
    font-size: 28px;
    color: black;
    font-weight: bolder;
    margin-bottom: 10px;
  }

  .transfer-title{
    color: black;
    font-weight: bolder;
  }

  .scan-title{
    color: black;
    font-weight: bolder;
  }

  .donasi-description {
    font-size: 16px;
    color: #E1E4E7;
    margin-bottom: 30px;
  }

  .donasi-info {
    text-align: center;
    margin-bottom: 30px;
    color: black;
  }

  .rekening-list {
    list-style: none;
    padding-left: 0;
    font-size: 16px;
    color: #E1E4E7;
    line-height: 1.6;
  }

  .qris-section {
    margin-top: 20px;
  }

  .qris-img {
    width: 240px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
  }

  .kontak-main {
  padding: 60px 5%;
  background-color: #f9f9f9;
  font-family: 'Times New Roman', Times, serif;
}

.kontak-section {
  max-width: 800px;
  margin: 0 auto;
  background-color: #909483;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.kontak-heading {
  font-size: 28px;
  color: black;
  font-weight: bolder;
  margin-bottom: 10px;
}

.kontak-sub {
  font-size: 16px;
  color: #E1E4E7;
  margin-bottom: 30px;
}

.kontak-info {
  text-align: center;
  margin-top: 10px;
  color: black;
}

.kontak-subheading {
  font-size: 20px;
  font-weight: bold;
  color: white;
  margin-top: 20px;
}

.kontak-detail {
  font-size: 16px;
  line-height: 1.6;
  color: #E1E4E7;
  margin-bottom: 10px;
}

.kontak-info .btn-artikel {
  margin-top: 20px;
  background-color: #b0a91d;
  color: black;
  font-weight: bold;
  text-align: center;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.kontak-info .btn-artikel:hover {
  background-color: #a09819;
}

  .artikel-layout {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Amiri', serif;
    color: #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .artikel-atas {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
  }

  .gambar-samping {
    width: 300px;
    flex-shrink: 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .info-samping {
    flex: 1;
    min-width: 250px;
  }

  .judul-artikel {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 8px;
  }

  .pengarang-detail {
    font-size: 15px;
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
  }

  .paragraf {
    text-align: justify;
    line-height: 1.7;
  }

  .lanjutan-artikel {
    margin-top: 30px;
    text-align: justify;
    line-height: 1.8;
    font-size: 17px;
  }

  .btn-kembali {
    position: fixed;
    bottom: 15px;
    left: 15px;
    background-color: #009688;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
  }

  .btn-kembali:hover {
    background-color: #00796b;
  }

  .profil-container {
    display: flex;
    min-height: auto;
    margin-top: 0px;
    font-family: 'Times New Roman', Times, serif;
  }

  /* Kiri 2/8 */
  .profil-kiri {
    flex: 2;
    background-color: #557154; /* Hijau tua */
  }

  /* Tengah 5/8 */
  .profil-tengah {
    flex: 5;
    background-color: #ffffff;
    padding: 30px 40px;
    padding-bottom: 0px;
    text-align: justify;
    font-family: 'Times New Roman', Times, serif;
    border-radius: 1;
  }

  .profil-tengah p {
    font-size: 16px; /* ukuran teks isi penjelasan */
    text-align: justify;
    line-height: 1.6;
  }

  .profil-tengah p strong {
    font-family: 'Times New Roman', Times, serif;
    display: block;
    font-size: 22px; /* ukuran untuk subjudul yang bold */
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #333;
  }

  /* Judul tengah */
  .profil-judul {
    text-align: center;
    margin-bottom: 30px;
  }

  /* Kanan 1/8 */
  .profil-kanan {
    flex: 1;
    background-color: #a7c4a0; /* Hijau muda */
  }

  


  @keyframes fadeEffect {
    from {opacity: 0.3;}
    to {opacity: 1;}
  }


  @media (max-width: 768px) {

  .profil-container {
    background-color: white;
    min-height: 100vh;
  }

.profil-kiri,
.profil-kanan {
  display: none; /* Sembunyikan sisi kiri dan kanan agar fokus ke isi tengah */
}

.profil-tengah {
  flex: 1;
  padding: 20px 20px;
  font-size: 16px;
}

.profil-judul {
  font-size: 22px;
  margin-bottom: 30px;
  margin-top: 30px;
  text-align: center;
}

.profil-tengah p {
  font-size: 15px;
  line-height: 1.7;
}

.profil-tengah p strong {
  font-size: 18px;
  margin-top: 20px;
}


    .artikel-layout {
      flex-direction: column; /* Bisa diubah ke row jika nanti ingin teks di samping lagi */
    }

    .artikel-img {
      width: 100%;
      height: 270px;
      object-fit: cover;
    
      
    }

    .btn-kembali {
      font-size: 14px;
      padding: 6px 12px;
    }

    .artikel-atas {
      flex-direction: column;
      align-items: center;
    }

    .gambar-samping {
      width: 100%;
      max-width: 100%;
      margin-bottom: 15px;
    }

    .info-samping {
      width: 100%;
    }

    .judul-artikel {
      font-size: 22px;
      text-align: center;
    }

    .pengarang-detail {
      text-align: center;
    }

    .paragraf, .lanjutan-artikel p {
      font-size: 16px;
      text-align: justify;
      padding: 0 10px;
    }

    .hamburger {
      display: block;
    }

    .nav-links {
      width: 100%;
      flex-direction: column;
      overflow: hidden;
      max-height: 0;
      transition: max-height 0.4s ease-in-out;
      background-color: #909483;
      border-radius: 0 0 8px 8px;
      margin-top: 5px;
    }

    .nav-links.active {
      max-height: 550px;
    }

    .nav-links a {
      color: rgb(0, 0, 0);
      /* border-top: 1px solid #036a3b; */
      text-align: left;
      padding: 12px;
    }

    .masjid-name {
      font-size: 18px;
    }


    .info-section {
      grid-template-columns: 1fr;
      padding: 20px 5%;
    }

    .info-card {
      width: 100%;
      min-height: auto;
      margin-bottom: 20px;
    }

    .info-card.expanded {
      margin-bottom: 30px;
    }
    
    .footer-container {
      flex-direction: row;
      gap: 10px;
      padding: 10px 5%;
      text-align: left;
    }

    .footer-left, .footer-right {
      width: 100%;
      margin: 10px;
    }

    .social-icons {
      justify-content: flex-start;
      flex-wrap: wrap;
      gap: 16px;
    }
    
    .kontak-container {
      padding: 20px 10px;
    }

    .kontak-heading {
      font-size: 24px;
    }

    .kontak-sub {
      font-size: 14px;
    }

    .google-form-wrapper iframe {
      min-height: 860px;
    }

    .extra-text{
      margin-bottom: auto;
    }
  }