/* style/about.css */

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

.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-about-text-main); /* Default text color for the page */
  background-color: var(--page-about-background); /* Page background */
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--page-about-deep-green);
  overflow: hidden; /* Ensure no overflow from image */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for aesthetic */
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-about__hero-content {
  padding: 20px;
  max-width: 900px;
  margin-bottom: 40px;
}

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

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

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box; /* Include padding in width */
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-about__btn-primary {
  background: var(--page-about-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-about__btn-secondary {
  background: var(--page-about-card-bg);
  color: var(--page-about-primary);
  border: 2px solid var(--page-about-primary);
}

.page-about__btn-secondary:hover {
  background: var(--page-about-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Section Titles */
.page-about__section-title {
  font-size: 2.5rem;
  color: var(--page-about-gold);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-about__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--page-about-text-secondary);
  text-align: justify;
}

/* Introduction Section */
.page-about__introduction-section {
  padding: 60px 0;
  background-color: var(--page-about-background);
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
  padding: 60px 0;
  background-color: var(--page-about-deep-green);
}

.page-about__flex-group {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}