/* style/terms-conditions.css */
.page-terms-conditions {
    color: #ffffff; /* Light text for dark body background */
    background-color: #000000; /* Ensure main content area matches body background if not explicitly set by shared.css */
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
}

.page-terms-conditions__hero-section {
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
    text-align: center;
    background-color: #0A192F; /* Main brand color for hero background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

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

.page-terms-conditions__hero-title {
    font-size: 3.2em;
    color: #FFD700; /* Accent color for main title */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

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

.page-terms-conditions__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Accent color for button */
    color: #0A192F; /* Dark text for accent button */
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-terms-conditions__hero-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.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.15; /* Subtly blend background image */
    display: block;
}

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

.page-terms-conditions__article {
    background-color: #0A192F; /* Main brand color for article background */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__article-heading {
    font-size: 2em;
    color: #FFD700; /* Accent color for main article headings */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.page-terms-conditions__article-subheading {
    font-size: 1.5em;
    color: #f0f0f0;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-terms-conditions__article-paragraph {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 15px;
    line-height: 1.7;
}

.page-terms-conditions__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

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

.page-terms-conditions__image-container {
    margin: 30px 0;
    text-align: center;
}

.page-terms-conditions__image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

.page-terms-conditions__contact-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-terms-conditions__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-terms-conditions__button--primary {
    background-color: #FFD700;
    color: #0A192F;
}

.page-terms-conditions__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-terms-conditions__button--secondary {
    background-color: #545e6d; /* A lighter shade of the main color for contrast */
    color: #ffffff;
}

.page-terms-conditions__button--secondary:hover {
    background-color: #6c7582;
    transform: translateY(-2px);
}

.page-terms-conditions__cta-section {
    background-color: #0A192F; /* Main brand color */
    padding: 60px 20px;
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.page-terms-conditions__cta-content {
    max-width: 800px;
    z-index: 1;
    position: relative;
}

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

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

.page-terms-conditions__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Accent color */
    color: #0A192F;
    padding: 18px 45px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

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

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

.page-terms-conditions__cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1; /* Subtly blend background image */
    display: block;
}

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

    .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__hero-button {
        padding: 12px 30px;
        font-size: 1em;
    }

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

    .page-terms-conditions__article-heading {
        font-size: 1.6em;
    }

    .page-terms-conditions__article-subheading {
        font-size: 1.3em;
    }

    .page-terms-conditions__article-paragraph,
    .page-terms-conditions__list-item {
        font-size: 0.95em;
    }

    .page-terms-conditions__contact-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .page-terms-conditions__cta-section {
        padding: 40px 15px;
    }

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

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

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

    /* Enforce responsive image behavior for mobile */
    .page-terms-conditions__hero-image img,
    .page-terms-conditions__image-container img,
    .page-terms-conditions__cta-image img {
        max-width: 100%;
        height: auto;
    }

    /* Ensure content area does not cause horizontal scroll */
    .page-terms-conditions {
        overflow-x: hidden;
    }
}