 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #1a5f3f;
            --primary-light: #2d7a54;
            --primary-foreground: #ffffff;
            --secondary: #f5eee1;
            --secondary-foreground: #1a5f3f;
            --accent: #d4a545;
            --accent-foreground: #1a5f3f;
            --background: #faf7f2;
            --foreground: #1a3d2a;
            --muted: #f0ebe4;
            --muted-foreground: #4a6b5a;
            --border: #e8dfd5;
        }

    

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Navigation */
        nav {
            position: sticky;
            top: 0;
            z-index: 50;
            background: rgba(250, 247, 242, 0.95);
            border-bottom: 1px solid var(--border);
            backdrop-filter: blur(10px);
            margin-top: 10px;
            
        }

        .nav-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
            padding: 0;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
            color: var(--primary);
            font-weight: bold;
        }

        .logo-icon {
            width: 48px;
            height: 48px;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            font-size: 24px;
            margin-top: 1px;
        }

        .logo-text h3 {
            font-size: 1.25rem;
            margin: 0;
            line-height: 1;
        }

        .logo-text p {
            font-size: 0.65rem;
            letter-spacing: 0.1em;
            margin: 0;
            color: var(--muted-foreground);
            text-transform: uppercase;
            font-weight: 500;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            align-items: center;
            list-style: none;
        }

        .nav-links a {
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--muted-foreground);
            cursor: pointer;
            transition: color 0.3s;
            padding: 0.5rem 0;
            border-bottom: 2px solid transparent;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primary);
            border-bottom-color: var(--primary);
        }

        .donate-btn {
            background: var(--accent);
            color: var(--accent-foreground);
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 9999px;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.3s;
        }

        .donate-btn:hover {
            background: #c49535;
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            .donate-btn {
                display: none;
            }
        }

        /* Sections */
        section {
            padding: 2rem 1rem;
        }

        section.hidden {
            display: none;
        }

        section.visible {
            display: block;
        }

        /* Hero */
        .hero {
            overflow: hidden;
            background-image: url('./class.jpg'); 
            background-size: cover;
            background-position: center;
            min-height: 500px;
            display: flex;
            align-items: center;
            position: relative;
            background-repeat: no-repeat;
            
            
            
            
        }

        .hero-content {
            max-width: 2000px;
            animation: slideIn 0.8s ease-out;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .badge {
            display: inline-block;
            background: rgba(212, 165, 69, 0.2);
            border: 1px solid rgba(212, 165, 69, 0.3);
            color: var(--accent-foreground);
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.85rem;
            font-weight: bold;
            margin-bottom: 1.5rem;
        }

        .hero h1 {
            font-size: 3.5rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .hero p {
            font-size: 1.1rem;
            color: var(--muted-foreground);
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .button-group {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn {
            padding: 0.875rem 2rem;
            border: none;
            border-radius: 9999px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
            font-size: 1rem;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background: var(--primary-light);
            box-shadow: 0 10px 20px rgba(26, 95, 63, 0.2);
        }

        .btn-secondary {
            border: 2px solid var(--primary);
            color: var(--primary);
            background: transparent;
        }

        .btn-secondary:hover {
            background: rgba(26, 95, 63, 0.05);
        }

        /* Initiatives */
    
            .programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-align: center;
  padding-bottom: 1.5rem;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

/* Image polish */
.card-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

/* Text styling */
.card h3 {
  margin: 1rem 1rem 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.card p {
  padding: 0 1.2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

          

        /* Stats Section */
        .stats-section {
            background: var(--primary);
            color: white;
            padding: 1rem 1rem;
            position: relative;
            overflow: hidden;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            text-align: center;
        }

        .stat-item h4 {
            font-size: 3rem;
            color: var(--accent);
            margin-bottom: 0.5rem;
        }

        .stat-item p {
            font-size: 0.9rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            opacity: 0.8;
            font-weight: 500;
        }

        /* Feature Sections */
        .feature-section {
            padding: 2rem 1rem;
        }

        .feature-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .feature-image {
            position: relative;
        }

        .feature-image::before {
            content: '';
            position: absolute;
            inset: -1rem;
            background: rgba(212, 165, 69, 0.2);
            border-radius: 1rem;
            transform: rotate(-3deg);
            z-index: 0;
        }

        .feature-image img {
            position: relative;
            z-index: 1;
            width: 100%;
            border-radius: 0.75rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        .feature-text h2 {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
        }

        .feature-text p {
            color: var(--muted-foreground);
            margin-bottom: 1.5rem;
            line-height: 1.8;
            font-size: 1.05rem;
        }

        .feature-list {
            list-style: none;
        }

        .feature-list li {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
            font-weight: 500;
            color: var(--foreground);
        }

        .feature-list li::before {
            content: '';
            width: 0.5rem;
            height: 0.5rem;
            border-radius: 50%;
            background: var(--accent);
            flex-shrink: 0;
        }

        .testimonial {
            background: rgba(212, 165, 69, 0.05);
            border: 1px solid var(--border);
            border-radius: 0.75rem;
            padding: 1.5rem;
            margin-top: 1.5rem;
        }

        .testimonial p:first-child {
            font-style: italic;
            color: var(--foreground);
            margin-bottom: 1rem;
        }

        .testimonial p:last-child {
            font-weight: bold;
            color: var(--primary);
            margin: 0;
        }

        @media (max-width: 768px) {
            .feature-content {
                grid-template-columns: 1fr;
            }
            .hero h1 {
                font-size: 2.5rem;
            }
            .section-header h2 {
                font-size: 1.75rem;
            }
            .feature-text h2 {
                font-size: 1.5rem;
            }
        }

        /* Footer */
        footer {
            background: var(--primary);
            color: white;
            padding: 4rem 1rem 1rem;
             border-bottom: 4px solid #0ff;       /* Neon cyan border */
             box-shadow: 0 0 15px #0ff;           /* Neon glow */
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-section h3 {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.75rem;
            opacity: 0.8;
        }

        .footer-section a {
            color: white;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-section a:hover {
            color: var(--accent);
        }

        .footer-contact {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 0.75rem;
            align-items: flex-start;
        }

        .footer-contact span {
            opacity: 0.7;
            flex-shrink: 0;
        }

        .newsletter-form {
            display: flex;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .newsletter-form input {
            flex: 1;
            padding: 0.5rem;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 0.4rem;
            color: white;
            font-size: 0.9rem;
        }

        .newsletter-form input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .newsletter-form button {
            padding: 0.5rem 1rem;
            background: var(--accent);
            color: var(--accent-foreground);
            border: none;
            border-radius: 0.4rem;
            font-weight: bold;
            cursor: pointer;
            font-size: 0.85rem;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 2rem;
            text-align: center;
            opacity: 0.6;
            font-size: 0.9rem;
        }

        /* About Section */
    
         body {
    font-family: Georgia, serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0px;
  }

  /* Top navigation bar */
  .top-div {
    display: flex;
    background-color: #7f9cb1; /* blue-gray */
    font-family: Georgia, serif;
    font-weight: bold;
    font-size: 1.2rem;
    color: #e5e5e5;
    margin-top: 10px;
    margin-left: 0px;
    margin-right: 0px;
  }
  .top-div a {
    flex: 1;
    padding: 15px 0;
    text-align: center;
    text-decoration: none;
    color: #e5e5e5;
    border-right: 1px solid #8aa6bb;
    user-select: none;
  }
  .top-div a:nth-child(2) {
    background-color: #35587a; /* darker blue for DONATE */
    border-right: 1px solid #8aa6bb;
  }
  .top-div a:last-child {
    border-right: none;
  }

  /* Section heading style with horizontal lines */
  .section-header {
    text-align: center;
    font-family: Georgia, serif;
    font-weight: normal;
    font-size: 1.8rem;
    color: #4a4a4a;
    margin: 40px 0 30px 0;
    position: relative;
  }
  .section-header::before,
  .section-header::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: #7a7a7a;
  }
  .section-header::before {
    left: 0;
  }
  .section-header::after {
    right: 0;
  }

  /* Paragraph text */
  .intro-text {
    max-width: 1000px;
    margin: 0 auto 30px auto;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    color: #222;
  }

  /* Content grid with two columns */
  .content-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
  }

  /* Distinctives */
  .distinctives {
    flex: 1;
    font-family: Arial, sans-serif;
  }
  .distinctives h3 {
    font-family: Georgia, serif;
    font-weight: normal;
    color: #4a4a4a;
    margin-bottom: 10px;
  }
  .distinctives ul {
    padding-left: 20px;
    margin-top: 0;
    font-size: 1.1rem;
    line-height: 1.5;
  }
  .distinctives ul li {
    margin-bottom: 10px;
  }

  /* Mission */
  .mission {
    flex: 0.6;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: #222;
  }
  .mission h4 {
    font-family: Georgia, serif;
    font-weight: normal;
    color: #4a4a4a;
    margin-bottom: 10px;
  }

  /* Bottom section header */
  .bottom-header {
    text-align: center;
    font-family: Georgia, serif;
    font-weight: normal;
    font-size: 1.8rem;
    color: #4a4a4a;
    margin: 60px 0 20px 0;
    position: relative;
  }
  .bottom-header::before,
  .bottom-header::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: #7a7a7a;
  }
  .bottom-header::before {
    left: 0;
  }
  .bottom-header::after {
    right: 0;
  }
         
         /* vision Section */
        .vision-hero {
            background: var(--primary);
            color: white;
            padding: 3rem 1rem;
            text-align: center;
        }

        .vision-hero h1 {
            font-size: 3rem;
            color: white;
            margin-bottom: 1rem;
        }

        .vision-content {
            max-width: 900px;
            margin: 0 auto;
            padding: 3rem 1rem;
        }

        .vision-section {
            margin-bottom: 3rem;
        }

        .vision-section h2 {
            font-size: 1.75rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
        }

        .vision-section p {
            color: var(--muted-foreground);
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .value-card {
            background: var(--secondary);
            padding: 2rem;
            border-radius: 0.75rem;
            border: 1px solid var(--border);
        }

        .value-card h3 {
            font-size: 1.25rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .value-card p {
            color: var(--muted-foreground);
        }

        /* Programs Page */
     .all-programs-grid {

   display: grid;
            grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
            gap: 100px;
  
}

.program-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.program-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.program-card h3 {
  margin: 20px 20px 10px;
}

.tags {
  margin: 0 20px 10px;
}

.tag {
  display: inline-block;
  background: #e9f1ff;
  color: #1d4ed8;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 6px;
}

.program-card p {
  padding: 0 20px;
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
}

        /* Contact/Forms */
        .contact-hero {
            background: var(--background);
            text-align: center;
            padding: 3rem 1rem;
        }

        .contact-hero h1 {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .contact-content {
            max-width: 900px;
            margin: 3rem auto;
            padding: 0 1rem;
        }

        .tabs {
            display: flex;
            gap: 2rem;
            border-bottom: 2px solid var(--border);
            margin-bottom: 2rem;
        }

        .tab {
            padding: 1rem;
            background: none;
            border: none;
            cursor: pointer;
            font-weight: bold;
            color: var(--muted-foreground);
            border-bottom: 2px solid transparent;
            transition: all 0.3s;
        }

        .tab.active {
            color: var(--primary);
            border-bottom-color: var(--primary);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: var(--foreground);
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border);
            border-radius: 0.5rem;
            font-family: inherit;
            font-size: 1rem;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 150px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        @media (max-width: 768px) {
            .form-row {
                grid-template-columns: 1fr;
            }
        }

        .donation-amounts {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin: 1.5rem 0;
        }

        .amount-btn {
            padding: 2rem;
            border: 2px solid var(--border);
            background: white;
            border-radius: 0.5rem;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: bold;
        }

        .amount-btn:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: rgba(26, 95, 63, 0.05);
        }

        .divider {
            text-align: center;
            margin: 1.5rem 0;
            position: relative;
        }

        .divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: var(--border);
        }

        .divider span {
            background: white;
            padding: 0 0.5rem;
            position: relative;
            color: var(--muted-foreground);
            font-size: 0.8rem;
            text-transform: uppercase;
        }

        .custom-amount {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .custom-amount input {
            flex: 1;
        }

        .custom-amount button {
            padding: 0.75rem 1.5rem;
        }

        
/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;



.logo-icon img {
  width: 120px;
height: 120px;
border-radius: 50%;
margin-top: 20px;
}
}

/* Add space between logo image and text */
.logo-text {
  margin-left: 40px; /* space between image and text */
}

.logo-text h3, .logo-text h4 {
  margin: 0;
  line-height: 1.2;
}

.logo-text h3 {
  font-size: 1.2rem;
}

.logo-text h4 {
  font-size: 0.9rem;
  font-weight: normal;
}



  /* Navbar Container */
  nav {
    background-color: #004d1a; /* dark green, uniform professional color */
    padding: 10px 20px;
    font-family: Arial, sans-serif;
  }

  .nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    border-bottom: 4px solid #0ff;       /* Neon cyan border */
    
}
  

  /* Logo */
  .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
  }

  .logo-icon img {
    width: 120px;
    height: auto;
    border-radius: 8px; /* optional rounded corners */
  }

  .logo-text h3, .logo-text h4 {
    margin: 0;
    line-height: 1.2;
  }

  .logo-text h3 {
    font-size: 1.2rem;
  }

  .logo-text h4 {
    font-size: 0.9rem;
    font-weight: normal;
  }

  /* Navigation Links */
  .nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
  }

  .nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    transition: color 0.3s;
  }

  .nav-links a:hover, .nav-links a.active {
    color: #ffd700; /* gold highlight on hover/active */
  }

  /* Donate Button */
  .donate-btn {
    background-color: #ffd700; /* gold button */
    color: #004d1a;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .donate-btn:hover {
    background-color: #e6c200;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .nav-content {
      flex-direction: column;
      align-items: flex-start;
    }
    .nav-links {
      flex-direction: column;
      gap: 15px;
      margin-top: 10px;
    }
    .donate-btn {
      margin-top: 10px;
    }
  }


  /* ===== Carousel base ===== */
   #carouselExample {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}


    .carousel-inner {
      position: relative;
      width: 100%;
    }

    .carousel-item {
      display: none;
      width: 100%;
      position: relative;
    }

    .carousel-item.active {
      display: block;
    }

    /* ===== Slide content ===== */
    .slide-content {
      display: flex;
      gap: 10px;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      padding: 0 10px;
      object-fit: cover;
      box-sizing: border-box;
    }

    .slide-content img {
      width: 48%;
      height: 500px;
      object-fit: cover;
      border-radius: 12px;
    }

    /* ===== Caption ===== */
    .carousel-caption {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(0, 0, 0, 0.5);
      border-radius: 8px;
      padding: 0.75rem 1rem;
      max-width: 90%;
      text-align: center;
      color: #fff;
    }

    /* ===== Indicators ===== */
    .carousel-indicators {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      z-index: 10;
    }

    .carousel-indicators button {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: none;
      background: rgba(255,255,255,0.5);
      cursor: pointer;
    }

    .carousel-indicators button.active {
      background: #fff;
    }

    /* ===== Controls ===== */
    .carousel-control-prev,
    .carousel-control-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      z-index: 10;
      width: 50px;
      height: 50px;
    }

    .carousel-control-prev {
      left: 10px;
    }

    .carousel-control-next {
      right: 10px;
    }

    .carousel-control-prev::before,
    .carousel-control-next::before {
      content: '';
      display: block;
      width: 24px;
      height: 24px;
      border-top: 3px solid white;
      border-right: 3px solid white;
    }

    .carousel-control-prev::before {
      transform: rotate(-135deg);
      margin-left: 15px;
    }

    .carousel-control-next::before {
      transform: rotate(45deg);
      margin-left: 10px;
    }

    /* ===== Responsive ===== */
    @media (max-width: 768px) {
      .slide-content {
        flex-direction: column;
        padding: 0 5px;
      }

      .slide-content img {
        width: 100%;
        height: 250px;
      }
    }

/*core initiatives*/
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-6px);
}

