/* 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 handles the background color */
}

/* Inline links */
.page-terms-conditions__inline-link {
    color: #26A9E0; /* Brand color for inline links */
    text-decoration: underline;
}

.page-terms-conditions__inline-link:hover {
    color: #1a8cc2;
}

/* Hero Section */
.page-terms-conditions__hero-section {
    position: relative;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background-color: var(--black-color);
}

.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 */
}

.page-terms-conditions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    padding: 30px;
    border-radius: 10px;
}

.page-terms-conditions__main-title {
    font-size: 2.8em;
    color: #26A9E0; /* Brand color for main title */
    margin-bottom: 20px;
}

.page-terms-conditions__description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

/* Content Area */
.page-terms-conditions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
    background-color: var(--black-color); /* Use shared black color for consistency */
    color: #ffffff; /* Light text for dark background */
}

.page-terms-conditions__container {
    max-width: 900px;
    margin: 0 auto;
}

.page-terms-conditions__section-title {
    font-size: 2.2em;
    color: #26A9E0; /* Brand color for section titles */
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(38, 169, 224, 0.5);
    padding-bottom: 10px;
}

.page-terms-conditions__sub-title {
    font-size: 1.6em;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.page-terms-conditions__paragraph strong {
    color: #26A9E0; /* Highlight keywords */
}

.page-terms-conditions__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* CTA Buttons */
.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 10px;
    text-align: center;
    max-width: 100%; /* For responsiveness */
    box-sizing: border-box; /* For responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

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

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

.page-terms-conditions__btn-secondary {
    background-color: #EA7C07; /* Login color for secondary CTA */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-terms-conditions__btn-secondary:hover {
    background-color: #d16b05;
    border-color: #d16b05;
}

.page-terms-conditions__cta-block {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: rgba(38, 169, 224, 0.1); /* Light brand color background */
    border-radius: 8px;
}

.page-terms-conditions__cta-text {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-terms-conditions__faq-list {
    margin-top: 30px;
}

.page-terms-conditions__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

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

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

.page-terms-conditions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(38, 169, 224, 0.2); /* Slightly darker brand color for question */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-terms-conditions__faq-question:hover {
    background-color: rgba(38, 169, 224, 0.3);
}

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

.page-terms-conditions__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1.05em;
    color: #f0f0f0;
    line-height: 1.7;
}

.page-terms-conditions__faq-answer p {
    margin-bottom: 10px;
}

.page-terms-conditions__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-terms-conditions__main-title {
        font-size: 2.4em;
    }
    .page-terms-conditions__section-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__sub-title {
        font-size: 1.4em;
    }
    .page-terms-conditions__paragraph,
    .page-terms-conditions__description {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
    }
    .page-terms-conditions__hero-content {
        padding: 20px;
    }
    .page-terms-conditions__main-title {
        font-size: 2em;
    }
    .page-terms-conditions__description {
        font-size: 0.95em;
    }
    .page-terms-conditions__content-area {
        padding: 40px 15px;
    }
    .page-terms-conditions__section-title {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-terms-conditions__sub-title {
        font-size: 1.2em;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-terms-conditions__paragraph {
        font-size: 0.9em;
    }
    .page-terms-conditions__cta-text {
        font-size: 1.1em;
    }
    .page-terms-conditions__cta-button {
        padding: 12px 20px;
        font-size: 0.9em;
        width: 100%; /* Full width buttons on mobile */
        margin: 10px 0;
    }
    .page-terms-conditions__cta-block {
        padding: 20px;
    }

    /* Mobile image adaptation */
    .page-terms-conditions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-terms-conditions__section,
    .page-terms-conditions__container,
    .page-terms-conditions__hero-section,
    .page-terms-conditions__hero-content,
    .page-terms-conditions__cta-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ mobile adjustments */
    .page-terms-conditions__faq-question {
        font-size: 1.05em;
        padding: 15px 20px;
    }
    .page-terms-conditions__faq-answer {
        font-size: 0.95em;
        padding: 10px 20px 15px;
    }
    .page-terms-conditions__faq-toggle {
        font-size: 1.2em;
    }
}