/**
* 
* Meshack Okoth
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: 'Times New Roman', Times, serif;
  color: #444444;
  font-size:x-large;
}

a {
  text-decoration: none;
  color: #67b0d1;
}

a:hover {
  color: #8ec4dd;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Times New Roman', Times, serif;
  text-align:center;
  text-decoration:underline;
  /*background: #099C8C;
  color: #fff;*/
}

#main {
  margin-top: 90px;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 998;
  background: #099C8C;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #86c0da;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

/* Top Contact Styles */
.top-grid {
    background-color: #345e7d;
    color: white;
    font-size: 16px;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.top-grid .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
}

.contact-info > * {
    margin-right: 15px;
}

.separator {
    border-left: 1px solid white;
    height: 20px;
    margin: 0 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-hover {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    border-radius: 5px;
    display: none;
    white-space: nowrap;
    z-index: 1001;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.social-icons a:hover .social-hover {
    display: block;
}

/* Font Awesome icon styles */
.fa {
    padding: 5px;
    width: 30px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
    background: #3B5998;
    color: white;
}

.fa-twitter {
    background: #55ACEE;
    color: white;
}

.fa-youtube {
    background: #bb0000;
    color: white;
}

/* Specific social media hover colors */
.fa-facebook .social-hover {
    background-color: #1877F2;
    color: white;
}

.fa-twitter .social-hover {
    background-color: #1DA1F2;
    color: white;
}

.fa-youtube .social-hover {
    background-color: #FF0000;
    color: white;
}

/* Header Styles */
#header {
    transition: all 0.5s;
    z-index: 997;
    padding: 15px 0;
    background: #fff;
    position: fixed;
    left: 0;
    right: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#header.header-scrolled {
    padding: 12px 0;
}

#header .logo h1 {
    font-size: 24px;
    margin: 0;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
}

#header .logo h1 a,
#header .logo h1 a:hover {
    color: #345e7d;
    text-decoration: none;
}

#header .logo img {
    padding: 0;
    margin: 0;
    max-height: 100px;
}

/* Navigation Menu */
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    margin-left: 10px;
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #345e7d;
    white-space: nowrap;
    transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
    color: #EF5122;
}

.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 10px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
}

.navbar .dropdown ul li {
    min-width: 200px;
}

.navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    font-weight: 600;
    color: #345e7d;
}

.navbar .dropdown ul a i {
    font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
    color: #EF5122;
}

.navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
}

.navbar ul li a {
    color: #345e7d;
}

.navbar ul li a.active {
    color: red;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    color: #345e7d;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 94, 125, 0.9);
    z-index: 9999;
    overflow-y: auto;
}

.mobile-nav-content {
    background: #fff;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    padding: 50px 0 0 0;
    overflow-y: auto;
    transition: 0.3s;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-content ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.mobile-nav-content ul li {
    position: relative;
}

.mobile-nav-content ul li a {
    display: block;
    position: relative;
    color: #345e7d;
    padding: 10px 20px;
    font-weight: 500;
    outline: none;
    transition: 0.3s;
}

.mobile-nav-content ul li a:hover,
.mobile-nav-content .active > a,
.mobile-nav-content li:hover > a {
    color: #EF5122;
    text-decoration: none;
    background: rgba(239, 81, 34, 0.1);
}

.mobile-nav-content .mobile-dropdown > a:after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;
    transition: 0.3s;
}

.mobile-nav-content .mobile-dropdown.active > a:after {
    transform: rotate(-180deg);
}

.mobile-nav-content .mobile-dropdown ul {
    display: none;
    overflow: hidden;
}

.mobile-nav-content .mobile-dropdown ul a {
    padding-left: 40px;
}

.mobile-nav-content .mobile-dropdown ul.dropdown-active {
    display: block;
}

/* Responsive Styles */
@media (min-width: 992px) {
    .top-grid {
        display: block;
    }
    
    #header {
        top: 44px; /* Height of the top-grid */
    }

    body {
        padding-top: 124px; /* Adjust based on top-grid + header height */
    }
}

@media (max-width: 991px) {
    .top-grid {
        display: none;
    }

    #header {
        top: 0;
    }

    body {
        padding-top: 60px; /* Adjust for mobile header height */
    }

    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

/* New styles for mobile dropdown visibility */
.mobile-nav-content .mobile-dropdown ul.dropdown-active {
    display: block;
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/main photo.jpg") top center;
  background-size: cover;
  position: relative;
  margin-bottom: -90px;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.7) 10%,
    rgba(0, 0, 0, 0.6) 20%,
    rgba(0, 0, 0, 0.5) 30%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.2) 60%,
    rgba(0, 0, 0, 0.1) 70%,
    rgba(0, 0, 0, 0) 80%
  );
}

.hero-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 5%;
}

.hero-content {
  width: 50%;
  color: #fff;
}

#hero h1 {
  font-size: 35px;
  font-weight: bold;
  font-family:Verdana, Geneva, sans-serif;
  text-decoration: none;
  margin-bottom: 20px;
}

#hero p {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  font-family: bungee, sans-serif;
}

.btn-discover-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: #F9C509;
  color: black;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn-discover-more:hover {
  background-color: #2a4d66;
}

@media (max-width: 768px) {
  .hero-content {
    width: 100%;
    text-align: center;
  }

  #hero h1 {
    font-size: 28px;
  }

  #hero p {
    font-size: 18px;
  }
}
/* Commented out h1 styles */
/* 
#hero h1 {
  margin: 0 0 10px 0;
  font-size: 64px;
  font-weight: 700;
  font-style: italic;
  line-height: 56px;
  text-decoration: none;
  color: #fff;
  text-shadow: -1px 0 2px #2f4d5a;
}
*/

/* Commented out h2 styles */
/*
#hero h2 {
  color: #fff;
  margin-bottom: 50px;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: -1px 0 2px #2f4d5a;
}
*/

/* Commented out btn-get-started styles */
/*
#hero .btn-get-started {
  font-size: 36px;
  display: inline-block;
  padding: 4px 0;
  border-radius: 50px;
  transition: 0.3s ease-in-out;
  margin: 10px;
  width: 64px;
  height: 64px;
  text-align: center;
  border: 2px solid #fff;
  color: #fff;
}

#hero .btn-get-started:hover {
  padding-top: 8px;
  background: rgba(255, 255, 255, 0.15);
}
*/

/*@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}*/

/*@media (max-width: 768px) {*/
  /* Commented out responsive h1 styles */
  /*
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  */

  /* Commented out responsive h2 styles */
  /*
  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
  */
}


/* =======  ---------------                                                   Glocka Section - glocka is the quote section haha
=======------------------ */
/* ======= Glocka Section ======= */
#glocka {
  width: 100%;
  height: 50vh; 
  background-color: #fff; 
  display: flex;
  justify-content: center; 
  align-items: center; 
  text-align: center; 
  padding: 20px 0; 
  overflow: hidden;
}

#glocka .glocka-container {
  display: flex;
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  text-align: center;
}

#glocka .quote-icon-left {
  color: #FFD700; 
  font-size: 3rem;
  margin-bottom: 10px; 
}

#glocka p {
  font-size: 1.5rem;
  font-weight: bold;
  color: #345e7d; 
  margin: 0; 
  padding: 0 20px;
  text-align: center;
  font-family: bungee, sans-serif;
}


/* ------------------------------------------------------------------------------Part 1: Background Image Section -----------------------------------------------------------*/
.our-work-part1 {
    background-image: url("../img/main work.jpg");
    height: 70vh;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
}

.our-work-part1 .info-box {
   background-color: rgba(52, 94, 125, 0.7);
    color: white;
    width: 33%;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 15px;
    text-decoration: none;
}

