/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1A2E4E; /* Dark text for readability on light backgrounds */
  background-color: #f8f8f8;
}

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

/* Hero Section */
.page-about__hero {
  background-color: #1A2E4E; /* Dark blue background */
  color: #f8f8f8; /* Light text for contrast */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 46, 78, 0.9), rgba(255, 215, 0, 0.2));
  z-index: 0;
}

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

.page-about__title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  font-weight: bold;
}

.page-about__subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
}

/* General Section Styles */
.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__section:nth-of-type(even) {
  background-color: #e0e5ed; /* Lighter background for alternating sections */
}

.page-about__heading {
  font-size: 2.5em;
  color: #1A2E4E;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.page-about__heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-about__text {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #333;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Values Grid */
.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-about__value-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.page-about__value-title {
  font-size: 1.6em;
  color: #1A2E4E;
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

.page-about__value-title::before {
  content: '★'; /* Star icon */
  color: #FFD700;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  top: 0;
}

.page-about__value-text {
  font-size: 1em;
  color: #555;
}

/* Call to Action Section */
.page-about__cta {
  background-color: #FFD700; /* Gold background */
  color: #1A2E4E; /* Dark text for contrast */
  padding: 70px 0;
  text-align: center;
}

.page-about__heading--cta {
  color: #1A2E4E;
}

.page-about__heading--cta::after {
  background-color: #1A2E4E;
}

.page-about__text--cta {
  color: #1A2E4E;
  margin-bottom: 40px;
}

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

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

.page-about__btn--primary {
  background-color: #1A2E4E;
  color: #FFD700;
}

.page-about__btn--primary:hover {
  background-color: #0c1a2e;
  color: #ffe066;
  transform: translateY(-2px);
}

.page-about__btn--secondary {
  background-color: #ffffff;
  color: #1A2E4E;
  border: 2px solid #1A2E4E;
}

.page-about__btn--secondary:hover {
  background-color: #e0e5ed;
  color: #0c1a2e;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-about__title {
    font-size: 2.5em;
  }

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

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

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

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

  .page-about__value-item {
    padding: 20px;
  }

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

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

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

  .page-about__heading {
    font-size: 1.8em;
  }

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

  .page-about__btn {
    width: 80%;
    margin: 0 auto;
  }
}