body{
    background-color: aliceblue;
    margin: 0;
    /* Main Container */
}
.container{
    width:100%;
    margin:auto;
    display:grid;
    grid-template-columns:1fr;
    gap:30px;
}
:root {
  --primary-color: rgb(44, 44, 213);   /* Deep earthy brown */
  --secondary-color: white; /* Warm amber/candle glow */
  --accent-color: Navy;    /* Soft sage green for "Kenya's soil" theme */
  --bg-light: alice Blue;        /* Soft cream background */
  --text-dark: skyblue;       /* Soft black/dark brown for text */
  --text-light: #ffffff;
  --transition-smooth: all 0.3s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   2. Intro Section
   ========================================================================== */
#intro {
  text-align: center;
  width: 100%;
  height: 400px;
  background-image: url(../images/2026\ Area\ Assembly\ Image.jpg);
  margin: 40px auto;
  padding: 20px;
  animation: fadeIn 1.2s ease-out;

}
#intro {
  /* Positioning & Layout */
  position: relative;
  width: 100%;
  margin: 100px auto; /* Allows the box to sit into the page layout */
  padding: 40px 50px;
  z-index: 2; /* Ensures it sits neatly on top of the background image */
  

  
  /* Aesthetics */
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  
  /* Typography & Animation */
  font-family: 'Playfair Display', 'Georgia', serif;
  color: #2c3e50;
  text-align: center;
  transition: all 0.4s ease;
}

/* Subtle Hover Interaction */
#intro:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

/* Heading Style */
#intro h1 {
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  color: darkslateblue;
}

/* Subtitle Style */
#intro .subtitle {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: slateblue;
  font-weight: 600;
  margin-bottom: 35px;
}

/* Quote Layout */
#intro .quote {
  position: relative;
  margin: 0;
  padding: 0;
  font-style: italic;
  font-size: 30px;
  line-height: 1.7;
  color: navy;
}

/* Elegant, understated decorative quote lines */
#intro .quote::before,
#intro .quote::after {
  content: '';
   width: 40px;
  height: 1px;
  background: #bdc3c7;
  margin: 20px auto;
}

/* Citation Style */
#intro cite {
  display: block;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-style: normal;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: wheat;
  margin-top: 15px;
}


/* ==========================================================================
   3. Topics Grid (Interactive Cards)
   ========================================================================== */
#topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
}

#topics > div {
  background: rgb(138, 138, 210);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

/* Hover Animation: Card lifts up and shadow deepens */
#topics > div:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(92, 58, 33, 0.15);
}

#topics img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

/* Hover Animation: Zoom into images subtly */
#topics > div:hover img {
  transform: scale(1.05);
}

#topics p {
  padding: 20px;
  font-size: 0.95rem;
  color: #555;
  flex-grow: 1;
  text-align: center;
}

/* ==========================================================================
   4. Featured Blog Post & Call To Action
   ========================================================================== */
.blog-post {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 40px auto;
  text-align: center;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.blog-post img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 50%; /* Circular image */
  margin-bottom: 15px;
  border: 3px solid var(--secondary-color);
  background-color: blue;
}

.blog-text {
  font-style: italic;
  font-weight: 500;
  color: var(--primary-color);
  color: blue;
  font-size: 30px;
}

/* Action Button Container & Interactive Styling */
.cta-container {
  text-align: center;
  margin: 30px 0 60px;
}

.cta-container button {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 14px 35px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(92, 58, 33, 0.3);
}

/* Hover Animation: Button glows amber, expands slightly */
.cta-container button:hover {
  background-color: var(--secondary-color);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(196, 139, 55, 0.4);
}

/* ==========================================================================
   5. Photo Gallery Grid
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: 40px auto;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: var(--transition-smooth);
  filter: grayscale(20%);
}

/* Hover Animation: Pops out, clears grayscale brightness */
.gallery img:hover {
  transform: scale(1.03);
  filter: grayscale(0%);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ==========================================================================
   6. Footer (4-Column Modern Layout)
   ========================================================================== */
#footer {
  background-color: navy;
  color: rgba(255, 255, 255, 0.9);
  padding: 50px 30px 30px;
  margin-top: 60px;
  border-radius: 16px 16px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

#footer h2, #footer h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#footer p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* Footer 1: Brand & Logo */
.footer1 img {
  max-height: 60px;
  margin-bottom: 15px;
  filter: brightness(0) invert(1); /* Turns dark logo white if needed */
}

.social-links {
      display: flex;
      gap: 16px;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    /* 2. Styling the link buttons */
    .social-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border-radius: 50%; /* Makes them perfectly round */
      background-color: #f3f4f6;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
      text-decoration: none;
    }

    /* 3. Normalizing and centering the images */
    .social-icon img {
      width: 26px;
      height: 26px;
      object-fit: contain; /* Prevents icons from stretching/distorting */
      display: block;
    }

    /* 4. Smooth hover effect */
    .social-icon:hover {
      transform: translateY(-3px); /* Subtle lift on hover */
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      background-color: #ffffff;
    }

    /* Optional individual hover colors on focus/hover */
    .social-icon.twitter:hover { background-color: #e8f5fe; }
    .social-icon.instagram:hover { background-color: #fce4ec; }
    .social-icon.youtube:hover { background-color: #ffebee; }
    .social-icon.whatsapp:hover { background-color: #e8f5e9; }
    .social-icon.facebook:hover { background-color: #e8eaf6; }
/* Footer 2: Social Icons Grid */

/* Footer 3: Quick Links */
.footer3 ul {
  list-style: none;
}

.footer3 li {
  margin-bottom: 10px;
}

.footer3 a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.footer3 a:hover {
  color: var(--secondary-color);
  padding-left: 5px; /* Subtle slide out animation */
}

/* Footer 4: Contact details */
.footer4 .ft1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.footer4 .ft1 img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer4 a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   7. CSS Animations
   ========================================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