.our-work-part1 .info-box h1 {
    font-size: 23px;
    font-weight: bold;
    font-family:Verdana, Geneva, sans-serif;
    text-decoration: none;
}

.our-work-part1 .info-box p {
    font-size: 18px;
    font-family: bungee, sans-serif;
}

.our-work-part1 .work-button {
    display: inline-block;
    background-color: #FFD700;
    color: black;
    font-weight: bold;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
}

/* Part 2: Grids Section */
.our-work-part2 {
    padding: 40px 20px;
    text-align: center;
}

.our-work-part2 h1 {
    font-size: 48px;
    font-weight: bold;
    color: #345e7d;
    margin-bottom: 20px;
    font-family:Verdana, Geneva, sans-serif;
    position: relative;
    text-decoration: none;
}

.work-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; /* Increase the distance between the grids */
    margin-bottom: 20px;
    padding: 0 40px; /* Increase the distance from left and right borders */
}

.work-grid-item {
    color: white;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s; /* Add transition effect */
    text-decoration: none;
}

.work-grid-item h2 {
    font-size: 25px;
    font-weight: bold;
    text-decoration: none;
     font-family:Verdana, Geneva, sans-serif;
}

.work-grid-item p {
    font-size: 20px;
    font-family: bungee, sans-serif;
}

/* Individual Colors for Grids */
.work-grid-item.education {
    background-color: #04383f;
}

.work-grid-item.nutrition {
    background-color: #c75c47;
}

.work-grid-item.basic-needs {
    background-color: #0f606b;
}

.work-grid-item.empowerment {
    background-color: #4d0011;
}

.work-grid-item.psychosocial {
    background-color: #2e2025;
}

.work-grid-item.library {
    background-color: #c4391d;
}

/* Center the second row grids */
.work-grid-container.second-row {
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Hover effect for grid items */
.work-grid-item:hover {
    background-color: #0e5a63;
    transform: scale(1.05); 
}

/* Responsive Design */
@media (max-width: 768px) {
    .our-work-part1 .info-box {
        width: 90%;
        padding: 10px;
    }

    .work-grid-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .work-grid-container.second-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/*--------------------------------------------------------------
# Sections General section color was 099C8C
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f4f9fc;
}

.section-title {
  text-align: center;
  padding-bottom: 10px;
}

.section-title h2 {
  font-size: 48px;
  font-weight: bold;
  font-family:Verdana, Geneva, sans-serif;
  position: relative;
  margin-bottom: 10px;
  color: #345e7d;
  z-index: 2;
  text-decoration: none;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 122px;
  height: 66px;
  /*background: url(../img/section-title-bg.png) no-repeat;*/
  z-index: -1;
  text-decoration: none;
}

.section-title p {
  margin-bottom: 0;
}


/* =================================================================================Our Impact Section ========================================*/
.impact {
    padding: 40px 20px;
    text-align: center;
}

.impact-title {
    font-size: 48px;
    font-weight: bold;
    color: #345e7d;
    margin-bottom: 40px;
    font-family:Verdana, Geneva, sans-serif;
    text-decoration: none;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.impact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: black;
}

.impact-item i {
    font-size: 40px;
    margin-bottom: 20px;
}

.impact-item p {
    font-size: 20px;
    margin: 0;
    font-family: bungee, sans-serif;
}

.impact-item:nth-child(1) i {
    color: #0f606b;
}

.impact-item:nth-child(2) i {
    color: #ffc24a;
}

.impact-item:nth-child(3) i {
    color: #69418b;
}

.impact-item:nth-child(4) i {
    color: black;
}

.impact-item:nth-child(5) i {
    color: #aa5a58;
}

.impact-item:nth-child(6) i {
    color: #4d0011;
}

.impact-button {
    display: inline-block;
    margin-top: 40px;
    padding: 10px 20px;
    font-size: 18px;
    background-color: #F9C509;
    color: #345e7d;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .impact-title {
        font-size: 36px;
    }
}

/*--------------------------------------------------------------
# GET INVOLVED
--------------------------------------------------------------*/

.get-involved {
    background-color: #f8fbfd;
    color: #345e7d;
    padding: 40px 20px;
    text-align: center;
}

.get-involved-title {
    font-size: 48px;
    font-weight: bold;
    font-family:Verdana, Geneva, sans-serif;
    margin-bottom: 20px;
    text-decoration: none;
}

.get-involved-text {
    font-size: 20px;
    margin-bottom: 40px;
    color: black;
    font-family: bungee, sans-serif;
}

.get-involved-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.get-involved-item {
    background-color: transparent;
    border: none;
    position: relative;
    border-radius: 15px;
}

.get-involved-image {
    width: 100%;
    height: 300px;
    display: block;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out;
}

.get-involved-item:hover .get-involved-image {
    transform: scale(1.05);
}

.get-involved-content {
    background-color: white;
    color: black;
    padding: 20px;
    text-align: center;
    border-radius: 5px; 
    transition: transform 0.3s ease-in-out;
}

.get-involved-header {
    font-size: 25px;
    color: #345e7d;;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.get-involved-description {
    font-size: 18px;
    color: black;
}

.get-involved-contact {
    font-size: 25px;
    color: #68bbe3;
    text-decoration: none;
    text-align: center;
    margin-top: 10px;
    display: block;
    transition: color 0.3s ease-in-out;
}

.get-involved-contact:hover {
    color: #005bb5;
}

.get-involved-item iframe {
    width: 100%;
    height: 400px; 
    border-radius: 5px; 
    transition: transform 0.3s ease-in-out;
}

.get-involved-item:hover iframe {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .get-involved-grid {
        grid-template-columns: 1fr;
    }

    .get-involved-title {
        font-size: 36px;
    }

    .get-involved-image, .get-involved-item iframe {
        height: auto; /* Adjust height for smaller screens */
    }
}


/*--------------------------------------------------------------
# umoja services
--------------------------------------------------------------*/

#umoja-services {
  --background-color: #f9f9f9; /* Default background color */
  background-color: var(--background-color);
  padding: 60px 0;
  text-align: center;
}

#umoja-services h2 {
  font-size: 48px;
  font-weight: bold;
  color: #345e7d;
  font-family:Verdana, Geneva, sans-serif;
  text-decoration: none;
  margin-bottom: 40px;
}

