/* style/about.css */
/* body background is #1a1a2e (dark), so main text color should be #ffffff for contrast */

.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Main text color for dark body background */
  background-color: transparent; /* Body handles the background */
}

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

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #1a1a2e; /* Ensure hero section has a background */
  color: #ffffff;
  text-align: center;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  margin-top: 20px;
}

.page-about__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  /* No fixed font-size, rely on responsive scaling */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-about__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__section {
  padding: 60px 0;
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-about__section:nth-of-type(even) {
  background-color: #22223b;
}

.page-about__section-title {
  font-size: 2.5rem;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__intro-text {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__text-block p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #e0e0e0;
}

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

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

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

.page-about__card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__card-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__card p {
  font-size: 1rem;
  color: #e0e0e0;
}

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

.page-about__offering-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-about__offering-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-about__offering-title {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-about__offering-item p {
  font-size: 0.95rem;
  color: #cccccc;
}

.page-about__offering-item a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-about__offering-item a:hover {
  text-decoration: underline;
}

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

.page-about__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__security-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.page-about__security-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__security-item p {
  font-size: 1rem;
  color: #e0e0e0;
}

.page-about__security-item a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-about__contact-info {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.page-about__contact-info p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #e0e0e0;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
}

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

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

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

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

.page-about__highlight {
  color: #EA7C07;
  font-weight: bold;
}

.page-about__faq-section {
  background-color: #1a1a2e;
}

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

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-about__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: bold;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

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

.page-about__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-about__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

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

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #e0e0e0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Responsive Design --- */

/* Tablet */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-about__section-title {
    font-size: 2rem;
  }
  .page-about__content-grid {
    grid-template-columns: 1fr;
  }
  .page-about__hero-content {
    padding: 15px;
  }
  .page-about__image-wrapper:first-child {
    order: 2;
  }
  .page-about__text-block:first-child {
    order: 1;
  }
}

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

  .page-about__container {
    padding: 0 15px;
  }

  .page-about__hero-section {
    padding-bottom: 40px;
  }

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

  .page-about__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

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

  .page-about__intro-text {
    font-size: 1rem;
    margin-bottom: 40px;
  }

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

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

  .page-about__value-cards,
  .page-about__offerings-grid,
  .page-about__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__card,
  .page-about__offering-item,
  .page-about__security-item {
    padding: 20px;
  }

  .page-about__card-title,
  .page-about__offering-title,
  .page-about__security-title {
    font-size: 1.3rem;
  }

  .page-about__offering-image {
    height: 180px;
  }

  .page-about__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-about__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
  
  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-image-wrapper,
  .page-about__image-wrapper,
  .page-about__offering-item,
  .page-about__security-item,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* body already has padding-top */
  }

  .page-about__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}