/* style/about.css */

/* General page styles */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  padding-top: 10px; /* Small top padding, assuming body has --header-offset */
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

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

.page-about__section--vision,
.page-about__section--commitment,
.page-about__section--team,
.page-about__section--future,
.page-about__section--contact {
  padding: 60px 0;
}

.page-about__dark-section {
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Using brand colors for dark section */
  color: #ffffff; /* White text for dark background */
}

.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #1F2D3D; /* Text Main */
}

.page-about__dark-section .page-about__section-title {
  color: #ffffff; /* White title on dark background */
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #2F6BFF; /* Main color for sub-titles */
}

.page-about__dark-section .page-about__sub-title {
  color: #ffffff; /* White sub-title on dark background */
}

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

.page-about__list li {
  margin-bottom: 10px;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Image above content */
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #F4F7FB; /* Background */
  padding-bottom: 60px;
}

.page-about__hero-image {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Min size */
  min-height: 200px; /* Min size */
}

.page-about__hero-content {
  padding: 30px 15px 0;
  max-width: 900px;
  z-index: 1;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* H1 font size with clamp */
  font-weight: 800;
  color: #2F6BFF; /* Main color */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #1F2D3D; /* Text Main */
}

.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on mobile */
  width: 100%;
  max-width: 500px; /* Constrain button group width */
  margin: 0 auto;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box; /* Include padding in width */
  max-width: 100%; /* Ensure button doesn't overflow */
  text-align: center;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button custom color */
  color: #ffffff;
  border: none;
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF; /* Border custom color */
}

.page-about__btn-secondary:hover {
  background: #2F6BFF;
  color: #ffffff;
}

/* Content Blocks with Image */
.page-about__content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

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

.page-about__text-block {
  flex: 1;
  min-width: 0; /* Allow flex item to shrink */
}

.page-about__image-block {
  flex: 1;
  min-width: 0; /* Allow flex item to shrink */
  padding: 10px;
  border: 1px solid #D6E2FF; /* Border custom color */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-top: 15px;
  min-width: 200px; /* Min size */
  min-height: 200px; /* Min size */
}