/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth; /* Enable smooth scrolling */
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
}

/* Header Styles */
.header-2 {
  background-color: #8800b6;
  color: #ffffff;
  padding: 1vh 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header{
 min-height: 100vh;
 max-height: 100vh;
 width: 100%;
 background-image: linear-gradient(rgba(4, 9, 30, 0.8),rgba(4, 9, 30, 0.367))
 ,url(images/header\ 2.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
}

.header img{
width: 100px;
}
.header-2 img{
  width: 200px;
  padding-left:20PX ;
}

.side-header-img img{
  width: 50%;
  height: 46.6em;
  border-top-right-radius:300px ;
  border-bottom-right-radius:300px ;
}
@media (max-width: 1250px) {
  .side-header-img img {
    height: 40.8rem;
  }
}
@media (max-width: 950px) {
  .side-header-img {
      display: none;
  }
}

nav{
 display: flex;
 padding: 1% 6%;
 justify-content: space-between;
 align-items: center;
}
nav img{
 width:150px;
}
.nav-links{
 flex:1;
 text-align: right;
}
.nav-links ul li{
 list-style: none;
 display: inline-block;
 padding: 8px 12px;
 position: relative;
}
.nav-links ul li a{
 color: hsl(0, 0%, 98%);
 text-decoration: none;
 font-size: 20px;
 font-family:Arial, Helvetica, sans-serif;
}
.nav-links ul li::after{
 content:'';
 width:  0%;
 height:2px;
 background: #57d900;
 display: block;
 margin: auto;
 transition: 0.5s;
}
.nav-links ul li:hover::after{
 width:100%;
}


.text-box{
 width:40%;
 color:#ffffff;
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%,-50%);
 text-align: center;
}
@media (max-width: 950px) {
  .text-box{
    width:90%;
    color:#ffffff;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
   }
}

.text-box h1{
  padding-top: 20px;
  margin-bottom: 20px;
  font-size: 92px; 
  line-height: 120px;
  color:#ffffff;
  text-shadow:1px 2px 50px rgb(0, 0, 0);
}
@media (max-width: 1250px) {
  .side-header-img img {
    height: 40.8rem;
  }
  .text-box h1{
    padding-top: 100px;
    line-height: 80px;
  }
}
@media (max-width: 950px) {
  .text-box h1{
    padding-top: 1px;
    line-height: 80px;
  }
}
.text-box h2{
  font-size: 30px; 
  color:#ffffff
}
.text-box p{
 margin: 10px 0 40px;
 font-size: 2rem;
 color: #fff; 
}
.hero-btn{
 display: inline-block;
 text-decoration: none;
 color: #fff;
 border: 1px solid #fff;
 padding: 12px 34px;
 background: transparent;
 position: relative;
 cursor: pointer;
 border-radius: 20px;
 transition: 1s;
 
}
.hero-btn:hover{
 background: #fffff8;
 color: #aa099f;
 font-size: 16px;
 font-weight:bold;
 transition: 1s;
 outline: none;
 box-shadow: 0 0 100px #5e08e7;
 opacity: 80%;
 padding-inline: 80px;
}

nav .fa{
   display: none;
}
@media(max-width: 790px){
 .text-box h1{
   font-size: 50px;
   padding-top: 120px;
 }
 .text-box p {
  font-size: 20px;
 }
 .text-box h1{
  line-height: 50px;
}
 .nav-links ul li{
   display: block;
 }
 .nav-links {
   position: fixed;
   background-image: linear-gradient(180deg,rgb(0, 0, 0), rgba(21, 34, 95, 0.551));
   height: 100vh;
   width: 150px;
   top: 0;
   right: -200px; 
   text-align: left;
   z-index: 2;
   transition: 1s;
 }
 .nav-links ul li a{
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
 }
 nav .fa{
   display: block;
   color:#e6ea05;
   margin: 10px;
   font-size: 22px;
   cursor: pointer;
 }
 .nav-links ul{
   padding: 30px;
 }


 .hero-btn{
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
  border-radius: 20px;
  transition: 1s;
  
 }
 .header{
  min-height: 60vh;
  max-height: 60vh;
 }
}

/*-------------------------------------------- profile card section  */
/* Styling the team section */
.team-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding-top: 80px;
}

/* Individual team member cards */
.team-member {
  background-color: #e7b921;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  width: 280px;
  transition: transform 0.3s;
}
.team-member-2 {
  background-color: #e7b921;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  width: 100%;
  transition: transform 0.3s;
}