.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.grid {
  flex: 0 0 25%;
  padding: 10px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/* Custom styles for each grid */
.grid-1 img { object-fit: cover; }
.grid-2 img { object-fit: cover; }
.grid-3 img { object-fit: cover; }
.grid-4 img { object-fit: cover; }
.grid-5 img { object-fit: cover; }
.grid-6 img { object-fit: cover; }
.grid-7 img { object-fit: cover; }
.grid-8 img { object-fit: cover; }
.grid-9 img { object-fit: cover; }
.grid-10 img { object-fit: cover; }
.grid-11 img { object-fit: cover; }
.grid-12 img { object-fit: cover; }
.grid-13 img { object-fit: cover; }
.grid-14 img { object-fit: cover; }
.grid-15 img { object-fit: cover; }
.grid-16 img { object-fit: cover; }

.slider-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.slider-buttons button {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .grid {
    flex: 0 0 100%; /* Full width on small screens */
  }

  .slider-buttons {
    display: none; /* Hide buttons on mobile */
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background-color: #f8fbfd;
  min-height: 40px;
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  /*content: "/";*/
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about {
  background: url("../img/about-bg.jpg") center center no-repeat;
  background-size: cover;
  padding: 60px 0;
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.75);
  z-index: 9;
}

.about .container {
  position: relative;
  z-index: 10;
}

.about .content {
  padding: 30px 30px 30px 0;
}

.about .content h3 {
  font-weight: 700;
  font-size: 34px;
  color: #2f4d5a;
  margin-bottom: 30px;
}

.about .content p {
  margin-bottom: 30px;
}

.about .content .about-btn {
  display: inline-block;
  background: #099C8C;
  padding: 6px 44px 8px 30px;
  color: #fff;
  border-radius: 50px;
  transition: 0.3s;
  position: relative;
}

.about .content .about-btn i {
  font-size: 18px;
  position: absolute;
  right: 18px;
  top: 9px;
}

.about .content .about-btn:hover {
  background: #7bbad7;
}

.about .icon-boxes .icon-box {
  margin-top: 30px;
}

.about .icon-boxes .icon-box i {
  font-size: 40px;
  color: #67b0d1;
  margin-bottom: 10px;
}

.about .icon-boxes .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.about .icon-boxes .icon-box p {
  font-size: 15px;
  color: #848484;
}
.btn-primary
{
  background: #F9C509;
  border: #F9C509;
  border-radius: 0px ;
  font-family: 'Times New Roman', Times, serif;
  text-transform:uppercase;
}
.btn-primary:hover {
  background: #F9C509;
  border-radius: 0px ;
  border: #F9C509;
}
@media (max-width: 1200px) {
  .about .content {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .about {
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  padding: 0px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
  transition: all 0.3s ease-in-out;
  border-radius: 0px;
  z-index: 1;
}

.services .icon-box::before {
  content: "";
  position: absolute;
  background: white;
  right: 0;
  left: 0;
  bottom: 0;
  top: 100%;
  transition: all 0.3s;
  z-index: -1;
}

.services .icon-box:hover::before {
  background: #67b0d1;
  top: 0;
  border-radius: 0px;
}

.services .icon {
  margin-bottom: 1px;
}

.services .icon i {
  font-size: 48px;
  line-height: 1;
  color: #67b0d1;
  transition: all 0.3s ease-in-out;
}

.services .title {
  font-weight: 700;
  margin-bottom: 1px;
  font-size: 24px;
  text-align:center;
}

.services .title a {
  color: #111;
  text-align:center;
}

.services .description {
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 0;
  text-align:center;
}

.services .icon-box:hover .title a,
.services .icon-box:hover .description {
  color: #fff;
}

.services .icon-box:hover .icon i {
  color: #fff;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding-bottom: 30px;
}

.counts .count-box {
  padding: 30px;
  width: 100%;
}

.counts .count-box i {
  display: block;
  font-size: 44px;
  color: #67b0d1;
  float: left;
  line-height: 0;
}

.counts .count-box span {
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  color: #2f4d5a;
  margin-left: 60px;
}

.counts .count-box p {
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: #49788c;
}

.counts .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #49788c;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}

.counts .count-box a:hover {
  color: #6e9fb4;
}


/*--------------------------------------------------------------
# About Us Pages CSS
--------------------------------------------------------------*/

/*About Us page*/

body.about-page {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
     background-color: #f5f1ec;
}


.about-section-wrapper {
    width: 100%;
    padding: 50px 0;
}

.about-section {
    width: 75%;
    margin: 0 auto;
}

.about-transform-bg {
    background-color: #f3eeea;
}

.about-strive-bg {
    background-color: #f3eeea;
}

.about-umoja-mission-bg {
    background-color: #f5f1ec;
}

.about-umoja-core-values-bg {
    background-color: #f5f1ec;
}

.about-umoja-our-team-bg, .about-umoja-our-team-board-bg {
    background-color: #f3eeea;
}

.about-guardian-officials-bg {
    background-color: #f5f1ec;
}

.about-our-story-bg {
    background-color: #f3eeea;
}


.about-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../../assets/img/vision photo.jpeg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: Verdana, Geneva, sans-serif;
    text-decoration: none;
}

.about-hero p {
    font-size: 20px;
    font-weight: bold;
    max-width: 800px;
    margin-bottom: 30px;
    font-family: bungee, sans-serif;
}

.about-hero .donate-btn {
    background-color: #F9C509;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.about-section {
    width: 75%;
    margin: 0 auto;
    padding: 50px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.about-grid img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
}

.about-grid-text {
    text-align: left;
}

.about-grid-text h2 {
    font-size: 35px;
    font-weight: bold;
    color: #345e7d;
    margin-bottom: 20px;
    font-family: Verdana, Geneva, sans-serif;
    text-decoration: none;
}

.about-grid-text p, .about-umoja-mission p, .about-guardian-officials p {
    font-size: 20px;
    color: black;
    font-family: bungee, sans-serif;
}

.about-transform, .about-strive {
    background-color: #f3eeea;
}

.about-umoja-mission {
    background-color: #f5f1ec;
    text-align: center;
}

.about-umoja-mission h2, .about-umoja-our-team h2, .about-umoja-our-team-board h2, .about-guardian-officials h2, .about-our-story h2, .about-umoja-core-values h2 {
    font-size: 35px;
    font-weight: bold;
    color: #345e7d;
    margin-bottom: 20px;
    font-family: Verdana, Geneva, sans-serif;
    text-decoration: none;
}
    
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.mission-item {
    background-color: #f4f6fc;
    padding: 20px;
    text-align: center;
}

.mission-item h3, .team-member h3 {
    font-size: 25px;
    font-weight: bold;
    color: #345e7d;
    text-decoration: none;
    margin-bottom: 15px;
}

.explore-btn {
    background-color: #345e7d;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
}

.about-umoja-core-values {
    background-color: #f5f1ec;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.value-item i {
    font-size: 40px;
    color: #2e4007;
    margin-bottom: 10px;
}

.about-umoja-our-team, .about-umoja-our-team-board {
    background-color: #f3eeea;
}

.team-grid, .board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-member, .board-member {
    text-align: center;
}

.team-member img, .board-member i {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 15%;
    margin-bottom: 10px;
}

.board-member i {
    font-size: 80px;
    color: #345e7d;
    background-color: #f5f1ec;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member h3, .board-member h3, .guardian-official h3, .value-item h3 {
    font-size: 24px;
    color: #345e7d;
    margin-bottom: 5px;
    text-decoration: none;
}

.team-member p, .board-member p, .guardian-official p {
    font-size: 20px;
    color: #345e7d;
    font-family: bungee, sans-serif;
}

.about-guardian-officials {
    background-color: #f5f1ec;
}

.guardian-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.guardian-official {
    text-align: center;
}

.about-our-story {
    background-color: #f3eeea;
    text-align: center;
}

.story-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 20px 0;
}

.read-more-btn {
    background-color: #345e7d;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
}


@media (max-width: 768px) {
    .about-section {
        width: 90%;
    }

    .about-grid, .mission-grid, .values-grid, .team-grid, .board-grid, .guardian-grid {
        grid-template-columns: 1fr;
    }

    .about-grid img {
        height: 30vh;
    }
}


.about-our-partners-bg {
    background-color: #f5f1ec;
}

.about-our-partners {
    text-align: center;
}

.about-our-partners h2 {
    font-size: 35px;
    font-weight: bold;
    color: #345e7d;
    margin-bottom: 20px;
    font-family: Verdana, Geneva, sans-serif;
    text-decoration: none;
}

.about-our-partners p {
    font-size: 20px;
    color: black;
    font-family: bungee, sans-serif;
    margin-bottom: 30px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.partners-grid img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

.about-partner-schools-bg {
    background-color: #f3eeea;
}

.about-partner-schools {
    text-align: center;
}

.about-partner-schools h2 {
    font-size: 35px;
    font-weight: bold;
    color: #345e7d;
    margin-bottom: 20px;
    font-family: Verdana, Geneva, sans-serif;
    text-decoration: none;
}

.about-partner-schools p {
    font-size: 20px;
    color: black;
    font-family: bungee, sans-serif;
    margin-bottom: 30px;
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.school-item {
    position: relative;
}

.school-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.school-name {
    background-color: rgba(52, 94, 125, 0.8);
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    font-family: Verdana, Geneva, sans-serif;
    padding: 10px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}

@media (max-width: 768px) {
    .schools-grid {
        grid-template-columns: 1fr;
    }
}

.partners-grid,
.schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}


/*Our History*/

.story-page {
    background-color: #f3eeea;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.story-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../../assets/img/performance.jpg") center center no-repeat;
    background-size: cover;
    padding: 0;
    height: 500px;
    background-attachment: scroll;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.story-hero h1 {
    font-size: 48px;
    color: white;
    font-weight: bold;
    text-align: center;
    margin: 0;
    font-family: Verdana, Geneva, sans-serif;
    text-decoration: none;
}

.story-content {
    width: 80%;
    margin: 0 auto;
    padding: 40px 0;
}

.story-content h2 {
    font-size: 35px;
    color: #345e7d;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    font-family: Verdana, Geneva, sans-serif;
    text-decoration: none;
}

.story-content h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: #345e7d;
    position: absolute;
    bottom: -10px;
    left: 0;
}

.story-content p {
    font-size: 20px;
    color: black;
    line-height: 1.6;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .story-hero {
        height: 200px;
    }

    .story-hero h1 {
        font-size: 36px;
    }

    .story-content {
        width: 90%;
        padding: 20px 0;
    }

    .story-content h2 {
        font-size: 28px;
    }

    .story-content p {
        font-size: 16px;
    }
}


/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: url("../img/join us.jpg") fixed center center;
  background-size: cover;
  padding: 60px 0;
}

.cta h3, .cta h1 {
  color: #fff;
  font-family:"Times New Roman", Times, serif;
  font-size: 48px;
  font-weight: bold;
}

.cta p {
  color: #fff;
}

.cta .cta-btn {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 25px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.cta .cta-btn:hover {
  border-color: #fff;
}

.cta-history{
  background: url("../img/Secondary School Kids - Homepage 4.jpeg") fixed center center;
  background-size: cover;
  padding: 60px 0;
  height: 300px;
}

.cta-core-values{
  background: url("../img/Link teachers 1.jpeg") fixed center center;
  background-size: cover;
  padding: 60px 0;
  height: 300px;
}
.cta-congregation{
  background: url("../img/congregation.jpg") fixed center center;
  background-size: cover;
  padding: 60px 0;
  height: 100vh;
}
/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 0px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 0px auto;
  list-style: none;
  text-align: center;
  background: #ecf5f9;
  border-radius: 5px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px 8px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #2f4d5a;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #EF5122;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  opacity: 1;
  left: 0;
  right: 0;
  bottom: -60px;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
  display: flex;
  justify-content: center;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  font-size: 28px;
  text-align: center;
  background: rgba(103, 176, 209, 0.75);
  transition: 0.3s;
  width: 50%;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  background: rgba(103, 176, 209, 0.95);
}

.portfolio .portfolio-wrap .portfolio-links a+a {
  border-left: 1px solid #8ec4dd;
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-links {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #67b0d1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #EF5122;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(47, 77, 90, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 300px;
  /*border-radius: 50%;*/
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 36px;
  color: #d5e9f2;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #d5e9f2;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 15px 15px;
  padding: 20px;
  background: #fff;
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid #fff;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #67b0d1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #67b0d1;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team .member {
  text-align: center;
  margin-bottom: 0px;
  position: relative;
}

.team .member .pic {
  overflow: hidden;
}

.team .member .member-info {
  position: absolute;
  top: 85%;
  left: 0px;
  right: 0px;
  background: #fff;
  padding: 0px 0;
  color: #2f4d5a;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  max-height: 100px;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.team .member:hover .member-info {
  max-height: 300px;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 16px;
  color: #2f4d5a;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: #b1cbd7;
  bottom: 0;
  left: calc(50% - 25px);
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  margin-top: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: #52869d;
}

.team .member .social a:hover {
  color: #67b0d1;
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

@media (max-width: 992px) {
  .team .member {
    margin-bottom: 110px;
  }
}

/*--------------------------------------------------------------
# SECTIONs FOR OUR OUR WORK PAGES
--------------------------------------------------------------*/
/* educ-umoja.css */
body {
    margin: 0;
    padding-top: 80px;
}
.umoja-page-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.upper-section {
    display: flex;
    width: 100%;
    margin-top: 80px; 
}
.upper-image {
    width: 50%;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../../assets/img/Secondary School kids - Homepage 5.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
}
.upper-image-h1 {
    color: white;
    font-size: 48px;
    font-weight: bold;
    font-family: Verdana, Geneva, sans-serif;
    text-decoration: none;
    margin: 0;
}
.upper-text {
    width: 50%;
    background-color: #2f9d8d;
    padding: 20px;
    font-family: bungee, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}
.upper-text p {
    color: white;
    font-size: 20px;
    font-weight: bold;
}
.educ-umoja-text {
    background-color: #f5f1ec;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.umoja-image-container {
    width: 30%;
}
.umoja-image-container img {
    width: 100%;
    height: 50vh;
    object-fit: contain;
    border-radius: 15px;
    max-width: 100%;
}
.umoja-text-container {
    width: 30%;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.umoja-text-container p {
    font-size: 20px;
    color: black;
    font-family: bungee, sans-serif;
    text-align: center;
    margin: 0;
}
.reverse {
    flex-direction: row-reverse;
}
.reverse .umoja-text-container {
    padding-left: 0;
    padding-right: 20px;
}
@media screen and (max-width: 768px) {
    .upper-section {
        flex-direction: column;
        margin-top: 60px; 
    }
    .upper-image,
    .upper-text {
        width: 100%;
        height: auto;
    }
    .upper-image {
        min-height: 200px;
    }
    .upper-image-h1 {
        font-size: 36px;
    }
    .upper-text p {
        font-size: 16px;
    }
    .educ-umoja-text {
        flex-direction: column;
        padding: 20px;
    }
    .umoja-image-container,
    .umoja-text-container {
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }
    .umoja-text-container p {
        font-size: 16px;
    }
    .reverse {
        flex-direction: column;
    }
    .reverse .umoja-text-container {
        padding-right: 0;
    }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .umoja-image-container,
    .umoja-text-container {
        width: 45%;
    }
    .educ-umoja-text {
        padding: 30px;
    }
    .umoja-text-container p {
        font-size: 18px;
    }
}




/* library-styles.css */

body.library-page {
    background-color: #f5f1ec;
     font-family: bungee, sans-serif;
    margin: 0;
    padding: 0;
}

.library-upper-section {
    background: linear-gradient(to right, 
        rgba(0,0,0,0.7) 10%, 
        rgba(0,0,0,0.6) 25%, 
        rgba(0,0,0,0.4) 50%, 
        rgba(0,0,0,0.2) 70%, 
        rgba(0,0,0,0.1) 90%
    ), url("../../assets/img/library01.jpg") center center no-repeat;
    background-size: cover;
    padding: 60px 0;
    height: 600px;
    background-attachment: scroll;
}

.library-upper-content {
    width: 70%;
    margin: 0 auto;
    color: white;
    padding: 20px;
}

.library-upper-content h1 {
    font-size: 48px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 20px;
    font-family:Verdana, Geneva, sans-serif;
}

.library-upper-content p {
    font-size: 20px;
    font-weight: bold;
    max-width: 50%;
    font-family: bungee, sans-serif;
}

.library-info-section {
    background-color: #577289;
    padding: 0;
    width: 100%;
}

.library-info-grid {
    display: flex;
    width: 100%;
}

.library-info-image, .library-info-text {
    flex: 1;
}

.library-info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.library-info-text {
    padding: 40px;
    color: white;
}

.library-info-text h2 {
    font-size: 35px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    font-family:Verdana, Geneva, sans-serif;
}

.library-info-text p {
    font-size: 20px;
    font-weight: bold;
    font-family: bungee, sans-serif;
    justify-content: center;
}

.library-purpose-section,
.library-team-section,
.library-hours-section,
.library-impact-section,
.library-activities-section,
.library-join-us-section {
    width: 80%;
    margin: 40px auto;
    background-color: #f5f1ec;
    padding: 40px;
}

.library-purpose-section h2,
.library-team-section h2,
.library-hours-section h2,
.library-impact-section h2,
.library-activities-section h2,
.library-join-us-section h2 {
    color: #345e7d;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
     text-decoration: none;
     font-family:Verdana, Geneva, sans-serif;
}

.library-purpose-grid,
.library-impact-grid,
.library-activities-grid {
    display: flex;
    margin-bottom: 40px;
}

.library-purpose-text,
.library-impact-text,
.library-activities-text,
.library-purpose-image,
.library-impact-image,
.library-activities-image {
    flex: 1;
}

.library-purpose-text,
.library-impact-text,
.library-activities-text {
    padding: 0 20px;
}

.library-purpose-text h3,
.library-impact-text h3,
.library-activities-text h3 {
    color: #3a3165;
    font-size: 30px;
    font-weight: bold;
     text-decoration: none;
     font-family:Verdana, Geneva, sans-serif;
}

.library-purpose-text p,
.library-impact-text p,
.library-activities-text p {
    font-size: 20px;
    color: black;
    font-family: bungee, sans-serif;
    justify-content: center;
}

.library-purpose-image img,
.library-impact-image img {
    width: 100%;
    height: auto;
     border-radius: 15px;
}

.library-activities-image img {
    width: 100%;
    height: 50vh;
     border-radius: 15px;
}

.library-team-grid {
    display: flex;
    justify-content: space-between;
}

.library-team-member {
    flex: 0 0 30%;
    text-align: center;
}

.library-team-member img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 15px;
}

.library-team-member h3 {
    color: #3a3165;
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0 5px;
     text-decoration: none;
     font-family:Verdana, Geneva, sans-serif;
}

.library-team-member p {
    color: #c04f6b;
    font-size: 25px;
    font-weight: bold;
    font-style: italic;
    font-family: bungee, sans-serif;
}

.library-hours-grid {
    display: flex;
    margin-bottom: 20px;
}

.library-hours-days,
.library-hours-times {
    flex: 1;
    padding: 10px;
}

.library-hours-days {
    background-color: #3a3165;
}

.library-hours-times {
    background-color: #577289;
}

.library-hours-days p,
.library-hours-times p {
    color: white;
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
    font-family: bungee, sans-serif;
}

.library-hours-note {
    text-align: center;
    font-size: 24px;
    color: black;
    margin-top: 20px;
}

.library-join-us-section p {
    font-size: 20px;
    color: black;
    text-align: center;
    font-family: bungee, sans-serif;
}

.library-join-us-section a {
    color: #2f9dfd;
    text-decoration: none;
}

.library-join-us-section a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .library-upper-content,
    .library-purpose-section,
    .library-team-section,
    .library-hours-section,
    .library-impact-section,
    .library-activities-section,
    .library-join-us-section {
        width: 95%;
        padding: 20px;
    }

    .library-upper-section {
        height: 400px;
        padding: 30px 0;
    }

    .library-upper-content h1 {
        font-size: 32px;
    }

    .library-upper-content p {
        font-size: 16px;
        max-width: 100%;
    }

    .library-info-grid,
    .library-purpose-grid,
    .library-impact-grid,
    .library-activities-grid,
    .library-team-grid,
    .library-hours-grid {
        flex-direction: column;
    }

    .library-info-text {
        padding: 20px;
    }

    .library-info-text h2 {
        font-size: 28px;
    }

    .library-info-text p {
        font-size: 16px;
    }

    .library-purpose-section h2,
    .library-team-section h2,
    .library-hours-section h2,
    .library-impact-section h2,
    .library-activities-section h2,
    .library-join-us-section h2 {
        font-size: 32px;
    }

    .library-purpose-text h3,
    .library-impact-text h3,
    .library-activities-text h3 {
        font-size: 24px;
    }

    .library-purpose-text p,
    .library-impact-text p,
    .library-activities-text p,
    .library-join-us-section p {
        font-size: 16px;
    }

    .library-team-member {
        margin-bottom: 30px;
    }

    .library-team-member h3 {
        font-size: 24px;
    }

    .library-team-member p {
        font-size: 20px;
    }

    .library-hours-days p,
    .library-hours-times p {
        font-size: 16px;
    }

    .library-hours-note {
        font-size: 18px;
    }

    .library-activities-image img {
        height: 30vh;
    }
}

@media (max-width: 480px) {
    .library-upper-content h1 {
        font-size: 28px;
    }

    .library-info-text h2,
    .library-purpose-section h2,
    .library-team-section h2,
    .library-hours-section h2,
    .library-impact-section h2,
    .library-activities-section h2,
    .library-join-us-section h2 {
        font-size: 26px;
    }

    .library-purpose-text h3,
    .library-impact-text h3,
    .library-activities-text h3,
    .library-team-member h3 {
        font-size: 22px;
    }

    .library-team-member p {
        font-size: 18px;
    }

    .library-hours-note {
        font-size: 16px;
    }
}


/* nutrition-styles.css */

body.nutrition-page {
    background-color: #f5f1ec;
     font-family: bungee, sans-serif;
    margin: 0;
    padding: 0;
}

.nutrition-upper-content {
    background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url("../../assets/img/nutrition main.jpg") center center no-repeat;
    background-size: cover;
    padding: 60px 0;
    height: 400px;
    background-attachment: scroll;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.nutrition-upper-content h1 {
    font-size: 48px;
    font-weight: bold;
    color: white;
    margin: 20px 0 0 20px;
    text-decoration: none;
    font-family:Verdana, Geneva, sans-serif;
}

.nutrition-upper-content p {
    font-size: 26px;
    font-weight: bold;
    color: white;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    font-family: bungee, sans-serif;
}

.nutrition-situation {
    background-color: #f5f1ec;
    padding: 40px 20px;
    text-align: center;
}

.nutrition-situation h2 {
    color: #345e7d;
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 20px;
    text-decoration: none;
    font-family:Verdana, Geneva, sans-serif;
}

.nutrition-situation p {
    color: black;
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 20px;
     width: 80%; 
    margin-left: auto; 
    margin-right: auto;
   font-family: bungee, sans-serif;
}

.nutrition-info-grid {
    display: flex;
    flex-direction: column;
}

.nutrition-row {
    display: flex;
    flex-direction: row;
}

.nutrition-image, .nutrition-text {
    flex: 1;
}

.nutrition-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nutrition-text {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.nutrition-text h2 {
    color: #345e7d;
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 20px;
    text-decoration: none;
    font-family:Verdana, Geneva, sans-serif;
}

.nutrition-text p {
    color: black;
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 20px;
    font-family: bungee, sans-serif;
}

.nutrition-bg-dark-green {
    background-color: #ffff;
}

.nutrition-bg-brown {
    background-color: #f4f6fc;
}

.nutrition-bg-navy {
    background-color: #f5f1ec;
}

@media (max-width: 768px) {
    .nutrition-row {
        flex-direction: column;
    }

    .nutrition-image, .nutrition-text {
        width: 100%;
    }

    .nutrition-upper-content h1 {
        font-size: 36px;
    }

    .nutrition-upper-content p {
        font-size: 20px;
    }

    .nutrition-situation h2 {
        font-size: 28px;
    }

    .nutrition-situation p {
        font-size: 20px;
         width: 90%; 
    }

    .nutrition-text h2 {
        font-size: 28px;
    }

    .nutrition-text p {
        font-size: 18px;
    }
      .nutrition-situation {
        padding: 40px 20px;
    }
}


/*Basic Needs Page*/

body.basic-page {
    background-color: #f5f1ec;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.umoja-page-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.basic-upper-section {
    display: flex;
    width: 100%;
    margin-top: 80px;
}

.basic-upper-image {
    width: 50%;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../../assets/img/basic needs/housing main.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
}

.basic-upper-image-h1 {
    color: white;
    font-size: 48px;
    font-weight: bold;
    font-family: Verdana, Geneva, sans-serif;
    text-decoration: none;
    margin: 0;
}

.basic-upper-text {
    width: 50%;
    background-color: #2f9d8d;
    padding: 20px;
    font-family: bungee, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.basic-upper-text p {
    color: white;
    font-size: 20px;
    font-weight: bold;
    font-family: bungee, sans-serif;
}

.basic-programs, .basic-blankets, .basic-solar, .basic-food {
    width: 70%;
    margin: 40px auto;
}

.basic-programs-h2, .basic-blankets-h2, .basic-solar-h2, .basic-food-h2 {
    font-size: 40px;
    color: #345e7d;
    font-weight: bold;
    font-family: Verdana, Geneva, sans-serif;
    text-align: center;
    text-decoration: none;
}

.basic-programs-p, .basic-blankets-p, .basic-solar-p, .basic-food-p {
    font-size: 18px;
    color: black;
    font-family: bungee, sans-serif;
    text-align: center;
}

.basic-image-grid-section {
    width: 90%;
    margin: 40px auto;
}

.basic-image-grid {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    width: 100%; 
    height: 50vh; 
}

.basic-image-group {
    display: flex;
    width: 32%; 
    height: 100%;
}

.basic-before-after {
    position: relative;
    width: 48%;
    height: 100%;
    margin: 0 1%;
}

.basic-before-image, .basic-after-image, .basic-blanket-image, .basic-solar-image, .basic-food-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    filter: brightness(80%);
}

.basic-image-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .basic-upper-section {
        flex-direction: column;
    }

    .basic-upper-image, .basic-upper-text {
        width: 100%;
    }

    .basic-programs, .basic-blankets, .basic-solar, .basic-food {
        width: 90%;
    }

    .basic-image-grid {
        flex-direction: column;
    }

    .basic-image-group {
        width: 100%;
        margin-bottom: 20px;
    }

    .basic-before-after {
        width: 48%;
        display: inline-block;
    }
}



/* empowerment-styles.css */

body.empower-page {
    background-color: #f5f1ec;
    font-family: bungee, sans-serif;
    margin: 0;
    padding: 0;
}

.empower-upper-section {
    background: linear-gradient(to right, rgba(0,0,0,0.7) 10%, rgba(0,0,0,0.6) 25%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 70%, rgba(0,0,0,0.1) 90% ),
                url("../../assets/img/empower/empowerment main.jpg") center center no-repeat;
    background-size: cover;
    padding: 60px 0;
    height: 500px;
    background-attachment: scroll;
}

.empower-upper-content {
    width: 70%;
    margin: 0 auto;
    color: white;
    padding: 20px;
}

.empower-upper-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: Verdana, Geneva, sans-serif;
    padding-top: 48px;
    text-decoration: none;
}

.empower-upper-content p {
    font-size: 20px;
    font-weight: bold;
    max-width: 50%;
    font-family: bungee, sans-serif;
}

.empower-nav {
    background-color: #f5f1ec;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.empower-nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

.empower-nav ul li {
    margin: 0 15px;
}

.empower-nav ul li a {
    text-decoration: none;
    color: #345e7d;
    font-weight: bold;
}

.empower-section {
    width: 70%;
    margin: 0 auto;
    padding: 40px 0;
}

.empower-section h2 {
    font-size: 35px;
    font-weight: bold;
    color: #345e7d;
    margin-bottom: 20px;
    text-decoration: none;
    font-family: Verdana, Geneva, sans-serif;
}

.empower-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.empower-image-container {
    width: 45%;
}

.empower-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 7px;
}

.empower-text-container {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.empower-text-container p {
    font-size: 18px;
    color: black;
    margin: 0;
    font-family: bungee, sans-serif;
}

.empower-highlight {
    color: #345e7d;
    font-weight: bold;
    font-size: 25px;
}

@media (max-width: 768px) {
    .empower-upper-content {
        width: 90%;
    }

    .empower-upper-content h1 {
        font-size: 36px;
    }

    .empower-upper-content p {
        font-size: 18px;
        max-width: 100%;
    }

    .empower-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .empower-nav ul li {
        margin: 5px 0;
    }

    .empower-section {
        width: 90%;
    }

    .empower-grid {
        flex-direction: column;
    }

    .empower-image-container,
    .empower-text-container {
        width: 100%;
        margin-bottom: 20px;
    }
}


/* Psychosocial Support Page*/

.psychosocial-page {
    background-color: #f5f1ec;
    font-family: bungee, sans-serif;
    margin: 0;
    padding: 0;
}

.psychosocial-upper-section {
    background: linear-gradient(to right, 
        rgba(0,0,0,0.7) 10%, 
        rgba(0,0,0,0.6) 25%, 
        rgba(0,0,0,0.4) 50%, 
        rgba(0,0,0,0.2) 70%, 
        rgba(0,0,0,0.1) 90%
    ), url("../../assets/img/psych/psych 11.jpg") center center no-repeat;
    background-size: cover;
    padding: 60px 0;
    height: 600px;
    background-attachment: scroll;
}

.psychosocial-upper-content {
    width: 70%;
    margin: 0 auto;
    color: white;
    padding: 20px;
}

.psychosocial-upper-content h1 {
    font-size: 48px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 20px;
    text-align: left;
    font-family: Verdana, Geneva, sans-serif;
}

.psychosocial-upper-content p {
    font-size: 20px;
    font-weight: bold;
    max-width: 50%;
    font-family: bungee, sans-serif;
}

.psychosocial-content {
    width: 70%;
    margin: 0 auto;
    padding: 40px 0;
}

.psychosocial-content section {
    margin-bottom: 5px;
}

.psychosocial-content h2 {
    font-size: 35px;
    font-weight: bold;
    color: #345e7d;
    margin-bottom: 15px;
    text-decoration: none;
    font-family: Verdana, Geneva, sans-serif;
    width: 100%; /* Ensures headers stay at full width */
}

.psychosocial-content p {
    font-size: 18px;
    color: black;
    line-height: 1.6;
    margin-bottom: 15px;
    width: 71.43%; /* This is approximately 50% of the parent's 70% width */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-family: bungee, sans-serif;
}

.psychosocial-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
    width: 100%; /* Ensures images stay at full width of the container */
}

.psychosocial-image-grid img {
    width: 100%;
    border-radius: 15px;
    height: 50vh;
    object-fit: cover;
}

@media (max-width: 768px) {
    .psychosocial-upper-section {
        height: auto;
        min-height: 300px;
    }

    .psychosocial-upper-content {
        width: 90%;
        padding: 40px 20px;
    }

    .psychosocial-upper-content h1 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .psychosocial-upper-content p {
        font-size: 18px;
        max-width: 100%;
    }

    .psychosocial-content {
        width: 90%;
    }

    .psychosocial-content h2 {
        font-size: 28px;
    }

    .psychosocial-content p {
        font-size: 16px;
        width: 100%; /* Full width on mobile for better readability */
    }

    .psychosocial-image-grid {
        grid-template-columns: 1fr;
    }
    
    .psychosocial-image-grid img {
        height: auto;
    }
}
/*--------------------------------------------------------------
# SECTION FOR OUR IMPACT PAGE
--------------------------------------------------------------*/

.our-impact {
  background: url("../../assets/img/services/primaryimageen.jpg") center center no-repeat;
  background-size: cover;
  padding: 60px 0;
  height: 650px;
  background-attachment: scroll;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.our-impact .overlay-box {
  background-color: rgba(255, 255, 255, 0.7);
  height: 100%;
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
   border-radius: 15px
}

.our-impact .overlay-box h1 {
  font-size: 48px;
  font-weight: bold;
  color: #345e7d;
  text-decoration: none;
  font-family:Verdana, Geneva, sans-serif;
  margin: 0;
}

.our-impact .overlay-box p {
  font-size: 20px;
  font-weight: bold;
  color: #000000;
  text-align: center;
}

.our-impact-intro {
  padding: 20px 0;
  font-size: 30px;
  font-weight: bold;
  color: #345e7d;
  text-align: center;
}

.our-impact-intro1 {
  padding: 20px 0;
  font-size: 24px;
  color: #345e7d;
  text-align: center;
}

.our-impact-intro2 {
  padding: 24px 0;
  font-weight: 300;
  font-size: 24px;
  color: black;
  font-family:Verdana, Geneva, sans-serif;
  text-align: center;
}

.our-impact-quote {
  padding: 40px 0;
  text-align: center;
  color: #345e7d;
}

.our-impact-quote .quote-mark {
  font-size: 100px;
  color: #F9C509;
  font-weight: bold;
}

.our-impact-quote .quote-text {
  font-size: 28px;
  font-weight: bold;
  margin: 20px 0;
}

.our-impact-quote .quote-author {
  font-size: 14px;
  color: black;
}

.our-impact-quote .separator {
  width: 100%;
  max-width: 300px;
  height: 2px;
  background-color: black;
  margin: 10px auto;
}


/*--------------------------------------------------------------
# our impact counter section
--------------------------------------------------------------*/

.our-impact-numbers {
  background-color: white; /* Change this color to any desired background color */
  padding: 40px 0;
  text-align: center;
}

.our-impact-numbers h2 {
  font-size: 45px;
  font-weight: bold;
  color: #345e7d;
  font-family:Verdana, Geneva, sans-serif;
  margin-bottom: 40px;
  text-decoration: none;
}

.our-impact-numbers .icon-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.our-impact-numbers .icon-box {
  flex: 0 1 calc(25% - 20px); /* Four boxes per row */
  text-align: center;
  padding: 20px;
}

.our-impact-numbers .icon-box .icon {
  font-size: 50px; /* Adjust icon size */
  margin-bottom: 10px;
}

.our-impact-numbers .icon-box .number {
  font-size: 45px;
  font-weight: bold;
  color: #345e7d;
  font-family: bungee, sans-serif;
  margin-bottom: 5px;
}

.our-impact-numbers .icon-box .text {
  font-size: 18px;
  font-weight: bold;
  color: black;
}

/* Icon colors */
.icon-purple { color: purple; }
.icon-dark-green { color: #345e7d; }
.icon-maroon { color:  #69418b; }
.icon-yellow { color: #ffc24a; }
.icon-black { color: #444443; }
.icon-dark-grey { color: #345e7d; }
.icon-blue { color: #69418b; }
.icon-reddish-brown { color: #ffc24a; } /* Example color */


/* Responsive Styles */
@media (max-width: 768px) {
  .our-impact {
    height: auto;
    justify-content: center;
  }

  .our-impact .overlay-box {
    width: 90%;
    height: auto;
  }

  .our-impact .overlay-box h1 {
    font-size: 36px;
  }

  .our-impact .overlay-box p {
    font-size: 16px;
  }

  .our-impact-numbers .icon-box {
    flex: 0 1 100%; /* Full width on small screens */
  }
}


/* Custom styles for the "Our Impact Alumni" section */


.our-impact-alumni {
  background-color: white;
  padding: 40px 0;
  text-align: center;
}

.our-impact-alumni h2 {
  font-size: 48px;
  font-weight: bold;
  color: #345e7d;
  font-family:Verdana, Geneva, sans-serif;
  margin-bottom: 40px;
  text-decoration: none;
}

.our-impact-alumni .slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.our-impact-alumni .slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.our-impact-alumni .grid {
  min-width: 25%; /* Adjust the width as needed */
  padding: 10px;
  box-sizing: border-box;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.our-impact-alumni .grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.our-impact-alumni .text-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.1); /* Transparent background */
  color: white;
  padding: 20px;
  box-sizing: border-box;
  transition: height 0.3s ease-in-out;
  height: 40%; /* Default height */
  overflow: hidden;
  border-radius: 0 0 15px 15px;
}

.our-impact-alumni .text-overlay:hover {
  height: 100%; /* Expand on hover */
}

.our-impact-alumni .text-overlay h3 {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 10px;
  text-decoration: none;
}

.our-impact-alumni .text-overlay p {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
}

.our-impact-alumni .text-overlay .separator {
  width: 50%; /* Control the width with the text below */
  height: 2px;
  background-color: white;
  margin: 10px 0;
  text-align: center;
}

.our-impact-alumni .text-overlay .description {
  font-size: 16px;
}

.our-impact-alumni .slider-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.our-impact-alumni .slider-buttons button {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .our-impact-alumni .grid {
    min-width: 100%; /* Full width on small screens */
  }

  .our-impact-alumni .slider-buttons {
    display: none; /* Hide buttons on mobile */
  }
}



/*===========================================
About Us Section
===========================================*/
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  align-items: center;
  color: black;
  font-weight: bold;
  background-color: #d5efef;
  border-radius: 15px;
}

.about-container img {
  max-width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
  }
}

/* Mission Section */
.mission-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  align-items: center;
  background-color: #df4040;
  color: white;
  font-weight: bold;
  border-radius: 15px;
}

.mission-container img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .mission-container {
    grid-template-columns: 1fr;
  }
}

/* Vision Section */
.vision-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  align-items: center;
  color: white;
  background-color: #036969;
  font-weight: bold;
  border-radius: 15px;
}

.vision-container img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .vision-container {
    grid-template-columns: 1fr;
  }
}

/* Core Values Section */
.core-values-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  align-items: center;
  background-color: #7a7a7a;
  color: white;
  border-radius: 15px;
}

.core-values-container img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .core-values-container {
    grid-template-columns: 1fr;
  }
}



/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
  padding-bottom: 80px;
}

.contact .info-box {
  color: #444444;
  background: #fff;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px 0 30px 0;
}

.contact .info-box i {
  font-size: 32px;
  color: #67b0d1;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #f0f7fa;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #777777;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
  background: #fff;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input::focus,
.contact .php-email-form textarea::focus {
  background-color: #67b0d1;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #67b0d1;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
}

.contact .php-email-form button[type=submit]:hover {
  background: #8ec4dd;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/*--------------------------------------------------------------
# partners section
--------------------------------------------------------------*/

/*=========================
.partner-background {
  background: url("../../assets/img/services/primaryimageen.jpg") center center no-repeat;
  background-size: cover;
  padding: 60px 0;
  height: 650px;
  background-attachment: scroll;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.partner-background .dark-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 50%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.0));
  z-index: 1;
}

.partner-background .text-section {
  position: relative;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  z-index: 2;
}

.partner-background .text-section p {
  font-size: 22px;
  font-weight: bold;
  z-index: 2;
}

.section-title h2 {
  font-size: 48px;
  font-weight: bold;
  font-family: Verdana, Geneva, sans-serif;
  position: relative;
  margin-bottom: 10px;
  color: #345e7d;
  z-index: 2;
  text-decoration: none;
}

.partners-grid .col-md-6, .schools-grid .col-md-6 {
  margin-bottom: 20px;
}

.partners-grid img, .schools-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.school-item {
  position: relative;
}

.school-name {
  background-color: #345e7d;
  color: white;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  font-family: Verdana, Geneva, sans-serif;
  padding: 10px 0;
  position: absolute;
  bottom: 0;
  width: 100%;
  opacity: 0.8;
}

.get-connected {
  background: white;
  padding: 40px 0;
  text-align: center;
}

.get-connected p {
  font-size: 23px;
  color: black;
  padding: 20px 0;
}

===================*/
/* Responsive Styles 
@media (max-width: 768px) {
  .partner-background .text-section {
    width: 100%;
    height: 200px;
    padding: 10px;
  }
  .partner-background .text-section p {
    font-size: 18px;
  }
  .partners-grid .col-md-6, .schools-grid .col-md-6 {
    margin-bottom: 10px;
  }
  .col-lg-4, .col-md-6 {
    width: 100%;
  }
}
========*/


/*--------------------------------------------------------------
# Staff section
--------------------------------------------------------------*/

/* Adjustments for staff section */
#library-staff .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

#library-staff .col-lg-4 {
  flex: 0 0 calc(30% - 20px); /* Adjust the width of each staff member column and add spacing */
  max-width: calc(30% - 20px); /* Adjust the max-width */
  margin-bottom: 20px; /* Add margin bottom for spacing between staff members */
}

#library-staff .member {
  text-align: center;
}

#library-staff .pic img {
  width: 100%; /* Ensure images fit within their containers */
  height: auto; /* Maintain aspect ratio */
  border-radius: 10px; /* Add border radius for rounded corners */
}


