/* style/about.css */

/* Base styles for page-about */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  background-color: #f8f8f8;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-about__hero-description {
  font-size: 1.25rem;
  color: #555555;
  margin-bottom: 30px;
}

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

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

.page-about__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 30px;
  color: #333333;
}

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

/* Introduction Section */
.page-about__introduction-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-about__feature-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

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

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

.page-about__feature-description {
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
  text-align: justify;
}

/* Features Section (Dark Background) */
.page-about__features-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff; /* White text for dark background */
}

.page-about__features-section .page-about__section-title,
.page-about__features-section .page-about__text-block {
  color: #ffffff;
}

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

.page-about__card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #333333; /* Dark text for light card background */
}

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

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

.page-about__card-description {
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
  text-align: justify;
}

.page-about__card-description a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-about__card-description a:hover {
  text-decoration: none;
}

/* Responsibility Section */
.page-about__responsibility-section {
  padding: 80px 0;
  background-color: #f0f8ff;
}

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

.page-about__info-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

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

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

.page-about__info-description {
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
  text-align: justify;
}

.page-about__info-description a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-about__info-description a:hover {
  text-decoration: none;
}

/* Promotions Section */
.page-about__promotions-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-about__promo-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

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

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

.page-about__promo-description {
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
  text-align: justify;
}

.page-about__promo-description a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-about__promo-description a:hover {
  text-decoration: none;
}

/* Future Section */
.page-about__future-section {
  padding: 80px 0;
  background-color: #e6f7ff;
}

.page-about__future-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.page-about__future-subtitle {
  font-size: 1.6rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__future-text {
  font-size: 1.05rem;
  color: #555555;
  line-height: 1.7;
  text-align: justify;
}

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

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-about__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
  text-align: justify;
}

.page-about__faq-answer p {
  margin-top: 15px;
}

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

.page-about__faq-answer a:hover {
  text-decoration: none;
}

/* Buttons */
.page-about__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login button color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-about__btn-primary:hover {
  background-color: #d16b06;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .page-about__section-title {
    font-size: 2rem;
  }

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

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

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

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

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

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

  .page-about__introduction-section,
  .page-about__features-section,
  .page-about__responsibility-section,
  .page-about__promotions-section,
  .page-about__future-section,
  .page-about__faq-section {
    padding: 50px 0;
  }

  .page-about__feature-grid,
  .page-about__grid-3-col,
  .page-about__info-grid,
  .page-about__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__feature-item,
  .page-about__card,
  .page-about__info-item,
  .page-about__promo-card {
    padding: 20px;
  }

  .page-about__feature-title,
  .page-about__card-title,
  .page-about__info-title,
  .page-about__promo-title {
    font-size: 1.3rem;
  }

  .page-about__future-subtitle {
    font-size: 1.4rem;
  }

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

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

  /* Mobile image adaptation */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__features-section,
  .page-about__responsibility-section,
  .page-about__promotions-section,
  .page-about__future-section,
  .page-about__faq-section,
  .page-about__container,
  .page-about__card,
  .page-about__feature-item,
  .page-about__info-item,
  .page-about__promo-card,
  .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;
  }
  
  /* Buttons mobile adaptation */
  .page-about__btn-primary,
  .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;
    text-align: center;
  }

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