@media(max-width: 720px){
  .team-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding-top: 80px;
    padding: 10px;
  }

  .team-member {
    background-color: #e7b921;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    width: 180px;
    transition: transform 0.3s;
  }
  .team-member-2 {
    background-color: #e7b921;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    width: 10%;
    transition: transform 0.3s;
  }
}


.profile-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #10a2c0; /* light background */
  padding: 50px 20px;
}

.profile-card {
  display: flex;
  align-items: center;
  background-color: #fdfdfd;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 50px;
  max-width: 80%;
  width: 100%;
  gap: 100px;
}

.profile-image img {
  padding-left: 80px;
  border-radius: 50%;
  width: 250px;
  height: 250px;
  object-fit: cover;
  margin-right: 20px;
}
.profile-content {
  max-width: 60%;
}

.profile-quote {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}
@media(max-width: 720px){
  .profile-quote {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
  }
}

.profile-name {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 5px;
}

.profile-company {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.profile-social .social-link {
  display: inline-block;
  margin-right: 10px;
  font-size: 0.9rem;
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.profile-social .social-link:hover {
  color: #003366;
}

/* Responsive Design */
@media (max-width: 900px) {
  .profile-card {
    flex-direction: column;
    text-align: center;
  }

  .profile-image img {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .profile-content {
    max-width: 100%;
  }
  .profile-card {
    display: flex;
    align-items: center;
    background-color: #fdfdfd;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 50px;
    max-width: 80%;
    width: 100%;
    gap: 20px;
  }
  
  .profile-image img {
    padding-left: 0px;
    border-radius: 50%;
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin-right: 20px;
  }
}



/* Profile picture styling */
.profile-pic {
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  height: 90px;
  width: 90px;
  margin: 20px auto 10px;
  padding: 90px;
}
@media (max-width: 900px) {
  .profile-pic {
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    height: 2px;
    width: 2px;
    margin: 20px auto 10px;
    padding: 50px;
  }

}

/* Team member info */
.team-member h3 {
  margin: 10px 0;
  font-size: 1.1em;
}

.team-member p {
  color: #666;
  margin-bottom: 20px;
}

/* Social icons container */
.social-icons-team {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px 0;
  background-color: #550554;
  color: white;
}

/* Individual social icon */
.social-icons-team a {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  transition: color 0.3s;
}

.social-icons-team a:hover {
  color: #0056b3;
}

/* Hover effect for team member cards */
.team-member:hover {
  transform: translateY(-10px);
}
/* Responsive adjustments */
@media (max-width: 368px) {
  .team-member {
      width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .team-member {
      width: 45%;
  }
}

/*----------------------------- Who We Are Section */
.who-we-are {
  background-color: #ffffff;
  padding: 10px;
  margin-bottom: 100px;
}

.who-we-are-text {
  padding: 2px;
  text-align: center;
  margin-bottom: 20px;
  font-size: 100px;
  color: #1755ba;
}

.who-we-are a {
  margin-top: 30px;
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  background-color: #8c11c5;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.who-we-are a:hover {
  background-color: #fbfbfb;
}

.who-we-are p {
  font-size: 1.2rem;
  color: #000000;
  text-align: left;
  text-align: justify;
}

.sub-img-2 {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: 0.5s;
}

.who-we-are-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  padding: 1px;
  justify-items: center;
  align-items: center;
}

.sub-who-we-are {
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .who-we-are-text {
    font-size: 2rem;
    padding: 10px;
  }

  .who-we-are p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .who-we-are-text {
    font-size: 1.5rem;
  }

  .who-we-are p {
    font-size: 15px;
  }

  .sub-who-we-are {
    padding: 3px;
  }

  .sub-img-2 {
    width: 100%;
  }

  .who-we-are a {
    font-size: 15px;
    padding: 8px 16px;
  }
}
/* ----------------------------------our mission section  */

.about-section {
  background-color: #5c055b; /* dark background similar to your provided image */
  padding: 50px 20px;
  color: #fff;
}

.about-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width:1200px;
  margin: 0 auto;
}

.about-card {
  background-color: #3c043c; /* slightly lighter than background */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: orange;
}

.about-card p {
  font-size: 1rem;
  line-height: 1.5;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 390px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-card {
    padding: 15px;
  }
}

/* ---------------------------------Project card section  */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Default grid for medium to large screens */
  gap: 20px;
  padding: 20px;
  width: 100%;
  max-width: 1200px; /* Restricts maximum width */
  margin: 0 auto; /* Centers the container */
  margin-top: -50px;
  margin-bottom: 50px;
}

@media (max-width: 820px) {
  .card-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Adjust grid for smaller screens */
    width: 90%;
  }
}

