.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #F5F7FA; /* Light background for the main content area */
}

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

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #F5F7FA;
  text-align: center;
  padding-bottom: 40px;
}

.page-about__hero-image-wrapper {
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-about__description {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-about__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-about__btn--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.page-about__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

.page-about__btn--secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__btn--secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

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

.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-about__section-description {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

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

.page-about__text-block {
  flex: 1;
  min-width: 0;
}

.page-about__text-block p {
  margin-bottom: 1.2em;
  font-size: 1.05em;
  color: #333333;
}

.page-about__image-wrapper {
  flex: 1;
  min-width: 0;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__why-choose .page-about__section-title,
.page-about__products-services .page-about__section-title,
.page-about__contact-support .page-about__section-title {
  color: #E53935;
}

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

.page-about__feature-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #E0E0E0;
}

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

.page-about__feature-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
}

.page-about__feature-text {
  font-size: 1em;
  color: #333333;
}

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

.page-about__product-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #E0E0E0;
}

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

.page-about__product-image {
  width: 100%;
  height: 200px; /* Fixed height for product images */
  object-fit: cover;
  display: block;
}

.page-about__product-item h3,
.page-about__product-item p,
.page-about__product-item .page-about__btn {
  padding: 0 20px;
}

.page-about__product-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #E53935;
  margin: 20px 0 10px;
}

.page-about__product-text {
  font-size: 0.95em;
  color: #333333;
  margin-bottom: 20px;
}

.page-about__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-bottom: 20px;
  display: inline-block;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-about__btn--small:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.page-about__dark-section {
  background-color: #E53935;
  color: #ffffff;
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__section-description,
.page-about__dark-section .page-about__text-block p {
  color: #ffffff;
}

.page-about__dark-section .page-about__btn--secondary {
  background: #ffffff;
  color: #E53935;
  border-color: #ffffff;
}

.page-about__dark-section .page-about__btn--secondary:hover {
  background: #FF5A4F;
  color: #ffffff;
  border-color: #FF5A4F;
}

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

.page-about__contact-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #E0E0E0;
}

.page-about__contact-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
}

.page-about__contact-text {
  font-size: 1em;
  color: #333333;
  margin-bottom: 25px;
}

/* General image responsiveness */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile @media (max-width: 768px) rules */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  /* 1. Top section title + CTAs */
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 10px;
  }

  .page-about__description {
    font-size: 1em;
    margin-bottom: 25px;
    padding: 0 15px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-about__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. Single column long text containers */
  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-about__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-about__content-flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__content-flex--reverse {
    flex-direction: column;
  }

  .page-about__text-block p {
    font-size: 1em;
  }

  .page-about__features-grid,
  .page-about__products-grid,
  .page-about__contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .page-about__feature-card,
  .page-about__product-item,
  .page-about__contact-card {
    padding: 25px;
  }

  .page-about__feature-title,
  .page-about__contact-title {
    font-size: 1.3em;
  }

  .page-about__product-image {
    height: 180px; /* Adjust height for mobile */
  }

  .page-about__product-item h3,
  .page-about__product-item p,
  .page-about__product-item .page-about__btn {
    padding: 0 15px;
  }

  /* 3. General images and figure */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 4. Buttons and button containers (already covered by .page-about__btn and .page-about__cta-buttons) */
  /* Additional safety for button containers */
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* 5. Registration tutorial and FAQ blocks - N/A for this page, but structure for general long text is here */
  /* Long text blocks are handled by .page-about__text-block p and .page-about__container padding */

  .page-about__dark-section {
    padding: 40px 0;
  }
}