/* style/index-about-iwin-nohu79.css */

/* Base styles for the page content */
.page-index-about-iwin-nohu79 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000; /* Inherited from shared.css body */
}

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

/* Hero Section */
.page-index-about-iwin-nohu79__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensures content is not covered by fixed header */
  box-sizing: border-box;
}

.page-index-about-iwin-nohu79__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

.page-index-about-iwin-nohu79__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-index-about-iwin-nohu79__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold color for title */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-index-about-iwin-nohu79__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* General Section Styles */
.page-index-about-iwin-nohu79__content-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background for content */
  color: #ffffff;
}

.page-index-about-iwin-nohu79__dark-bg {
  background-color: #000080; /* Navy blue background for contrast sections */
  color: #ffffff;
}

.page-index-about-iwin-nohu79__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-index-about-iwin-nohu79__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

.page-index-about-iwin-nohu79__image-wrapper {
  margin: 40px auto;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index-about-iwin-nohu79__image-full {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Buttons */
.page-index-about-iwin-nohu79__btn-primary,
.page-index-about-iwin-nohu79__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-about-iwin-nohu79__btn-primary {
  background-color: #FFD700;
  color: #000080; /* Dark blue text on gold button for contrast */
  border: 2px solid #FFD700;
}

.page-index-about-iwin-nohu79__btn-primary:hover {
  background-color: #e0b000;
  transform: translateY(-2px);
}

.page-index-about-iwin-nohu79__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index-about-iwin-nohu79__btn-secondary:hover {
  background-color: #FFD700;
  color: #000080;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-index-about-iwin-nohu79__faq-section {
  padding: 80px 0;
  background-color: #000080;
  color: #ffffff;
}

.page-index-about-iwin-nohu79__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-about-iwin-nohu79__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-index-about-iwin-nohu79__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1); /* Darker background for question */
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index-about-iwin-nohu79__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-index-about-iwin-nohu79__faq-question h3 {
  margin: 0;
  color: #FFD700;
}

.page-index-about-iwin-nohu79__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.page-index-about-iwin-nohu79__faq-item.active .page-index-about-iwin-nohu79__faq-toggle {
  transform: rotate(45deg);
}

.page-index-about-iwin-nohu79__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

.page-index-about-iwin-nohu79__faq-item.active .page-index-about-iwin-nohu79__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 20px;
}

.page-index-about-iwin-nohu79__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
  color: #f0f0f0;
}

/* CTA Section */
.page-index-about-iwin-nohu79__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-index-about-iwin-nohu79__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-index-about-iwin-nohu79__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-index-about-iwin-nohu79__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index-about-iwin-nohu79__hero-title {
    font-size: 3em;
  }
  .page-index-about-iwin-nohu79__hero-description {
    font-size: 1.2em;
  }
  .page-index-about-iwin-nohu79__section-title,
  .page-index-about-iwin-nohu79__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-about-iwin-nohu79 {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-index-about-iwin-nohu79__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-index-about-iwin-nohu79__hero-title {
    font-size: 2.2em;
  }
  .page-index-about-iwin-nohu79__hero-description {
    font-size: 1em;
  }
  .page-index-about-iwin-nohu79__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-about-iwin-nohu79__btn-primary,
  .page-index-about-iwin-nohu79__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-index-about-iwin-nohu79__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-index-about-iwin-nohu79__content-section,
  .page-index-about-iwin-nohu79__faq-section,
  .page-index-about-iwin-nohu79__cta-section {
    padding: 40px 0;
  }
  .page-index-about-iwin-nohu79__section-title,
  .page-index-about-iwin-nohu79__cta-title {
    font-size: 1.8em;
  }
  .page-index-about-iwin-nohu79__text-block {
    font-size: 1em;
  }
  /* Image responsive */
  .page-index-about-iwin-nohu79 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-about-iwin-nohu79__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  /* FAQ specific mobile styles */
  .page-index-about-iwin-nohu79__faq-question {
    padding: 15px;
    font-size: 1.1em;
  }
  .page-index-about-iwin-nohu79__faq-answer {
    padding: 0 15px;
  }
  .page-index-about-iwin-nohu79__faq-item.active .page-index-about-iwin-nohu79__faq-answer {
    padding: 15px;
  }
  .page-index-about-iwin-nohu79__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-index-about-iwin-nohu79__cta-description {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-index-about-iwin-nohu79__hero-title {
    font-size: 1.8em;
  }
  .page-index-about-iwin-nohu79__section-title,
  .page-index-about-iwin-nohu79__cta-title {
    font-size: 1.5em;
  }
}