/* style/terms-conditions.css */
.page-terms-conditions {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.page-terms-conditions__hero {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-terms-conditions__title {
    font-size: 3.2em;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__subtitle {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-terms-conditions__hero-image {
    position: absolute;
    bottom: -20px;
    right: -50px;
    width: 250px;
    height: auto;
    opacity: 0.2;
    transform: rotate(15deg);
    filter: grayscale(100%);
    pointer-events: none;
    display: none; /* Hide on smaller screens */
}

@media (min-width: 768px) {
    .page-terms-conditions__hero-image {
        display: block;
    }
}

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

.page-terms-conditions__section {
    padding: 40px 0;
    position: relative;
}

.page-terms-conditions__section--alt-bg {
    background-color: #e9ecef;
}

.page-terms-conditions__section-title {
    font-size: 2.2em;
    color: #007bff;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.page-terms-conditions__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #ffc107;
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-terms-conditions p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #495057;
}

.page-terms-conditions ul,
.page-terms-conditions ol {
    margin-bottom: 15px;
    padding-left: 25px;
    color: #495057;
}

.page-terms-conditions li {
    margin-bottom: 8px;
    font-size: 1.05em;
}

.page-terms-conditions__image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 20px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__image--left {
    float: left;
    margin-right: 25px;
    margin-top: 5px;
    margin-bottom: 15px;
}

.page-terms-conditions__image--right {
    float: right;
    margin-left: 25px;
    margin-top: 5px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .page-terms-conditions__image--left,
    .page-terms-conditions__image--right {
        float: none;
        margin: 20px auto;
    }
}

.page-terms-conditions__section--cta {
    background-color: #007bff;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.page-terms-conditions__cta-content {
    position: relative;
    z-index: 1;
}

.page-terms-conditions__section--cta .page-terms-conditions__section-title {
    color: #fff;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.page-terms-conditions__section--cta .page-terms-conditions__section-title::after {
    background-color: #ffc107;
}

.page-terms-conditions__section--cta p {
    color: #e0e0e0;
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-terms-conditions__button {
    display: inline-block;
    background-color: #ffc107;
    color: #000;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__button:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
}

.page-terms-conditions__cta-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    width: 400px;
    height: auto;
    opacity: 0.15;
    pointer-events: none;
    filter: grayscale(100%);
    display: none;
}

@media (min-width: 768px) {
    .page-terms-conditions__cta-image {
        display: block;
    }
}

.page-terms-conditions .highlight-keyword {
    color: #ffc107;
    font-weight: bold;
}

@media (max-width: 768px) {
    .page-terms-conditions__title {
        font-size: 2.5em;
    }

    .page-terms-conditions__subtitle {
        font-size: 1.2em;
    }

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

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

    .page-terms-conditions__button {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    .page-terms-conditions p,
    .page-terms-conditions li {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__title {
        font-size: 2em;
    }

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

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

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

    .page-terms-conditions__button {
        padding: 10px 20px;
        font-size: 1em;
    }
}