  * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
  
    body {
      font-family: 'Poppins', sans-serif;
      line-height: 1.6;
      font-size: 16px;
      background-color: #fff;
      color: #333;
    }
  
    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.3s ease;
    }
  
    a:hover,
    a:focus {
      color: #f4c542;
    }
  
    a:visited {
      color: #444;
    }
  
    .top-bar {
      background: #f4f4f4;
      padding: 8px 20px;
      text-align: right;
      font-size: 0.9rem;
    }
  
    .top-bar a {
      margin-left: 15px;
      color: #006644;
    }
    

      .payment-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 30px 0;
}

.payment-logos img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ccc;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.payment-logos img:hover {
  transform: scale(1.1);
}


    .whatsapp-float {
      position: fixed;
      width: 60px;
      height: 60px;
      bottom: 20px;
      right: 20px;
      background-color: #25d366;
      color: #fff;
      border-radius: 50%;
      text-align: center;
      box-shadow: 2px 2px 3px #999;
      z-index: 9999;
    }
  
    .whatsapp-float img {
      width: 100%;
      height: 100%;
      padding: 10px;
      object-fit: contain;
    }
  
    header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px;
      background: white;
      flex-wrap: wrap;
    }
  
    header img {
      height: 60px;
    }
  
    nav {
      display: flex;
      gap: 15px;
      background: #e7f5f0;
      padding: 10px 20px;
      border-radius: 10px;
      flex-wrap: wrap;
    }
  
    nav a {
      padding: 8px 14px;
      font-weight: bold;
      color: #006644;
      border-radius: 6px;
      background-color: transparent;
    }
  
    nav a:hover,
    nav a:focus {
      background-color: #c7ede0;
      color: #004d33;
    }
  
    .hero {
      position: relative;
      height: 60vh;
      background: url('logo1.jpeg') center center/cover no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
  
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.4);
      z-index: 0;
    }
  
    .hero-content {
      position: relative;
      z-index: 2;
      color: #fff;
      padding: 0 20px;
    }
  
    .hero-content h1 {
      font-size: 2.8rem;
      margin-bottom: 10px;
    }
  
    .hero-content p {
      font-size: 1.2rem;
      margin-bottom: 20px;
    }
  
    .hero .btn {
      background: #ff6600;
      color: white;
      padding: 12px 25px;
      font-weight: bold;
      border-radius: 6px;
      transition: background 0.3s ease;
    }
  
    .hero .btn:hover {
      background: #cc5200;
    }
  
    .campaigns {
      display: grid;
      gap: 20px;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      padding: 40px 20px;
      max-width: 1200px;
      margin: auto;
    }
  
    .campaign {
      position: relative;
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      height: 300px;
    }
  
    .campaign img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }
  
    .campaign img.active {
      opacity: 1;
    }
  
    .campaign-content {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(0, 0, 0, 0.5);
      color: white;
      padding: 20px;
      z-index: 2;
    }
  
    .campaign-content h3 {
      margin-bottom: 10px;
      font-size: 1.3rem;
    }
  
    .campaign-content p {
      margin-bottom: 10px;
      font-size: 1rem;
    }
  
    .campaign-content .btn {
      background: #f4c542;
      padding: 8px 20px;
      color: #333;
      border: none;
      border-radius: 4px;
      font-size: 1rem;
      cursor: pointer;
    }

  img {
  max-width: 100%;
  height: auto;
}
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

    .campaign img {
  display: none;
}
.campaign img.active {
  display: block;
}
  
    .bank-details {
      background: linear-gradient(135deg, #fff3e0, #ffe0b2);
      text-align: center;
      padding: 50px 20px;
      font-size: 1.1rem;
      color: #333;
      border-top: 5px solid #ffb74d;
      border-bottom: 5px solid #ffb74d;
    }
    .bank-details h3 {
      color: #d17b00;
      margin-bottom: 20px;
      font-size: 2rem;
    }
    .bank-details p {
      font-size: 1.2rem;
      margin: 10px 0;
    }
    .bank-details p strong {
      color: #bf360c;
    } 
    .zakat-section,
    .sadaqah-section {
      padding: 40px 20px;
      background: #e7f5f0;
      text-align: center;
    }
  
    .zakat-section h2,
    .sadaqah-section h2 {
      color: #006644;
      margin-bottom: 20px;
    }
  
    .zakat-section p,
    .sadaqah-section p {
      max-width: 800px;
      margin: 0 auto 20px;
      font-size: 1.1rem;
      color: #333;
    }
  
    .zakat-cards,
    .sadaqah-cards {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-top: 30px;
    }
  
    .zakat-card,
    .sadaqah-card {
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      max-width: 300px;
      text-align: left;
    }
  
    .zakat-card img,
    .sadaqah-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }
  
    .zakat-card-content,
    .sadaqah-card-content {
      padding: 15px;
    }
  
    .zakat-card-content h4,
    .sadaqah-card-content h4 {
      margin: 10px 0 5px;
      color: #006644;
    }
  
    .zakat-card-content p,
    .sadaqah-card-content p {
      font-size: 0.95rem;
      color: #444;
    }
  
    .btn {
      display: inline-block;
      margin-top: 20px;
      padding: 12px 24px;
      background-color: #006644;
      color: white;
      border: none;
      border-radius: 6px;
      font-size: 1rem;
      text-decoration: none;
      transition: background-color 0.3s ease, transform 0.2s ease;
      box-shadow: 0 4px 8px rgba(240, 235, 235, 0.623);
    }
  
    .btn:hover {
      background-color: #004d33;
      transform: translateY(-2px);
    }
  
    .btn:active {
      background-color: #003d26;
      transform: scale(0.98);
    }
  
    .latest-news {
      padding: 40px 20px;
      background: #f9f9f9;
    }
  
    .latest-news h2 {
      text-align: center;
      margin-bottom: 30px;
      color: #006644;
    }
  
    .news-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      max-width: 1200px;
      margin: auto;
    }
  
    .news-card {
      background: white;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }
  
    .news-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }
  
    .news-card-content {
      padding: 20px;
    }
  
    .news-card-content h4 {
      margin-bottom: 10px;
      color: #006644;
    }
  
    .news-card-content p {
      font-size: 0.95rem;
      color: #555;
    }
  
    .contact-section {
      padding: 40px 20px;
      background: #e0f7ee;
      text-align: center;
    }
  
    .contact-section h2 {
      color: #006644;
      margin-bottom: 20px;
    }
  
    .contact-form {
      max-width: 600px;
      margin: 0 auto;
      text-align: left;
      background: #ffffff;
      padding: 30px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
  
    .contact-form label {
      display: block;
      margin-bottom: 5px;
      font-weight: bold;
      color: #006644;
    }
  
    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 12px;
      margin-bottom: 20px;
      border: 1px solid #b2dfdb;
      border-radius: 5px;
      font-size: 1rem;
    }
  
    .contact-form button {
      background-color: #006644;
      color: #fff;
      padding: 12px 25px;
      font-size: 1rem;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background 0.3s ease;
    }
  
    .contact-form button:hover {
      background-color: #004d33;
    }
  
    footer {
      background: #006644;
      color: white;
      padding: 40px 20px;
    }
  
    .footer-grid {
      display: grid;
      gap: 30px;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      max-width: 1200px;
      margin: auto;
      padding-bottom: 20px;
    }
  
    .footer-grid div h4 {
      margin-bottom: 15px;
      font-size: 1.2rem;
      border-bottom: 2px solid #f4c542;
      display: inline-block;
      padding-bottom: 5px;
    }
  
    .footer-grid ul {
      list-style: none;
      padding: 0;
    }
  
    .footer-grid li {
      margin-bottom: 8px;
    }
  
    .footer-grid a {
      color: white;
      transition: color 0.3s;
    }
  
    .footer-grid a:hover {
      color: #f4c542;
    }
  
    .social-icons a {
      display: inline-block;
      background: #f4c542;
      color: #006644;
      padding: 6px 12px;
      border-radius: 4px;
      margin-right: 10px;
      font-weight: bold;
      transition: background 0.3s;
    }
  
    .social-icons a:hover {
      background: white;
    }
  
    .footer-bottom {
      text-align: center;
      font-size: 0.85rem;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
  
    @media (max-width: 768px) {
      nav ul {
        flex-direction: column;
        align-items: flex-start;
      }
  
      .campaigns,
      .zakat-cards,
      .sadaqah-cards,
      .news-grid {
        flex-direction: column;
        gap: 20px;
      }
  
      .campaign,
      .zakat-card,
      .sadaqah-card,
      .news-card {
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
      }
  
      .contact-form {
        width: 100%;
        padding: 0 10px;
      }
  
      .contact-form input,
      .contact-form textarea {
        font-size: 16px;
      }
  
      .contact-form button {
        width: 100%;
        font-size: 16px;
      }
    }