/* style/about-us.css */

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

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

.page-about-us__section {
  padding: 60px 0;
  text-align: center;
}

.page-about-us__section-title {
  font-size: clamp(2.5rem, 4vw, 3rem); /* Responsive font size for H2 */
  font-weight: 700;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-about-us__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-about-us__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: left;
}

.page-about-us__text-block p {
  margin-bottom: 15px;
}

/* Hero Section */
.page-about-us__hero-section {
  position: relative;
  padding: 0; /* Remove default padding as image and content are separate blocks */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.page-about-us__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for aesthetic */
  overflow: hidden;
}

.page-about-us__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-about-us__hero-content {
  padding: 40px 20px;
  background-color: #FFFFFF; /* Ensure good contrast */
  width: 100%;
  box-sizing: border-box;
}

.page-about-us__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 size */
}

.page-about-us__tagline {
  font-size: 1.25rem;
  color: #333333;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-about-us__btn-primary,
.page-about-us__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about-us__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  margin-right: 15px;
}

.page-about-us__btn-primary:hover {
  background-color: #1a7fb3;
  border-color: #1a7fb3;
}

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

.page-about-us__btn-secondary:hover {
  background-color: #e0f2f7;
}

/* Mission & Vision Section */
.page-about-us__mission-vision .page-about-us__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about-us__mission-vision .page-about-us__image-block {
  flex: 1;
}

.page-about-us__mission-vision .page-about-us__text-block {
  flex: 1.5;
}

/* Core Values Section */
.page-about-us__core-values {
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff; /* White text for contrast */
}

.page-about-us__core-values .page-about-us__section-title {
  color: #ffffff;
}

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

.page-about-us__value-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about-us__value-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about-us__value-card p {
  font-size: 1rem;
  line-height: 1.5;
}

.page-about-us__image--center {
  margin-top: 40px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

/* Why Choose Us Section */
.page-about-us__why-choose-us .page-about-us__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-about-us__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-about-us__feature-item:hover {
  transform: translateY(-5px);
}

.page-about-us__feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

/* Video Section */
.page-about-us__video-section {
  padding: 10px 0 60px 0; /* Small top padding, normal bottom */
}

.page-about-us__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 30px auto;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
}

.page-about-us__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-about-us__cta-video {
  margin-top: 30px;
}

/* Security & Responsible Section */
.page-about-us__security-responsible {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about-us__security-responsible .page-about-us__section-title {
  color: #ffffff;
}

.page-about-us__security-responsible .page-about-us__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about-us__security-responsible .page-about-us__image-block {
  flex: 1;
}

.page-about-us__security-responsible .page-about-us__text-block {
  flex: 1.5;
}

/* Team & Achievements Section */
.page-about-us__team-achievements .page-about-us__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

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

.page-about-us__achievements-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  display: flex;
  align-items: flex-start;
}

.page-about-us__list-icon {
  color: #26A9E0;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
  line-height: 1;
}

/* FAQ Section */
.page-about-us__faq-section {
  padding-bottom: 80px;
}

.page-about-us__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-about-us__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.page-about-us__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  outline: none;
}

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

.page-about-us__faq-qtext {
  flex-grow: 1;
  margin-right: 10px;
}

.page-about-us__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-about-us__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.page-about-us__faq-answer p {
  margin-bottom: 10px;
}

.page-about-us__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

/* CTA Section */
.page-about-us__cta-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 80px 0;
}

.page-about-us__cta-section .page-about-us__section-title {
  color: #ffffff;
}

.page-about-us__cta-section .page-about-us__tagline {
  color: #ffffff;
  margin-bottom: 40px;
}

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

.page-about-us__image--margin-top {
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about-us__mission-vision .page-about-us__content-wrapper,
  .page-about-us__security-responsible .page-about-us__content-wrapper {
    flex-direction: column;
  }

  .page-about-us__security-responsible .page-about-us__image-block {
    order: -1; /* Image appears above text on smaller screens */
  }

  .page-about-us__team-achievements .page-about-us__content-grid {
    grid-template-columns: 1fr;
  }

  .page-about-us__btn-primary,
  .page-about-us__btn-secondary {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .page-about-us__section {
    padding: 40px 0;
  }

  .page-about-us__container {
    padding: 0 15px;
  }

  .page-about-us__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-about-us__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-about-us__tagline {
    font-size: 1.1rem;
  }

  .page-about-us__text-block,
  .page-about-us__value-card p,
  .page-about-us__achievements-list li,
  .page-about-us__faq-answer {
    font-size: 1rem;
  }

  .page-about-us__btn-primary,
  .page-about-us__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 10px !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about-us__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-about-us__hero-content {
    padding: 30px 15px;
  }

  .page-about-us img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about-us__image-block,
  .page-about-us__video-section,
  .page-about-us__video-container,
  .page-about-us__video-wrapper,
  .page-about-us__cta-buttons,
  .page-about-us__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-about-us__video-section {
    padding-top: 10px !important; /* body has --header-offset */
  }

  .page-about-us__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about-us__faq-item summary {
    font-size: 1.1rem;
    padding: 15px;
  }

  .page-about-us__faq-answer {
    padding: 0 15px 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-about-us__section-title {
    font-size: 1.8rem;
  }

  .page-about-us__main-title {
    font-size: clamp(1.8rem, 10vw, 2.2rem);
  }

  .page-about-us__value-title {
    font-size: 1.3rem;
  }

  .page-about-us__feature-title {
    font-size: 1.2rem;
  }
}

/* Ensure images within content sections are at least 200px wide for content */
.page-about-us__mission-vision .page-about-us__image,
.page-about-us__core-values .page-about-us__image,
.page-about-us__why-choose-us .page-about-us__image,
.page-about-us__security-responsible .page-about-us__image,
.page-about-us__cta-section .page-about-us__image {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure no CSS filter changes image colors */
.page-about-us img {
  filter: none;
}

/* Contrast fixes for specific dark/light backgrounds */
.page-about-us__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about-us__dark-bg .page-about-us__section-title,
.page-about-us__dark-bg .page-about-us__sub-title {
  color: #ffffff;
}

.page-about-us__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-about-us__light-bg .page-about-us__section-title,
.page-about-us__light-bg .page-about-us__sub-title {
  color: #26A9E0;
}