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

.page-terms-conditions__hero-section {
    background-color: #f8f8f8;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-terms-conditions__hero-title {
    font-size: 2.8em;
    color: #1E90FF; /* Royal Blue for main title */
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

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

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
}

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

.page-terms-conditions__section {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.page-terms-conditions__section-title {
    font-size: 2.2em;
    color: #FFD700; /* Gold for section titles */
    margin-bottom: 20px;
    border-bottom: 3px solid #1E90FF; /* Royal Blue underline */
    padding-bottom: 10px;
    font-weight: bold;
}

.page-terms-conditions__sub-section-title {
    font-size: 1.6em;
    color: #1E90FF; /* Royal Blue for sub-section titles */
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-terms-conditions__paragraph {
    margin-bottom: 15px;
    font-size: 1em;
    color: #333333;
}

.page-terms-conditions__paragraph a {
    color: #1E90FF; /* Links in content */
    text-decoration: none;
    font-weight: bold;
}

.page-terms-conditions__paragraph a:hover {
    text-decoration: underline;
}

.page-terms-conditions__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum image width */
    min-height: 200px; /* Enforce minimum image height */
    object-fit: cover;
}

.page-terms-conditions__cta-section {
    background-color: #1E90FF; /* Royal Blue background for CTA */
    color: #ffffff;
    padding: 50px 20px;
    text-align: center;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for CTA title */
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-terms-conditions__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #1E90FF; /* Royal Blue text on button */
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-button:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: translateY(-3px);
}

/* 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__section-title {
        font-size: 1.8em;
    }

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

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

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

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

@media (max-width: 480px) {
    .page-terms-conditions__hero-title {
        font-size: 1.6em;
    }

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

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

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

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