@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sofadi+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Shadows+Into+Light&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
    scroll-behavior: smooth;
}


/* General Styles */
body {
    font-family: "montserrat", sans-serif;
    line-height: 1.6;
    
 }
body h1{
    font-family: "poppins";
    font-size: 1.8rem;
    font-weight: 800;
    color: #007bff;
    
}
body h2 {
    color: #01202e;
}
body p {
    font-family: "montserrat";
    font-size: 1.2rem;
    font-weight: 600;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    position: relative;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover; 
    background-position: center; 
    filter: blur(1px); 
    z-index: 0; 
}

.logo-container {
    position: relative;
    z-index: 1;

}
.logo-container img {
    width: 150px;
}

.toggle,
[id^=drop] {
	display: none;
}

/* Giving a background-color to the nav container. */
nav { 
	margin:0;
	padding: 0;
	background-color: #254441;
  text-align: center;
  align-items: center;
  z-index: 1;
}

#logo {
	display: block;
	padding: 0 30px;
	float: left;
	font-size:20px;
	line-height: 60px;
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
	align-items: center;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
	}
	
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	display:inline-block;
	
	background-color: #254441;
	}

/* Styling the links */
nav a {
	display:block;
	padding:14px 20px;	
	color:#FFF;
	font-size:17px;
	text-decoration:none;
}


nav ul li ul li:hover { background: #000000; }

/* Background color change on Hover */
nav a:hover { 
	background-color: #000000; 
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute; 
	/* has to be the same number as the "line-height" of "nav a" */
	top: 60px; 
}
	
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {
	width:170px;
	float:none;
	display:list-item;
	position: relative;
}

/* Second, Third and more Tiers	
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
	position: relative;
	top:-60px;
	/* has to be the same number as the "width" of "nav ul ul li" */ 
	left:170px; 
}

	
/* Change ' +' in order to change the Dropdown symbol */
li > a:after { content:  ' +'; }
li > a:only-child:after { content: ''; }


/* Media Queries
--------------------------------------------- */

@media all and (max-width : 768px) {


	nav {
		margin: 0;
	}

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu {
		display: none;
	}

	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		background-color: #254441;
		padding:14px 20px;	
		color:#FFF;
		font-size:17px;
		text-decoration:none;
		border:none;
	}

	.toggle:hover {
		background-color: #000000;
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
	}

	/* Change menu item's width to 100% */
	nav ul li {
		display: block;
		width: 100%;
		}

	nav ul ul .toggle,
	nav ul ul a {
		padding: 0 40px;
	}

	nav ul ul ul a {
		padding: 0 80px;
	}

	nav a:hover,
 	nav ul ul ul a {
		background-color: #000000;
	}
  
	nav ul li ul li .toggle,
	nav ul ul a,
  nav ul ul ul a{
		padding:14px 20px;	
		color:#FFF;
		font-size:17px; 
	}
  
  
	nav ul li ul li .toggle,
	nav ul ul a {
		background-color: #212121; 
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav a" */
	}
		
	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}
		
	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
	}

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */ 

	}

}

@media all and (max-width : 330px) {

	nav ul li {
		display:block;
		width: 94%;
	}

}
.container2 {
            display: flex;
            padding: 50px;
            justify-content: space-between;
        }

        .contect2 {
            max-width: 600px;
            margin-right: 20px;
        }

        .carousel-container {
            overflow: hidden;
            width: 500px;
        }

        .carousel-slide {
            display: flex;
            transition: 0.5s ease-in-out;
        }

        .carousel-slide img {
            width: 100%;
            height: auto;
        }
        .container2 {
                flex-direction: column;
                align-items: center;
            }

            .contect2 {
                margin-bottom: 30px;
                max-width: 100%;
            }

            .carousel-container {
                width: 100%;
            }

            .carousel-slide img {
                width: 100%;
            }
        

        @media (max-width: 500px) {
            .logo-container img {
                width: 100px;
            }
          }

