/* style/terms-conditions.css */
.page-terms-conditions {
    color: #333333; /* Dark text for default white body background */
    line-height: 1.7;
    font-family: Arial, sans-serif;
    padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

.page-terms-conditions__hero-section {
    background-color: #0A1931; /* Dark blue background for hero */
    color: #ffffff; /* White text on dark background */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Contain image */
}

.page-terms-conditions__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1; /* Ensure text is above image if image is positioned */
}

.page-terms-conditions__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #E0B700; /* Gold for main title */
    line-height: 1.2;
}

.page-terms-conditions__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-terms-conditions__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-terms-conditions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the hero section */
    opacity: 0.2; /* Subtle background */
    z-index: 0; /* Behind text */
}

.page-terms-conditions__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-terms-conditions__section-title {
    font-size: 2em;
    color: #0A1931; /* Dark blue for section titles */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #E0B700; /* Gold underline */
    padding-bottom: 10px;
}

.page-terms-conditions__paragraph {
    margin-bottom: 15px;
    font-size: 1.05em;
}

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

.page-terms-conditions__list-item {
    margin-bottom: 8px;
}

.page-terms-conditions__link {
    color: #0A1931; /* Dark blue for links */
    text-decoration: underline;
}

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

.page-terms-conditions__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1.1em;
    text-align: center;
    white-space: nowrap; /* Prevent text wrapping on buttons */
}

.page-terms-conditions__button--primary {
    background-color: #E0B700; /* Gold button */
    color: #0A1931; /* Dark blue text */
    border: 2px solid #E0B700;
}

.page-terms-conditions__button--primary:hover {
    background-color: #f0c800; /* Slightly lighter gold */
    color: #000000;
}

.page-terms-conditions__button--secondary {
    background-color: transparent;
    color: #0A1931; /* Dark blue text */
    border: 2px solid #0A1931;
}

.page-terms-conditions__button--secondary:hover {
    background-color: #0A1931;
    color: #ffffff;
}

.page-terms-conditions__image {
    display: block;
    width: 100%;
    max-width: 800px; /* Max width for content images */
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* No filter to change color */
}

.page-terms-conditions__cta-section {
    background-color: #0A1931;
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    margin-top: 60px;
    border-radius: 10px;
}

.page-terms-conditions__cta-title {
    font-size: 2.2em;
    color: #E0B700;
    margin-bottom: 20px;
}

.page-terms-conditions__cta-description {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-terms-conditions__hero-title {
        font-size: 2em;
    }

    .page-terms-conditions__hero-description {
        font-size: 1em;
    }

    .page-terms-conditions__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-terms-conditions__button {
        width: 80%;
        margin: 0 auto;
    }

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

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

    .page-terms-conditions__image {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto; /* Maintain aspect ratio */
    }

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

    .page-terms-conditions__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__hero-section {
        padding: 60px 15px;
    }

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

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

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

    .page-terms-conditions__button {
        width: 100%;
    }
}

/* Mobile content area image overflow prevention */
@media (max-width: 768px) {
    .page-terms-conditions img {
        max-width: 100%;
        height: auto;
    }
    .page-terms-conditions {
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }
}