/* style/about.css */

/* Base styles for the about page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default background for the page content */
}

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

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

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles header-offset, so small top padding */
  background-color: #F0F8FF; /* Light background for hero section */
}

.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 {
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.page-about__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for h1 */
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

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

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

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

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

/* Introduction Section */
.page-about__introduction-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Light background */
  color: #333333;
}

/* Mission & Values Section */
.page-about__mission-values-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand color as background */
  color: #FFFFFF; /* White text for contrast */
}

.page-about__mission-values-section .page-about__section-title {
  color: #FFFFFF;
}

.page-about__mission-values-section .page-about__text-block {
  color: #F0F8FF; /* Slightly off-white for body text */
}

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

.page-about__image-block {
  flex: 1;
  min-width: 300px;
}

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

.page-about__content-block {
  flex: 1;
  min-width: 300px;
}

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

.page-about__list-item {
  margin-bottom: 15px;
  font-size: 1.1em;
  position: relative;
  padding-left: 30px;
}

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

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 60px 0;
  background-color: #F8F8F8; /* Light grey background */
  color: #333333;
}

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

.page-about__feature-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
}

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

.page-about__card-text {
  font-size: 1em;
  color: #555555;
}

.page-about__security-image-wrapper {
  margin-bottom: 20px;
  text-align: center;
}

.page-about__security-icon {
  max-width: 150px; /* Smaller icon size for card */
  height: auto;
  margin: 0 auto;
}

/* Video Section */
.page-about__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding */
  background-color: #000000; /* Dark background for video */
  color: #FFFFFF;
}

.page-about__video-section .page-about__section-title {
  color: #FFFFFF;
}

.page-about__video-section .page-about__text-block {
  color: #F0F8FF;
  max-width: 800px;
  text-align: center;
}

.page-about__video-wrapper {
  width: 100%; /* Important for desktop full width */
  max-width: 1000px; /* Max width for the video player */
  margin: 30px auto 0 auto;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.page-about__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer; /* Indicate it's clickable */
}

/* Team Section */
.page-about__team-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  background-color: #F0F8FF; /* Light blue background */
  color: #333333;
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: 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: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #FFFFFF;
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-about__faq-item summary {
  list-style: none;
}

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

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

.page-about__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__grid-layout {
    flex-direction: column;
  }
  .page-about__image-block,
  .page-about__content-block {
    min-width: unset;
    width: 100%;
  }
  .page-about__hero-content {
    padding: 30px 20px;
  }
  .page-about__security-icon {
    max-width: 120px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__mission-values-section,
  .page-about__why-choose-us-section,
  .page-about__video-section,
  .page-about__team-section,
  .page-about__faq-section {
    padding: 40px 0;
  }

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

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

  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-about__description {
    font-size: 1.1em;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 15px;
    font-size: 1em;
  }

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

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

  .page-about__image-block,
  .page-about__hero-image-wrapper,
  .page-about__video-wrapper,
  .page-about__container,
  .page-about__feature-card,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }

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

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

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

  .page-about__faq-answer {
    padding: 0 15px 15px 15px;
  }
  .page-about__security-icon {
    max-width: 100px;
  }
}