/* style/about.css */

/* General Styles for the About Page */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark gray for text for good contrast */
  line-height: 1.6;
  background-color: #f8f8f8; /* Light background for readability */
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__section:nth-child(even) {
  background-color: #eef4f8; /* Slightly different background for alternating sections */
}

.page-about__title {
  font-size: 3.2em;
  color: #003366; /* Primary brand color */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about__subtitle {
  font-size: 1.3em;
  color: #555555;
  margin-bottom: 40px;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #003366; /* Primary brand color */
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Auxiliary brand color */
  border-radius: 2px;
}

.page-about__button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary brand color */
  color: #003366; /* Primary brand color for text on auxiliary background */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700;
}

.page-about__button:hover {
  background-color: #e6c200; /* Darker auxiliary on hover */
  transform: translateY(-3px);
}

/* Hero Section */
.page-about__hero {
  background: linear-gradient(135deg, #003366 0%, #001a33 100%); /* Darker gradient for hero */
  color: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-about__hero .page-about__container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

/* Mission & Vision Sections */
.page-about__content-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-about__content-flex--reverse {
  flex-direction: row-reverse;
}

.page-about__text-content {
  flex: 1;
  font-size: 1.1em;
  color: #444444;
}

.page-about__text-content p {
  margin-bottom: 15px;
}

.page-about__image {
  flex: 1;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Team Section */
.page-about__team-intro {
  font-size: 1.1em;
  color: #444444;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__team-member {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-about__team-member:hover {
  transform: translateY(-10px);
}

.page-about__member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #FFD700; /* Auxiliary brand color */
}

.page-about__member-name {
  font-size: 1.5em;
  color: #003366; /* Primary brand color */
  margin-bottom: 10px;
}

.page-about__member-role {
  font-size: 1em;
  color: #666666;
}

/* Call to Action (CTA) Section */
.page-about__cta {
  background-color: #003366; /* Primary brand color as background */
  color: #ffffff;
  padding: 80px 0;
}

.page-about__cta .page-about__section-title {
  color: #FFD700; /* Auxiliary brand color for title on primary background */
}

.page-about__cta .page-about__section-title::after {
  background-color: #ffffff;
}

.page-about__cta-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-about__button--primary {
  background-color: #FFD700;
  color: #003366;
  border-color: #FFD700;
}

.page-about__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-about__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-about__button--secondary:hover {
  background-color: #FFD700;
  color: #003366;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__content-flex {
    flex-direction: column;
    text-align: center;
  }

  .page-about__content-flex--reverse {
    flex-direction: column;
  }

  .page-about__image {
    margin-bottom: 30px;
  }

  .page-about__title {
    font-size: 2.5em;
  }

  .page-about__section-title {
    font-size: 2em;
  }

  .page-about__team-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__hero {
    padding: 80px 0;
  }

  .page-about__title {
    font-size: 2em;
  }

  .page-about__subtitle {
    font-size: 1.1em;
  }

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: 1.8em;
  }

  .page-about__button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__button--primary, .page-about__button--secondary {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-about__title {
    font-size: 1.8em;
  }

  .page-about__subtitle {
    font-size: 1em;
  }

  .page-about__section-title {
    font-size: 1.5em;
  }

  .page-about__text-content, .page-about__team-intro, .page-about__cta-text {
    font-size: 0.95em;
  }

  .page-about__team-grid {
    grid-template-columns: 1fr;
  }
}