body {
  font-family: Arial, sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
}
header {
  background: skyblue;
  color: red;
  padding: 20px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: serif;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.header-text h1 {
  margin: 0;
  font-size: 28px;
}

.header-text p {
  margin: 0;
  font-size: 14px;
  color: #050000;
}
.header-image {
  width: 100%;
  text-align: center;
  margin-top: 5px;
}

.header-image img {
  width: 20%;
  max-height: 300px; /* Adjust height as needed */
  object-fit: cover; /* Ensures the image fits nicely */
}

.nav-buttons {
  display: flex;
  gap: 10px;
}
.nav-buttons button {
  background: skyblue;
  color: black;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}
@font-face {
  font-family: "MyCustomFont";
  src: url("font/snap.woff2.TTF") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.heading-section h2 {
  font-family: "MyCustomFont", sans-serif;
  font-size: x-large;
  font-weight: bold;
  margin: 40px 0;
  line-height: 1.5;
}

.slider-container {
  position: relative;
  max-width: 60%;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
}
.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slider img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}
.mission h2 {
  margin: 40px 0;
  font-family: serif;
  color: red;
  font-size: xx-large;
  margin-bottom: 10px;
}
.mission p {
  margin-top: 5px;
}
.mission-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.mission-images img {
  width: 45%;
  max-width: 400px;
  height: auto;
  transition: transform 0.5s ease-in-out;
}
.mission-images img:hover {
  transform: scale(1.1);
}
.mission-item {
  position: relative;
  width: 45%;
  max-width: 400px;
  text-align: center;
}

.mission-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.image-text {
  background-image: linear-gradient(143deg, skyblue, red, transparent);
  color: black;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  margin-top: 5px;
}
.fade-in-slide {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-slide.visible {
  opacity: 1;
  transform: translateY(0);
}
#about-section h2 {
  margin-top: 80px;
  font-size: xx-large;
}
.founder-container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.founder-image {
  width: 350px;
  height: auto;
  border-radius: 10px;
  margin-left: 20px;
  transform: translateX(-100%); /* Initially off-screen */
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
}
.about-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.about-box {
  width: 30%;
  min-width: 250px;
  background-image: linear-gradient(143deg, skyblue, transparent);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.about-box h3 {
  color: #f04e30;
}

.about-box p {
  font-size: 14px;
  line-height: 1.6;
}
.founder-image.visible {
  transform: translateX(0); /* Moves in when visible */
  opacity: 1;
}

.founder-info {
  font-family: cursive;
  flex-grow: 1; /* Expands to take up remaining space */
  max-width: calc(
    100% - 400px
  ); /* Adjusts dynamically while maintaining spacing */
  padding-right: 20px;
}
.highlight {
  color: red;
  background-image: linear-gradient(143deg, skyblue, transparent);
  font-weight: bold; /* Makes the text bold */
  padding: 2px; /* Adds a little padding */
  font-family: sans-serif;
}

.vision-section {
  position: relative;
  background: url("IMAGES/mother.jpg") no-repeat center center;
  background-size: 100% auto; /* Ensures the full image is visible without cropping */
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  margin-top: 50px;
}
.vision-content {
  background: rgba(
    0,
    0,
    0,
    0.6
  ); /* Slightly dark background for better readability */
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

.vision-content:hover {
  transform: scale(1.05); /* Slight zoom effect */
  background: rgba(0, 0, 0, 0.8); /* Darkens the background slightly */
}

.vision-content h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #f04e30;
}

.vision-content p {
  font-size: 20px;
  line-height: 1.8;
}

#about-section h2 {
  margin-bottom: 70px; /* Increased space between About Us and Vision */
  color: #f04e30;
}

.donate {
  background: #f04e30;
  background-image: linear-gradient(143deg, skyblue, transparent);
  border: none;
  padding: 15px 30px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 5px;
}
.donate-section {
  padding: 40px;
  text-align: center;
}
.chart-container {
  width: 45%;
  margin: auto;
  text-align: center;
  position: relative;
}
.donate-btn {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
  background-color: red;
  background-image: linear-gradient(143deg, skyblue, transparent);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.donate-btn:hover {
  background-color: red;
  background-image: linear-gradient(143deg, skyblue, transparent);
}
.description-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 400px;
  padding: 15px;
  border: 1px solid #ccc;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: 16px;
  display: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