/* Adjustments for schedule section */
#library-schedule table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

#library-schedule table td,
#library-schedule table th {
  padding: 15px;
  text-align: center;
  border: 1px solid #ddd;
  background-color: #fff; /* Default background color */
}

#library-schedule table th {
  background-color: #f2f2f2; /* Light gray background for header */
}

#library-schedule table .weekday {
  background-color: #5890ff; /* Light blue background for weekday cells */
}

#library-schedule table .sunday {
  background-color: lightgreen; /* Light green background for Sunday cell */
}



/* ======= CSS for slideshow ====== */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text 
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}*/

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* ======= End CSS for Slideshow ======== */

/* ==== Grids in Education Section ==== */



/* ===== End of Grids in Education Section === */
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#umoja-footer {
  background: #345e7d;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 20px;
}

#umoja-footer .umoja-footer-top {
  background: #345e7d;
  padding: 60px 0 30px 0;
}

#umoja-footer .umoja-footer-top .umoja-footer-info {
  margin-bottom: 30px;
}

#umoja-footer .umoja-footer-top .umoja-footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  color: #f05123;
  font-weight: 600;
  text-decoration: none;
}

#umoja-footer .umoja-footer-top .umoja-footer-info p {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #fff;
}

#umoja-footer .umoja-footer-top .umoja-footer-links h3 {
  font-size: 20px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  color: #f05123;
  font-weight: 600;
  text-decoration: none;
}

