/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--background-color, #1a1a2e);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-about__section-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding */
  overflow: hidden;
  color: #ffffff;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  display: block;
  margin-bottom: 40px; /* Space between image and text */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-about__main-title {
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 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;
  max-width: 100%;
}

.page-about__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

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

/* Mission & Vision Section */
.page-about__mission-vision-section {
  padding: 80px 0;
}

.page-about__dark-section {
  background-color: #1a1a2e; /* Ensure dark background for contrast */
  color: #ffffff;
}

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

.page-about__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent card background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff; /* Light text for dark card background */
}

.page-about__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

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

.page-about__card-text {
  font-size: 1.1em;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Core Values Section */
.page-about__values-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-about__values-section .page-about__section-title {
  color: #333333;
}

.page-about__values-section .page-about__intro-text {
  color: #555555;
}

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

.page-about__value-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.page-about__value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-about__value-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__value-description {
  font-size: 1em;
  color: #555555;
}

/* Security Section */
.page-about__security-section {
  padding: 80px 0;
}

.page-about__security-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
}

.page-about__security-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-about__security-text {
  flex: 1;
  max-width: 50%;
  color: #f0f0f0;
}

.page-about__security-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-about__security-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.page-about__security-features li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%2326A9E0"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-about__security-features li strong {
  color: #26A9E0;
}

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

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

.page-about__cta-section .page-about__intro-text {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-about__faq-section .page-about__section-title {
  color: #333333;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

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

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

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

.page-about__faq-item[open] .page-about__faq-question {
  border-bottom: 1px solid #dddddd;
}

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

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

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 2.2em;
  }

  .page-about__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-about__hero-description {
    font-size: 1.15em;
  }

  .page-about__security-content {
    flex-direction: column;
  }

  .page-about__security-image,
  .page-about__security-text {
    max-width: 100%;
  }

  .page-about__security-image {
    margin-bottom: 30px;
  }
}

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

  .page-about__hero-section,
  .page-about__mission-vision-section,
  .page-about__values-section,
  .page-about__security-section,
  .page-about__cta-section,
  .page-about__faq-section {
    padding: 40px 0;
  }

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

  .page-about__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
  }

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

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-about__card {
    padding: 25px;
  }

  .page-about__card-title {
    font-size: 1.5em;
  }

  .page-about__card-text {
    font-size: 0.95em;
  }

  .page-about__value-title {
    font-size: 1.3em;
  }

  .page-about__value-description {
    font-size: 0.9em;
  }

  .page-about__security-text p,
  .page-about__security-features li {
    font-size: 1em;
  }

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

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

  /* Image responsive rules */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__hero-section,
  .page-about__mission-vision-section,
  .page-about__values-section,
  .page-about__security-section,
  .page-about__cta-section,
  .page-about__faq-section,
  .page-about__card,
  .page-about__container,
  .page-about__cta-buttons,
  .page-about__value-item,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-section { /* Specific override for hero section padding */
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }
  .page-about__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}