@media (max-width: 480px) { /* Target small devices like iPhone X */
  .card-container {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 15px; /* Slightly smaller gap for compact layout */
    padding: 15px;
  }

  .card {
    border-radius: 10px; /* Slightly smaller border radius for compact design */
  }

  .card-image {
    height: 120px; /* Reduce image height for better fit */
  }

  .card-content {
    padding: 10px; /* Reduce padding inside the card */
  }

  .download-btn {
    padding: 8px 15px; /* Smaller button for small screens */
    font-size: 12px;
  }
}

.card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.card:hover {
  transform: translateY(-10px);
}

.card-image {
  width: 100%;
  height: 150px;
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 15px;
  flex: 1;
}

.profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.name {
  font-weight: bold;
  color: #333;
}

.time {
  font-size: 12px;
  color: #aaa;
}

.description {
  margin-top: 10px;
  color: #666;
}

.download-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
}

.card:hover .download-btn {
  opacity: 1;
  transform: translateY(0);
}

/*---------------------------------- slide show section  */
.slideshow-section {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  background-color: #410455;
}

.container-1 {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  flex-direction: row;
  width: 90%;
  max-width: 1600px;
}

.slideshow-container-1 {
  position: relative;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.mySlides {
  display: none;
}

.mySlides img {
  width: 300px;
  height: 300px;
  border-radius: 50%; /* Circular shape */
  border: 10px solid purple;
  padding: 10px;
  background-color: #fff700;
  box-shadow: 10px 20px 20px rgba(0, 0, 0, 0.2);
}

.text-container {
  padding: 20px;
  width: 50%;
}

.text-container h1 {
  margin: 0; /* Adjusted for better alignment */
  color: #f5a905;
  font-size: 6rem; /* Slightly reduced for improved responsiveness */
  margin-bottom: 20px;
  text-align: center;
}

.text-container p {
  font-size: 2rem; /* Slightly reduced for readability */
  color: #000;
  text-align: center;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* Medium devices */
@media (max-width: 768px) {
  .container-1 {
    flex-direction: column; /* Stacks elements vertically */
  }

  .slideshow-container-1, 
  .text-container {
    width: 100%;
    padding: 10px; /* Adjusted for smaller screens */
    text-align: center;
  }

  .text-container h1 {
    font-size: 4rem; /* Reduced for smaller screens */
  }

  .text-container p {
    font-size: 1.5rem; /* Reduced for readability */
  }
}

/* Small devices */
@media (max-width: 380px) {
  .container-1 {
    flex-direction: column;
  }

  .mySlides img {
    width: 120px; /* Smaller image for compact screens */
    height: 120px;
    border-radius: 50%;
    border: 8px solid purple; /* Reduced border thickness */
    padding: 5px;
    background-color: #fff700;
  }

  .slideshow-container-1, 
  .text-container {
    width: 100%; /* Ensures full width usage */
    padding: 10px;
  }

  .text-container h1 {
    font-size: 3rem; /* Further reduced for very small screens */
  }

  .text-container p {
    font-size: 1.2rem; /* Optimized for readability */
  }
}

/* --------------------our partners---------------- */
.PARTNERS {
  background-color: #ffffff;
  height: auto; /* Adjust height for content flexibility */
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.PARTNERS h1 {
  text-align: center;
  box-shadow: 0px 5px 15px rgba(251, 221, 1, 0.6);
  background-color: #640659;
  font-size: 2.5rem; /* Slightly increased for better visibility */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  margin-bottom: 30px;
  text-transform: uppercase; /* Adds a modern touch */
  letter-spacing: 1px; /* Improves readability */
}

.partner-container {
  background-color: #6a0862;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0; /* Added more padding for spacing */
  border-radius: 50px; /* Smoothed border radius for consistency */
  width: 100%;
}

.partner-container-1 {
  display: flex;
  gap: 30px; /* Increased gap for better spacing between logos */
  width: 90%;
  max-width: 1200px; /* Limits container width for large screens */
  justify-content: center;
  flex-wrap: wrap; /* Wraps logos to new rows on small screens */
}

.partner-1 img {
  width: 80px; /* Slightly larger for better visibility */
  border-radius: 10px; /* Adds a subtle style */
  transition: transform 0.3s, box-shadow 0.3s; /* Adds smooth hover effect */
}

.partner-1 img:hover {
  transform: scale(1.1); /* Slight zoom effect on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

/* Responsive Design for Medium Screens */
@media (max-width: 720px) {
  .PARTNERS {
    padding: 20px;
  }

  .PARTNERS h1 {
    font-size: 2rem; /* Adjusted for smaller screens */
    padding: 10px 20px;
  }

  .partner-container {
    padding: 15px 0;
  }

  .partner-1 img {
    width: 50px; /* Adjusted size for medium screens */
  }
}

/* Responsive Design for Small Screens */
@media (max-width: 480px) {
  .PARTNERS h1 {
    font-size: 1.5rem; /* Further adjustment for very small screens */
    padding: 10px 15px;
  }

  .partner-1 img {
    width: 40px; /* Smaller logos for compact screens */
  }

  .partner-container-1 {
    gap: 15px; /* Closer spacing on small screens */
  }
}


/*----------------- call to action section ----------- */
.container-call {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-image: linear-gradient(rgb(91, 72, 240), rgba(4, 9, 30, 0.367)), url(images/);
}
.content-call {
  max-width: 600px;
  padding: 20px;
}
.content-call h1 {
  font-size: 3.1rem;
  margin: 0;
  
}
.content-call p {
  margin: 20px 0;
  font-size: 2rem;
  color: #2b2b2c;
  font-style: oblique;
  font-family: "Playwrite BE VLG", cursive;
}
.content-call .buttons-call {
  display: flex;
  gap: 10px;
}
.content-call .buttons-call a {
  background-color: #ff007f;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.5s;
}
.content-call .buttons-call a:hover {
  background-color: #8000ff;
  box-shadow: 8px 8px 10px rgba(0, 0, 0);
  transition: 0.5s;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}
.content-call .buttons-call a.read-more {
  background-color: transparent;
  border: 2px solid #ff007f;
}
.content-call .buttons-call a.read-more:hover {
  background-color: transparent;
  border: 2px solid #8000ff;
  background-color: #8000ff;
}
.image {
  max-width: 600px;
  padding: 20px;
}
.image img {
  width: 100%;
  border-radius: 50px;
  border-bottom-left-radius: 200px;
  border-top-right-radius: 200px;
  transition: 0.5s;
}
.image img:hover{
  width: 100%;
  border-radius: 50px;
  border-bottom-left-radius: 180px;
  border-top-right-radius: 180px;
  transition: 0.5s;
  box-shadow:10px 10px 10px #000000;
  opacity: 80%;
}
@media (max-width: 768px) {
  .container-call {
      flex-direction: column;
      text-align: center;
  }
  .content-call, .image {
      max-width: 100%;
  }
  .content-call .buttons {
      justify-content: center;
  }
}



/*--------------------------------------- our focus today  */
.focus-today {
  margin: 0 auto;
  padding: 40px 10px;
  text-align: center;
  background-color: #ffffff;
  border-radius: 8px;
}

.focus-today h2 {
  font-size: 2.5rem;
  color: #a832a8;
  margin-bottom: 40px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.focus-item {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.focus-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.focus-item h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
}

.focus-item p {
  font-size: 1rem;
  color: #666;
}

.read-more-1 {
  margin-top: 40px;
}

.read-more-1 a {
  display: inline-block;
  padding: 10px 30px;
  background-color: #a832a8;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.read-more-1 a:hover {
  background-color: #f0b309;
  color: black;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .focus-today h2 {
    font-size: 2rem;
  }

  .focus-grid {
    grid-template-columns: repeat(2, 1fr); /* Display two focus items */
  }

  .focus-item {
    padding: 15px;
  }

  .focus-item h3 {
    font-size: 1.25rem;
  }

  .focus-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .focus-today h2 {
    font-size: 1.8rem;
  }

  .focus-grid {
    grid-template-columns: repeat(2, 1fr); /* Two items even on small screens */
    gap: 15px; /* Adjust gap for smaller devices */
  }

  .focus-item {
    padding: 10px;
  }

  .focus-item h3 {
    font-size: 1.2rem;
  }

  .focus-item p {
    font-size: 0.8rem;
  }

  .read-more-1 a {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}




/*------------------------------------------------ Our Causes  */

.modern-causes {
  margin: 0 auto;
  padding: 50px 20px;
  text-align: center;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 80px rgba(0, 0, 0, 0.1);
}

.modern-causes h2 {
  font-size: 2.5rem;
  color: #a832a8;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.causes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.cause-item {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cause-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cause-item img {
  width: 100%;
  height: 320px;
  border-radius: 8px 8px 0 0;
}

.cause-item h3 {
  font-size: 1.25rem;
  color: #333;
  margin-top: 15px;
  margin-bottom: 0;
  padding: 10px 0;
  border-bottom: 2px solid #a832a8;
}

@media (max-width: 768px) {
  .cause-item {
      padding: 15px;
  }

  .cause-item h3 {
      font-size: 1.1rem;
  }
}

/* ---------------------------------------statistics section  */
.modern-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90vh;
  background: linear-gradient(135deg, #2e0132, #48024e, #430152);
  color: white;
  text-align: left;
  padding: 0 20px;
  overflow: hidden;
  position: relative;
}

.modern-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 80%);
  animation: gradient-move 10s infinite linear;
}

@keyframes gradient-move {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.content {
  max-width: 800px;
  z-index: 1;
}

.modern-hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  background: linear-gradient(90deg, #8b00c7, #fbe307);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-glow 3s ease-in-out infinite;
}

@keyframes text-glow {
  0%, 100% {
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0);
  }
  50% {
    text-shadow: 0px 0px 30px rgba(255, 255, 255, 0);
  }
}

.modern-hero h1 .highlight {
  color: #fbe307;
}

.buttons {
  margin: 30px 0;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: transform 0.4s, box-shadow 0.4s, background-color 0.4s;
}

.btn.primary {
  background-color: #00c7ac;
  color: #fff;
  margin-right: 15px;
  box-shadow: 0px 4px 15px rgba(0, 199, 172, 0.4);
}

.btn.primary:hover {
  background-color: #fbe307;
  box-shadow: 0px 0px 30px #fbe307;
  transform: translateY(-5px);
}

.btn.secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0px 4px 15px rgba(255, 255, 255, 0.3);
}

.btn.secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0px 8px 20px rgba(255, 255, 255, 0);
  transform: translateY(-5px);
}

.stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  z-index: 1;
}

.stat {
  text-align: center;
  flex: 1;
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.9);
}

