
nav {
  height: 61px; /* Slightly smaller height for mobile */
  padding: 0.5rem 0.5rem; /* Adjust padding to reduce navbar width */
  box-sizing: border-box; /* Include padding and border in the element's total width */
  border-top: none;
  border-bottom: none; /* Remove bottom border */
  background: white; /* Ensure navbar has a white background on mobile */
  background-color: white !important;
  width: 100%;
}
/* Add spacing between paragraphs */
.text p {
  text-align: justify;
  margin-bottom: 20px; /* Adjust the value as needed */
  line-height: 1.6; /* Increases line spacing for better readability */
}

/* Add spacing between bolded sections and paragraphs */
.text b {
  display: block;
  margin-top: 20px; /* Adjust the value as needed */
}

/* Additional styles for overall layout */
.content {
  padding: 20px; /* Add padding around the content */
}

.text {
  text-align: justify;
  margin: 0 auto; /* Center the text within the content box */
  max-width: 800px; /* Limit the width for better readability */
}
a {
  text-decoration: none;
}
.fa-instagram {
  font-size: 24px;
  color: #e4405f;
}
.fa-facebook {
  font-size: 24px;
  color: #111cb4;
}
.fa-youtube {
  font-size: 24px;
  color: #e70909;
}
footer {
  background-color: #5f5f5f;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 0.7rem 0; /* Reduced padding */
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem; /* Reduced font size */
  margin: 0; /* Remove any extra margin */
}

footer .social-icons {
  display: flex;
  justify-content: center;
  gap: 20px; /* Space between icons */
  margin-bottom: 15px; /* Space between icons and "Connect Now" heading */
}

footer .social-icons a {
  font-size: 24px;
  color: white; /* Make icons visible */
  text-decoration: none;
  transition: transform 0.3s;
}

footer .social-icons a:hover {
  transform: scale(1.2); /* Slight zoom effect on hover */
}

footer h3 {
  margin-top: 0;
  margin-bottom: 15px;
}

footer form {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

footer form input {
  padding: 10px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-right: 10px;
}

footer form button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  background-color: #000000;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

footer form button:hover {
  background-color: #63676b;
}

footer p {
  text-align: center;
  margin: 5px 0;
  color: rgb(0, 0, 0);
}

footer p:last-child {
  margin-bottom: 0;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 15px;
  justify-content: center;
}

.footer-links a {
  color: white;
  text-decoration: none;
}
.aboutus-header {
  position: relative;
  overflow: hidden; /* Ensure the image does not overflow its container */
}

.header-image {
  width: 100%; /* Make the image take the full width of its container */
  height: auto; /* Maintain the aspect ratio */
  object-fit: cover; /* Cover the container without distortion */
  display: block; /* Removes any space below the image */
}
.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; /* Center content */
  margin-bottom: 40px; /* Space between sections */
}

.about-section .text,
.about-section .image {
  width: 100%; /* Full width for mobile */
  max-width: 600px; /* Set a max width for better readability */
}

.text {
  padding: 20px; /* Padding around text */
  text-align: justify; /* Justified text for uniformity */
}

.image {
  display: flex;
  justify-content: center; /* Center the image */
}

.image img {
  width: 80%;
  height: auto;
  border-radius: 8px;
  max-height: 300px;
}

.image img.fade-in {
  opacity: 1; /* Final state: fully visible */
}

/* Adjust the footer for mobile screens */
/* Drop Down Desktop View */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 250px; /* Adjust as needed for images */
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content .dropdown-item {
  display: flex;
  align-items: center; /* Align image and text */
  padding: 10px;
  border-bottom: 1px solid #ddd; /* Optional: to separate each item */
}

.dropdown-content .dropdown-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: black;
  width: 100%;
}

.dropdown-content .dropdown-item:hover {
  background-color: #f1f1f1; /* Change background on hover */
}

.dropdown-img {
  width: 50px; /* Adjust size for images */
  height: auto;
  margin-right: 10px;
}

.dropdown:hover .dropdown-content {
  display: block; /* Show dropdown on hover */
}
#home {
  text-align: center;
  padding: 20px;
}

.award-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Ensures images wrap when the screen is smaller */
  gap: 20px; /* Adds spacing between images */
}

.image-row {
  display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    justify-content: center; /* Center the images */
      flex-direction: row; /* Align images in a row */
  width: 100%;
}

.award-image {
  width: 300px; /* Set a larger width for both desktop and mobile */
  height: auto; /* Maintain aspect ratio */
  margin: 10px; /* Add some spacing between images */
}

/* Adjust the footer for mobile screens */

@media (max-width: 768px) {
    nav ul li{
          padding:8px;
      }
  .image-row {
    flex-direction: column; /* Stack images in a column */
    align-items: center; /* Center images in the column */
}

.award-image {
    width: 90%; /* Make images larger for mobile view */
    max-width: 500px; /* Set a maximum width for mobile images */
}
  /* Drop Down Mobile View */
  .dropdown-content {
    min-width: 100%; /* Full width on mobile */
    font-size: 14px;
  }

  .dropdown-item {
    flex-direction: column; /* Stack image and text vertically */
    padding: 5px; /* Reduce padding */
  }

  .dropdown-img {
    width: 80%; /* Reduce image size */
    margin-right: 0;
    margin-bottom: 5px;
  }

  .dropdown-item a {
    font-size: 14px; /* Smaller text size */
  }
  /* Stack the footer sections vertically */
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Make the logo centered */
  .footer-section img {
    margin: 0 auto 20px;
  }

  /* Adjust the social icons section */
  .social-icons {
    justify-content: center;
    margin: 20px 0;
  }

  /* Reduce padding in the footer */
  footer {
    padding: 15px 10px;
  }

  /* Reduce text size for mobile */
  footer p {
    font-size: 14px;
  }

  /* Adjust footer links for mobile */
  footer ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  footer ul li {
    margin: 5px 0;
  }
  /* Adjust footer links for mobile */
  footer ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  footer ul li {
    margin: 5px 0;
  }
  .footer-links {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 15px;
    justify-content: center;
  }

  .footer-links a {
    color: white;
    text-decoration: none;
  }
  .about-section {
    flex-direction: column; /* Stack elements vertically */
  }

  .text {
    width: 100%; /* Full width for the text */
    max-width: 600px; /* Set a max width for better readability */
    margin: 0 auto; /* Center the text */
    padding: 0 20px; /* Add padding for better spacing */
  }

  .image {
    width: 100%; /* Full width for the image */
    margin-bottom: 20px; /* Space below the image */
  }

  .image img {
    width: 350px; /* Make the image take full width */
    max-height: 400px; /* Limit the max height of images for uniformity */
    object-fit: cover; /* Ensure the image covers the space without distortion */
  }

  /* Change the order for mobile view */
  .about-section {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
  }

  /* Adjust the order to show text before the image */
  .text {
    order: 1; /* Ensure text is first */
  }

  .image {
    order: 2; /* Ensure image is second */
  }
}
/* Scroll effect */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
