/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-about__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-about__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
}

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

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

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

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7fb8;
  border-color: #1a7fb8;
}

.page-about__btn-link {
  background: none;
  color: #26A9E0;
  border: 2px solid transparent;
  padding: 0;
  font-weight: 600;
}

.page-about__btn-link:hover {
  color: #1a7fb8;
  text-decoration: underline;
}

/* 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 */
  overflow: hidden;
  color: #ffffff;
}

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

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text block */
  border-radius: 10px;
  margin-top: -100px; /* Overlap slightly with image below */
  max-width: 900px;
  box-sizing: border-box;
}

.page-about__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Introduction Section */
.page-about__introduction-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Darker background for contrast */
  color: #ffffff;
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-about__card {
  background-color: rgba(255, 255, 255, 0.08); /* Light transparent background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

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

.page-about__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__card-text {
  font-size: 1rem;
  text-align: justify;
}

/* Values Section */
.page-about__values-section {
  padding: 60px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-about__values-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-about__value-item {
  background-color: rgba(38, 169, 224, 0.1); /* Light brand color transparent background */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border-left: 5px solid #26A9E0;
}

.page-about__value-title {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__value-description {
  font-size: 0.95rem;
}

/* Services Overview Section */
.page-about__services-overview-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-about__service-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__service-image {
  width: 100%;
  height: 200px; /* Consistent image height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-about__service-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__service-title a:hover {
  text-decoration: underline;
  color: #1a7fb8;
}

.page-about__service-description {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Security Section */
.page-about__security-section {
  padding: 60px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-about__security-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__security-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-about__security-title {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__security-description {
  font-size: 0.95rem;
}

/* Support Section */
.page-about__support-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #ffffff;
  text-align: center;
}

.page-about__support-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-about__contact-methods {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-about__faq-list {
  margin-top: 40px;
}

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

.page-about__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffffff;
  background-color: #26A9E0;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-about__faq-item summary:hover {
  background-color: #1a7fb8;
}

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

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

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

.page-about__faq-answer {
  padding: 15px 25px 25px 25px;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  font-size: 0.95rem;
  color: #f0f0f0;
}

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

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

.page-about__faq-answer a:hover {
  color: #1a7fb8;
}

/* CTA Section */
.page-about__cta-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__container,
  .page-about__hero-content,
  .page-about__cta-buttons,
  .page-about__contact-methods,
  .page-about__grid-container,
  .page-about__values-list,
  .page-about__service-cards,
  .page-about__security-item,
  .page-about__faq-list {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* Body handles header offset */
    padding-bottom: 40px !important;
  }

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

  .page-about__hero-description {
    font-size: 1rem;
  }

  .page-about__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .page-about__text-block {
    font-size: 0.95rem;
  }

  .page-about__cta-buttons,
  .page-about__contact-methods {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 15px 20px !important;
  }

  .page-about__card,
  .page-about__value-item,
  .page-about__service-card,
  .page-about__security-item {
    padding: 20px;
  }

  .page-about__card-image,
  .page-about__service-image {
    height: 180px;
  }

  /* Responsive images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure image containers don't overflow */
  .page-about__hero-image-wrapper,
  .page-about__card,
  .page-about__service-card,
  .page-about__security-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

@media (max-width: 480px) {
  .page-about__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }

  .page-about__hero-description {
    font-size: 0.9rem;
  }

  .page-about__section-title {
    font-size: clamp(1.4rem, 8vw, 1.8rem);
  }

  .page-about__cta-buttons,
  .page-about__contact-methods {
    gap: 10px;
  }

  .page-about__faq-item summary {
    font-size: 0.95rem;
    padding: 12px 15px;
  }
}