/* Reset and Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
}

body {
  background-image: url('light-background.jpg'); /* Your light background image */
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  color: #333;
  height: 100%;
  position: relative;
  line-height: 1.6;
  font-size: 16px;
}

/* Overlay for better text visibility */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7); /* White overlay to soften the background */
  z-index: -1; /* Keeps the overlay behind content */
}

/* Header Styling */
header {
  background-color: rgba(255, 255, 255, 0.9); /* Transparent white background */
  padding: 20px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
  position: sticky;
  top: 0;
  z-index: 10;
}

header .logo {
  max-width: 150px;
  margin: 0 auto;
  display: block;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
  padding: 10px 0;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  text-decoration: none;
  font-size: 18px;
  color: #333;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #007bff; /* Light blue hover effect */
}

/* Main Section Styling */
.MainPageSections {
  text-align: center;
  padding: 80px 20px;
  margin: 20px auto;
  animation: fadeIn 1.5s ease-out;
  background-color: rgba(255, 255, 255, 0.8); /* Transparent background for sections */
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); /* Increased shadow for sections */
  max-width: 1200px;
  margin-top: 80px;
}

/* Images in Main Sections */
/* General Styles for Images */
.main-image {
  display: block;
  margin: 20px auto;
  max-width: 80%; /* Initially set to 80% for larger screens */
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease; /* Smooth hover effect */
}

/* Hover effect */
.main-image:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

/* Media Query for Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .main-image {
    width: 100%; /* Set the image width to 100% on smaller screens */
    max-width: 90%; /* Limit the width to 90% to prevent it from stretching too much */
    margin: 10px auto; /* Adjust the margin for smaller screens */
  }

  /* Optionally, adjust text or other elements for better mobile layout */
  h1 {
    font-size: 2rem; /* Slightly reduce the font size for smaller screens */
  }

  p {
    font-size: 1rem; /* Adjust paragraph font size for better readability */
  }
}



/* Text Animations */
h1 {
  font-size: 2.8rem;
  color: #333;
  margin-bottom: 20px;
  animation: fadeInUp 1.5s ease-out;
}

p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
  animation: fadeInUp 1.5s ease-out;
}

/* Footer Styling */
.footer-container {
  display: flex;
  justify-content: space-between;
  padding: 40px 80px;
  background-color: #f1f1f1;
  color: #333;
  border-top: 1px solid #ddd;
}

.footer-left {
  flex: 1;
}

.footer-left p {
  margin: 10px 0;
  font-size: 1rem;
  color: #333;
}

.footer-right {
  flex: 1;
  text-align: right;
}

.footer-right h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}

.footer-right p {
  font-size: 1rem;
  color: #666;
  margin: 5px 0;
}

.footer-right .social-media {
  margin-top: 20px;
}

.footer-right .social-media a {
  margin-right: 15px;
  display: inline-block;
}

.footer-right .social-media img {
  width: 30px;
  height: 30px;
  transition: opacity 0.3s ease;
}

.footer-right .social-media img:hover {
  opacity: 0.7;
}

/* Form Inputs */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 2px solid #ddd;
  border-radius: 8px;  /* Slightly rounded corners */
  box-sizing: border-box;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f9f9f9; /* Light background color */
}

/* Focus Effects */
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #5f9ea0;
  outline: none;
  box-shadow: 0 0 8px rgba(95, 158, 160, 0.5); /* Soft shadow on focus */
}

/* Hover Effects */
input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover {
  border-color: #aaa;  /* Subtle color change on hover */
}

/* Submit Button */
button {
  padding: 12px 25px;
  background-color: #5f9ea0;
  color: white;
  border: none;
  border-radius: 50px; /* Rounded button */
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #4e8c8b;
  transform: translateY(-2px); /* Slight hover lift effect */
}

button:active {
  transform: translateY(1px); /* Slight press effect */
}

/* Footer Styling for Small Screens */
footer {
  text-align: center;
  padding: 20px;
  background-color: #f1f1f1;
  margin-top: 40px;
  color: #333;
}

footer p {
  font-size: 1rem;
  margin: 10px 0;
}

