:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #017439; /* Using primary color as dark background for sections */
  --button-register: #C30808;
  --button-login: #C30808;
  --button-font-color: #FFFF00;
  --border-color: #e0e0e0;
}

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

/* --- Section Styling --- */
.page-about__section-padding {
  padding: 80px 0;
}

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

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

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-about__section-title--light {
  color: var(--text-light);
}

.page-about__section-description {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 40px;
  line-height: 1.8;
}

.page-about__section-description--light {
  color: var(--text-light);
}

.page-about__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__dark-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-about__mt-40 {
  margin-top: 40px;
}

/* --- Hero Section (Main Title Area) --- */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #3a9d5f 100%); /* Lighter green gradient */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-about__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-about__main-title {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 40px;
  line-height: 1.5;
}

/* --- CTA Button --- */
.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-register); /* Custom color for register/login */
  color: var(--button-font-color); /* Custom font color for register/login */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button:hover {
  background: #e02a2a; /* Slightly darker red on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button--secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin-left: 20px;
}

.page-about__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

.page-about__cta-button--hero {
  margin-top: 20px;
}

/* --- Content Grid Layout --- */
.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-about__text-block {
  flex: 1;
}

.page-about__text-block p {
  margin-bottom: 15px;
}

.page-about__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* --- General Grid for Cards --- */
.page-about__grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

/* --- Card Styles --- */
.page-about__card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-dark); /* Ensure text is dark on light background */
}

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

.page-about__card--dark-bg {
  background-color: #1a8b4e; /* Slightly lighter green for cards on dark background */
  color: var(--text-light);
  border: none;
}

.page-about__card--dark-bg .page-about__card-title {
  color: var(--text-light);
}

.page-about__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 15px;
  color: var(--primary-color);
  line-height: 1.4;
}

.page-about__card p {
  font-size: 16px;
  line-height: 1.7;
}

/* --- Service Card Specifics --- */
.page-about__service-card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
}

.page-about__service-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-about__service-card .page-about__card-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-top: 10px;
  margin-bottom: 10px;
}

.page-about__service-card p {
  font-size: 15px;
  margin-bottom: 20px;
}

.page-about__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

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

.page-about__btn-small {
  padding: 8px 20px;
  font-size: 14px;
}

/* --- Promo Card Specifics --- */
.page-about__promo-card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
}

.page-about__promo-card img {
  width: 100%;
  height: 250px; /* Fixed height for promo images */
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-about__promo-card .page-about__card-title {
  padding: 20px 15px 10px;
  font-size: 20px;
  color: var(--primary-color);
}

.page-about__promo-card p {
  padding: 0 15px 20px;
  font-size: 15px;
}

/* --- Feature Card Specifics (for Security & Support) --- */
.page-about__feature-card {
  background-color: #1a8b4e; /* Slightly lighter green on dark section */
  color: var(--text-light);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.page-about__feature-card img {
  width: 250px; /* Display size, matches HTML width/height */
  height: 250px; /* Display size, matches HTML width/height */
  object-fit: contain;
  margin: 0 auto 20px; /* Center image */
  display: block;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-about__feature-card .page-about__card-title {
  color: var(--text-light);
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* --- Core Values Section --- */
.page-about__value-item {
  background-color: var(--background-light);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--primary-color);
  transition: all 0.3s ease;
}

.page-about__value-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}