/* style/support.css */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background: #F4F7FB; /* Background */
    padding-bottom: 50px; /* Ensure space above footer */
}

.page-support__section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
}

.page-support__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top margin, as body padding-top handles header offset */
    background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding-bottom: 40px;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-support__hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-support__main-title {
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-support__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For responsiveness */
    white-space: normal; /* For responsiveness */
    word-wrap: break-word; /* For responsiveness */
}

.page-support__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: none;
}

.page-support__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-support__btn-secondary {
    background: #ffffff;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
}

.page-support__btn-secondary:hover {
    background: #2F6BFF;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-support__section-title {
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #1F2D3D;
}

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

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

.page-support__card {
    background: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #1F2D3D;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-support__card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-support__card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1F2D3D;
}

.page-support__card p {
    font-size: 0.95em;
    color: #1F2D3D;
    flex-grow: 1; /* Make paragraphs take available space */
}

/* FAQ Section */
details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #FFFFFF;
}
details.page-support__faq-item summary.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #1F2D3D;
  font-weight: 600;
}
details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
  display: none;
}
details.page-support__faq-item summary.page-support__faq-question:hover {
  background: #f5f5f5;
}
.page-support__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.5;
  text-align: left;
}
.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-support__faq-item .page-support__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 10px 10px;
  color: #1F2D3D;
}
.page-support__faq-answer p {
    margin: 0;
    padding-top: 10px;
    font-size: 0.95em;
}

/* Contact Section - Dark Background */
.page-support__dark-section {
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
    color: #ffffff;
    padding-top: 50px;
    padding-bottom: 50px;
}

.page-support__dark-section .page-support__section-title,
.page-support__dark-section .page-support__section-description {
    color: #ffffff;
}

.page-support__contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-support__contact-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.page-support__contact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.page-support__contact-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3)); /* Allowed for decorative glow */
    min-width: 100px; /* Ensure minimum size */
    min-height: 100px; /* Ensure minimum size */
}

.page-support__contact-card .page-support__card-title {
    color: #ffffff;
}

.page-support__contact-card p {
    color: rgba(255, 255, 255, 0.9);
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-support__policy-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-support__policy-card {
    background: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #1F2D3D;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.page-support__policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-support__policy-card .page-support__card-title {
    color: #2F6BFF;
    margin-bottom: 10px;
    font-size: 1.2em;
    text-align: left;
}

.page-support__policy-card p {
    font-size: 0.9em;
    color: #1F2D3D;
    flex-grow: 1;
}

.page-support__conclusion-section {
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__main-title {
        font-size: 2.5em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__grid,
    .page-support__contact-methods,
    .page-support__policy-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-support__hero-section {
        padding-top: 5px; /* Adjust for smaller screens */
        padding-bottom: 30px;
    }
    .page-support__main-title {
        font-size: 1.8em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__section {
        padding: 15px;
    }
    .page-support__section-title {
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    .page-support__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-support__grid,
    .page-support__contact-methods,
    .page-support__policy-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }
    .page-support__card,
    .page-support__contact-card,
    .page-support__policy-card {
        padding: 20px;
        text-align: center; /* Center align for single column */
    }
    .page-support__card-image,
    .page-support__contact-icon {
        max-width: 80%; /* Adjust image size for mobile */
        margin-left: auto;
        margin-right: auto;
    }
    .page-support__policy-card .page-support__card-title {
        text-align: center; /* Center title in policy cards for mobile */
    }

    /* Mobile image adaptation */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__contact-card,
    .page-support__policy-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile button adaptation */
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support a[class*="button"],
    .page-support a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-support__cta-buttons {
        display: flex;
        flex-direction: column;
    }
    /* FAQ mobile */
    details.page-support__faq-item summary.page-support__faq-question { padding: 15px; }
    .page-support__faq-qtext { font-size: 15px; }
    details.page-support__faq-item .page-support__faq-answer { padding: 0 15px 15px; }
}