/* style/terms-conditions.css */
.page-terms-conditions {
    color: #ffffff; /* Default light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-terms-conditions__hero-section {
    position: relative;
    width: 100%;
    padding-top: var(--header-offset, 120px);
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #000000; /* Ensure dark background for contrast */
}

.page-terms-conditions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
}

.page-terms-conditions__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
    z-index: 2;
}

.page-terms-conditions__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-terms-conditions__main-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #26A9E0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-terms-conditions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #000000; /* Dark background for content area */
    color: #ffffff; /* Light text for dark background */
}

.page-terms-conditions__article {
    margin-bottom: 40px;
}

.page-terms-conditions__section-title {
    font-size: 2.2em;
    color: #26A9E0;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #26A9E0;
    padding-bottom: 10px;
}

.page-terms-conditions h3 {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-terms-conditions p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-terms-conditions__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-terms-conditions__list-item {
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-terms-conditions__link {
    color: #26A9E0;
    text-decoration: underline;
}

.page-terms-conditions__link:hover {
    color: #EA7C07;
}

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

/* FAQ Section */
.page-terms-conditions__faq-section {
    padding: 60px 20px;
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #ffffff;
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

.page-terms-conditions__faq-item {
    background-color: #0d0d0d;
    border: 1px solid #26A9E0;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-terms-conditions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: #26A9E0;
    background-color: #0d0d0d;
    transition: background-color 0.3s ease;
}

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

.page-terms-conditions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-question {
    color: #ffffff;
    background-color: #26A9E0;
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-toggle {
    transform: rotate(45deg);
    color: #ffffff;
}

.page-terms-conditions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #000000;
    color: #f0f0f0;
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 20px;
}

/* CTA Section */
.page-terms-conditions__cta-section {
    background-color: #26A9E0;
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
    border-radius: 10px;
    max-width: 1200px;
    margin: 40px auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions__cta-title {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-terms-conditions__cta-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-terms-conditions__btn-primary {
    display: inline-block;
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-terms-conditions__btn-primary:hover {
    background-color: #d16b06;
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-terms-conditions__main-title {
        font-size: 2.5em;
    }
    .page-terms-conditions__description {
        font-size: 1.1em;
    }
    .page-terms-conditions__section-title {
        font-size: 2em;
    }
    .page-terms-conditions__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-terms-conditions__hero-section {
        height: 500px;
    }
    .page-terms-conditions__hero-content {
        padding: 15px;
    }
    .page-terms-conditions__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-terms-conditions__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-terms-conditions__section-title {
        font-size: 1.8em;
    }
    .page-terms-conditions p,
    .page-terms-conditions li {
      color: #f0f0f0 !important;
    }

    /* Mobile image adaptation */
    .page-terms-conditions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-terms-conditions__image-full-width {
        margin: 20px auto !important;
    }
    .page-terms-conditions__content-area,
    .page-terms-conditions__faq-section,
    .page-terms-conditions__cta-section {
        padding: 30px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-terms-conditions__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-terms-conditions__faq-answer {
        padding: 0 15px;
    }
    .page-terms-conditions__faq-item.active .page-terms-conditions__faq-answer {
        padding: 12px 15px;
    }
    .page-terms-conditions__cta-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__cta-description {
        font-size: 1em;
    }

    /* Mobile button adaptation */
    .page-terms-conditions__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
    }
    .page-terms-conditions__hero-content .page-terms-conditions__btn-primary {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__hero-section {
        height: 400px;
    }
    .page-terms-conditions__main-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__description {
        font-size: 0.9em;
    }
    .page-terms-conditions__section-title {
        font-size: 1.5em;
    }
    .page-terms-conditions__cta-title {
        font-size: 1.5em;
    }
}