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

.page-terms-conditions__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #000000; /* Main color for hero background */
}

.page-terms-conditions__hero-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.7;
}

.page-terms-conditions__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    color: #FFFFFF;
}

.page-terms-conditions__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF;
    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;
    max-width: 800px;
    color: #FFFFFF;
}

.page-terms-conditions__hero-button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for contrast */
    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;
}

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

.page-terms-conditions__content-area {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

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

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

.page-terms-conditions__section-title {
    font-size: 2em;
    color: #000000; /* Main color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-terms-conditions__subsection-title {
    font-size: 1.5em;
    color: #333333;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-terms-conditions__section-paragraph {
    font-size: 1.05em;
    margin-bottom: 15px;
    color: #444444;
}

.page-terms-conditions__link {
    color: #FCBC45; /* Highlight color for links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
    color: #e0a53b;
    text-decoration: underline;
}

.page-terms-conditions__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 15px;
}

.page-terms-conditions__button--primary {
    background-color: #000000; /* Main color */
    color: #FFFFFF;
}

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

.page-terms-conditions__button--secondary {
    background-color: #FCBC45; /* Login button color */
    color: #000000;
}

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

/* 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.6em;
    }

    .page-terms-conditions__subsection-title {
        font-size: 1.3em;
    }

    .page-terms-conditions__hero-button,
    .page-terms-conditions__button {
        padding: 10px 20px;
        font-size: 0.95em;
    }

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

    /* Prevent image overflow on mobile */
    .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__subsection-title {
        font-size: 1.2em;
    }
}