/* style/about.css */

.page-about {
  color: #ffffff; /* Default text color for dark body background */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #000000; /* Ensuring a dark background for this section */
  text-align: center;
}

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

.page-about__hero-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.page-about__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-about__intro-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-about__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: #1e87b7;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #26A9E0;
}

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

.page-about__content-section,
.page-about__values-section,
.page-about__ecosystem-section,
.page-about__security-section,
.page-about__support-section,
.page-about__cta-section {
  padding: 60px 20px;
}

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

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section h2,
.page-about__dark-section h3,
.page-about__dark-section p,
.page-about__dark-section li {
  color: #ffffff;
}

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

.page-about__light-bg .page-about__section-title,
.page-about__light-bg h2,
.page-about__light-bg h3,
.page-about__light-bg p,
.page-about__light-bg li {
  color: #333333;
}

.page-about__text-block {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-about__text-block p + p {
  margin-top: 15px;
}

.page-about__text-block ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-about__text-block li {
  margin-bottom: 10px;
}

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

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

.page-about__value-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__card-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-about__text-block--center {
  text-align: center;
}

.page-about__security-section {
  background-color: #0d0d0d; /* Darker background for security section */
}

.page-about__grid--two-columns {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.page-about__image-wrapper {
  text-align: center;
}

.page-about__security-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__cta-section {
  background-color: #26A9E0;
  text-align: center;
}

.page-about__cta-content {
  max-width: 900px;
}

.page-about__cta-button {
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__grid--two-columns {
    grid-template-columns: 1fr;
  }
  .page-about__security-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section,
  .page-about__content-section,
  .page-about__values-section,
  .page-about__ecosystem-section,
  .page-about__security-section,
  .page-about__support-section,
  .page-about__cta-section {
    padding: 30px 15px;
  }

  .page-about__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-about__main-title {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  .page-about__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

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

  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .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;
    padding-right: 15px;
    margin-bottom: 15px; /* Add spacing between stacked buttons */
  }

  .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-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-about__grid {
    grid-template-columns: 1fr;
  }
}