/* style/support.css */

/* --- Base Styles --- */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background: var(--secondary-color); /* Matches body background */
}

.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-support__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #26A9E0; /* Primary color for titles */
    text-align: center;
    margin-bottom: 20px;
    margin-top: 40px;
}

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

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-tertiary,
.page-support__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    max-width: 100%; /* Ensure button adapts to container */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-support__btn-primary {
    background: #26A9E0;
    color: #ffffff;
    border: none;
}

.page-support__btn-primary:hover {
    background: #1e87b8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.page-support__btn-secondary:hover {
    background: #f0f8ff;
    color: #1e87b8;
    border-color: #1e87b8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-support__btn-tertiary {
    background: #f0f0f0;
    color: #333333;
    border: 1px solid #cccccc;
}

.page-support__btn-tertiary:hover {
    background: #e0e0e0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.page-support__dark-section {
    background: #26A9E0; /* Primary brand color as background */
    color: #ffffff; /* White text for dark background */
    padding: 60px 20px;
}

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

.page-support__dark-section .page-support__section-description {
    color: #f0f0f0;
}

.page-support__light-bg {
    background: #ffffff;
    color: #333333;
    padding: 60px 20px;
}

/* --- HERO Section --- */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden; /* Ensure no overflow from images */
}

.page-support__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure it takes full width within max-width */
}

.page-support__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.page-support__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 8px; /* Consistent with container */
}

.page-support__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-support__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Responsive H1 font size */
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__hero-description {
    font-size: clamp(16px, 2vw, 20px);
    color: #555555;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__cta-button {
    background: #EA7C07; /* Custom login color for CTA */
    color: #ffffff;
    font-size: 18px;
    padding: 15px 40px;
    border-radius: 50px;
}

.page-support__cta-button:hover {
    background: #d46f06;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- Contact Section --- */
.page-support__contact-section {
    padding: 60px 20px;
    background: #f9f9f9;
}

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

.page-support__contact-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-support__contact-card img {
    width: 100%;
    max-width: 250px; /* Adjusted to be within 200px min, but not too large */
    height: auto;
    margin-bottom: 20px;
    object-fit: cover;
    border-radius: 4px;
}

.page-support__card-title {
    font-size: 24px;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-support__contact-card p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 25px;
}

/* --- FAQ Section --- */
.page-support__faq-section {
    padding: 60px 20px;
}

.page-support__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

details.page-support__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Lighter border for dark section */
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white on blue background */
    color: #ffffff; /* Ensure text is white */
}
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;
    font-size: 18px;
    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: rgba(255, 255, 255, 0.15); /* Slightly more opaque on hover */
}
.page-support__faq-qtext {
    flex: 1;
    line-height: 1.5;
    text-align: left;
    color: #ffffff;
}
.page-support__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    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: rgba(0, 0, 0, 0.1); /* Darker transparent background for answer */
    border-radius: 0 0 8px 8px;
    color: #f0f0f0; /* Lighter text for answer */
}
.page-support__faq-answer p {
    margin-bottom: 0;
}


/* --- Guides Section --- */
.page-support__guides-section {
    padding: 60px 20px;
    background: #ffffff;
}

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

.page-support__guide-card {
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-support__guide-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}

.page-support__guide-card h3 {
    font-size: 22px;
    color: #26A9E0;
    margin-bottom: 15px;
    flex-grow: 1; /* Push button to bottom */
}

.page-support__guide-card p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 25px;
}

/* --- Safety Section --- */
.page-support__safety-section {
    padding: 60px 20px;
    background: #f0f8ff; /* Light blue tint for contrast */
}

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

.page-support__safety-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-support__safety-card img {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    object-fit: cover;
    border-radius: 4px;
}

.page-support__safety-card h3 {
    font-size: 22px;
    color: #26A9E0;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-support__safety-card p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 25px;
}

/* --- Why Choose Us Section --- */
.page-support__why-choose-us {
    padding: 60px 20px;
}

.page-support__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-support__advantage-item {
    background: rgba(255, 255, 255, 0.1); /* Light background on primary blue */
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
}

.page-support__advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-support__advantage-item img {
    width: 100%;
     /* Smaller images for this section */
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
    object-fit: cover;
}

.page-support__advantage-item h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-support__advantage-item p {
    font-size: 15px;
    color: #f0f0f0;
}

/* --- CTA Bottom --- */
.page-support__cta-bottom {
    padding: 60px 20px;
    text-align: center;
    background: #f9f9f9;
}

.page-support__cta-bottom .page-support__section-title {
    color: #26A9E0;
}

.page-support__cta-bottom .page-support__section-description {
    color: #555555;
    margin-bottom: 30px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-support__section-title {
        font-size: 32px;
    }
    .page-support__section-description {
        font-size: 17px;
    }
    .page-support__main-title {
        font-size: clamp(26px, 4vw, 40px);
    }
    .page-support__hero-description {
        font-size: clamp(15px, 2vw, 18px);
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        padding-top: 10px !important; /* body already handles offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__hero-image img {
        border-radius: 4px;
    }
    .page-support__main-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 15px;
    }
    .page-support__hero-description {
        font-size: clamp(14px, 3vw, 16px);
        margin-bottom: 25px;
    }
    .page-support__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .page-support__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__section-title {
        font-size: 28px;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-support__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* Images responsiveness */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-support__contact-card img,
    .page-support__guide-card img,
    .page-support__safety-card img,
    .page-support__advantage-item img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; /* Allow height to adjust for smaller images too */
    }
    .page-support__guide-card img {
         /* Slightly reduce fixed height for mobile */
    }

    /* Buttons responsiveness */
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-tertiary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
        display: block;
        margin-top: 10px; /* Add some spacing between stacked buttons */
        margin-bottom: 10px;
    }
    /* Ensure button containers also adapt */
    .page-support__contact-card,
    .page-support__guide-card,
    .page-support__safety-card,
    .page-support__advantage-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__contact-methods,
    .page-support__guides-grid,
    .page-support__safety-cards,
    .page-support__advantages-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* FAQ specific mobile styles */
    details.page-support__faq-item summary.page-support__faq-question {
        padding: 15px;
        font-size: 16px;
    }
    .page-support__faq-qtext {
        font-size: 15px;
    }
    .page-support__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    details.page-support__faq-item .page-support__faq-answer {
        padding: 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-support__section-title {
        font-size: 24px;
    }
    .page-support__main-title {
        font-size: clamp(22px, 7vw, 30px);
    }
    .page-support__hero-description {
        font-size: clamp(14px, 4vw, 15px);
    }
    .page-support__contact-card h3,
    .page-support__guide-card h3,
    .page-support__safety-card h3 {
        font-size: 20px;
    }
    .page-support__advantage-item h3 {
        font-size: 18px;
    }
    .page-support__contact-card p,
    .page-support__guide-card p,
    .page-support__safety-card p,
    .page-support__advantage-item p {
        font-size: 14px;
    }
    .page-support__cta-button,
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-tertiary {
        padding: 10px 20px;
        font-size: 15px;
    }
}