/* style/about.css */

/* General Styles for page-about */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--neon-dark-bg); /* Inherited from shared.css */
}

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

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

.page-about__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  margin-bottom: 40px;
  color: #ffffff;
  font-weight: bold;
}

.page-about__sub-title {
  font-size: clamp(1.5em, 3vw, 2em);
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-about__text-block p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-about__keyword {
  font-weight: bold;
  color: #26A9E0;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  min-height: 500px;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.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;
  text-align: center;
  padding: 0 15px;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Flexible font size */
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-about__intro-text {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.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;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

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

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

.page-about__btn-secondary:hover {
  background: #e0e0e0;
  color: #1e87c0;
}

/* Section Specific Styles */
.page-about__dark-section {
  background-color: rgba(38, 169, 224, 0.1);
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #1a1a1a; /* Darker gray for contrast on dark body */
  color: #f0f0f0;
}

.page-about__light-bg .page-about__section-title,
.page-about__light-bg .page-about__sub-title {
  color: #ffffff;
}

.page-about__light-bg p {
  color: #cccccc;
}

.page-about__grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about__grid-two-cols-reversed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about__grid-two-cols-reversed .page-about__image-block {
  order: 2;
}

.page-about__grid-two-cols-reversed .page-about__text-block {
  order: 1;
}

.page-about__image-block {
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-about__mt-40 {
  margin-top: 40px;
}

/* Core Values Grid */
.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

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

.page-about__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__card p {
  font-size: 1em;
  color: #f0f0f0;
  text-align: left;
}

/* Why Choose Section */
.page-about__grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__feature-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  color: #f0f0f0;
  border-left: 5px solid #26A9E0;
}

.page-about__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__feature-item p {
  font-size: 1em;
  color: #cccccc;
}

.page-about__cta-wrapper {
  margin-top: 50px;
}

/* FAQ Section */
.page-about__faq-section {
  text-align: left;
}

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

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

.page-about__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  background: rgba(38, 169, 224, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

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

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}

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

.page-about__faq-answer p {
  color: #f0f0f0;
  margin-bottom: 0;
}

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

.page-about__contact-cta {
  padding: 80px 0;
}

.page-about__contact-cta .page-about__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-about__contact-cta a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-about__text-center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__grid-two-cols,
  .page-about__grid-two-cols-reversed {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-about__grid-two-cols-reversed .page-about__image-block {
    order: 1;
  }

  .page-about__grid-two-cols-reversed .page-about__text-block {
    order: 2;
  }

  .page-about__values-grid,
  .page-about__grid-features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

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

  .page-about__sub-title {
    font-size: 1.4em;
  }

  .page-about__main-title {
    font-size: 2.2em;
  }

  .page-about__intro-text {
    font-size: 1em;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    margin-bottom: 10px;
  }

  .page-about__hero-content .page-about__btn-primary {
    margin-left: auto;
    margin-right: auto;
  }

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

  .page-about__hero-image-wrapper,
  .page-about__image-block,
  .page-about__card,
  .page-about__feature-item,
  .page-about__faq-item,
  .page-about__container,
  .page-about__hero-section,
  .page-about__section {
    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;
  }

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

  .page-about__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  .page-about__contact-cta .page-about__description {
    font-size: 1em;
  }

  .page-about__contact-cta {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__sub-title {
    font-size: 1.2em;
  }
  .page-about__card-title {
    font-size: 1.3em;
  }
  .page-about__feature-title {
    font-size: 1.2em;
  }
}