/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark background from shared.css, so light text */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-about__section {
  padding: 80px 0;
}

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

.page-about__section-title {
  font-size: 36px;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 60px;
  font-weight: bold;
}

.page-about__sub-title {
  font-size: 24px;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__text-block p, .page-about__list li, .page-about__contact-list li {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-about__list {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
}

.page-about__list li {
  margin-bottom: 10px;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
  overflow: hidden;
  color: #ffffff;
  background-color: #0a0a0a;
  min-height: 600px;
  position: relative; /* Ensure text is above image */
  z-index: 1;
}

.page-about__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.9));
  z-index: 2;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
}

.page-about__hero-section .page-about__container {
  position: relative;
  z-index: 3;
}

.page-about__hero-title {
  font-size: 52px;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.page-about__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__btn-primary:hover {
  background-color: #1e87b8;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background-color: #EA7C07; /* Login color for secondary action */
  color: #ffffff;
}

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

/* Content Grid */
.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.page-about__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Why Choose Section */
.page-about__why-choose {
  background-color: #0d0d0d;
}

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

.page-about__feature-card,
.page-about__commitment-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-about__feature-card:hover,
.page-about__commitment-item:hover {
  transform: translateY(-10px);
  background-color: rgba(38, 169, 224, 0.1);
}

.page-about__feature-icon,
.page-about__commitment-icon {
  width: 100%; /* Ensure images take full width of card */
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

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

.page-about__feature-card p,
.page-about__commitment-item p {
  font-size: 16px;
  color: #e0e0e0;
}

/* Commitment Section */
.page-about__commitment {
  background-color: #1a1a1a;
}

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

/* Contact Section */
.page-about__contact-list {
  list-style-type: none;
  padding: 0;
  margin-top: 30px;
  text-align: center;
}

.page-about__contact-list li {
  font-size: 18px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-about__contact-list a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__contact-list a:hover {
  text-decoration: underline;
}

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

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #26A9E0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #1e87b8;
}

.page-about__faq-toggle {
  font-size: 24px;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.03);
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-about__faq-answer p {
  color: #e0e0e0;
  font-size: 16px;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 44px;
  }
  .page-about__section-title {
    font-size: 32px;
  }
  .page-about__content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .page-about__content-grid--reverse {
    grid-template-columns: 1fr;
  }
  .page-about__image-content {
    order: -1; /* Image first on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__section {
    padding: 60px 0;
  }
  .page-about__hero-section {
    padding: 80px 20px;
    min-height: 500px;
  }
  .page-about__hero-title {
    font-size: 36px;
  }
  .page-about__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
  }
  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  .page-about__sub-title {
    font-size: 22px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
    margin-bottom: 15px;
  }
  .page-about__feature-grid,
  .page-about__commitment-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-about__feature-card,
  .page-about__commitment-item {
    padding: 25px;
  }
  .page-about__feature-icon,
  .page-about__commitment-icon {
    height: 180px;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile specific image adaptation */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__content-grid,
  .page-about__feature-grid,
  .page-about__commitment-grid,
  .page-about__faq-list,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}