/* style/about.css */

/* BEM Naming: page-about__element-name */

/* General Styles for page-about */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
  background-color: var(--bg-color, #FFFFFF);
}

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

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

.page-about__dark-bg {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff; /* White text for dark background */
}

.page-about__light-bg {
  background-color: #ffffff; /* Auxiliary color */
  color: #333333; /* Dark text for light background */
}

.page-about__heading {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  margin-bottom: 20px;
  color: inherit;
}

.page-about__sub-heading {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-about__mini-heading {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
  color: inherit;
}

.page-about__paragraph {
  font-size: 16px;
  margin-bottom: 15px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 800px;
  text-align: left;
}

.page-about__list-item {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 16px;
}

.page-about__list-item::before {
  content: '✓';
  color: #EA7C07; /* Login color for accent */
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-text {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 10px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

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

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

.page-about__dark-bg .page-about__btn-secondary {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-about__light-bg .page-about__btn-secondary {
  color: #26A9E0; /* Brand primary color */
  border-color: #26A9E0;
}

.page-about__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

.page-about__btn-text {
  background: none;
  border: none;
  color: #26A9E0;
  padding: 5px 0;
  margin: 5px 0;
  text-align: left;
  display: block;
  width: fit-content;
}

.page-about__btn-text:hover {
  text-decoration: underline;
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  box-sizing: border-box;
}

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

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

.page-about__main-title {
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-about__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Image Styling */
.page-about__image-full-width {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__image-centered {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Product Grid Layout */
.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-color: #f9f9f9;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about__product-card .page-about__sub-heading {
  color: #26A9E0;
  margin-top: 0;
  font-size: 24px;
}

.page-about__product-card .page-about__mini-heading {
  color: #EA7C07;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #e9e9e9;
  border-bottom: 1px solid #ddd;
  list-style: none;
}

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

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

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

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

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 16px;
  color: #555555;
}

.page-about__faq-answer .page-about__paragraph {
  margin-bottom: 10px;
  text-align: left;
}

.page-about__faq-answer .page-about__btn-text {
  margin-left: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__container {
    padding: 0 15px;
  }

  .page-about__heading {
    font-size: clamp(26px, 4.5vw, 36px);
  }

  .page-about__sub-heading {
    font-size: clamp(20px, 3.5vw, 26px);
  }

  .page-about__hero-image-wrapper {
    padding: 0 15px;
  }
}

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

  .page-about__main-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .page-about__hero-description {
    font-size: clamp(16px, 3.5vw, 20px);
  }

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

  .page-about__hero-image-wrapper,
  .page-about__image-full-width,
  .page-about__image-centered,
  .page-about__product-card,
  .page-about__faq-item,
  .page-about__cta-buttons,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-about__hero-section {
    padding-top: 10px !important;
  }

  /* Mobile Buttons */
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-text,
  .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;
    margin: 10px 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

  .page-about__product-card {
    padding: 20px;
  }

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

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

@media (max-width: 480px) {
  .page-about__heading {
    font-size: clamp(24px, 6vw, 32px);
  }

  .page-about__sub-heading {
    font-size: clamp(18px, 4.5vw, 24px);
  }

  .page-about__paragraph,
  .page-about__list-item {
    font-size: 15px;
  }
}