/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Inherit from shared.css, assumed dark */
}

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

.page-about__container--flex {
  display: flex;
  gap: 40px;
  align-items: center;
}

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

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

.page-about__content-column {
  flex: 1;
}

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

.page-about__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  box-sizing: border-box;
}

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

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-about__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-about__subtitle {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-about__intro-section, .page-about__history-section, .page-about__products-section, .page-about__team-contact-section, .page-about__faq-section {
  padding: 80px 0;
  background-color: var(--black-color); /* Dark background */
  color: #ffffff;
}

.page-about__intro-section .page-about__text-block, 
.page-about__history-section .page-about__text-block, 
.page-about__products-section .page-about__text-block, 
.page-about__team-contact-section .page-about__text-block, 
.page-about__faq-section .page-about__text-block {
  color: #ffffff;
}

.page-about__dark-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__dark-section .page-about__section-title {
  color: #ffffff;
}

.page-about__dark-section .page-about__section-title::after {
  background-color: #ffffff;
}

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

.page-about__dark-section .page-about__text-block {
  color: #ffffff;
}

.page-about__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
}

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

.page-about__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #26A9E0;
  box-sizing: border-box;
}

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

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

.page-about__cta-buttons--left {
  justify-content: flex-start;
}

.page-about__cta-buttons--center {
  justify-content: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-about__image--rounded {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__history-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  padding: 20px 0;
}

.page-about__history-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #26A9E0;
  transform: translateX(-50%);
}

.page-about__timeline-item {
  position: relative;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: calc(50% - 40px);
}

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

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

.page-about__timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background-color: #26A9E0;
  border-radius: 50%;
  border: 4px solid #ffffff;
  z-index: 1;
}

.page-about__timeline-item:nth-child(odd)::before {
  right: -50px;
}

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

.page-about__timeline-year {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-about__values-list {
  list-style: none;
  padding: 0;
}

.page-about__values-item {
  margin-bottom: 30px;
}

.page-about__values-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
}

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

.page-about__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  color: #ffffff;
}

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

.page-about__card-title {
  font-size: 1.4em;
  margin: 15px 0;
  color: #26A9E0;
}

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

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

.page-about__card-description {
  font-size: 1em;
  padding: 0 20px;
  color: #f0f0f0;
}

.page-about__security-item, .page-about__reason-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-about__security-item .page-about__subtitle, .page-about__reason-item .page-about__subtitle {
  color: #26A9E0;
}

.page-about__cta-final-section {
  padding: 100px 0;
  background-color: #26A9E0;
  text-align: center;
  color: #ffffff;
}

.page-about__cta-final-section .page-about__section-title {
  color: #ffffff;
}

.page-about__cta-final-section .page-about__section-title::after {
  background-color: #ffffff;
}

.page-about__cta-final-section .page-about__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #ffffff;
}

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

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  list-style: none;
}

.page-about__faq-question::-webkit-details-marker {
  display: none;
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__subtitle {
    font-size: 1.5em;
  }
  .page-about__container--flex {
    flex-direction: column;
  }
  .page-about__timeline-item {
    width: calc(100% - 40px);
    left: 20px !important;
    margin-left: 0 !important;
  }
  .page-about__history-timeline::before {
    left: 20px;
    transform: translateX(0);
  }
  .page-about__timeline-item::before {
    left: -20px !important;
    right: auto !important;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__text-block {
    font-size: 1em;
  }
  .page-about__container {
    padding: 15px;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary, .page-about__btn-secondary {
    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;
  }
  .page-about__cta-buttons, .page-about__product-grid, .page-about__security-grid, .page-about__reason-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-about__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__card-image {
    height: 200px;
  }
  .page-about__card, .page-about__security-item, .page-about__reason-item {
    padding: 20px;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-about__history-timeline::before {
    left: 15px;
  }
  .page-about__timeline-item {
    width: calc(100% - 15px);
    left: 0 !important;
    margin-left: 0 !important;
  }
  .page-about__timeline-item::before {
    left: -15px !important;
  }
  .page-about__hero-section .page-about__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__dark-section, .page-about__light-bg, .page-about__cta-final-section {
    padding: 60px 0;
  }
  .page-about__cta-final-section .page-about__text-block {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__subtitle {
    font-size: 1.3em;
  }
  .page-about__hero-section {
    height: 350px;
  }
  .page-about__timeline-item {
    padding: 20px;
  }
  .page-about__card-title {
    font-size: 1.2em;
  }
  .page-about__card-description {
    font-size: 0.9em;
  }
}