:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-light: #333333;
  --text-color-dark: #FFFFFF;
  --background-light: #FFFFFF;
  --background-dark: #26A9E0;
  --login-color: #EA7C07;
  --border-color: #e0e0e0;
}

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

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

.page-about__heading {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__sub-heading {
  font-size: 1.8em;
  color: var(--text-color-light);
  margin-bottom: 20px;
}

.page-about__text-block {
  flex: 1;
  padding: 20px;
}

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.page-about__image-block img,
.page-about__image-full-width img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__image-full-width {
  width: 100%;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-about__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-small {
  display: inline-block;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%; /* Ensure button adapts to container */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: var(--primary-color);
  color: var(--text-color-dark);
  border: 2px solid var(--primary-color);
}

.page-about__btn-primary:hover {
  background: #2297CC;
  border-color: #2297CC;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-about__btn-secondary:hover {
  background: #f0f0f0;
  color: #2297CC;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-about__btn-small {
  padding: 8px 15px;
  font-size: 14px;
  background: var(--primary-color);
  color: var(--text-color-dark);
  border: 1px solid var(--primary-color);
  margin-top: 10px;
}

.page-about__btn-small:hover {
  background: #2297CC;
  border-color: #2297CC;
}

/* HERO Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, var(--primary-color) 0%, #a2d7f3 100%); /* Light blue gradient */
  color: var(--text-color-dark);
}

.page-about__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-about__hero-image {
  width: 100%;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  color: var(--text-color-dark);
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark);
}

.page-about__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--login-color); /* Use login color for prominent CTA */
  color: var(--text-color-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  background: #D26F06;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button--large {
    padding: 20px 50px;
    font-size: 22px;
}

/* General Sections */
.page-about__intro-section,
.page-about__why-us-section,
.page-about__team-section,
.page-about__faq-section {
  padding: 80px 0;
  background-color: var(--background-light);
  color: var(--text-color-light);
}

.page-about__dark-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-color-dark);
}

.page-about__history-section .page-about__heading,
.page-about__responsibility-section .page-about__heading,
.page-about__cta-section .page-about__heading {
  color: var(--text-color-dark);
}

.page-about__list {
  list-style: disc;
  margin-left: 20px;
  padding: 0;
}

.page-about__list li {
  margin-bottom: 10px;
}

/* Why Us Section */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-about__feature-item {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-about__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-about__cta-bottom {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 30px;
}

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}