#umoja-footer .umoja-footer-top .umoja-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#umoja-footer .umoja-footer-top .umoja-footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#umoja-footer .umoja-footer-top .umoja-footer-links ul li:first-child {
  padding-top: 0;
}

#umoja-footer .umoja-footer-top .umoja-footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#umoja-footer .umoja-footer-top .umoja-footer-links ul a:hover {
  color: #fafdfc;
}

#umoja-footer .umoja-footer-top .umoja-footer-contact h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  color: #f05123;
  font-weight: 600;
  text-decoration: none;
}

#umoja-footer .umoja-footer-top .umoja-footer-contact .umoja-footer-form {
  margin-top: 30px;
}

#umoja-footer .umoja-footer-top .umoja-footer-contact .umoja-footer-form .form-group {
  margin-bottom: 20px;
}

#umoja-footer .umoja-footer-top .umoja-footer-contact .umoja-footer-form input,
#umoja-footer .umoja-footer-top .umoja-footer-contact .umoja-footer-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  background: #fff;
  border: 1px solid #ddd;
}

#umoja-footer .umoja-footer-top .umoja-footer-contact .umoja-footer-form input:focus,
#umoja-footer .umoja-footer-top .umoja-footer-contact .umoja-footer-form textarea:focus {
  border-color: #c1ff72;
}