/* Animation Keyframes */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .MainPageSections {
    padding: 60px 20px;
  }

  .main-image {
    max-width: 90%;
  }

  header .logo {
    max-width: 80px;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin-bottom: 10px;
  }

  .footer-container {
    flex-direction: column;
    padding: 30px 20px;
  }

  .footer-left, .footer-right {
    text-align: center;
  }

  .footer-right .social-media a {
    margin: 5px;
  }
}

@media (max-width: 768px) {
  .MainPageSections {
    padding: 40px 10px;
  }

  header .logo {
    max-width: 70px;
  }

  .main-image {
    max-width: 85%;
  }

  form {
    padding: 20px;
    width: 90%; /* Adjust form width */
  }

  form h1 {
    font-size: 1.8rem; /* Smaller heading for mobile */
  }

  input[type="text"],
  input[type="email"],
  textarea {
    padding: 12px;
  }

  button {
    padding: 12px 0;
    font-size: 1.1rem;
  }

  footer {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .MainPageSections {
    padding: 30px 10px;
  }

  form {
    padding: 15px;
    width: 85%; /* Further adjust form width */
  }

  form h1 {
    font-size: 1.6rem;
  }

  input[type="text"],
  input[type="email"],
  textarea {
    padding: 10px;
  }

  button {
    padding: 10px 0;
    font-size: 1rem;
  }

  footer {
    font-size: 0.85rem;
  }
}
/* Contact Us Page Specific Styles */
form {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.9); /* Light background for the form */
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Soft shadow around the form */
}

form h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  animation: fadeInUp 1.5s ease-out;
}

form label {
  display: block;
  font-size: 1rem;
  color: #333;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 1rem;
  background-color: #f9f9f9;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

/* Focus Effects */
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #5f9ea0;
  outline: none;
  box-shadow: 0 0 8px rgba(95, 158, 160, 0.5); /* Soft shadow on focus */
}

/* Hover Effects */
input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover {
  border-color: #aaa;
}

/* Submit Button */
button {
  padding: 12px 25px;
  background-color: #5f9ea0;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
}

button:hover {
  background-color: #4e8c8b;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(1px);
}

/* Add some padding to the page sections for better readability */
main {
  padding: 40px 20px;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #f1f1f1;
  margin-top: 40px;
  color: #333;
}

footer p {
  font-size: 1rem;
  margin: 10px 0;
}

/* Animation Keyframes */
@keyframes fadeInUp {
0% {
  opacity: 0;
  transform: translateY(20px);
}
100% {
  opacity: 1;
  transform: translateY(0);
}
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  form {
      padding: 30px;
      width: 90%;
  }

  footer {
      font-size: 0.9rem;
  }
}
.sample {

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}


.partners-intro {
  text-align: center;
  padding: 50px 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  margin: 20px auto;
  max-width: 1200px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.partner {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
}

.partner-logo {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.partner h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.partner p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
}

.partner-link {
  display: inline-block;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.partner-link:hover {
  color: #0056b3;
}

.partners-cta {
  text-align: center;
  padding: 40px 20px;
  background-color: #5f9ea0;
  color: white;
  border-radius: 10px;
  margin: 20px auto;
  max-width: 1200px;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: #5f9ea0;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
  background-color: #4e8c8b;
  color: white;
}
.team-members {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.team-member {
  text-align: center;
  flex-basis: 250px;  /* Adjust the width of each team member block */
}

.team-member img {
  width: 150px;  /* Adjust the width of the images */
  height: 150px;  /* Adjust the height of the images */
  border-radius: 50%;  /* Circular image */
  object-fit: cover;  /* Ensure the image fits within the specified dimensions */
  margin-bottom: 20px;
}

.team-member h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.team-member p {
  font-size: 1rem;
  color: #555;
}
.learn-more-container {
  text-align: center;
  margin-top: 20px;
}

.learn-more-button {
  padding: 12px 25px;
  background-color: #5f9ea0;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.learn-more-button:hover {
  background-color: #4e8c8b;
  transform: translateY(-2px); /* Slight hover effect */
}

.learn-more-button:active {
  transform: translateY(1px); /* Slight press effect */
}