#container {
    position: relative;
    order: 2;
    margin-right: 20px;
  }
 

  #container:after {
    display: block;
    clear: both;
    height: 0;
    align-items: center;
  }

  #menu {
    position: relative;
    text-align: center;
    padding: 0;
    border-radius: 3px;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.5), inset 0 -1px 0 rgba(0,0,0,.15), 0 1px 3px rgba(0,0,0,.15);
    height: max-content;
  }

  #menu, #menu ul {
    list-style: none;
    display: inline-block;
  }

  #menu > li {
    float: left;
    position: relative;
    border-right: 1px solid rgba(0,0,0,.1);
    box-shadow: 1px 0 0 rgba(255,255,255,.25);
    perspective: 1000px;
    
  }

  #menu > li:first-child {
    border-left: 1px solid rgba(255,255,255,.25);
    box-shadow: -1px 0 0 rgba(0,0,0,.1), 1px 0 0 rgba(255,255,255,.25);
  }

  #menu a {
    display: block;
    position: relative;
    z-index: 10;
    padding: 13px 20px 13px 20px;
    text-decoration: none;
    color: rgba(75,75,75,1);
    line-height: 1;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -.05em;
    background: transparent;    
    text-shadow: 0 1px 1px rgba(255,255,255,.9);
    transition: all .25s ease-in-out;
    
  
  }

  #menu > li:hover > a {
    background: #333;
    color: rgba(0,223,252,1);
    text-shadow: none;
  }

  #menu li ul  {
    position: absolute;
    left: 0;
    z-index: 1;
    width: 200px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    background: transparent;
    overflow: hidden;
    transform-origin: 50% 0%;
  }


  #menu li:hover ul {
    
    padding: 15px 0;
    background: #333;
    opacity: 1;
    visibility: visible;
    box-shadow: 1px 1px 7px rgba(0,0,0,.5);
    animation-name: swingdown;
    animation-duration: 1s;
    animation-timing-function: ease;

  }

  @keyframes swingdown {
    0% {
      opacity: .99999;
      transform: rotateX(90deg);
    }

    30% {     
      transform: rotateX(-20deg) rotateY(5deg);
      animation-timing-function: ease-in-out;
    }

    65% {
      transform: rotateX(20deg) rotateY(-3deg);
      animation-timing-function: ease-in-out;
    }

    100% {
      transform: rotateX(0);
      animation-timing-function: ease-in-out;
    }
  }

  #menu li li a {
    padding-left: 15px;
    font-weight: 400;
    color: #ddd;
    text-shadow: none;
    border-top: dotted 1px transparent;
    border-bottom: dotted 1px transparent;
    transition: all .15s linear;
  }

  #menu li li a:hover {
    color: rgba(0,223,252,1);
    border-top: dotted 1px rgba(255,255,255,.15);
    border-bottom: dotted 1px rgba(255,255,255,.15);
    background: rgba(0,223,252,.02);
  }
  .carousel {
    position: relative;
    width: 100%;
    max-width: 600px; /* Adjust as needed */
    overflow: hidden;
    margin: auto; 
    max-height: 400px;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease; /* Smooth transition */
}

.carousel-item {
    min-width: 100%; /* Full width */
}

.carousel-item img {
    width: 100%; /* Responsive images */
    display: block; /* Remove bottom space */
    height: auto;
}
.container2 {
    display: flex;
    width: 100%;
}
.carousel-container {
    width: 80%;
    max-width: 800px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .carousel-slide {
    display: flex;
    width: 400%; /* 4 images + 1 duplicate image */
    height: 500px;
    animation: slide 20s ease-in-out infinite alternate;
  }

  .carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
  }

  /* Keyframes to animate the sliding effect */
  @keyframes slide {
    0% {
      transform: translateX(0);
    }
    20% {
      transform: translateX(-100%);
    }
    40% {
      transform: translateX(-200%);
    }
    60% {
      transform: translateX(-300%);
    }
    80% {
      transform: translateX(-400%);
    }
    100% {
      transform: translateX(-500%);
    }
  }
  @media (min-width: 768px) {
    .carousel-container {
      flex-direction: row; /* Change flex direction for larger screens */
    }
  }
  
  /* Styles for devices smaller than 768px */
  @media (max-width: 767px) {
    .carousel-container {
      flex-direction: column; /* Stack items vertically */
    }
  }
.contect2 {
    padding: 20px; 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    flex: 1;
    padding: 20px;
}

.contect2 h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: "poppins";
    font-weight: 600;
    
}

.contect2 p {
    line-height: 1.6; /* Increase line height for better readability */
    color: #555; /* Slightly lighter color for the text */
    margin: 0; /* Remove default margin */
    font-size: 1rem;
}

@keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  .logos {
    overflow: hidden;
    padding: 60px 0;
    background: white;
    white-space: nowrap;
    position: relative;
  }
  
  .logos:before,
  .logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
  }
  
  .logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
  }
  
  .logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
  }
  
  .logos:hover .logos-slide {
    animation-play-state: paused;
  }
  
  .logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
  }
  
  .logos-slide img {
    height: 50px;
    margin: 0 40px;
  }

  .btnh {
    background: rgba(255, 255, 255, 0.10);
    text-decoration: none;
    color: rgba(75,75,75,1);
    border-radius: 40px;
    border:none;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    text-align: right;
    padding: 20px 100px;
    display: flex;
    font-family: "poppins";
    font-weight: 800;
  }
  .bth  {
    text-decoration: none;
    text-decoration-line: none;

  }
  .btnh:hover{
    background: linear-gradient(90deg,#08ff08,#50e3fc,#bc13fe,#03a9f4,#0ff0fc);
    background-size: 500%;
    z-index: 1;
    animation: blink 7s linear infinite;
  }
  @keyframes blink{
    from{
        background-position: 0%;
    }
    to{
        background-position: 500%;
    }
  }
.btnh::after{
    content:"";
    position: absolute;
    left: -10px;
    right: -10px;
    top: -10px;
    bottom: -10px;
    background: inherit;
    border-radius: 40px;
    filter: blur(50px);
    opacity: 0;
}
.btnh:hover::after{
    opacity:1;
    z-index: -1;
}
.community__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
  }
  
  .community__container .section__subheader {
    text-align: left;
  }
  
  .community__container .section__header {
    margin-bottom: 1rem;
    text-align: left;
  }
  
  .community__container .description {
    color: var(--text-light);
    margin-bottom: 2rem;
  }
  
  .community__image {
    text-align: center;
    
  }
  
  .community__image img {
    height: 20px;
    border-radius: 1rem;
  }
  .gallery img{
    height: 0.5%;
    width: 70%;
    border-radius: 50%;
  }
.sanitary {
    display: flex; /* Makes the container a flexbox */
    align-items: center; /* Align items at the top (can be changed) */
}
.sanitary-image {
    margin-right: 20px; /* Add space between image and text */
}
.sanitary-image img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
}
.description {
    max-width: 600px; 
}
.youth {
    display: flex; /* Makes the container a flexbox */
    align-items: center; /* Align items at the top (can be changed) */
}
.youth-image {
    margin-right: 20px; /* Add space between image and text */
}
.youth-image img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
}
.description {
    max-width: 600px; 
}
  
/* Footer Styles */
footer{
    position: relative;
    bottom: 0px;
    width: 100%;
    background: #d4d1d1f8;
    
  }
  .main-content{
    display: flex;
  }
  .main-content .box{
    flex-basis: 50%;
    padding: 10px 20px;
  }
  .box h2{
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
  }
  .box .content{
    margin: 20px 0 0 0;
    position: relative;
  }
  .box .content:before{
    position: absolute;
    content: '';
    top: -10px;
    height: 2px;
    width: 100%;
    background: #1a1a1a;
  }
  .box .content:after{
    position: absolute;
    content: '';
    height: 2px;
    width: 15%;
    background: #ADD8E6;
    top: -10px;
  }
  .left .content p{
    text-align: justify;
  }
  .left .content .social{
    margin: 20px 0 0 0;
    
  }
  .left .content .social a{
    padding: 0 2px;
  }
  .left .content .social a span{
    height: 40px;
    width: 40px;
    background: #1a1a1a;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    border-radius: 5px;
    transition: 0.3s;
  }
  .left .content .social a span:hover{
    background: #f12020;
  }
  .center .content .fas{
    font-size: 1.4375rem;
    background: #1a1a1a;
    height: 45px;
    width: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    transition: 0.3s;
    cursor: pointer;
  }
  .center .content .fas:hover{
    background: #f12020;
  }
  .center .content .text{
    font-size: 1.0625rem;
    font-weight: 500;
    padding-left: 10px;
  }
  .center .content .phone{
    margin: 15px 0;
  }

  .right form .btn button:hover{
    background: #000;
  }
  .bottom center{
    padding: 5px;
    font-size: 0.9375rem;
    background: #151515;
  }
  .bottom center span{
    color: #656565;
  }
  .bottom center a{
    color: #f12020;
    text-decoration: none;
  }
  .bottom center a:hover{
    text-decoration: underline;
  }
  @media screen and (max-width: 900px) {
    footer{
      position: relative;
      bottom: 0px;
    }
    .main-content{
      flex-wrap: wrap;
      flex-direction: column;
    }
    .main-content .box{
      margin: 5px 0;
    }
  }
  
  
  

