/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Inherited from body via shared.css */
}

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

.page-about__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  color: #f0f0f0;
}

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

/* General Section Styles */
.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #017439;
}

.page-about__introduction-section, 
.page-about__services-section, 
.page-about__security-section, 
.page-about__customer-support-section, 
.page-about__promotions-section, 
.page-about__cta-section, 
.page-about__faq-section {
  padding: 60px 0;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Buttons */
.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;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

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

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

.page-about__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

/* Vision Mission Section */
.page-about__vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__vision-content .page-about__section-title {
  text-align: left;
}

.page-about__vision-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__vision-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.page-about__services-section .page-about__section-title {
  color: #ffffff;
}

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

.page-about__card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
}

.page-about__card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00; /* Custom color for card titles */
}

.page-about__card-text {
  margin-bottom: 20px;
  font-size: 0.95em;
}

.page-about__card-link {
  display: inline-block;
  color: #FFFF00;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFFF00;
  padding-bottom: 5px;
}

.page-about__card-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* Security Section */
.page-about__security-section .page-about__section-title {
  color: #017439;
}

.page-about__security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__security-content .page-about__section-title {
  text-align: left;
}

.page-about__security-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about__security-features li {
  margin-bottom: 10px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  color: #333333;
}

.page-about__icon-check {
  color: #017439;
  margin-right: 10px;
  font-size: 1.2em;
}

.page-about__icon-check::before {
  content: '✔'; /* Unicode checkmark */
}

/* Customer Support Section */
.page-about__customer-support-section .page-about__section-title {
  color: #017439;
}

.page-about__support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__support-content .page-about__section-title {
  text-align: left;
}

.page-about__support-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__support-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__contact-options {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-about__contact-options li {
  margin-bottom: 10px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  color: #333333;
}

.page-about__icon-chat, .page-about__icon-email, .page-about__icon-phone {
  color: #017439;
  margin-right: 10px;
  font-size: 1.2em;
}

.page-about__icon-chat::before { content: '💬'; }
.page-about__icon-email::before { content: '📧'; }
.page-about__icon-phone::before { content: '📞'; }

/* Promotions Section */
.page-about__promotions-section .page-about__section-title {
  color: #017439;
}

.page-about__promotions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__promotions-content .page-about__section-title {
  text-align: left;
}

.page-about__promotions-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__promotions-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about__promotion-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-about__promotion-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  color: #333333;
}

.page-about__icon-gift {
  color: #C30808;
  margin-right: 10px;
  font-size: 1.2em;
}

.page-about__icon-gift::before { content: '🎁'; }

/* FAQ Section */
.page-about__faq-section .page-about__section-title {
  color: #ffffff;
}

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

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.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: #FFFF00; /* Custom color for FAQ questions */
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFFF00;
}

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #f0f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* CTA Section */
.page-about__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #1a1a1a; /* Ensure good contrast for text */
  color: #ffffff;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__vision-mission-grid,
  .page-about__security-grid,
  .page-about__support-grid,
  .page-about__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-about__vision-content .page-about__section-title,
  .page-about__security-content .page-about__section-title,
  .page-about__support-content .page-about__section-title,
  .page-about__promotions-content .page-about__section-title {
    text-align: center;
  }
  .page-about__security-image-wrapper,
  .page-about__support-image-wrapper,
  .page-about__promotions-image-wrapper {
    order: -1; /* Move image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-bottom: 60px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__btn-primary, .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }
  .page-about__hero-cta-buttons,
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__introduction-section,
  .page-about__vision-mission-section,
  .page-about__services-section,
  .page-about__security-section,
  .page-about__customer-support-section,
  .page-about__promotions-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__text-block {
    font-size: 1em;
  }
  .page-about__card {
    padding: 25px;
  }
  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper,
  .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 !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }
  .page-about__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile for video section */
  }
  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .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 !important;
    padding-right: 15px !important;
  }
  .page-about__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }
}