/* style/resources-troubleshooting-iwin-iphone-download.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --button-register: #C30808;
    --button-login: #C30808;
    --button-text-yellow: #FFFF00;
    --border-color: #e0e0e0;
    --bg-light-gray: #f9f9f9;
}

.page-resources-troubleshooting-iwin-iphone-download {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--secondary-color); /* Body background is white */
}

.page-resources-troubleshooting-iwin-iphone-download h1,
.page-resources-troubleshooting-iwin-iphone-download h2,
.page-resources-troubleshooting-iwin-iphone-download h3 {
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 15px;
}

.page-resources-troubleshooting-iwin-iphone-download__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    background: linear-gradient(135deg, var(--primary-color) 0%, #00a854 100%); /* Adjusted gradient for visual appeal */
    color: var(--text-color-light);
}

.page-resources-troubleshooting-iwin-iphone-download__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources-troubleshooting-iwin-iphone-download__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-resources-troubleshooting-iwin-iphone-download__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-resources-troubleshooting-iwin-iphone-download__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-resources-troubleshooting-iwin-iphone-download__main-title {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-troubleshooting-iwin-iphone-download__intro-text {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-resources-troubleshooting-iwin-iphone-download__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-troubleshooting-iwin-iphone-download__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.page-resources-troubleshooting-iwin-iphone-download__btn-primary {
    background: var(--button-register);
    color: var(--button-text-yellow);
}

.page-resources-troubleshooting-iwin-iphone-download__btn-primary:hover {
    background: #a50707;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-troubleshooting-iwin-iphone-download__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-troubleshooting-iwin-iphone-download__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-troubleshooting-iwin-iphone-download__btn-tertiary {
    background: var(--primary-color);
    color: var(--text-color-light);
}

.page-resources-troubleshooting-iwin-iphone-download__btn-tertiary:hover {
    background: #00a854;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-troubleshooting-iwin-iphone-download__content-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
    color: var(--text-color-dark);
}

.page-resources-troubleshooting-iwin-iphone-download__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-troubleshooting-iwin-iphone-download__section-title {
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

.page-resources-troubleshooting-iwin-iphone-download__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--button-register);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

.page-resources-troubleshooting-iwin-iphone-download__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.page-resources-troubleshooting-iwin-iphone-download__issue-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.page-resources-troubleshooting-iwin-iphone-download__card {
    background: var(--bg-light-gray);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-color);
}

.page-resources-troubleshooting-iwin-iphone-download__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-troubleshooting-iwin-iphone-download__card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-troubleshooting-iwin-iphone-download__card-text {
    font-size: 1em;
    color: var(--text-color-dark);
    line-height: 1.6;
}

.page-resources-troubleshooting-iwin-iphone-download__image-container {
    margin: 40px 0;
    text-align: center;
}

.page-resources-troubleshooting-iwin-iphone-download__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.page-resources-troubleshooting-iwin-iphone-download__ordered-list,
.page-resources-troubleshooting-iwin-iphone-download__unordered-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.page-resources-troubleshooting-iwin-iphone-download__ordered-list li,
.page-resources-troubleshooting-iwin-iphone-download__unordered-list li {
    background: var(--bg-light-gray);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
}

.page-resources-troubleshooting-iwin-iphone-download__list-title {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-resources-troubleshooting-iwin-iphone-download__list-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.page-resources-troubleshooting-iwin-iphone-download__list-text a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-resources-troubleshooting-iwin-iphone-download__faq-section {
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-resources-troubleshooting-iwin-iphone-download__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-troubleshooting-iwin-iphone-download__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: var(--text-color-dark);
}

.page-resources-troubleshooting-iwin-iphone-download__faq-item.active .page-resources-troubleshooting-iwin-iphone-download__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--bg-light-gray);
  border-radius: 0 0 5px 5px;
}

.page-resources-troubleshooting-iwin-iphone-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-troubleshooting-iwin-iphone-download__faq-question:hover {
  background: var(--bg-light-gray);
  border-color: #d0d0d0;
}

.page-resources-troubleshooting-iwin-iphone-download__faq-question:active {
  background: #eeeeee;
}

