/* style/about.css */

/* Variables and Base Styles */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #ffffff;
  --background-dark: #26A9E0; /* Using primary color for dark sections */
  --login-button-color: #EA7C07;
}

.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light body background */
  background-color: var(--background-light); /* Assuming light body background from shared.css */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-about__keyword {
  font-weight: bold;
  color: var(--primary-color);
}

.page-about__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-about__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-about a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-about a:hover {
  text-decoration: underline;
}

/* Buttons */
.page-about__btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background-color: #1a8cc7; /* Manually darkened primary color */
  text-decoration: none;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  color: var(--text-light);
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-light);
}

/* Section Backgrounds for Contrast */
.page-about__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
  padding: 60px 0;
}

.page-about__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 60px 0;
}

.page-about__dark-bg .page-about__section-title,
.page-about__dark-bg .page-about__sub-title,
.page-about__dark-bg .page-about__keyword,
.page-about__dark-bg a {
  color: var(--text-light);
}

.page-about__dark-bg a:hover {
  text-decoration: underline;
}

/* USP Section */
.page-about__usp-grid,
.page-about__commitments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__usp-card,
.page-about__commitment-item {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for dark bg */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
}

.page-about__usp-card-title,
.page-about__commitment-title {
  font-size: 1.5em;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-about__usp-image,
.page-about__commitment-image,
.page-about__team-member-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block; /* Ensure no extra space below image */
  margin: 0 auto;
}

/* Team Section */
.page-about__team-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-about__team-member-image {
  width: 100%; /* For smaller screens */
  max-width: 400px; /* Max width for larger screens */
  height: 300px;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 30px;
}

.page-about__faq-item {
  background-color: var(--background-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-dark);
}