/* Header Section */
.header {
  position: relative;
  width: 100%;
  height: 400px; /* Increased height */
  min-height: fit-content;
  color: white;
  overflow: hidden;
  text-align: justify;
}

.header > img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
}

.header-content {
  position: relative;
  padding: 1rem;
  height: 100%;
  width: 100%;
}

.header-content h1 {
  font-size: 2.5rem; /* Adjust font size as needed */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.header-content p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%);
  transform: translateX(-50%);
  font-size: 1.5rem; /* Adjust font size as needed */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  color: #ffff;
  font-weight: bold;
  word-spacing: 2px;
}

/* gray Background Section */
.gray-bg {
  background-color: #292929;
  padding: 9px;
  text-align: justify-all;
  font-size: 16px;
  font-weight: bold;
  color: white;
  padding-left: 30px;
  font-size: 0.9rem;
}

/* General Styles */
.hero-section {
  display: flex;
  align-items: center; /* Vertically center the content */
  justify-content: center; /* Horizontally center the content */
  padding: 20px;
  width: 90%;
  max-width: 1200px; /* Limit the width of the section */
  margin: 0 auto; /* Center the section on the page */
  box-sizing: border-box;
  gap: 20px; /* Add consistent spacing between elements */
}

/* Mission Section: Image on the left, Text on the right */
.hero-section.mission {
  flex-direction: row; /* Default direction */
}

.hero-section.mission .hero-image {
  flex: 1;
  max-width: 45%; /* Adjust image width for balance */
}

.hero-section.mission .hero-text {
  flex: 1;
  max-width: 45%; /* Adjust text width for balance */
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

/* Vision Section: Image on the right, Text on the left */
.hero-section.vision {
  flex-direction: row; /* Reverse direction */
}

.hero-section.vision .hero-image {
  flex: 1;
  max-width: 45%; /* Adjust image width for balance */
}

.hero-section.vision .hero-text {
  flex: 1;
  max-width: 45%; /* Adjust text width for balance */
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

/* Image Styling */
.hero-image img {
  width: 80%; /* Ensure it fills the container */
  height: 70%; /* Maintain aspect ratio */
  display: block; /* Prevent inline spacing */
  border-radius: 10px; /* Optional: Adds rounded corners to the image */
}

/* Hover Effect */
.hero-section:hover .hero-text {
  transform: scale(1.02); /* Slightly enlarge text block */
}

/* Utility: Ensure consistent spacing */
.hero-section > * {
  margin: 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
  text-align: center;
}

.image {
  margin-bottom: 20px;
}

.image img {
  width: 100%;
  height: 70%;
  display: block;
  border-radius: 10px; /* Optional: Adds rounded corners to the image */
}

@keyframes slideIn {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.text-content {
  margin-top: 20px;
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  text-align: left;
  transition: all 0.3s ease; /* Smooth transition effect */
}

.text-content ul {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 20px;
}

.text-content p {
  margin-top: 20px;
  font-size: 16px;
  color: #333;
  line-height: 1.8;
}

/* Hover effect for the text-content section */
.text-content:hover {
  transform: scale(1.02); /* Slightly enlarge the text content */
}
