/* style/terms-conditions.css */

/* Base styles for the terms and conditions page */
.page-terms-conditions {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333; /* Dark grey for readability */
    background-color: #f8f9fa; /* Light background */
    padding: 20px 0;
}

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

/* Hero Section */
.page-terms-conditions__hero {
    background: linear-gradient(135deg, #0056b3, #007bff); /* Adjusted for better contrast with white text */
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__title {
    font-size: 2.8em;
    margin-bottom: 15px;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__subtitle {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.page-terms-conditions__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}

/* General Section Styling */
.page-terms-conditions__section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border-left: 5px solid #007bff; /* Accent border */
}

.page-terms-conditions__section-title {
    font-size: 2em;
    color: #007bff; /* Main brand color */
    margin-bottom: 20px;
    border-bottom: 2px solid #ffc107; /* Auxiliary accent */
    padding-bottom: 10px;
    font-weight: 600;
}

.page-terms-conditions__subsection-title {
    font-size: 1.5em;
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 500;
}

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

.page-terms-conditions__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Call to Action (CTA) */
.page-terms-conditions__cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    background-color: #ffc107; /* Auxiliary color for CTA */
    color: #333; /* Dark text for contrast on yellow */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-button:hover {
    background-color: #e0a800; /* Darker yellow on hover */
    transform: translateY(-2px);
    color: #000;
}

/* Last Update */
.page-terms-conditions__last-update {
    text-align: right;
    margin-top: 50px;
    font-size: 0.9em;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-terms-conditions__title {
        font-size: 2em;
    }

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

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

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

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

@media (max-width: 480px) {
    .page-terms-conditions__hero {
        padding: 40px 15px;
    }

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

    .page-terms-conditions__cta-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .page-terms-conditions__cta-button {
        width: 90%;
        max-width: 300px;
    }
}