/* style/about.css */

/* General Styles */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Matches body background for consistency */
  line-height: 1.6;
}

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

.page-about__container--centered {
  text-align: center;
}

.page-about__section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.page-about__section--mission,
.page-about__section--products,
.page-about__section--responsibility,
.page-about__section--technology,
.page-about__section--licenses,
.page-about__section--vision,
.page-about__section--faq,
.page-about__section--contact-cta {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-about__section--mission .page-about__container,
.page-about__section--products .page-about__container,
.page-about__section--responsibility .page-about__container,
.page-about__section--technology .page-about__container,
.page-about__section--licenses .page-about__container,
.page-about__section--vision .page-about__container,
.page-about__section--faq .page-about__container,
.page-about__section--contact-cta .page-about__container {
  background-color: #222222; /* Inner container background for better visual separation */
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__heading {
  font-size: 3em;
  color: #FFD700; /* Primary brand color for headings */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

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

.page-about__link-inline {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-about__link-inline:hover {
  text-decoration: underline;
  color: #FFC000;
}

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

.page-about__btn-primary {
  background-color: #FFD700;
  color: #121212; /* Dark text on gold button for contrast */
  border: 2px solid #FFD700;
}

.page-about__btn-primary:hover {
  background-color: #FFC000;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

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

.page-about__btn-secondary:hover {
  background-color: #FFD700;
  color: #121212;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-about__btn-link {
  background-color: transparent;
  color: #8B0000; /* Secondary brand color for subtle links */
  border: 2px solid #8B0000;
  padding: 10px 20px;
  font-size: 1em;
}

.page-about__btn-link:hover {
  background-color: #8B0000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.4);
}

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

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

.page-about__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.4); /* Darken video for text readability */
  display: block; /* Ensure it's a block element */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-about__hero-title {
  font-size: 4em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.page-about__hero-description {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

/* Mission Section */
.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__value-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.page-about__value-icon {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 5px solid #FFD700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.page-about__value-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__value-description {
  font-size: 1em;
  color: #cccccc;
}

/* Products Section */
.page-about__products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__product-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-about__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.page-about__product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 3px solid #8B0000;
}

.page-about__product-title {
  font-size: 1.5em;
  color: #FFD700;
  padding: 20px 20px 10px;
  margin-bottom: 0;
  flex-grow: 1;
}

.page-about__link-card-title {
  color: #FFD700;
  text-decoration: none;
}

.page-about__link-card-title:hover {
  text-decoration: underline;
}

.page-about__product-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-about__product-card .page-about__btn-link {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* Technology Section */
.page-about__content-flex {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__content-flex .page-about__text-content {
  flex: 1;
}

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

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Licenses and Partners Section */
.page-about__partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 30px;
}