/* style/about.css */

/* Base styles for the about page */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Default light text color for dark body background */
  background-color: var(--dark-bg-1);
  line-height: 1.6;
}

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

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

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

.page-about__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #ffffff;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 40px;
}

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

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__description {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 30px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  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: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-about__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

.page-about__btn-tertiary {
  background: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

/* Values Section */
.page-about__section--values {
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-about__value-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

.page-about__value-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__value-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Products Section */
.page-about__section--products {
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

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

.page-about__product-card {
  background: rgba(0, 0, 0, 0.2);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 400px;
}

.page-about__product-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-about__product-text {
  font-size: 0.95em;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__center-cta {
  text-align: center;
  margin-top: 50px;
}

/* Security Section */
.page-about__section--security {
  background-color: #0d0d0d;
  color: #f0f0f0;
}

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

.page-about__feature-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 250px;
}

.page-about__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  display: inline-block;
}

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

.page-about__feature-text {
  font-size: 0.95em;
  color: #e0e0e0;
}

/* Team Section */
.page-about__section--team {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

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

.page-about__team-member {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 280px;
}

.page-about__team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 4px solid #26A9E0;
}

.page-about__member-name {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 8px;
}

.page-about__member-role {
  font-size: 0.95em;
  color: #e0e0e0;
}

/* Future Section */
.page-about__section--future {
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-about__section--future .page-about__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
  margin-top: 30px;
}

.page-about__section--future .page-about__btn-secondary:hover {
  background: #e0e0e0;
  color: #26A9E0;
}

/* FAQ Section */
.page-about__section--faq {
  background-color: #0d0d0d;
  color: #f0f0f0;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.page-about__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #e0e0e0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-about__faq-answer p {
  margin: 0;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__text-block {
    font-size: 1em;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
}

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

  .page-about__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-about__hero-section {
    padding: 30px 0;
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

  .page-about__hero-image,
  .page-about__product-image,
  .page-about__feature-icon,
  .page-about__team-photo {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Image containers */
  .page-about__hero-image-wrapper,
  .page-about__product-card,
  .page-about__feature-item,
  .page-about__team-member {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .page-about__values-grid,
  .page-about__products-grid,
  .page-about__security-features,
  .page-about__team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__value-card,
  .page-about__product-card,
  .page-about__feature-item,
  .page-about__team-member {
    padding: 20px;
    min-height: auto;
  }

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

  .page-about__faq-answer {
    padding: 15px 20px;
  }
  
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__faq-list {
    margin-top: 20px;
  }
}