/* style/about.css */

/* General styles for the about page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #f8f8f8; /* Inherited from body, but explicitly set for clarity */
}

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

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

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

.page-about__section-title {
  font-size: 38px;
  color: #000080; /* Dark blue for main titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

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

.page-about__sub-title {
  font-size: 28px;
  color: #000080; /* Dark blue for sub titles */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-about__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  color: #444444;
}

.page-about__text-block a {
  color: #000080;
  text-decoration: underline;
}

.page-about__text-block a:hover {
  color: #FFD700;
}

.page-about__highlight {
  color: #000080; /* Use dark blue for highlights on light background */
  font-weight: bold;
}

/* 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;
  background: linear-gradient(135deg, #FFD700, #000080); /* Gold to Dark Blue gradient */
  color: #ffffff; /* White text on dark background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-about__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum size for all images */
  min-height: 200px;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-about__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff; /* White text on dark background */
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly off-white for contrast */
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Gold button */
  color: #000080; /* Dark blue text on gold button */
  text-decoration: none;
  border-radius: 50px; /* Pill-shaped button */
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Image Block Styling */
.page-about__image-block {
  margin: 40px 0;
  text-align: center;
}

.page-about__image-block img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  min-width: 200px; /* Minimum size for all images */
  min-height: 200px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid;
  cursor: pointer;
  box-sizing: border-box; /* Ensure padding/border don't add to max-width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-about__btn-primary {
  background: #FFD700; /* Gold button */
  color: #000080; /* Dark blue text */
  border-color: #FFD700;
}

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

.page-about__btn-secondary {
  background: transparent;
  color: #000080; /* Dark blue text */
  border-color: #000080;
}

.page-about__btn-secondary:hover {
  background: #000080;
  color: #FFD700; /* Gold text on dark blue hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-about__faq-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
}