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

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default text color for light body background */
  background-color: var(--secondary-color);
}

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

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

.page-about__section--no-padding {
  padding: 0;
}

.page-about__dark-section {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__sub-title,
.page-about__dark-section .page-about__list-item,
.page-about__dark-section .page-about__paragraph,
.page-about__dark-section .page-about__feature-text {
  color: var(--text-color-light);
}

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

.page-about__dark-section .page-about__section-title {
  color: var(--secondary-color);
}

.page-about__sub-title {
  font-size: 28px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-about__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-about__list-item {
  margin-bottom: 10px;
  font-size: 17px;
}

/* 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 */
  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;
}

.page-about__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

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

.page-about__hero-description {
  font-size: 19px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark);
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--login-button-color); /* Use login color for primary CTA */
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-about__cta-button:hover {
  background: #ff8c00; /* Slightly darker orange */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.page-about__cta-button--centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

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

/* Image styles */
.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__image--centered {
  margin-left: auto;
  margin-right: auto;
}

/* Product Cards */
.page-about__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-about__product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-about__card-image {
  width: 100%;
  height: 250px; /* Fixed height for card images */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

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

.page-about__card-text {
  font-size: 16px;
  color: var(--text-color-dark);
  margin-bottom: 25px;
  padding: 0 15px;
  text-align: justify;
}

.page-about__card-link {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-about__card-link:hover {
  background: #1a8cc4; /* Slightly darker primary color */
}

/* Security Features */
.page-about__security-features,
.page-about__responsible-features {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
  text-align: left;
}

.page-about__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__dark-section .page-about__feature-item {
  background: rgba(0, 0, 0, 0.15); /* Darker background for dark section */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about__feature-text {
  font-size: 16px;
  color: var(--text-color-light);
}

/* Advantages List */
.page-about__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.page-about__advantages-list .page-about__list-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 500;
  border-left: 5px solid var(--secondary-color);
  transition: border-left-color 0.3s ease;
}

.page-about__advantages-list .page-about__list-item:hover {
  border-left-color: var(--login-button-color);
}

.page-about__dark-section .page-about__advantages-list .page-about__list-item {
  background: rgba(0, 0, 0, 0.15);
  border-left-color: rgba(255, 255, 255, 0.5);
}

.page-about__dark-section .page-about__advantages-list .page-about__list-item:hover {
  border-left-color: var(--login-button-color);
}

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

.page-about__contact-list .page-about__list-item {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--text-color-light);
}

.page-about__contact-list .page-about__list-item a {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-about__contact-list .page-about__list-item a:hover {
  color: var(--login-button-color);
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-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;
}

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

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

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

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  font-size: 16px;
  color: var(--text-color-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 32px;
  }
  .page-about__sub-title {
    font-size: 24px;
  }
  .page-about__paragraph,
  .page-about__list-item,
  .page-about__feature-text {
    font-size: 16px;
  }
  .page-about__main-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .page-about__hero-description {
    font-size: 17px;
  }
  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 20px 15px;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 22px;
    margin-top: 25px;
  }
  .page-about__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-about__hero-description {
    font-size: 16px;
  }
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-image {
    margin-bottom: 20px;
    border-radius: 8px;
  }
  .page-about__cta-button {
    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;
  }
  .page-about__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__card-image {
    height: 200px;
  }
  .page-about__card-title {
    font-size: 20px;
  }
  .page-about__card-text {
    font-size: 15px;
  }
  .page-about__faq-qtext {
    font-size: 16px;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__product-card,
  .page-about__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-about__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}