/* Smooth fade-in animation for the page */
body {
  animation: fadeIn 1.2s ease-in-out;
  background: linear-gradient(
    to bottom,
    #ffffff,
    #e0f7fa
  ); /* Gradient from white to blue */
  background-size: cover; /* Ensures the gradient covers the entire viewport */
  background-attachment: fixed; /* Prevents the gradient from scrolling */
  margin: 0;
  height: 100vh; /* Ensures the gradient spans the full viewport height */
}

/* About Us Header */
.aboutus-container {
  text-align: center;
  padding: 4rem 2rem;
  margin: 2rem auto;
  max-width: 900px;
}

.aboutus-container h1 {
  font-size: 2.5rem;
  color: #005f73;
  margin-bottom: 1rem;
}

.aboutus-container p {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
}

/* Common Section Styling */
.about-section {
  padding: 4rem 2rem; /* Increased padding for more height */
  text-align: center;
  background-color: #f9f9f9; /* Light background for contrast */
  margin: 2rem auto;
  border-radius: 15px; /* Rounded corners for a modern look */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  max-width: 1100px; /* Limit the width of the section */
}

.about-section h2 {
  font-size: 2rem;
  color: #005f73; /* Theme color */
  margin-bottom: 1rem;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem; /* Space between the image and text */
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.about-image {
  width: 300px;
  height: auto;
  border-radius: 10px; /* Rounded corners for the image */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for the image */
}

.about-content p {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.6;
  max-width: 600px; /* Limit the width of the text */
  text-align: left; /* Align text to the left */
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
