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

.page-index-core-advantages {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa; /* Light gray background for readability */
}

.page-index-core-advantages-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-index-core-advantages-hero {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Darker blue for background */
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-core-advantages-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:ocean_pattern,abstract,blue_gradient]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-index-core-advantages-hero > div {
  position: relative;
  z-index: 1;
}

.page-index-core-advantages-hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: #ffc107; /* Highlight with secondary color */
}

.page-index-core-advantages-hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e9ecef; /* Lighter text for contrast */
}

.page-index-core-advantages-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-core-advantages-btn-primary {
  background-color: #ffc107; /* Secondary color for primary action */
  color: #333333; /* Dark text for contrast */
  border: 2px solid #ffc107;
}

.page-index-core-advantages-btn-primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-index-core-advantages-btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-index-core-advantages-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-index-core-advantages-btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* General Section Styling */
.page-index-core-advantages-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-core-advantages-section:nth-child(even) {
  background-color: #f0f4f8; /* Slightly darker background for alternating sections */
}

.page-index-core-advantages-section-title {
  font-size: 2.5em;
  color: #007bff; /* Primary color for main titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-core-advantages-section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ffc107; /* Secondary color underline */
  border-radius: 2px;
}

.page-index-core-advantages p {
  margin-bottom: 1em;
  font-size: 1.1em;
  color: #495057;
}

.page-index-core-advantages h3 {
  font-size: 1.6em;
  color: #0056b3; /* Darker primary for sub-headings */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index-core-advantages .highlight-text {
  color: #007bff;
  font-weight: bold;
}

/* Content Flex Layout */
.page-index-core-advantages-content-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-index-core-advantages-content-flex-reverse {
  flex-direction: row-reverse;
}

.page-index-core-advantages-text-content {
  flex: 1;
}

.page-index-core-advantages-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-index-core-advantages-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Feature Grid */
.page-index-core-advantages-grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-core-advantages-feature-item {
  background-color: #f0f8ff; /* Light blue background for feature items */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #007bff; /* Primary color accent */
}

.page-index-core-advantages-feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-index-core-advantages-feature-item h3 {
  color: #007bff;
  font-size: 1.5em;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-index-core-advantages-feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* Promotions List */
.page-index-core-advantages-promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-index-core-advantages-promo-list li {
  background-color: #e9f5ff; /* Even lighter blue for list items */
  border-left: 5px solid #ffc107; /* Secondary color accent */
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index-core-advantages-promo-list li h3 {
  color: #007bff;
  margin-top: 0;
  font-size: 1.4em;
}

/* Step-by-Step Guide */
.page-index-core-advantages-step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-core-advantages-step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-bottom: 5px solid #ffc107;
}

.page-index-core-advantages-step-item h3 {
  color: #007bff;
  font-size: 1.5em;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-index-core-advantages-step-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-index-core-advantages-faq {
  background-color: #f0f4f8;
}

.page-index-core-advantages-faq-item {
  background-color: #ffffff;
  padding: 25px;
  margin-bottom: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #007bff;
}

.page-index-core-advantages-faq-item h3 {
  color: #007bff;
  font-size: 1.3em;
  margin-top: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.page-index-core-advantages-faq-question {
  flex-grow: 1;
}

.page-index-core-advantages-faq-item p {
  margin-top: 15px;
  color: #495057;
  display: none; /* Hidden by default, toggled by JS */
}

.page-index-core-advantages-faq-item.active p {
  display: block;
}

/* Conclusion Section */
.page-index-core-advantages-conclusion {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(45deg, #007bff, #ffc107);
  color: #ffffff;
}

.page-index-core-advantages-conclusion .page-index-core-advantages-section-title {
  color: #ffffff;
}

.page-index-core-advantages-conclusion .page-index-core-advantages-section-title::after {
  background-color: #ffffff;
}

.page-index-core-advantages-conclusion p {
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.2em;
  color: #e9ecef;
}

.page-index-core-advantages-center-cta {
  text-align: center;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-core-advantages-hero-title {
    font-size: 2.8em;
  }
  .page-index-core-advantages-hero-subtitle {
    font-size: 1.3em;
  }
  .page-index-core-advantages-section-title {
    font-size: 2em;
  }
  .page-index-core-advantages-content-flex {
    flex-direction: column;
    gap: 30px;
  }
  .page-index-core-advantages-content-flex-reverse {
    flex-direction: column;
  }
  .page-index-core-advantages-image-wrapper {
    order: -1; /* Image above text on small screens for reverse flex */
  }
}

@media (max-width: 768px) {
  .page-index-core-advantages-hero-title {
    font-size: 2.2em;
  }
  .page-index-core-advantages-hero-subtitle {
    font-size: 1.1em;
  }
  .page-index-core-advantages-btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-core-advantages-section {
    padding: 40px 0;
  }
  .page-index-core-advantages-section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-index-core-advantages h3 {
    font-size: 1.4em;
  }
  .page-index-core-advantages p {
    font-size: 1em;
  }
  .page-index-core-advantages-grid-features, .page-index-core-advantages-step-by-step {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-index-core-advantages-hero {
    padding: 60px 0;
  }
  .page-index-core-advantages-hero-title {
    font-size: 1.8em;
  }
  .page-index-core-advantages-hero-subtitle {
    font-size: 0.9em;
  }
  .page-index-core-advantages-btn {
    display: block;
    margin: 10px auto;
  }
  .page-index-core-advantages-section-title {
    font-size: 1.5em;
  }
  .page-index-core-advantages-container {
    padding: 0 15px;
  }
}