@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

    :root {
      --primary-color: #2C7873;
      --secondary-color: #6FB98F;
      --accent-color: #F2B134;
      --text-color: #333;
      --light-color: #F7F9F9;
    }

    body {
      font-family: 'Tajawal', sans-serif;
      color: var(--text-color);
      line-height: 1.6;
    }

    /* Buttons */
    .btn-primary {
      background-color: var(--primary-color);
      color: white;
      padding: 0.75rem 1.5rem;
      border-radius: 0.375rem;
      font-weight: 700;
      transition: all 0.3s ease;
    }
    .btn-primary:hover {
      background-color: #1d5751;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .btn-donate {
      background-color: #FFD700; /* Gold color */
      color: #333; /* Dark text for contrast */
      padding: 0.75rem 1.5rem;
      border-radius: 0.375rem;
      font-weight: bold;
      border: 2px solid #333;
      transition: background-color 0.3s, transform 0.3s;
    }
    .btn-donate:hover {
      background-color: #e6c200; /* Darker gold on hover */
      transform: scale(1.05); /* Slight zoom effect */
    }
    .language-toggle {
      cursor: pointer;
      display: flex;
      align-items: center;
    }

    /* Cards */
    .card {
      border-radius: 0.75rem;
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      overflow: hidden;
    }
    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    }
    .card img {
      transition: transform 0.3s ease;
    }
    .card:hover img {
      transform: scale(1.05);
    }

    /* Hero Section */
    .hero {
      position: relative;
      min-height: 100vh;
      overflow: hidden;
      background-color: #000;
      animation: fadeIn 1s ease-in;
    }
    .hero-video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
    }
    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
      z-index: 2;
    }
    .hero-content {
      position: relative;
      z-index: 3;
      text-align: center;
      color: white;
      padding: 2rem;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    .letter-animation {
      opacity: 0;
      animation: fadeIn 0.5s ease-in forwards;
    }
    
    .letter-animation span {
      display: inline-block;
      opacity: 0;
      animation: fadeIn 0.5s ease-in forwards;
    }
    
    /* For repeating animation with reveal effect */
@keyframes repeatAnimation {
  0% { opacity: 0; }           /* Start hidden */
  10% { opacity: 1; }          /* Show after 2s */
  85% { opacity: 1; }          /* Stay visible for 15s */
  100% { opacity: 0; }         /* Hide after 17s */
}

.hero-content h1, .hero-content p {
  animation: repeatAnimation 20s infinite;
}

    /* Stats Section */
    .stats-container {
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      color: white;
      padding: 4rem 1rem;
    }

    /* Testimonial (unused but kept for consistency) */
    .testimonial {
      background-color: var(--light-color);
      border-left: 4px solid var(--secondary-color);
    }

    /* Footer */
    .footer {
      background: linear-gradient(to right, var(--primary-color), #1d5751);
      color: white;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .hero {
        min-height: 60vh;
      }
      .hero-content h1 {
        font-size: 2rem;
      }
      .stats-item {
        margin-bottom: 1.5rem;
      }
      .btn-primary, .btn-donate {
        padding: 0.6rem 1.2rem;
      }
    }