/* style/about.css */

/* --- General 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: transparent; /* Body handles actual background */
}

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

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__dark-section {
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #ffffff; /* White background for cards/elements in dark sections */
  color: #333333; /* Dark text for light background */
}

.page-about__heading {
  font-size: clamp(2em, 3.5vw, 2.5em);
  margin-bottom: 30px;
  color: #ffffff; /* Default for headings in dark background */
  font-weight: bold;
}

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

.page-about__sub-heading {
  font-size: clamp(1.5em, 2.5vw, 1.8em);
  margin-top: 30px;
  margin-bottom: 15px;
  color: #ffffff; /* Default for sub-headings in dark background */
  font-weight: bold;
}

.page-about__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Slightly off-white for paragraphs */
}

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

.page-about__link-text {
  color: #FFFF00; /* Yellow for links */
  text-decoration: none;
  font-weight: bold;
}

.page-about__link-text:hover {
  text-decoration: underline;
}

/* --- Hero Section --- */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
}

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-about__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FFFF00; /* Yellow for main title */
  margin-bottom: 20px;
  max-width: 100%; /* Ensure it doesn't overflow */
  font-size: clamp(2.5em, 4vw, 3.5em); /* Clamp for H1 desktop */
}

.page-about__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-about__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

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

.page-about__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #FFFF00;
}

.page-about__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
}

.page-about__btn-primary--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-about__btn-link {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #017439;
}