/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

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

.page-about__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
  text-align: center;
  min-height: 500px;
  background-color: #2F6BFF;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-about__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 800px;
  padding: 20px;
  color: #ffffff;
}

.page-about__main-title {
  font-size: clamp(32px, 4vw, 52px); /* Using clamp for responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__hero-description {
  font-size: clamp(16px, 1.8vw, 20px);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  margin-left: 15px;
}

.page-about__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* Mission & Vision Section */
.page-about__grid-two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__card {
  background: #FFFFFF; /* Card BG */
  color: #1F2D3D; /* Text Main */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #D6E2FF; /* Border */
}

.page-about__card-title {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Why Choose Us Section */
.page-about__dark-section {
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-about__why-choose-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-about__feature-item {
  padding: 25px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-about__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-about__feature-description {
  font-size: 16px;
  line-height: 1.6;
  color: #f0f8ff;
}

/* Values Section */
.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-about__value-item {
  padding: 30px;
}

.page-about__value-title {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-about__value-description {
  font-size: 16px;
  line-height: 1.7;
}

/* Video Section */
.page-about__video-section {
  text-align: center;
  background-color: #F4F7FB;
}

.page-about__video-description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #1F2D3D;
}

.page-about__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto 30px auto;
  background-color: #000;
}

.page-about__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-about__video-cta {
  margin-top: 20px;
}

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

.page-about__faq-item {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #1F2D3D;
  cursor: pointer;
  background-color: #FFFFFF;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-about__faq-item[open] .page-about__faq-question {
  background-color: #F4F7FB;
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: normal;
  color: #2F6BFF;
  margin-left: 15px;
}

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: #1F2D3D;
  line-height: 1.7;
}

/* Contact CTA Section */
.page-about__contact-cta-section {
  background-color: #F4F7FB;
}

.page-about__contact-card {
  text-align: center;
  padding: 50px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
}

.page-about__contact-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #1F2D3D;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-content {
    max-width: 90%;
  }
  .page-about__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-about__hero-description {
    font-size: clamp(15px, 2vw, 18px);
  }
}

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

  .page-about__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 30px;
  }

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

  /* Hero Section Mobile */
  .page-about__hero-section {
    min-height: 400px;
    padding: 10px 0;
  }

  .page-about__hero-content {
    padding: 15px;
    position: static;
    transform: none;
    margin-top: 20px;
  }

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

  .page-about__hero-description {
    font-size: clamp(14px, 4vw, 16px);
    margin-bottom: 20px;
  }

  /* Images Mobile */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__hero-image {
    filter: brightness(0.5);
  }

  /* Video Mobile */
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-about__video-section {
    padding-top: 10px !important;
  }

  /* Buttons Mobile */
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0 !important; /* Remove margin for stacked buttons */
    margin-bottom: 15px; /* Add vertical spacing */
  }
  .page-about__cta-buttons {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .page-about__card {
    padding: 20px;
  }

  .page-about__card-title {
    font-size: 20px;
  }

  .page-about__feature-title {
    font-size: 18px;
  }

  .page-about__value-title {
    font-size: 20px;
  }

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

  .page-about__faq-toggle {
    font-size: 20px;
  }

  .page-about__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-about__contact-card {
    padding: 30px 20px;
  }

  .page-about__contact-description {
    font-size: 16px;
  }
}