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

/* Base styles for the page content */
.page-index-core-advantages {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
}

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

/* Hero Section */
.page-index-core-advantages__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
  background-color: #1a1a1a; /* Explicitly dark background for hero */
}

.page-index-core-advantages__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index-core-advantages__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for better text readability if text were overlaid, but here text is below */
}

.page-index-core-advantages__hero-content-wrapper {
  width: 100%;
  text-align: center;
  padding-top: 40px; /* Space between image and content */
  padding-bottom: 20px;
}

.page-index-core-advantages__main-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-core-advantages__intro-text {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-core-advantages__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-index-core-advantages__btn-primary,
.page-index-core-advantages__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-index-core-advantages__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-index-core-advantages__btn-primary:hover {
  background-color: #1e87b3;
  border-color: #1e87b3;
}

.page-index-core-advantages__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-index-core-advantages__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* General Section Styling */
.page-index-core-advantages__section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Dark background for content sections */
  color: #ffffff; /* Light text color */
}

.page-index-core-advantages__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-index-core-advantages__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.page-index-core-advantages__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-index-core-advantages__keyword {
  color: #26A9E0;
  font-weight: bold;
}

.page-index-core-advantages__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* FAQ Section */
.page-index-core-advantages__faq-section {
  background-color: #1a1a1a;
}

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

.page-index-core-advantages__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-core-advantages__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-index-core-advantages__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-core-advantages__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-index-core-advantages__faq-qtext {
  flex-grow: 1;
}

.page-index-core-advantages__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-index-core-advantages__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.05em;
  color: #e0e0e0;
}

/* Conclusion Section */
.page-index-core-advantages__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Links */
.page-index-core-advantages a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-core-advantages a:hover {
  color: #1e87b3;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-core-advantages__main-title {
    font-size: 2.4em;
  }

  .page-index-core-advantages__section-title {
    font-size: 2em;
  }

  .page-index-core-advantages__sub-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-index-core-advantages__main-title {
    font-size: 2em;
  }

  .page-index-core-advantages__intro-text {
    font-size: 1em;
  }

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

  .page-index-core-advantages__sub-title {
    font-size: 1.2em;
  }

  .page-index-core-advantages__paragraph {
    font-size: 1em;
  }

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

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

  .page-index-core-advantages__container {
    padding: 0 15px;
  }

  /* Mobile image responsiveness */
  .page-index-core-advantages img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-index-core-advantages__hero-section,
  .page-index-core-advantages__section,
  .page-index-core-advantages__container,
  .page-index-core-advantages__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }
  
  .page-index-core-advantages__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-left: 0;
    padding-right: 0;
  }

  .page-index-core-advantages__content-area,
  .page-index-core-advantages__faq-section,
  .page-index-core-advantages__conclusion-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-core-advantages__main-title {
    font-size: 1.8em;
  }

  .page-index-core-advantages__section-title {
    font-size: 1.6em;
  }

  .page-index-core-advantages__sub-title {
    font-size: 1.1em;
  }

  .page-index-core-advantages__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-index-core-advantages__faq-answer {
    padding: 0 15px 15px 15px;
  }
}