/* style/ban-ca.css */

/* Base Styles */
.page-ban-ca {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Text Main */
  background-color: #F5F7FA; /* Background */
}

.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #E53935; /* Main Color */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333333;
}

.page-ban-ca__cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-ban-ca__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
  background: #ffffff;
  color: #E53935; /* Main Color */
  border: 2px solid #E53935; /* Main Color */
}

.page-ban-ca__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
}

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding to avoid double spacing with shared header offset */
  padding-bottom: 60px;
  background-color: #F5F7FA;
}

.page-ban-ca__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.page-ban-ca__hero-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-ban-ca__hero-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 800;
  color: #E53935; /* Main Color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 30px;
  max-width: 600px;
}

.page-ban-ca__hero-ctas {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-ban-ca__hero-image {
  flex: 1;
  min-width: 400px;
  text-align: center;
}

.page-ban-ca__hero-side-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Intro Section */
.page-ban-ca__intro-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.page-ban-ca__intro-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-ban-ca__icon-box {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  background-color: #F5F7FA;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-ban-ca__icon-box:hover {
  transform: translateY(-10px);
}

.page-ban-ca__icon-box-media {
  width: 180px;
  height: 180px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #FF5A4F; /* Auxiliary Color */
  box-shadow: 0 0 0 8px rgba(255, 90, 79, 0.2);
}

.page-ban-ca__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-ban-ca__icon-box-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #E53935; /* Main Color */
  margin-bottom: 15px;
}

.page-ban-ca__icon-box-text {
  font-size: 1em;
  color: #333333;
}

/* Features Section */
.page-ban-ca__features-section {
  padding: 80px 20px;
  background-color: #F5F7FA;
}

.page-ban-ca__features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-ban-ca__features-grid {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-ban-ca__features-content {
  flex: 1;
  min-width: 300px;
}

.page-ban-ca__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-ban-ca__feature-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23E53935" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle"><path d="M22 11.08V12a10 10 0 1 1-5.93-8.93"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat left center;
  background-size: 24px;
  padding-left: 35px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333333;
}

.page-ban-ca__list-highlight {
  color: #E53935; /* Main Color */
}

.page-ban-ca__features-image-wrapper {
  flex: 1;
  min-width: 400px;
}

.page-ban-ca__features-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-ban-ca__features-cta {
  margin-top: 20px;
}

/* Guide Section */
.page-ban-ca__guide-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.page-ban-ca__guide-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-ban-ca__guide-grid {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-ban-ca__guide-image-wrapper {
  flex: 1;
  min-width: 400px;
}

.page-ban-ca__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-ban-ca__guide-content {
  flex: 1;
  min-width: 300px;
}

.page-ban-ca__guide-subtitle {
  font-size: 1.3em;
  font-weight: 700;
  color: #E53935; /* Main Color */
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-ban-ca__guide-subtitle:first-of-type {
  margin-top: 0;
}

.page-ban-ca__guide-text {
  font-size: 1em;
  color: #333333;
  margin-bottom: 15px;
}

.page-ban-ca__guide-cta {
  margin-top: 30px;
}

/* Promo Section */
.page-ban-ca__promo-section {
  padding: 80px 20px;
  background-color: #F5F7FA;
}

.page-ban-ca__promo-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-ban-ca__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-ban-ca__promo-card:hover {
  transform: translateY(-10px);
}

.page-ban-ca__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-ban-ca__promo-card-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #E53935; /* Main Color */
  margin: 20px 15px 10px;
}

.page-ban-ca__promo-card-text {
  font-size: 1em;
  color: #333333;
  padding: 0 15px 20px;
}

.page-ban-ca__promo-ctas {
  margin-top: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.page-ban-ca__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-ban-ca__faq-list {
  margin-top: 40px;
}

.page-ban-ca__faq-item {
  background-color: #F5F7FA;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: 600;
  color: #E53935; /* Main Color */
  cursor: pointer;
  list-style: none;
  user-select: none; /* Prevent text selection on click */
}

.page-ban-ca__faq-question::-webkit-details-marker {
  display: none;
}

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  transform: rotate(45deg);
}

.page-ban-ca__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #333333;
  line-height: 1.6;
}

/* Final CTA Section */
.page-ban-ca__cta-final-section {
  padding: 80px 20px;
  background-color: #E53935; /* Main Color */
  color: #ffffff;
  text-align: center;
}

.page-ban-ca__cta-final-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-ban-ca__cta-final-section .page-ban-ca__section-title {
  color: #ffffff;
}

.page-ban-ca__cta-final-section .page-ban-ca__section-description {
  color: #f0f0f0;
}

.page-ban-ca__cta-final-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__hero-container {
    padding: 30px 15px;
    gap: 30px;
  }

  .page-ban-ca__hero-title {
    font-size: clamp(2em, 3.5vw, 2.8em);
  }

  .page-ban-ca__section-title {
    font-size: 2em;
  }

  .page-ban-ca__intro-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__guide-grid {
    gap: 40px;
  }
}

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

  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }

  .page-ban-ca__hero-container {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
  }

  .page-ban-ca__hero-content {
    text-align: center;
    min-width: unset;
    width: 100%;
  }

  .page-ban-ca__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-ban-ca__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-ban-ca__hero-ctas {
    flex-direction: column;
    gap: 10px;
  }

  .page-ban-ca__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-ban-ca__hero-image {
    min-width: unset;
    width: 100%;
    order: -1; /* Image above text on mobile */
  }

  .page-ban-ca__hero-side-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-ban-ca__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .page-ban-ca__intro-section,
  .page-ban-ca__features-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__promo-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__cta-final-section {
    padding: 50px 15px;
  }

  .page-ban-ca__intro-grid,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-ban-ca__icon-box-media {
    width: 160px;
    height: 160px;
    border: 3px solid #FF5A4F;
    box-shadow: 0 0 0 6px rgba(255, 90, 79, 0.2);
  }

  .page-ban-ca__icon-box-title {
    font-size: 1.3em;
  }

  .page-ban-ca__features-grid,
  .page-ban-ca__guide-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-ban-ca__features-content,
  .page-ban-ca__guide-content {
    min-width: unset;
    width: 100%;
  }

  .page-ban-ca__features-image-wrapper,
  .page-ban-ca__guide-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-ban-ca__features-image,
  .page-ban-ca__guide-image,
  .page-ban-ca__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__feature-list li {
    font-size: 1em;
    padding-left: 30px;
    background-size: 20px;
  }

  .page-ban-ca__guide-subtitle {
    font-size: 1.2em;
  }

  .page-ban-ca__promo-card-title {
    font-size: 1.2em;
  }

  .page-ban-ca__promo-image {
    height: 180px;
  }

  .page-ban-ca__promo-ctas {
    flex-direction: column;
    gap: 10px;
  }

  .page-ban-ca__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-ban-ca__faq-answer {
    font-size: 0.95em;
    padding: 0 15px 15px;
  }

  .page-ban-ca__cta-final-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container,
  .page-ban-ca__hero-container,
  .page-ban-ca__intro-container,
  .page-ban-ca__features-container,
  .page-ban-ca__guide-container,
  .page-ban-ca__promo-container,
  .page-ban-ca__faq-container,
  .page-ban-ca__cta-final-container,
  .page-ban-ca__hero-ctas,
  .page-ban-ca__promo-ctas,
  .page-ban-ca__cta-final-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca__hero-ctas,
  .page-ban-ca__promo-ctas,
  .page-ban-ca__cta-final-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    padding-left: 0;
    padding-right: 0;
  }
}