/* style/index-our-advantages.css */

/* Base styles for the page */
.page-index-our-advantages {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for default light background */
  background-color: #f8f8f8;
}

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

.page-index-our-advantages__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-our-advantages__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-index-our-advantages__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Brand colors */
  color: #ffffff;
  overflow: hidden;
}

.page-index-our-advantages__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin-right: 40px;
}

.page-index-our-advantages__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-our-advantages__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-index-our-advantages__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-index-our-advantages__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-index-our-advantages__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.7); /* Darken image for better text contrast */
}

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

.page-index-our-advantages__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep red text for contrast */
  border: 2px solid #FFD700;
}

.page-index-our-advantages__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-index-our-advantages__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-index-our-advantages__btn-secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
}

/* Intro Section */
.page-index-our-advantages__intro-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333;
}

/* Features Section */
.page-index-our-advantages__features-section {
  padding: 80px 0;
  background-color: #8B0000; /* Deep red background */
  color: #ffffff;
}

.page-index-our-advantages__features-section .page-index-our-advantages__section-title {
  color: #FFD700;
}

.page-index-our-advantages__features-section .page-index-our-advantages__section-description {
  color: #f0f0f0;
}

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

.page-index-our-advantages__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-index-our-advantages__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-index-our-advantages__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 0 auto 20px auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-index-our-advantages__feature-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-our-advantages__feature-link {
  color: #FFD700;
  text-decoration: none;
}

.page-index-our-advantages__feature-link:hover {
  text-decoration: underline;
}

.page-index-our-advantages__feature-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

/* CTA Section */
.page-index-our-advantages__cta-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-index-our-advantages__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Video Section */
.page-index-our-advantages__video-section {
  padding: 80px 0;
  background-color: #000000;
  color: #ffffff;
  text-align: center;
}

.page-index-our-advantages__video-section .page-index-our-advantages__section-title,
.page-index-our-advantages__video-section .page-index-our-advantages__section-description {
  color: #FFD700;
}

.page-index-our-advantages__video-wrapper {
  max-width: 960px;
  margin: 40px auto 0 auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  width: 100%;
  box-sizing: border-box;
}

.page-index-our-advantages__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

/* FAQ Section */
.page-index-our-advantages__faq-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-index-our-advantages__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-index-our-advantages__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #FFD700; /* Gold background for question */
  color: #8B0000; /* Deep red text for contrast */
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-index-our-advantages__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: #8B0000;
}

.page-index-our-advantages__faq-question:hover {
  background-color: #e6c200;
}

.page-index-our-advantages__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #8B0000;
}

.page-index-our-advantages__faq-item.active .page-index-our-advantages__faq-toggle {
  transform: rotate(45deg); /* Change to X or - */
}

.page-index-our-advantages__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #333333;
}

.page-index-our-advantages__faq-item.active .page-index-our-advantages__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to reveal content */
  padding: 20px 25px;
}

.page-index-our-advantages__faq-answer p {
  margin-bottom: 0;
}

/* Utility classes for color contrast */
.page-index-our-advantages__dark-section {
  background-color: #8B0000;
  color: #ffffff;
}

.page-index-our-advantages__light-bg {
  background-color: #ffffff;
  color: #333333;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-our-advantages__hero-title {
    font-size: 3em;
  }
  .page-index-our-advantages__hero-description {
    font-size: 1.2em;
  }
  .page-index-our-advantages__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-our-advantages {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-our-advantages__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 15px;
  }

  .page-index-our-advantages__hero-content {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .page-index-our-advantages__hero-title {
    font-size: 2.5em;
  }

  .page-index-our-advantages__hero-description {
    font-size: 1em;
  }

  .page-index-our-advantages__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-our-advantages__btn-primary,
  .page-index-our-advantages__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-index-our-advantages__section-title {
    font-size: 1.8em;
  }

  .page-index-our-advantages__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-index-our-advantages__feature-card {
    padding: 25px;
  }

  .page-index-our-advantages__feature-icon {
    max-width: 100%;
    min-width: 200px;
    min-height: 200px;
  }

  .page-index-our-advantages__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-our-advantages__video-wrapper {
    margin: 30px auto 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .page-index-our-advantages__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-our-advantages__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-index-our-advantages__faq-question h3 {
    font-size: 1em;
  }

  .page-index-our-advantages__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile specific image and container rules */
  .page-index-our-advantages img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-index-our-advantages__section,
  .page-index-our-advantages__card,
  .page-index-our-advantages__container,
  .page-index-our-advantages__cta-buttons,
  .page-index-our-advantages__video-section,
  .page-index-our-advantages__video-container,
  .page-index-our-advantages__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-index-our-advantages__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Re-apply for mobile if needed */
  }

  /* For buttons that might be in a flex container */
  .page-index-our-advantages__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically */
  }
}