* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #3D405B;
  background-color: #f0f0f0; /* Darker background for 'border' effect */
}

header {
  background: url('./home.png') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

header::after {
  content: '';
  position: absolute;
  top:0; left:0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.overlay-text {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1rem;
}

.overlay-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem; /* Increased size */
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6); /* Added shadow */
}

.overlay-text p {
  font-size: 1.2rem;
}

nav {
  background: #ffffff;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #ddd; /* Subtle border */
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #3D405B;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #5A8B73;
}

main {
    background-color: #fff; /* White background for content */
    max-width: 1400px; /* Max width for the content area */
    margin: 0 auto; /* Center the content */
    box-shadow: 0 0 20px rgba(0,0,0,0.05); /* Add a subtle shadow to the main container */
}


section {
  padding: 5rem 2rem;
  border-bottom: 1px solid #f0f0f0; /* Separator lines between sections */
}

section:last-of-type {
    border-bottom: none;
}


.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; /* Larger section titles */
  margin-bottom: 3rem;
  color: #5A8B73;
}

.mission {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.mission img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

.mission .text {
  flex: 1;
  min-width: 300px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.contact-form {
  background: #F7F7F7; /* Lighter background for the form */
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: auto;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.contact-form button {
  background-color: #5A8B73;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #4a7c67;
}

footer {
  background: #3D405B;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.footer-content {
  max-width: 1000px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .overlay-text h1 {
    font-size: 2.5rem;
  }
  nav a {
    display: block;
    margin: 10px 0;
  }
  .mission {
    flex-direction: column;
    text-align: center;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}