.number {
  font-size: 3rem;
  font-weight: bold;
  animation: number-glow 1.5s ease-in-out infinite alternate;
}

@keyframes number-glow {
  0% {
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0);
  }
  100% {
    text-shadow: 0px 0px 30px rgba(255, 255, 255, 0.005);
  }
}

p {
  font-size: 1.2rem;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .modern-hero {
    flex-direction: column;
    height: auto;
    padding: 40px 20px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .stats {
    flex-direction: column;
  }

  .stat {
    margin-bottom: 20px;
  }

  .btn {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .modern-hero h1 {
    font-size: 2rem;
  }

  .content {
    max-width: 90%;
  }

  .stat .number {
    font-size: 2.2rem;
  }

  p {
    font-size: 1rem;
  }
  .btn {
    display: inline-block;
    padding: 12px 30px;
    margin-bottom: 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.4s, box-shadow 0.4s, background-color 0.4s;
  }
}




/* --------------------------------------------Full-screen overlay */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.78); /* Light background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Makes sure it stays on top */
}

/* Loader animation */
.loader {
border: 10px solid rgb(0, 0, 0); /* Light grey border */
border-top: 10px solid #9b59b6; /* Purple border-top */
border-right: 10px solid #f39c12; /* Yellow border-right */
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 2s linear infinite; /* Spin animation */
}
/* Keyframe for spinning effect */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/*---------------- footer-----------------  */
/* General Footer Styling */
.footer {
  background: #020202;
  color: #ccc;
  padding: 40px;
  border-radius: 0px;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  margin: auto;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 20px;
}

