/* style/terms-conditions.css */

/* Base styles for the terms-conditions page */
.page-terms-conditions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is #0a0a0a from shared.css */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

/* Hero Section */
.page-terms-conditions__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-terms-conditions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Slightly dim the background image for text readability */
    filter: none; /* Ensure no CSS filter changes image color */
}

.page-terms-conditions__main-title {
    font-size: 3.2em;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__intro-text {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-terms-conditions__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-terms-conditions__btn-primary:hover {
    background-color: #1f8ec4;
    border-color: #1f8ec4;
}

.page-terms-conditions__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-terms-conditions__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
    border-color: #ffffff;
}

/* Content Area */
.page-terms-conditions__content-area {
    padding: 60px 0;
    background-color: #0a0a0a; /* Ensure content background is distinct from body if needed, but here it matches */
}

.page-terms-conditions__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Main brand color for titles */
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: bold;
    text-align: center;
}

.page-terms-conditions__sub-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-terms-conditions__paragraph {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-terms-conditions__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    object-fit: cover;
    filter: none; /* Ensure no CSS filter changes image color */
}

.page-terms-conditions a {
    color: #26A9E0;
    text-decoration: none;
}

.page-terms-conditions a:hover {
    text-decoration: underline;
}

.page-terms-conditions__cta-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-terms-conditions__cta-text {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: bold;
}

/* FAQ Section */
.page-terms-conditions__faq-section {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    padding: 60px 0;
}

.page-terms-conditions__faq-list {
    margin-top: 40px;
}

.page-terms-conditions__faq-item {
    background-color: #0a0a0a; /* Dark background for each FAQ item */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-terms-conditions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: #26A9E0; /* Brand color for question background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-terms-conditions__faq-question:hover {
    background-color: #1f8ec4;
}

.page-terms-conditions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-terms-conditions__faq-item details > summary {
    list-style: none; /* Hide default marker */
}
.page-terms-conditions__faq-item details > summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-terms-conditions__faq-answer {
    padding: 20px 25px;
    font-size: 1.1em;
    color: #f0f0f0;
    background-color: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-terms-conditions__main-title {
        font-size: 2.8em;
    }
    .page-terms-conditions__intro-text {
        font-size: 1.1em;
    }
    .page-terms-conditions__section-title {
        font-size: 2.2em;
    }
    .page-terms-conditions__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-terms-conditions__hero-section {
        padding: 60px 0;
        min-height: 400px;
    }
    .page-terms-conditions__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-terms-conditions__intro-text {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-terms-conditions__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-terms-conditions__btn-primary,
    .page-terms-conditions__btn-secondary {
        width: 100% !important;
        padding: 12px 20px;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-terms-conditions__content-area,
    .page-terms-conditions__faq-section {
        padding: 40px 0;
    }
    .page-terms-conditions__container {
        padding: 0 15px !important; /* Add padding for mobile content */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-terms-conditions__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .page-terms-conditions__sub-title {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 10px;
    }
    .page-terms-conditions__paragraph {
        font-size: 1em;
    }
    .page-terms-conditions__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min size for mobile */
        min-height: 200px !important; /* Ensure min size for mobile */
    }

    /* FAQ specific for mobile */
    .page-terms-conditions__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-terms-conditions__faq-answer {
        font-size: 1em;
        padding: 15px 20px;
    }
    /* Ensure video section (if any) has correct padding-top on mobile */
    .page-terms-conditions__video-section {
        padding-top: var(--header-offset, 120px) !important; 
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__main-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__intro-text {
        font-size: 0.95em;
    }
    .page-terms-conditions__section-title {
        font-size: 1.6em;
    }
    .page-terms-conditions__sub-title {
        font-size: 1.2em;
    }
}

/* Global image rules to prevent small icons and color filters */
.page-terms-conditions img {
    filter: none !important; /* Absolutely no filter */
    min-width: 200px;
    min-height: 200px;
}

/* Ensure content area images (any img under .page-terms-conditions) are not styled smaller than 200px */
/* This rule is already handled by the general .page-terms-conditions img rule above */
/* and the mobile media query for images */