 * {
            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;
        }

  .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;
}

/* =========================================================
   PROFESSIONAL RESPONSIVE CSS FOUNDATION
   Works on Mobile • Tablet • Desktop • Large Screens
   ========================================================= */

/* ===== 1. GLOBAL RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* ===== 2. CONTAINER SYSTEM ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}

/* ===== 3. MEDIA SAFETY ===== */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== 4. FLEX & GRID UTILITIES ===== */
.flex {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ===== 5. RESPONSIVE TYPOGRAPHY ===== */
h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

p,
li {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.7;
}

/* ===== 6. LINKS ===== */
a {
  text-decoration: none;
  color: inherit;
}

/* ===== 7. BUTTONS & FORMS ===== */
button,
input,
select,
textarea {
  font: inherit;
  width: 100%;
  max-width: 100%;
}

button {
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
}

/* ===== 8. NAVIGATION SAFETY ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ===== 9. RESPONSIVE TABLES ===== */
table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
}

/* ===== 10. MEDIA QUERIES ===== */

/* Tablets */
@media (max-width: 768px) {
  .container {
    padding-inline: 0.9rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .container {
    padding-inline: 0.75rem;
  }

  h1 {
    font-size: 1.6rem;
  }
}

/* ===== 11. UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

.rounded {
  border-radius: 0.75rem;
}

.shadow {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
/*for every container class*/
.container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
}
