/* style/about.css */

/* Body background is #0a0a0a (dark), so main text color should be light. */
.page-about {
  color: #ffffff; /* Default text color for the page */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Rely on shared.css for body 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: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #0a0a0a; /* Ensure dark background for this section */
}

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

.page-about__hero-content {
  position: relative; /* Ensure content is above the image if any layering, though we prevent direct overlap */
  z-index: 2;
  margin-top: 40px;
  color: #ffffff;
}

.page-about__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive font size */
}

.page-about__description {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

.page-about__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  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;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.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__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-about__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f0f0f0; /* Default for sections with dark bg */
  text-align: justify;
}

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

.page-about__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  max-width: 800px;
}

/* Sections */
.page-about__introduction-section,
.page-about__security-section,
.page-about__responsibility-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Dark background from body */
  color: #ffffff;
}

.page-about__offerings-section,
.page-about__experience-section,
.page-about__conclusion-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
}

.page-about__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-about__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__card--light {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

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

.page-about__card--light .page-about__card-title {
  color: #26A9E0;
}

.page-about__card-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__btn-link {
  display: inline-block;
  margin-top: 15px;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__btn-link:hover {
  color: #1e87b7;
  text-decoration: underline;
}

.page-about__card--light .page-about__btn-link {
  color: #26A9E0;
}

.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-about__feature-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #f0f0f0;
}

.page-about__feature-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #26A9E0;
  font-weight: bold;
}

.page-about__cta-block {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__cta-text {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #ffffff;
  font-weight: bold;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 10px 15px 40px;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-about__description {
    font-size: 1rem;
    padding: 0 10px;
  }

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

  .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__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 30px;
  }

  .page-about__text-block,
  .page-about__feature-item,
  .page-about__card-text {
    font-size: 0.95rem;
  }

  .page-about__introduction-section,
  .page-about__offerings-section,
  .page-about__security-section,
  .page-about__experience-section,
  .page-about__responsibility-section,
  .page-about__conclusion-section {
    padding: 40px 0;
  }

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

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

  .page-about__image-content {
    margin: 30px auto;
  }

  /* Mobile image and video responsive styles */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

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

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

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .page-about__section-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}