.footer-logo h3, .footer-logo p {
  color: #fff;
  font-weight: bold;
  margin: 0;
  line-height: 1.5;
}

.footer-logo p {
  color: #ffd700; /* Accent color for "ISSZ" */
}

.footer-logo .logo {
  margin-top: 10px;
  width: 60px; /* Adjust the width as needed */
}

.footer-logo .credit {
  margin-top: 10px;
  color: #ccc;
  font-family: 'Brush Script MT', cursive; /* Artistic font style */
  font-size: 14px;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.column {
  display: flex;
  flex-direction: column;
}

.column h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 10px;
}

.column a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  margin: 5px 0;
  transition: color 0.3s;
}

.column a:hover {
  color: #ffd700; /* Accent color on hover */
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a img {
  width: 20px;
  height: 20px;
  transition: opacity 0.3s;
}

.social-icons a:hover img {
  opacity: 0.8;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  border-top: 1px solid #333;
  padding-top: 10px;
  font-size: 12px;
  color: #777;
}

.footer-bottom a {
  color: #777;
  text-decoration: none;
  margin-left: 15px;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: #ffd700;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      align-items: center;
      gap: 20px;
  }

  .footer-bottom {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }
  .social-icons {
    display: flex;
    gap: 10px;
    flex-direction: column;
  }
}
