/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Deep dark text for light background */
  background-color: #FFFFFF; /* Light background */
}

.page-about__hero-section {
  position: relative;
  background: linear-gradient(135deg, #26A9E0, #1a7bb5); /* Brand blue gradient */
  color: #ffffff;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
}

.page-about__hero-content {
  max-width: 900px;
  z-index: 1;
  margin-bottom: 30px;
}

.page-about__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-about__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.8;
}

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-about__section {
  padding: 60px 20px;
  background-color: #FFFFFF;
  color: #333333;
}

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

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

.page-about__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from section */
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

.page-about__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-about__content-row {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

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

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

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-about__core-values ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-about__core-values li {
  background-color: rgba(38, 169, 224, 0.1);
  border-left: 5px solid #26A9E0;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1.05em;
}

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

.page-about__product-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  color: #333333;
}

.page-about__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-about__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-about__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__card-title a:hover {
  text-decoration: underline;
}

.page-about__card-text {
  font-size: 0.95em;
  padding: 0 15px;
}

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

.page-about__advantage-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-about__advantage-card .page-about__card-title {
  color: #26A9E0;
  font-size: 1.5em;
}

.page-about__cta-section {
  text-align: center;
  background-color: #f0f8ff;
  padding: 40px;
  border-radius: 10px;
  margin-top: 50px;
}

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

.page-about__measures ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__measures li {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1.05em;
  color: #ffffff;
}

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

.page-about__faq-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  color: #333333;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #333333;
  background-color: #f0f8ff;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #e6f2ff;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-question {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
  color: #ffffff;
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px;
}

.page-about__faq-answer p {
  margin-bottom: 10px;
}

.page-about__faq-answer .page-about__btn-primary {
  margin-top: 15px;
  display: inline-block;
}

/* Buttons */
.page-about__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login orange */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-about__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #26A9E0;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
}

.page-about__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.8em;
  }

  .page-about__section-title {
    font-size: 2em;
  }

  .page-about__grid-layout {
    grid-template-columns: 1fr;
  }

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

  .page-about__product-card, .page-about__advantage-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }

  .page-about__main-title {
    font-size: 2.2em;
  }

  .page-about__intro-text {
    font-size: 1em;
  }

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

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-about__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-about__sub-title {
    font-size: 1.5em;
  }

  .page-about__core-values li,
  .page-about__measures li {
    padding: 12px 15px;
    font-size: 1em;
  }

  .page-about__product-card,
  .page-about__advantage-card {
    padding: 20px;
  }

  .page-about__card-title {
    font-size: 1.2em;
  }

  .page-about__card-text {
    font-size: 0.9em;
  }

  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-about__faq-answer {
    padding: 0 20px;
  }

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 10px 20px;
  }

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

  /* Mobile button responsiveness */
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }
  
  .page-about__cta-section {
    padding: 30px 15px;
  }

  /* Containers for mobile */
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__products-grid,
  .page-about__advantages-grid,
  .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* Ensure no horizontal scroll from content */
  .page-about {
    overflow-x: hidden;
  }

  .page-about__core-values ul,
  .page-about__measures ul {
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }

  .page-about__section-title {
    font-size: 1.6em;
  }
}