.card-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card h3 {
  margin: 18px 0 8px;
}

.card p {
  padding: 0 20px 25px;
  color: #555;
  line-height: 1.6;
}

  .uganda-spray {
        max-width: 820px;
        margin: 4rem auto;
        font-size: 1.25rem;
        line-height: 1.9;
        text-align: center;
        font-weight: 700;
        letter-spacing: 0.3px;
        font-family: "Segoe UI", Tahoma, sans-serif;

        background:
            radial-gradient(circle at 15% 30%, rgba(0,0,0,0.9), transparent 40%),
            radial-gradient(circle at 80% 35%, rgba(220,38,38,0.85), transparent 45%),
            radial-gradient(circle at 45% 85%, rgba(250,204,21,0.95), transparent 50%),
            linear-gradient(135deg, #000000, #dc2626, #facc15);

        background-size: 200% 200%;

        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;

        filter: drop-shadow(0 0 2px rgba(0,0,0,0.25));
    }

    /* spray animation */
    .animated-spray {
        animation: sprayMove 8s ease-in-out infinite;
    }

    @keyframes sprayMove {
        0%   { background-position: 0% 50%; }
        50%  { background-position: 100% 60%; }
        100% { background-position: 0% 50%; }
    }


    .uganda-flag-wave {
    width: 100px;
    height: 50px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    animation: wave 3.5s ease-in-out infinite;
    transform-origin: left center;
    margin: 40px auto;
}

/* Flag stripes */
.uganda-flag-wave .stripe {
    height: calc(100% / 6);
    width: 100%;
}

.black  { background: #000000; }
.yellow { background: #facc15; }
.red    { background: #dc2626; }

/* Crane emblem */
.uganda-flag-wave .emblem {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* ensures image does not spill out */
}

/* Crane image covers entire circle */
.uganda-flag-wave .emblem img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 50%;
}

/* Waving animation */
@keyframes wave {
    0%   { transform: perspective(300px) rotateY(0deg); }
    25%  { transform: perspective(300px) rotateY(-6deg); }
    50%  { transform: perspective(300px) rotateY(0deg); }
    75%  { transform: perspective(300px) rotateY(6deg); }
    100% { transform: perspective(300px) rotateY(0deg); }
}

/* Pause animation on hover */
.uganda-flag-wave:hover {
    animation-play-state: paused;
}
 /*all headings*/

