.page-terms-conditions {
    color: #ffffff; /* Body background #0a0a0a is dark, so text should be light */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-terms-conditions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small decorative top padding, body handles header offset */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
    background: linear-gradient(135deg, #0a0a0a 0%, #26A9E0 100%); /* Blend dark bg with brand color */
    color: #ffffff;
}

.page-terms-conditions__hero-image {
    width: 100%;
    max-width: 1200px; /* Max width for the image */
    height: auto;
    object-fit: cover;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    filter: none; /* Ensure no filter on images */
}

.page-terms-conditions__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure text is above any potential background elements */
}

.page-terms-conditions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff; /* Light color for dark background */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-terms-conditions__intro-text {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-terms-conditions__btn-primary {
    display: inline-block;
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-terms-conditions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #0a0a0a; /* Explicitly dark background */
    color: #ffffff; /* Explicitly light text */
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__container {
    padding: 20px;
}

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

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

.page-terms-conditions__paragraph {
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: #f0f0f0;
}

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

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

.page-terms-conditions__list-item {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: #f0f0f0;
}

.page-terms-conditions__content-image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Max width for content images */
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    filter: none; /* Ensure no filter on images */
}

.page-terms-conditions__cta-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-terms-conditions__btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: #26A9E0; /* Brand color for text */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: 2px solid #26A9E0;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-terms-conditions__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-terms-conditions__faq-list {
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-terms-conditions__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for FAQ item */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-terms-conditions__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #26A9E0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(38, 169, 224, 0.2);
    transition: background-color 0.3s ease;
}

.page-terms-conditions__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.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.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #ffffff;
}

.page-terms-conditions__faq-answer {
    padding: 20px;
    font-size: 1rem;
    color: #f0f0f0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Small decorative top padding for mobile */
    }

    .page-terms-conditions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

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

    .page-terms-conditions__btn-primary,
    .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: 12px 20px !important;
        margin: 5px 0; /* Adjust margin for stacked buttons */
    }

    .page-terms-conditions__cta-container {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-terms-conditions__content-area {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

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

    .page-terms-conditions__sub-section-title {
        font-size: 1.4rem;
    }

    .page-terms-conditions__paragraph,
    .page-terms-conditions__list-item,
    .page-terms-conditions__faq-item summary,
    .page-terms-conditions__faq-answer {
        font-size: 0.95rem;
    }
    
    /* Mobile image responsive adaptations */
    .page-terms-conditions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-terms-conditions__hero-section,
    .page-terms-conditions__faq-list,
    .page-terms-conditions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
}