/* style/about.css */

/* --- Base Styles & Layout --- */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: var(--secondary-color); /* Matches body background from shared.css */
}

.page-about__section {
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

.page-about__section:last-of-type {
  border-bottom: none;
}

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

.page-about__section-title {
  font-size: 36px;
  color: #26A9E0; /* Brand primary color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

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

.page-about__text-block {
  flex: 1;
}

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

.page-about__text-block h3 {
  font-size: 24px;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__text-block ul {
  list-style-type: none;
  padding-left: 0;
}

.page-about__text-block li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-about__text-block li::before {
  content: '✓'; /* Checkmark icon */
  color: #26A9E0;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-about__image-block {
  flex: 1;
  text-align: center;
}

.page-about__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- Hero Section --- */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Fades from primary to white */
  overflow: hidden; /* Important for responsive image */
}

.page-about__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-about__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1; /* Ensure image is behind text if text is overlaid */
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent background for text readability */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: -80px; /* Overlap with image for better visual flow */
  padding-top: 100px; /* Push content down if overlapped */
}

.page-about__main-title {
  font-size: 48px;
  color: #000000; /* Dark text for contrast on light background */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: 18px;
  color: #333333;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 180px; /* Ensure buttons are not too small */
  text-align: center;
  box-sizing: border-box; /* Include padding and border in element's total width and height */
  max-width: 100%;
}

.page-about__btn-primary {
  background: #26A9E0; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-about__btn-primary:hover {
  background: #1e87c2; /* Slightly darker primary */
  border-color: #1e87c2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__btn-secondary {
  background: #ffffff; /* White background */
  color: #26A9E0; /* Primary brand color text */
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background: #f0f8ff; /* Light blue hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* --- Why Choose Us Section --- */
.page-about__why-choose-us {
  background: #f8f8f8;
}

.page-about__dark-section {
  background: #26A9E0; /* Primary brand color for dark section */
  color: #ffffff; /* White text for contrast */
}

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

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

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