/* style/about.css */

:root {
  --color-primary: #113B7A;
  --color-secondary: #1D5FD1;
  --color-text-main: #F3F8FF;
  --color-text-secondary: #AFC4E8;
  --color-card-bg: #10233F;
  --color-border: #244D84;
  --color-glow: #4FA8FF;
  --color-gold: #F2C14E;
  --color-divider: #1B3357;
  --color-deep-navy: #08162B;
  --btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-about {
  color: var(--color-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  padding-bottom: 60px;
  background: var(--color-deep-navy);
  color: var(--color-text-main);
}

.page-about__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
  gap: 40px;
}

.page-about__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-about__main-title {
  font-size: 2.8em;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-gold);
  margin-bottom: 20px;
  max-width: 900px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-about__hero-description {
  font-size: 1.1em;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
}

.page-about__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-about__btn-primary {
  background: var(--btn-gradient);
  color: var(--color-text-main);
  border: 2px solid var(--color-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-about__btn-secondary {
  background: none;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  background-color: rgba(242, 193, 78, 0.1);
}

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

.page-about__side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-about__intro-section {
  padding: 60px 0;
  background: #ffffff; /* Default light background for light-bg sections */
  color: #333333; /* Dark text for light background */
}

.page-about__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.page-about__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__icon-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-about__icon-box {
  flex: 1 1 30%;
  min-width: 280px;
  background: var(--color-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  color: var(--color-text-main);
}

.page-about__icon-box-media {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-gold);
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-about__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%; /* Ensure image itself is round */
}

.page-about__icon-box-title {
  font-size: 1.5em;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.page-about__icon-box-text {
  font-size: 1em;
  color: var(--color-text-secondary);
}

.page-about__security-section,
.page-about__faq-section {
  padding: 60px 0;
  background: var(--color-deep-navy);
  color: var(--color-text-main);
}

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

.page-about__flex-reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-about__image-block {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-about__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-about__security-section .page-about__section-title,
.page-about__support-section .page-about__section-title {
  text-align: left;
  color: var(--color-gold);
}

.page-about__security-section p,
.page-about__support-section p {
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.page-about__support-section {
  padding: 60px 0;
  background: #ffffff; /* Default light background */
  color: #333333; /* Dark text for light background */
}

.page-about__support-section .page-about__section-title {
  color: var(--color-primary);
}

.page-about__support-section p {
  color: #555555;
}

.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--color-text-main);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-gold);
  user-select: none;
  list-style: none;
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  pointer-events: none; /* Prevent click on +/- icon itself */
}

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

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-divider);
}

.page-about__cta-bottom-section {
  padding: 60px 0;
  background: #ffffff; /* Default light background */
  color: #333333; /* Dark text */
  text-align: center;
}

.page-about__cta-bottom-section .page-about__section-title {
  color: var(--color-primary);
}

.page-about__cta-bottom-section .page-about__section-description {
  color: #555555;
}

.page-about__center-text {
  text-align: center;
}

.page-about__btn-large {
  padding: 16px 40px;
  font-size: 1.2em;
  margin-top: 30px;
}

/* --- Responsive Styles --- */

/* General mobile overrides for images and containers */
@media (max-width: 768px) {
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-container,
  .page-about__content-area,
  .page-about__icon-box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* HERO section */
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-about__hero-container {
    flex-direction: column;
    padding: 30px 15px;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
    text-align: center;
  }

  .page-about__hero-description {
    font-size: 1em;
    text-align: center;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  /* Module 1: Intro Section (three columns) */
  .page-about__intro-section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: 1.8em;
  }

  .page-about__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-about__icon-boxes {
    flex-direction: column;
    gap: 20px;
  }

  .page-about__icon-box {
    flex: 1 1 100%;
    padding: 25px;
  }

  .page-about__icon-box-media {
    width: 150px;
    height: 150px;
    border-width: 3px;
  }

  .page-about__icon-box-title {
    font-size: 1.3em;
  }

  /* Security and Support sections (flex containers) */
  .page-about__security-section,
  .page-about__support-section {
    padding: 40px 0;
  }

  .page-about__flex-container {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__flex-reverse {
    flex-direction: column;
  }

  .page-about__text-block,
  .page-about__image-block {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-about__security-section .page-about__section-title,
  .page-about__support-section .page-about__section-title {
    text-align: center;
  }

  /* FAQ section */
  .page-about__faq-section {
    padding: 40px 0;
  }

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

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

  /* Bottom CTA section */
  .page-about__cta-bottom-section {
    padding: 40px 0;
  }

  .page-about__btn-large {
    font-size: 1.1em !important;
    padding: 14px 25px !important;
    margin-top: 20px;
  }
}