/* style/terms-conditions.css */

/* Base styles for the page content, inheriting from body if needed */
.page-terms-conditions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main for dark background */
    background-color: #08160F; /* Background color */
    padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-terms-conditions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as per rule */
    text-align: center;
    box-sizing: border-box;
}

.page-terms-conditions__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px; /* Space between image and text */
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

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

.page-terms-conditions__main-title {
    font-size: clamp(2em, 3.5vw, 2.8em); /* Use clamp for H1 font size */
    font-weight: 700;
    line-height: 1.2;
    color: #F2C14E; /* Gold for main title */
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-terms-conditions__intro-text {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

/* Content Area */
.page-terms-conditions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-terms-conditions__container {
    padding: 20px;
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #2E7A4E; /* Border color */
}

.page-terms-conditions__section-title {
    font-size: 2em;
    color: #F2C14E; /* Gold */
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #1E3A2A; /* Divider */
    padding-bottom: 10px;
}

.page-terms-conditions__sub-title {
    font-size: 1.4em;
    color: #2AD16F; /* Lighter Green for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-terms-conditions__text-block {
    margin-bottom: 25px;
    padding: 15px;
    border-left: 4px solid #11A84E; /* Primary color as accent */
    background-color: rgba(17, 39, 27, 0.5); /* Slightly transparent Card BG */
    border-radius: 5px;
}

.page-terms-conditions__text-block p {
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

.page-terms-conditions__text-block p:last-child {
    margin-bottom: 0;
}

.page-terms-conditions__link {
    color: #57E38D; /* Glow for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
    text-decoration: underline;
    color: #F2C14E; /* Gold on hover */
}

.page-terms-conditions__image-text-block {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 25px;
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    border: 1px solid #2E7A4E; /* Border color */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions__image-text-block.page-terms-conditions__reverse-layout {
    flex-direction: row-reverse;
}

.page-terms-conditions__content-image {
    width: 50%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-terms-conditions__text-content {
    flex: 1;
    color: #F2FFF6; /* Text Main */
}

.page-terms-conditions__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    margin-bottom: 20px;
}

.page-terms-conditions__contact-list li {
    margin-bottom: 10px;
    color: #A7D9B8; /* Text Secondary */
}

.page-terms-conditions__contact-list li a {
    color: #57E38D; /* Glow for links */
    text-decoration: none;
}

.page-terms-conditions__contact-list li a:hover {
    text-decoration: underline;
    color: #F2C14E; /* Gold on hover */
}

.page-terms-conditions__btn-secondary {
    background: #0A4B2C; /* Deep Green */
    color: #F2FFF6; /* Text Main */
    border: 2px solid #2AD16F; /* Lighter Green border */
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.page-terms-conditions__btn-secondary:hover {
    background: #11A84E; /* Primary color on hover */
    border-color: #F2C14E; /* Gold border on hover */
    transform: translateY(-2px);
}

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

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

.page-terms-conditions__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #F2C14E; /* Gold for FAQ question */
    font-weight: bold;
    font-size: 1.1em;
    background-color: #0A4B2C; /* Deep Green */
    transition: background-color 0.3s ease;
}

.page-terms-conditions__faq-item summary:hover {
    background-color: #11A84E; /* Primary color on hover */
}

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

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

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

.page-terms-conditions__faq-item[open] .page-terms-conditions__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'minus' icon */
}

.page-terms-conditions__faq-answer {
    padding: 20px 25px;
    color: #A7D9B8; /* Text Secondary */
    border-top: 1px solid #1E3A2A; /* Divider */
    background-color: rgba(17, 39, 27, 0.5); /* Slightly transparent Card BG */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-terms-conditions {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-terms-conditions__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-terms-conditions__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 size for mobile */
    }

    .page-terms-conditions__intro-text {
        font-size: 1em;
    }

    .page-terms-conditions__cta-button,
    .page-terms-conditions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 15px; /* Space between buttons if stacked */
    }

    .page-terms-conditions__content-area {
        padding: 20px 15px;
    }

    .page-terms-conditions__container,
    .page-terms-conditions__text-block,
    .page-terms-conditions__image-text-block,
    .page-terms-conditions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Add horizontal padding to containers */
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }

    .page-terms-conditions__image-text-block,
    .page-terms-conditions__image-text-block.page-terms-conditions__reverse-layout {
        flex-direction: column; /* Stack image and text vertically */
        gap: 20px;
    }

    .page-terms-conditions__content-image {
        width: 100%; /* Image takes full width */
        max-width: 100% !important;
        height: auto !important;
    }

    .page-terms-conditions__text-content {
        width: 100%;
    }

    .page-terms-conditions__section-title {
        font-size: 1.8em;
    }

    .page-terms-conditions__sub-title {
        font-size: 1.2em;
    }

    /* Ensure all images are responsive */
    .page-terms-conditions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

/* Ensure no filter on images */
.page-terms-conditions img {
    filter: none;
}