#umoja-footer .umoja-footer-top .umoja-footer-contact .umoja-footer-form button[type="submit"] {
  background: #F9C509;
  border: 0;
  font-weight: bold;
  padding: 10px 24px;
  color: #345e7d;
  transition: 0.4s;
}

#umoja-footer .umoja-footer-top .umoja-footer-contact .umoja-footer-form button[type="submit"]:hover {
  background: #fafdfc;
}

#umoja-footer .umoja-footer-bottom {
  background: #263f49;
  padding-top: 30px;
  padding-bottom: 30px;
}

#umoja-footer .copyright {
  text-align: center;
  color: #fff;
}

.umoja-back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #c1ff72;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.umoja-back-to-top i {
  font-size: 28px;
  color: #345e7d;
  line-height: 0;
}

.umoja-back-to-top:hover {
  background: #fafdfc;
  color: #345e7d;
}

.umoja-back-to-top.active {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 768px) {
  #umoja-footer .umoja-footer-top .umoja-footer-contact .umoja-footer-form {
    margin-top: 15px;
  }
}


#footer {
  background: #263f49;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-top: -90px;
  margin-bottom: 15px;
  background: white;
  color: #2f4d5a;
  border-top: 4px solid #67b0d1;
  text-align: center;
  padding: 30px 20px;
}

#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #2f4d5a;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #67b0d1;
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h3 {
  
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
  text-align: left;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #b5d9e9;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  /*align-items: center;*/
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #a2cfe3;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4;
}

#footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #67b0d1;
  color: #fff;
  transition: 0.3s;
  border-radius: 4;
}

#footer .footer-top .footer-newsletter form input[type=submit]:hover {
  background: #409cc5;
}

#footer .copyright {
  border-top: 1px solid #385b6b;
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

@media (max-width: 575px) {
  #footer .footer-top .footer-info {
    margin: -20px 0 30px 0;
  }
}

.team h2{
	text-align:left;}
.board{
	background:#626262;
	color:#fff;
}
.board h2,#congregation h2,.link_teachers h2
{
	color:#fff;
	text-align:left;
}
/*
.congregation
{background:url('../img/Primary School kids - Homepage 2.JPG');
width:100%;
height:500px;
*/
.link_teachers
{
	background:#BFBFBD;
	color:#fff;
}

/* Styles for responsive images */
img {
  max-width: 100%;
  height: auto;
}

@media only screen and (max-width: 600px) {
  img {
    max-width: 100%;
    height: auto;
  }
}
