/* style/terms-conditions.css */

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

/* Hero Section */
.page-terms-conditions__hero-section {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    padding: 20px;
}

.page-terms-conditions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-terms-conditions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px;
    background: rgba(0, 51, 102, 0.85); /* Semi-transparent dark blue overlay */
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

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

.page-terms-conditions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-terms-conditions__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #003366; /* Dark blue text on gold */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__hero-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

/* Content Area */
.page-terms-conditions__content-area {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-terms-conditions__section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.page-terms-conditions__section:last-child {
    border-bottom: none;
}

.page-terms-conditions__section-title {
    font-size: 2em;
    color: #003366; /* Dark blue for section titles */
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-terms-conditions__paragraph a {
    color: #003366;
    text-decoration: underline;
    font-weight: bold;
}

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

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

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

.page-terms-conditions__section-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover; /* Ensures image covers area without distortion */
}

/* Call to Action Section */
.page-terms-conditions__cta-section {
    text-align: center;
    margin-top: 50px;
    padding: 40px 20px;
    background-color: #003366; /* Dark blue background */
    border-radius: 12px;
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

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

.page-terms-conditions__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #003366; /* Dark blue text on gold */
    padding: 18px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-terms-conditions__hero-content {
        padding: 20px;
        margin: 0 10px;
    }

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

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

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

    .page-terms-conditions__content-area {
        margin: 20px auto;
        padding: 15px;
    }

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

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

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

    /* Ensure images are responsive and do not overflow */
    .page-terms-conditions img {
        max-width: 100%;
        height: auto;
    }
}

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

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

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

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