/* style/about.css */

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

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

/* Sections */
.page-about__section {
  padding: 60px 20px;
  background-color: var(--background-dark);
}

.page-about__section--dark {
  background-color: var(--card-bg);
}

.page-about__section--cta {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--deep-green) 0%, var(--background-dark) 100%);
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Added padding for content inside container */
  box-sizing: border-box;
}

.page-about__container--center {
  text-align: center;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--background-dark);
}

.page-about__image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width for desktop */
  margin-bottom: 30px; /* Space between image and text */
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size for content images */
  min-height: 200px;
  object-fit: cover;
}

.page-about__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 15px;
}

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

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 3rem); /* Responsive font size */
  color: var(--text-main);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}

.page-about__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-main);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
}

/* Paragraphs and Text */
.page-about__intro-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-about__paragraph {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.page-about__paragraph strong {
  color: var(--text-main);
}

.page-about__text-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-about__text-link:hover {
  text-decoration: underline;
  color: var(--glow-color);
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box; /* Crucial for mobile responsiveness */
  max-width: 100%;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
}

.page-about__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}