.page-terms-conditions {
    font-family: Arial, sans-serif;
    color: #FFFFFF;
    background-color: #100224; /* Primary background color from WOW88 style */
}

.page-terms-conditions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
}

.page-terms-conditions__hero-image {
    width: 100%;
    max-height: 675px; /* Limit height for hero */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-terms-conditions__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-terms-conditions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #26A9E0; /* Primary brand color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-terms-conditions__content-area {
    padding: 40px 0;
    background-color: #1a0632; /* Slightly lighter than main background for content */
}

.page-terms-conditions__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-terms-conditions__section-intro {
    margin-bottom: 40px;
    padding: 20px;
    background-color: rgba(38, 169, 224, 0.1); /* Light blue tint */
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
}

.page-terms-conditions__section-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #26A9E0;
    text-align: center;
}

.page-terms-conditions__section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #240b40; /* Card-like background for sections */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative; /* For image positioning */
}

.page-terms-conditions__sub-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFFFFF; /* White for subtitles */
    border-bottom: 2px solid #26A9E0;
    padding-bottom: 10px;
}

.page-terms-conditions__paragraph {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #E0E0E0;
}

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

.page-terms-conditions__list-item {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.page-terms-conditions__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-terms-conditions__image--right {
    float: right;
    margin-left: 30px;
    max-width: 400px; /* Constrain image size */
}

.page-terms-conditions__image--left {
    float: left;
    margin-right: 30px;
    max-width: 400px; /* Constrain image size */
}

.page-terms-conditions__contact-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    clear: both; /* Clear floats from images */
}

.page-terms-conditions__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-terms-conditions__button--primary {
    background-color: #EA7C07; /* Login color */
    color: #FFFFFF;
    border: none;
}

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

.page-terms-conditions__button--secondary {
    background-color: #26A9E0; /* Primary brand color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

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

.page-terms-conditions__list--inline {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    justify-content: center;
    margin-top: 30px;
}

.page-terms-conditions__list--inline a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: 500;
}

.page-terms-conditions__list--inline a:hover {
    text-decoration: underline;
    color: #EA7C07;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-terms-conditions__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .page-terms-conditions__description {
        font-size: 0.95rem;
    }

    .page-terms-conditions__section-title {
        font-size: 1.8rem;
    }

    .page-terms-conditions__sub-title {
        font-size: 1.5rem;
    }

    .page-terms-conditions__paragraph,
    .page-terms-conditions__list-item {
        font-size: 0.9rem;
    }

    .page-terms-conditions__image--right,
    .page-terms-conditions__image--left {
        float: none;
        margin: 20px auto;
        max-width: 100%;
    }

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

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

    .page-terms-conditions__list--inline {
        flex-direction: column;
        align-items: center;
    }

    /* Ensure images in content area do not overflow */
    .page-terms-conditions__content-area img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__hero-image {
        max-height: 400px;
    }
    .page-terms-conditions__hero-section {
        padding-bottom: 20px;
    }
    .page-terms-conditions__main-title {
        font-size: clamp(1.8rem, 10vw, 2.2rem);
    }
    .page-terms-conditions__section-intro,
    .page-terms-conditions__section {
        padding: 15px;
    }
}