/* style/terms-conditions.css */

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

@media (max-width: 768px) {
    .page-terms-conditions {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header height if different */
    }
}

.page-terms-conditions__hero-section {
    background-color: #0A2463; /* Dark blue background for hero */
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow */
}

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

.page-terms-conditions__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-terms-conditions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-terms-conditions__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle overlay */
    display: block;
    /* No filter to change color */
}

.page-terms-conditions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff; /* Explicit white background for content area */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    margin-top: -40px; /* Overlap with hero for visual flow */
    position: relative;
    z-index: 2;
}

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

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

.page-terms-conditions__paragraph {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
}

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

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

.page-terms-conditions__paragraph a,
.page-terms-conditions__list-item a {
    color: #0A2463; /* Dark blue for links */
    text-decoration: underline;
    font-weight: bold;
}

.page-terms-conditions__paragraph a:hover,
.page-terms-conditions__list-item a:hover {
    color: #FFD700; /* Gold on hover */
    text-decoration: none;
}

.page-terms-conditions__call-to-action {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.page-terms-conditions__call-to-action-text {
    font-size: 1.4em;
    color: #0A2463;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-terms-conditions__button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #0A2463; /* Dark blue text on gold button */
    padding: 15px 30px;
    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__button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-terms-conditions__hero-title {
        font-size: 2.5em;
    }
    .page-terms-conditions__hero-description {
        font-size: 1.1em;
    }
    .page-terms-conditions__section-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__paragraph,
    .page-terms-conditions__list {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding: 40px 15px;
    }
    .page-terms-conditions__hero-title {
        font-size: 2em;
    }
    .page-terms-conditions__hero-description {
        font-size: 0.95em;
    }
    .page-terms-conditions__content-area {
        padding: 20px 15px;
        margin-top: -20px;
    }
    .page-terms-conditions__section-title {
        font-size: 1.5em;
    }
    .page-terms-conditions__paragraph,
    .page-terms-conditions__list {
        font-size: 0.95em;
    }
    .page-terms-conditions__call-to-action-text {
        font-size: 1.2em;
    }
    .page-terms-conditions__button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    /* Mobile image constraint */
    .page-terms-conditions__hero-image img,
    .page-terms-conditions__content-area img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure no content area images are small */
.page-terms-conditions__article img {
    min-width: 200px; /* Minimum width for content images */
    min-height: 200px; /* Minimum height for content images */
    width: 100%; /* Default to full width of container */
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* No filter to change color */
}