/* style/terms-conditions.css */
.page-terms-conditions {
    font-family: 'Arial', sans-serif;
    color: #f5f5f5; /* Light text on dark background */
    background-color: #0A2342; /* Main dark blue background */
    line-height: 1.6;
}

.page-terms-conditions__hero {
    background: linear-gradient(135deg, #0A2342 0%, #1a3a63 100%);
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid #E0B400;
}

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

.page-terms-conditions__title {
    font-size: 3.5em;
    color: #E0B400; /* Gold accent for title */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-terms-conditions__subtitle {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-terms-conditions__hero-button {
    display: inline-block;
    background-color: #E0B400;
    color: #0A2342;
    padding: 15px 30px;
    border-radius: 5px;
    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.3);
}

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

.page-terms-conditions__hero-image-wrapper {
    position: absolute;
    bottom: -50px; /* Adjust as needed */
    right: -50px; /* Adjust as needed */
    opacity: 0.1;
    z-index: 0;
}

.page-terms-conditions__hero-image {
    width: 300px;
    height: auto;
    transform: rotate(-15deg);
}

.page-terms-conditions__section {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #1a3a63; /* Slightly lighter blue for content sections */
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__section:last-of-type {
    margin-bottom: 0;
}

.page-terms-conditions__section-title {
    font-size: 2.5em;
    color: #E0B400;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    border-bottom: 2px solid rgba(224, 180, 0, 0.3);
    padding-bottom: 15px;
}

.page-terms-conditions__subsection {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.page-terms-conditions__subsection:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.page-terms-conditions__subsection-title {
    font-size: 1.8em;
    color: #E0B400;
    margin-bottom: 20px;
}

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

.page-terms-conditions__list {
    list-style-type: disc;
    padding-left: 30px;
    margin-bottom: 20px;
}

.page-terms-conditions__list li {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #f5f5f5;
}

.page-terms-conditions__list li strong {
    color: #E0B400;
}

.page-terms-conditions__button {
    display: inline-block;
    background-color: #E0B400;
    color: #0A2342;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-right: 15px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-terms-conditions__button--secondary {
    background-color: #54657b; /* Darker blue for secondary button */
    color: #ffffff;
}

.page-terms-conditions__button--secondary:hover {
    background-color: #6c7b8e;
}

.page-terms-conditions__cta-banner {
    background: linear-gradient(90deg, #E0B400 0%, #f0c822 100%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.page-terms-conditions__cta-title {
    font-size: 2.8em;
    color: #0A2342;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-terms-conditions__cta-button {
    display: inline-block;
    background-color: #0A2342;
    color: #E0B400;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions__cta-button:hover {
    background-color: #1a3a63;
    color: #f0c822;
    transform: translateY(-5px);
}

.page-terms-conditions__cta-image-wrapper {
    margin-top: 40px;
}

.page-terms-conditions__cta-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-terms-conditions__hero {
        padding: 60px 20px;
    }

    .page-terms-conditions__title {
        font-size: 2.5em;
    }

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

    .page-terms-conditions__section {
        padding: 40px 20px;
    }

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

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

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

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

    .page-terms-conditions__cta-banner {
        padding: 40px 20px;
    }

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

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

    .page-terms-conditions__cta-button {
        font-size: 1.1em;
        padding: 15px 25px;
    }
    
    .page-terms-conditions__hero-image-wrapper {
        display: none; /* Hide decorative image on smaller screens */
    }
}

@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.8em;
    }

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

    .page-terms-conditions__hero-button,
    .page-terms-conditions__button,
    .page-terms-conditions__cta-button {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page-terms-conditions__button:last-child {
        margin-bottom: 0;
    }
}