.page-terms-conditions {
    /* Body background is #08160F (dark), so main text color should be light */
    color: #F2FFF6; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #08160F; /* Background */
}

.page-terms-conditions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    min-height: 500px; /* Ensure hero section has some height */
}

.page-terms-conditions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* No CSS filters allowed */
}

.page-terms-conditions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(17, 39, 27, 0.85); /* Card B G with transparency */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #2E7A4E; /* Border */
}

.page-terms-conditions__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-terms-conditions__lead-paragraph {
    font-size: clamp(16px, 2vw, 20px);
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-terms-conditions__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    border: none;
}

.page-terms-conditions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(34, 199, 104, 0.4); /* Glow effect */
}

.page-terms-conditions__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* Green from button gradient */
    border: 2px solid #2AD16F;
}

.page-terms-conditions__btn-secondary:hover {
    background-color: #2AD16F;
    color: #F2FFF6;
    box-shadow: 0 4px 10px rgba(34, 199, 104, 0.3);
}

.page-terms-conditions__section {
    padding: 40px 20px;
    margin-bottom: 20px;
    background-color: #08160F; /* Background */
}

.page-terms-conditions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-terms-conditions__section-title {
    font-size: clamp(24px, 3.5vw, 36px);
    color: #F2FFF6; /* Text Main */
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-terms-conditions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #2AD16F; /* Green from button gradient */
    border-radius: 2px;
}

.page-terms-conditions__text-block {
    font-size: 17px;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.page-terms-conditions__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid #2E7A4E; /* Border */
}

/* FAQ Section */
.page-terms-conditions__faq-section {
    background-color: #11271B; /* Card B G */
    padding: 60px 20px;
    border-top: 1px solid #1E3A2A; /* Divider */
}

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

.page-terms-conditions__faq-item {
    background-color: #0A4B2C; /* Deep Green */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #2E7A4E; /* Border */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    background-color: #0A4B2C; /* Deep Green */
    transition: background-color 0.3s ease;
    list-style: none; /* For details summary */
}

.page-terms-conditions__faq-question:hover {
    background-color: #13994A; /* Darker green from button gradient */
}

.page-terms-conditions__faq-question::-webkit-details-marker {
    display: none;
}

.page-terms-conditions__faq-qtext {
    flex-grow: 1;
}

.page-terms-conditions__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: #57E38D; /* Glow */
}

.page-terms-conditions__faq-answer {
    padding: 0 20px 20px;
    font-size: 16px;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.6;
    max-height: 0; /* For JS controlled expand/collapse if not using details */
    overflow: hidden; /* For JS controlled expand/collapse if not using details */
    transition: max-height 0.3s ease-out, padding 0.3s ease-out; /* For JS controlled expand/collapse if not using details */
}

.page-terms-conditions__faq-item[open] .page-terms-conditions__faq-answer {
    max-height: 1000px; /* Arbitrarily large value for smooth transition */
    padding-top: 10px;
}

/* CTA Banner Section */
.page-terms-conditions__cta-banner {
    background: linear-gradient(90deg, #11A84E 0%, #22C768 100%); /* Main and Aux colors */
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-terms-conditions__cta-title {
    font-size: clamp(26px, 3.5vw, 40px);
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-terms-conditions__cta-description {
    font-size: clamp(16px, 2vw, 20px);
    color: #F2FFF6; /* Text Main */
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
        min-height: 350px;
    }

    .page-terms-conditions__hero-content {
        padding: 20px;
    }

    .page-terms-conditions__main-title {
        font-size: 28px;
    }

    .page-terms-conditions__lead-paragraph {
        font-size: 16px;
    }

    .page-terms-conditions__cta-button {
        padding: 12px 20px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-terms-conditions__section,
    .page-terms-conditions__faq-section,
    .page-terms-conditions__cta-banner {
        padding: 30px 15px;
    }

    .page-terms-conditions__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-terms-conditions__section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .page-terms-conditions__text-block {
        font-size: 15px;
        line-height: 1.6;
    }

    .page-terms-conditions__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto;
    }

    .page-terms-conditions__faq-question {
        font-size: 16px;
        padding: 15px;
    }

    .page-terms-conditions__faq-toggle {
        font-size: 20px;
    }

    .page-terms-conditions__faq-answer {
        font-size: 15px;
        padding: 0 15px 15px;
    }

    .page-terms-conditions__cta-title {
        font-size: 26px;
    }

    .page-terms-conditions__cta-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
}