.page-resources-troubleshooting-iwin-iphone-download__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-resources-troubleshooting-iwin-iphone-download__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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-resources-troubleshooting-iwin-iphone-download__faq-item.active .page-resources-troubleshooting-iwin-iphone-download__faq-toggle {
  color: var(--button-register);
  transform: rotate(45deg);
}

.page-resources-troubleshooting-iwin-iphone-download__cta-section {
    background: linear-gradient(90deg, var(--primary-color) 0%, #00a854 100%);
    padding: 50px 20px;
    text-align: center;
    border-radius: 10px;
    margin-top: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-troubleshooting-iwin-iphone-download__cta-heading {
    font-size: 2em;
    color: var(--text-color-light);
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-resources-troubleshooting-iwin-iphone-download__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-troubleshooting-iwin-iphone-download__main-title {
        font-size: 2.8em;
    }
    .page-resources-troubleshooting-iwin-iphone-download__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-troubleshooting-iwin-iphone-download__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-troubleshooting-iwin-iphone-download__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-resources-troubleshooting-iwin-iphone-download__intro-text {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-resources-troubleshooting-iwin-iphone-download__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-troubleshooting-iwin-iphone-download__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-resources-troubleshooting-iwin-iphone-download__btn-primary,
    .page-resources-troubleshooting-iwin-iphone-download__btn-secondary,
    .page-resources-troubleshooting-iwin-iphone-download__btn-tertiary {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-troubleshooting-iwin-iphone-download__content-section {
        padding: 40px 0;
    }
    .page-resources-troubleshooting-iwin-iphone-download__container {
        padding: 0 15px;
    }
    .page-resources-troubleshooting-iwin-iphone-download__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources-troubleshooting-iwin-iphone-download__paragraph {
        font-size: 0.95em;
    }
    .page-resources-troubleshooting-iwin-iphone-download__issue-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources-troubleshooting-iwin-iphone-download__card {
        padding: 20px;
    }
    .page-resources-troubleshooting-iwin-iphone-download__card-title {
        font-size: 1.2em;
    }
    .page-resources-troubleshooting-iwin-iphone-download__ordered-list li,
    .page-resources-troubleshooting-iwin-iphone-download__unordered-list li {
        padding: 20px;
        margin-bottom: 10px;
    }
    .page-resources-troubleshooting-iwin-iphone-download__list-title {
        font-size: 1.15em;
    }

    .page-resources-troubleshooting-iwin-iphone-download__content-image {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }

    .page-resources-troubleshooting-iwin-iphone-download__faq-question {
      padding: 15px;
      flex-wrap: wrap;
    }
    
    .page-resources-troubleshooting-iwin-iphone-download__faq-question h3 {
      font-size: 1em;
      margin-bottom: 0;
      width: calc(100% - 40px);
    }
    
    .page-resources-troubleshooting-iwin-iphone-download__faq-toggle {
      margin-left: 10px;
      width: 24px;
      height: 24px;
      font-size: 20px;
    }
    
    .page-resources-troubleshooting-iwin-iphone-download__faq-answer {
      padding: 0 15px;
    }
    
    .page-resources-troubleshooting-iwin-iphone-download__faq-item.active .page-resources-troubleshooting-iwin-iphone-download__faq-answer {
      padding: 15px !important;
    }

    .page-resources-troubleshooting-iwin-iphone-download__cta-section {
        padding: 40px 15px;
    }
    .page-resources-troubleshooting-iwin-iphone-download__cta-heading {
        font-size: 1.5em;
    }
    .page-resources-troubleshooting-iwin-iphone-download__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-troubleshooting-iwin-iphone-download__cta-buttons a {
        width: 100%;
    }

    .page-resources-troubleshooting-iwin-iphone-download__section,
    .page-resources-troubleshooting-iwin-iphone-download__card,
    .page-resources-troubleshooting-iwin-iphone-download__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-resources-troubleshooting-iwin-iphone-download__main-title {
        font-size: 1.8em;
    }
    .page-resources-troubleshooting-iwin-iphone-download__section-title {
        font-size: 1.5em;
    }
    .page-resources-troubleshooting-iwin-iphone-download__cta-heading {
        font-size: 1.3em;
    }
}