/* style/about.css */

/* Custom Colors from requirements */
:root {
  --page-about-bg: #08160F;
  --page-about-card-bg: #11271B;
  --page-about-text-main: #F2FFF6;
  --page-about-text-secondary: #A7D9B8;
  --page-about-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-about-border: #2E7A4E;
  --page-about-glow: #57E38D;
  --page-about-gold: #F2C14E;
  --page-about-divider: #1E3A2A;
  --page-about-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-about {
  background-color: var(--page-about-bg);
  color: var(--page-about-text-main); /* Light text on dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Add some padding at the bottom */
}

/* Main sections padding and max-width */
.page-about__section {
  padding: 60px 20px;
  position: relative;
  z-index: 1; /* Ensure content is above any potential background elements */
}

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

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 80px; /* Small top padding, larger bottom padding */
  position: relative;
  overflow: hidden;
  background-color: var(--page-about-deep-green); /* Fallback background for hero */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 10px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-about__hero-content {
  max-width: 900px;
  position: relative; /* Ensure content is above the image but not overlapping */
  z-index: 2;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: var(--page-about-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__description {
  font-size: 1.2rem;
  color: var(--page-about-text-secondary);
  margin-bottom: 30px;
}

/* Section Titles */
.page-about__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--page-about-text-main);
  text-align: center;
  margin-bottom: 40px;
  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: var(--page-about-gold);
  border-radius: 2px;
}