:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --login-color: #EA7C07;
  --background-light: #ffffff;
  --background-dark: #1a1a1a; /* A slightly darker shade for contrast with primary */
  --border-color: #e0e0e0;
}

.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--background-light); /* Default light background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

/* Dark background sections */
.page-about__dark-bg {
  background-color: var(--primary-color); /* Use primary color as dark background */
  color: var(--text-light);
}

.page-about__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: inherit; /* Inherit from parent section (dark/light bg) */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit; /* Inherit from parent section */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* To ensure text readability */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-light);
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background-color: var(--login-color); /* Use login color for primary action */
  color: var(--text-light);
  border-color: var(--login-color);
  margin: 10px;
}

.page-about__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--primary-color);
  margin: 10px;
}

.page-about__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Video Section */
.page-about__video-section {
  padding: 60px 20px;
  text-align: center;
}

.page-about__video-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Max width for video */
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-about__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block; /* Ensure it takes full width */
  cursor: pointer;
}

/* Mission & Values */
.page-about__mission-vision {
  padding: 60px 20px;
}

.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__value-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: center;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-about__value-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-about__value-description {
  font-size: 1em;
  color: var(--text-dark);
}

.page-about__mission-image {
  display: block;
  margin: 50px auto 0 auto;
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Journey & Achievements */
.page-about__journey-achievements {
  padding: 60px 20px;
}

.page-about__timeline {
  position: relative;
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
}

.page-about__timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--secondary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.page-about__timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.page-about__timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.page-about__timeline-item:nth-child(even) {
  left: 50%;
}