/* style/about.css */

/* Base Styles for the About Page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #f8f8f8; /* Light background for the page content */
}

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

.page-about__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-about__section--intro {
  background-color: #ffffff;
}

.page-about__section--mission {
  background-color: #CC0000; /* Primary brand color */
  color: #ffffff; /* White text on dark background */
}

.page-about__section--values {
  background-color: #f0f0f0;
}

.page-about__section--products {
  background-color: #ffffff;
}

.page-about__section--security {
  background-color: #CC0000; /* Primary brand color */
  color: #ffffff; /* White text on dark background */
}

.page-about__section--support {
  background-color: #f0f0f0;
}

.page-about__section--vision {
  background-color: #CC0000; /* Primary brand color */
  color: #ffffff; /* White text on dark background */
}

.page-about__section--faq {
  background-color: #ffffff;
}

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #CC0000; /* Primary brand color */
}

.page-about__section--mission .page-about__section-title,
.page-about__section--security .page-about__section-title,
.page-about__section--vision .page-about__section-title {
  color: #FFD700; /* Secondary brand color for titles on dark background */
}

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

.page-about__text-block a {
  color: #CC0000;
  text-decoration: underline;
}

.page-about__text-block a:hover {
  color: #FFD700;
}

/* HERO Section Styles */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background: linear-gradient(135deg, #CC0000, #FFD700); /* Gradient background for hero */
  color: #ffffff;
}

.page-about__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-about__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

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

.page-about__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Secondary brand color for CTA */
  color: #CC0000; /* Primary brand color for text on secondary background */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin: 10px 10px 0;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button--secondary {
  background: #CC0000; /* Primary brand color for secondary CTA */
  color: #ffffff;
  border: 2px solid #FFD700;
}

.page-about__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button--secondary:hover {
  background: #a30000;
  border-color: #ffffff;
}

/* Image Block */
.page-about__image-block {
  margin: 40px 0;
  text-align: center;
}

.page-about__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block; /* Ensures max-width works correctly */
  margin: 0 auto;
}

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

.page-about__grid-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__grid-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #FFD700; /* Secondary brand color */
}

.page-about__list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-about__list li {
  margin-bottom: 10px;
  font-size: 16px;
}

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

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

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-about__card img {
  width: 100%; /* Ensure card images are large enough */
  max-width: 250px; /* Adjust max-width as needed for visual balance */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #CC0000; /* Primary brand color */
}

.page-about__card-text {
  font-size: 16px;
  color: #555555;
}