/* style/about.css */

/* Base Styles for About Page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #000000; /* Ensure body background is respected */
}

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

.page-about__section-title {
  font-size: 2.5rem;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__sub-title {
  font-size: 1.8rem;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__section-text {
  font-size: 1.1rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 30px;
}

.page-about__text-block {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  overflow: hidden;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay */
  z-index: 2;
}

.page-about__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  color: #ffffff;
  padding: 20px;
}

.page-about__hero-title {
  font-size: 3.5rem;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__hero-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* General Button Styles */
.page-about__btn-primary {
  background-color: #FFD700;
  color: #1A1A1A;
  border: 2px solid #FFD700;
}

.page-about__btn-primary:hover {
  background-color: #e0b800;
  color: #1A1A1A;
}

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

.page-about__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
}

/* Introduction Section */
.page-about__introduction-section {
  padding: 80px 0;
  background-color: #1A1A1A;
}

.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

/* Values Section */
.page-about__values-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-about__dark-section {
  background-color: #1A1A1A;
  color: #ffffff;
}

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

.page-about__value-item {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__value-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-about__value-description {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-about__commitment-text {
  margin-top: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Advantages Section */
.page-about__advantages-section {
  padding: 80px 0;
  background-color: #000000;
}

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

.page-about__card {
  background-color: #1A1A1A;
  color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-about__card-title {
  font-size: 1.6rem;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-about__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__advantage-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #f0f0f0;
}

.page-about__advantage-list li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #FFD700;
}

/* Future Section */
.page-about__future-section {
  padding: 80px 0;
}

.page-about__future-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-about__future-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.page-about__future-text {
  width: 50%;
}

/* CTA Section */
.page-about__cta-section {
  padding: 80px 0;
  background-color: #000000;
  text-align: center;
}

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

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #1A1A1A;
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: #0d0d0d;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: #0d0d0d;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #1A1A1A;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  font-size: 1rem;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 20px;
}

/* Link styles */
.page-about a {
  color: #FFD700;
  text-decoration: none;
}

.page-about a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3rem;
  }
  .page-about__hero-description {
    font-size: 1.1rem;
  }
  .page-about__section-title {
    font-size: 2rem;
  }
  .page-about__sub-title {
    font-size: 1.6rem;
  }
  .page-about__mission-vision-grid,
  .page-about__values-grid,
  .page-about__advantages-grid {
    grid-template-columns: 1fr;
  }
  .page-about__future-content {
    flex-direction: column;
  }
  .page-about__future-image,
  .page-about__future-text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    height: 500px;
  }
  .page-about__hero-title {
    font-size: 2.2rem;
  }
  .page-about__hero-description {
    font-size: 1rem;
  }
  .page-about__hero-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-about__section-title {
    font-size: 1.8rem;
  }
  .page-about__sub-title {
    font-size: 1.4rem;
  }
  .page-about__introduction-section,
  .page-about__values-section,
  .page-about__advantages-section,
  .page-about__future-section,
  .page-about__cta-section,
  .page-about__faq-section {
    padding: 60px 0;
  }
  .page-about__hero-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;
    margin-left: 0 !important; /* Remove margin for stacked buttons */
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__container {
    padding: 0 15px !important;
  }

  /* Image responsive */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__video-section {
    padding-top: var(--header-offset, 120px) !important; 
  }

  /* Video responsive */
  .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__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8rem;
  }
  .page-about__hero-description {
    font-size: 0.9rem;
  }
  .page-about__section-title {
    font-size: 1.5rem;
  }
  .page-about__hero-section {
    height: 400px;
  }
}