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

.page-terms-conditions__hero-section {
    background-color: #002060; /* Primary brand color */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-terms-conditions__hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-terms-conditions__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFD700; /* Secondary brand color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-terms-conditions__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Secondary brand color */
    color: #002060; /* Primary brand color for text */
    padding: 15px 30px;
    border-radius: 50px;
    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__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

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

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

.page-terms-conditions__section {
    margin-bottom: 40px;
    background-color: #ffffff; /* White background for sections */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__section-title {
    font-size: 2em;
    color: #002060; /* Primary brand color */
    margin-bottom: 15px;
    border-bottom: 2px solid #FFD700; /* Secondary brand color as underline */
    padding-bottom: 10px;
}

.page-terms-conditions__section-text {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #333333;
}

.page-terms-conditions__section-text a {
    color: #002060; /* Link color matching primary brand */
    text-decoration: underline;
}

.page-terms-conditions__section-text a:hover {
    color: #FFD700; /* Secondary brand color on hover */
}

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

.page-terms-conditions__list-item {
    font-size: 1.05em;
    margin-bottom: 8px;
}

.page-terms-conditions__list-item a {
    color: #002060;
    text-decoration: underline;
}

.page-terms-conditions__list-item a:hover {
    color: #FFD700;
}

.page-terms-conditions__section-image {
    width: 100%; /* Ensure images are responsive within their containers */
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: cover; /* Ensure images fill their space without distortion */
}

.page-terms-conditions__final-cta {
    text-align: center;
    padding: 50px 20px;
    background-color: #002060; /* Primary brand color */
    color: #ffffff;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__final-cta-text {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #FFD700; /* Secondary brand color */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding: 60px 15px;
    }

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

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

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

    .page-terms-conditions__section-text,
    .page-terms-conditions__list-item {
        font-size: 0.95em;
    }

    .page-terms-conditions__final-cta-text {
        font-size: 1.4em;
    }

    .page-terms-conditions__section-image {
        max-width: 100%;
        height: auto;
    }
}

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

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

    .page-terms-conditions__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

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

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

    .page-terms-conditions__final-cta {
        padding: 30px 15px;
    }
}

/* Enforce content area image size constraint for mobile */
@media (max-width: 768px) {
    .page-terms-conditions__content-area img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px;
    }
}