/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark gray for general text on light background */
  background-color: #f5f5f5; /* Light background */
}

.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-of-type(even) {
  background-color: #ebebeb;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #0A244A; /* Primary dark blue */
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

/* Hero Section */
.page-about__hero {
  background: linear-gradient(135deg, #0A244A 0%, #1A3C6B 100%); /* Dark blue gradient */
  color: #FFFFFF; /* White text on dark background */
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #E0E0E0; /* Light gray for description */
}

.page-about__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%; /* Adjust as needed */
  height: 100%;
  opacity: 0.2;
  overflow: hidden;
  z-index: 0;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1); /* Flip horizontally if needed for composition */
}

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

/* Buttons */
.page-about__btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-about__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #0A244A; /* Dark blue text on gold */
}

.page-about__btn--primary:hover {
  background-color: #E6C200; /* Slightly darker gold */
  transform: translateY(-3px);
}

.page-about__btn--secondary {
  background-color: #0A244A; /* Dark blue */
  color: #FFD700; /* Gold text on dark blue */
  border: 2px solid #FFD700;
  margin-left: 20px; /* For multiple buttons */
}

.page-about__btn--secondary:hover {
  background-color: #1A3C6B; /* Slightly lighter dark blue */
  transform: translateY(-3px);
}

/* Our Story Section */
.page-about__our-story {
  background-color: #FFFFFF;
  text-align: left;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__our-story .page-about__section-title {
  text-align: center;
}

.page-about__our-story .page-about__section-title::after {
  left: 50%;
}

.page-about__text-content p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #444444;
}

.page-about__image-wrapper {
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Values Section */
.page-about__values {
  background-color: #f0f0f0;
}

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

.page-about__value-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-about__value-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-about__value-card h3 {
  font-size: 1.5em;
  color: #0A244A; /* Primary dark blue */
  margin-bottom: 15px;
}

.page-about__value-card p {
  font-size: 1em;
  color: #555555;
}

/* CTA Section */
.page-about__cta {
  background: linear-gradient(45deg, #0A244A, #1A3C6B); /* Dark blue gradient */
  color: #FFFFFF;
  padding: 80px 0;
}

.page-about__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #E0E0E0;
}

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

/* Responsive Design */
@media (min-width: 768px) {
  .page-about__content-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-about__our-story .page-about__text-content {
    order: 2; /* Text on right */
  }
  .page-about__our-story .page-about__image-wrapper {
    order: 1; /* Image on left */
  }
  .page-about__hero-title {
    font-size: 4em;
  }
}

@media (max-width: 767px) {
  .page-about__hero {
    padding: 60px 0;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__btn--secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-about__hero-image-wrapper {
    width: 80%;
    height: 80%;
  }
  .page-about__content-grid {
    grid-template-columns: 1fr;
  }
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}