/* style/about.css */

/* Base Styles for page-about */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Body background color from shared.css */
}

/* Ensure main content starts below header offset */
.page-about {
  padding-top: var(--header-offset, 120px); /* Apply header offset */
}

/* Container for consistent content width */
.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Headings */
.page-about__heading {
  font-size: 3em;
  color: #ffffff; /* Default heading color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-about__heading--white {
  color: #ffffff;
}

.page-about__sub-heading {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: bold;
}

/* Descriptions and paragraphs */
.page-about__description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__description--white {
  color: #ffffff;
}

.page-about__text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-about__text--white {
  color: #ffffff;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Include padding in width */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Break long words */
}

.page-about__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
  margin-right: 15px;
}

.page-about__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
}

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

.page-about__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
  border-color: #ffffff;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
  background-color: #017439; /* Brand primary color for hero */
  color: #ffffff;
}

.page-about__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 900;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

/* Video Section */
.page-about__video-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly different dark background */
  color: #ffffff;
  text-align: center;
}