/* 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: var(--neon-dark-bg); /* Inherit from shared.css */
}

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

.page-about__hero-section {
  position: relative;
  background-color: #26A9E0; /* Brand color as background */
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-about__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

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

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

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

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

.page-about__btn-link {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
}

.page-about__btn-link:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-about__heading {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  color: #26A9E0;
}

.page-about__dark-section .page-about__heading {
  color: #ffffff;
}

.page-about__intro-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  color: #f0f0f0;
}

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

.page-about__light-bg .page-about__heading {
  color: #26A9E0;
}

.page-about__light-bg .page-about__intro-text {
  color: #555555;
}

.page-about__dark-section {
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff;
}

.page-about__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
}

.page-about__text-block p {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-about__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-about__sub-heading {
  font-size: 1.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-about__light-bg .page-about__sub-heading {
  color: #26A9E0;
}

.page-about__value-cards,
.page-about__security-features,
.page-about__tech-grid,
.page-about__experience-grid,
.page-about__team-cards,
.page-about__responsibility-grid,
.page-about__contact-methods {
  display: grid;
  gap: 30px;
}

.page-about__value-cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-about__card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-about__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-about__security-features {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  text-align: center;
}

.page-about__feature-item {
  padding: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}

.page-about__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffffff;
}

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

.page-about__tech-item {
  text-align: center;
  padding: 20px;
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-about__tech-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__tech-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

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

.page-about__experience-item {
  padding: 30px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-about__experience-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-about__team-cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  text-align: center;
}

.page-about__team-member {
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.page-about__team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px auto;
  border: 4px solid #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-about__member-name {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 5px;
  color: #ffffff;
}

.page-about__member-role {
  font-size: 1em;
  color: #f0f0f0;
}

.page-about__responsibility-grid {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.page-about__responsibility-item {
  padding: 30px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__responsibility-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

.page-about__contact-item {
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.page-about__contact-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__main-title {
    font-size: 2.8em;
  }

  .page-about__heading {
    font-size: 2em;
  }

  .page-about__content-grid {
    flex-direction: column;
  }

  .page-about__content-grid--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header on mobile */
  }

  .page-about__main-title {
    font-size: 2.2em;
  }

  .page-about__description {
    font-size: 1em;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-about__heading {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-about__intro-text {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-about__content-grid,
  .page-about__content-grid--reverse {
    gap: 30px;
  }

  .page-about__text-block p {
    font-size: 0.95em;
  }

  .page-about__sub-heading {
    font-size: 1.5em;
  }

  .page-about__value-cards,
  .page-about__security-features,
  .page-about__tech-grid,
  .page-about__experience-grid,
  .page-about__team-cards,
  .page-about__responsibility-grid,
  .page-about__contact-methods {
    grid-template-columns: 1fr;
  }

  .page-about__card,
  .page-about__feature-item,
  .page-about__tech-item,
  .page-about__experience-item,
  .page-about__team-member,
  .page-about__responsibility-item,
  .page-about__contact-item {
    padding: 25px 15px;
  }

  /* Ensure all images are responsive and do not overflow */
  .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__image-wrapper,
  .page-about__team-photo,
  .page-about__tech-image,
  .page-about__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }

  .page-about__heading {
    font-size: 1.5em;
  }

  .page-about__card-title,
  .page-about__feature-title,
  .page-about__tech-title,
  .page-about__experience-title,
  .page-about__member-name,
  .page-about__responsibility-title,
  .page-about__contact-title {
    font-size: 1.2em;
  }
}