/* style/about.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #EA7C07;
  --text-color-light: #333333;
  --text-color-dark: #FFFFFF;
  --background-light: #FFFFFF;
  --background-dark: #26A9E0;
  --border-color: #e0e0e0;
}

.page-about {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-light);
  line-height: 1.6;
  font-size: 16px;
}

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

.page-about__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-about__section-title--white {
  color: var(--text-color-dark);
}

.page-about__intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 18px;
  line-height: 1.8;
}

.page-about__intro-text--white {
  color: var(--text-color-dark);
}

/* HERO Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: var(--background-dark);
  color: var(--text-color-dark);
  overflow: hidden;
}

.page-about__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

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

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-about__hero-content h1 {
  font-size: clamp(28px, 4vw, 48px); /* Use clamp for H1 */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-color-dark);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-content p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-color-dark);
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-about__cta-button:hover {
  background: #c56506;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
  background: var(--background-dark);
  padding: 80px 0;
  color: var(--text-color-dark);
}

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

.page-about__grid-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-about__grid-item:hover {
  transform: translateY(-5px);
}

.page-about__grid-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-about__grid-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-about__grid-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color-dark);
}

/* Core Values Section */
.page-about__values-section {
  background: var(--background-light);
  padding: 80px 0;
}

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

.page-about__value-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.page-about__card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-about__value-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-color-light);
}

/* Security Section */
.page-about__security-section {
  background: var(--background-dark);
  padding: 80px 0;
  color: var(--text-color-dark);
}

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

.page-about__security-text {
  flex: 1;
  min-width: 300px;
}

.page-about__security-text p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-color-dark);
}

.page-about__security-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-about__security-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--background-light);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.page-about__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--background-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Products Section */
.page-about__products-section {
  background: var(--background-light);
  padding: 80px 0;
}

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

.page-about__product-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.page-about__product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary-color);
}

.page-about__product-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-about__btn-primary {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-about__btn-primary:hover {
  background: #1e87b7;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Team Section */
.page-about__team-section {
  background: var(--background-dark);
  padding: 80px 0;
  color: var(--text-color-dark);
}

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

.page-about__team-member {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-about__team-member:hover {
  transform: translateY(-5px);
}

.page-about__team-member img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-about__member-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-about__team-member p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-color-dark);
}

/* Commitment Section */
.page-about__commitment-section {
  background: var(--background-light);
  padding: 80px 0;
}

.page-about__commitment-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
}

.page-about__commitment-list li {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.page-about__commitment-list li:hover {
  transform: translateX(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__commitment-list li strong {
  color: var(--primary-color);
}

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

/* FAQ Section */
.page-about__faq-section {
  background: var(--background-light);
  padding: 80px 0;
}

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

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

details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #f5f5f5;
  color: var(--primary-color);
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-color-light);
}

details.page-about__faq-item[open] .page-about__faq-qtext {
  color: var(--primary-color);
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

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

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 25px 20px;
  background: #f9f9f9;
  border-radius: 0 0 10px 10px;
}

details.page-about__faq-item .page-about__faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 32px;
  }
  .page-about__hero-content h1 {
    font-size: clamp(26px, 3.5vw, 42px);
  }
  .page-about__hero-content p {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 30px 15px;
  }
  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-about__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* Hero */
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }
  .page-about__hero-image img {
    border-radius: 8px;
  }
  .page-about__hero-content h1 {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 15px;
  }
  .page-about__hero-content p {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 18px;
    max-width: 100% !important; /* Button responsive */
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Grids */
  .page-about__content-grid,
  .page-about__values-grid,
  .page-about__product-grid,
  .page-about__team-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* Security */
  .page-about__security-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__security-image img {
    border-radius: 8px;
  }
  .page-about__btn-secondary {
    font-size: 16px;
    padding: 10px 25px;
    max-width: 100% !important; /* Button responsive */
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Product Cards */
  .page-about__product-card {
    padding: 20px;
  }
  .page-about__btn-primary {
    font-size: 15px;
    padding: 8px 20px;
    max-width: 100% !important; /* Button responsive */
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__cta-bottom .page-about__cta-button {
    max-width: 100% !important; /* Button responsive */
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Commitment List */
  .page-about__commitment-list li {
    padding: 15px 20px;
    font-size: 15px;
  }

  /* FAQ */
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px 20px;
  }
  .page-about__faq-qtext {
    font-size: 16px;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 25px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 20px 15px;
  }
  .page-about__faq-answer p {
    font-size: 15px;
  }

  /* Image responsive for all content images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 24px;
  }
  .page-about__hero-content h1 {
    font-size: clamp(22px, 8vw, 30px);
  }
  .page-about__cta-button {
    font-size: 16px;
    padding: 10px 25px;
  }
  .page-about__grid-title,
  .page-about__card-title,
  .page-about__member-name {
    font-size: 20px;
  }
  .page-about__faq-qtext {
    font-size: 15px;
  }
  .page-about__faq-toggle {
    font-size: 22px;
  }
}