/* style/sic-bo.css */

/* Base styles for the sic-bo page */
.page-sic-bo {
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--dark-bg-1);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 120px; /* Fixed header spacing for desktop */
}

@media (max-width: 768px) {
  .page-sic-bo {
    padding-top: 100px !important; /* Fixed header spacing for mobile, using !important for media query */
  }
}

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

.page-sic-bo__section {
  padding: 60px 0;
}

.page-sic-bo__section-title {
  font-size: 36px;
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-sic-bo__sub-title {
  font-size: 24px;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-sic-bo__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-sic-bo__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-sic-bo__list li {
  margin-bottom: 10px;
}

/* Hero Banner Section */
.page-sic-bo__hero-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 20px;
  background: linear-gradient(90deg, #0d0d0d 0%, #1a1a1a 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-sic-bo__hero-content {
  max-width: 50%;
  padding-right: 40px;
  z-index: 1;
}

.page-sic-bo__title {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-sic-bo__subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-sic-bo__hero-image-wrapper {
  max-width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.page-sic-bo__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-sic-bo__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  text-align: center;
}

.page-sic-bo__btn--primary {
  background: #FFD700;
  color: #0d0d0d;
  border: 2px solid #FFD700;
}

.page-sic-bo__btn--primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-sic-bo__btn--secondary {
  background: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-sic-bo__btn--secondary:hover {
  background: #FFD700;
  color: #0d0d0d;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* General Image Styles */
.page-sic-bo__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-sic-bo__image--center {
  margin: 30px auto;
}

/* Card Grid */
.page-sic-bo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-sic-bo__grid--three-cols {
  grid-template-columns: repeat(3, 1fr);
}

.page-sic-bo__card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sic-bo__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sic-bo__card-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-sic-bo__card p {
  color: #f0f0f0;
}

/* List with Icons */
.page-sic-bo__list-icon {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-sic-bo__list-icon li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-sic-bo__list-icon-image {
  width: 80px;
  height: 80px;
  min-width: 80px; /* Ensure minimum size */
  min-height: 80px; /* Ensure minimum size */
  margin-right: 20px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #FFD700;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-sic-bo__list-icon h3 {
  font-size: 20px;
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-sic-bo__list-icon p {
  color: #f0f0f0;
}

/* Dark Section */
.page-sic-bo__dark-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  color: #ffffff;
}

.page-sic-bo__dark-section .page-sic-bo__section-title {
  color: #FFD700;
}

.page-sic-bo__benefit-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-sic-bo__benefit-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-sic-bo__benefit-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-sic-bo__benefit-card p {
  color: #f0f0f0;
}

/* FAQ Section */
.page-sic-bo__faq-list {
  margin-top: 30px;
}

.page-sic-bo__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-sic-bo__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: #f0f0f0;
}

.page-sic-bo__faq-item.active .page-sic-bo__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

.page-sic-bo__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-sic-bo__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFD700;
}

.page-sic-bo__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-sic-bo__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-sic-bo__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-sic-bo__faq-item.active .page-sic-bo__faq-toggle {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sic-bo__hero-banner {
    flex-direction: column;
    text-align: center;
  }

  .page-sic-bo__hero-content {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 40px;
  }

  .page-sic-bo__hero-image-wrapper {
    max-width: 80%;
  }

  .page-sic-bo__grid--three-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-sic-bo {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 100px !important; /* Ensure mobile spacing */
  }

  .page-sic-bo__container {
    padding: 0 15px;
  }

  .page-sic-bo__section {
    padding: 40px 0;
  }

  .page-sic-bo__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-sic-bo__sub-title {
    font-size: 20px;
  }

  .page-sic-bo__hero-banner {
    padding: 60px 15px;
  }

  .page-sic-bo__title {
    font-size: 36px;
  }

  .page-sic-bo__subtitle {
    font-size: 18px;
  }

  .page-sic-bo__btn {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-sic-bo__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sic-bo__grid--three-cols {
    grid-template-columns: 1fr;
  }

  .page-sic-bo__card,
  .page-sic-bo__benefit-card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-sic-bo__card-title,
  .page-sic-bo__benefit-title {
    font-size: 20px;
  }

  .page-sic-bo__list-icon li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-sic-bo__list-icon-image {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-sic-bo__list-icon h3 {
    font-size: 18px;
  }

  /* FAQ Mobile Styles */
  .page-sic-bo__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-sic-bo__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-sic-bo__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-sic-bo__faq-answer {
    padding: 0 15px;
  }
  
  .page-sic-bo__faq-item.active .page-sic-bo__faq-answer {
    padding: 15px !important;
  }

  /* Mobile image adaptation */
  .page-sic-bo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-sic-bo__section,
  .page-sic-bo__card,
  .page-sic-bo__container,
  .page-sic-bo__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sic-bo__hero-image-wrapper {
      padding-left: 0;
      padding-right: 0;
  }
}