/* Responsive Styles */
@media (max-width: 768px) {
    .header .nav-link ul {
        flex-direction: column;
        display: none;
    }

    .header .fa-bars {
        display: block;
    }

    .header .fa-times {
        display: none;
    }

    .header .nav-link.show {
        display: flex;
    }
}
.image1 {
    display: flex;        
    justify-content: center;
    align-items: center;    
    height: 500px;          
    background-color: #f0f0f0;  
    border: 2px solid #ccc; 
    padding: 10px;          
    margin: 20px auto;      
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.image1 img {
    max-width: 100%;        
    max-height: 100%;       
    object-fit: cover;      
    border-radius: 10px;    
}

.content3 {
    background-color: #fff; /* White background for the section */
    padding: 20px; /* Padding around the content */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 1000px; /* Maximum width of the container */
    margin: 20px auto; /* Center the container with margin on top and bottom */
    text-align: center; /* Center align text and images */
}

.content3 h1 {
    font-size: 2.5em; /* Larger font size for the heading */
    color: #333; /* Dark color for the heading */
    margin-bottom: 20px; /* Space below the heading */
    font-family: "poppins";
}

.content3 img {
    width: 100%; /* Make images responsive */
    max-width: 300px; /* Maximum width for images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Rounded corners for images */
    margin: 10px; /* Space between images */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for images */
}

/* Responsive Layout for Images */
@media (min-width: 600px) {
    .content3 img {
        width: 45%; /* 2 images per row on medium screens */
    }
}

@media (min-width: 900px) {
    .content3 img {
        width: 30%; /* 3 images per row on large screens */
    }
}
.content4 {
    background-color: #f5f5f5; /* Light grey background for the section */
    padding: 30px; /* Padding around the content */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 1200px; /* Maximum width of the container */
    margin: 20px auto; /* Center the container with margin on top and bottom */
    text-align: center; /* Center align text and images */
}

.content4 h1 {
    font-size: 2.5em; /* Larger font size for the heading */
    color: #333; /* Dark color for the heading */
    margin-bottom: 20px; /* Space below the heading */
}

.content4 img {
    width: 100px; /* Set a consistent width for the logos */
    height: auto; /* Maintain aspect ratio */
    margin: 15px; /* Space between logos */
    display: inline-block; /* Display images in line */
    vertical-align: middle; /* Align images vertically in the middle */
}

/* Responsive Layout for Logos */
@media (min-width: 600px) {
    .content4 img {
        width: 150px; /* Increase size for medium screens */
    }
}

@media (min-width: 900px) {
    .content4 img {
        width: 200px; /* Increase size for large screens */
    }
}
.content-header {
    background-color: #ffffff; /* White background for the section */
    padding: 20px; /* Padding around the content */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 1200px; /* Maximum width of the container */
    margin: 20px auto; /* Center the container with margin on top and bottom */
    text-align: center; /* Center align text and image */
}

.content-header h1 {
    font-size: 2.5em; /* Larger font size for the heading */
    color: #333; /* Dark color for the heading */
    margin-bottom: 20px; /* Space below the heading */
}

.content-header img {
    width: 100%; /* Make image responsive */
    max-width: 1000px; /* Maximum width for the image */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Rounded corners for the image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for the image */
}
.content-body {
    background-color: #f9f9f9; /* Light background for the section */
    padding: 30px; /* Padding around the content */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 1200px; /* Maximum width of the container */
    margin: 20px auto; /* Center the container with margin on top and bottom */
}

.content-body h2 {
    font-size: 2em; /* Font size for headings */
    color: #333; /* Dark color for the headings */
    margin-top: 20px; /* Space above the headings */
    margin-bottom: 10px; /* Space below the headings */
}

.content-body p {
    font-size: 1.1em; /* Slightly larger font size for readability */
    line-height: 1.6; /* Increase line height for better readability */
    color: #555; /* Slightly lighter color for the text */
    margin: 0 0 20px; /* Margin below the paragraphs */
}

.content-body img {
    width: 100%; /* Make images responsive */
    max-width: 600px; /* Maximum width for images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Rounded corners for the images */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for images */
    margin: 20px 0; /* Space above and below images */
}

/* Responsive Layout for Images */
@media (min-width: 768px) {
    .content-body img {
        flex-direction: row;/* Increase size for medium screens */
    }
}

@media (max-width: 767px) {
    .nav-bar1 {
        flex-direction: column;
    }
}

@media (min-width: 768px) {
    .container {
      flex-direction: row; /* Change flex direction for larger screens */
    }
  }
  
  /* Styles for devices smaller than 768px */
  @media (max-width: 767px) {
    .container {
      flex-direction: column; /* Stack items vertically */
    }
  }

/* Header Styles */

.logo img {
    width: 150px;
}

.nav-bar1 {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-link {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-link ul {
    display: flex;
    justify-content: space-around;
    flex: 1;
    text-decoration: none;
}

.nav-link ul li {
    position: relative;
}

.nav-link ul li a {
    display: block;
    padding: 10px 15px;
    color: #000;
    font-weight: bold;
}

.nav-link ul li a:hover {
    color: #007bff;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    padding: 10px 15px;
    color: #333;
}

.dropdown-content a:hover {
    background: #f1f1f1;
}

.donate-b, .apply-b {
    margin-left: 10px;
}

.donate-b button, .apply-b button {
    padding: 10px 20px;
    border: none;
    color: #fff;
    background-color: #007bff;
    cursor: pointer;
}

.donate-b button:hover, .apply-b button:hover {
    background-color: #0056b3;
}

