/* style/terms-conditions.css */

/* Base styles for the terms and conditions page */
.page-terms-conditions {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa; /* Light grey background for readability */
}

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

/* Hero Section */
.page-terms-conditions__hero-section {
    background: linear-gradient(135deg, #007bff, #0056b3); /* Darker blue gradient for depth */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-terms-conditions__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.page-terms-conditions__hero-section .page-terms-conditions__container {
    position: relative;
    z-index: 2;
}

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

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

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

/* Content Section */
.page-terms-conditions__content-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-terms-conditions__intro-text {
    font-size: 1.1em;
    margin-bottom: 40px;
    text-align: justify;
    color: #555;
    padding: 0 10px;
}

.page-terms-conditions__article {
    margin-bottom: 50px;
    padding: 30px;
    background-color: #fefefe;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #ffc107; /* Highlight with auxiliary color */
}

.page-terms-conditions__heading {
    font-size: 2em;
    color: #007bff; /* Primary color for headings */
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.page-terms-conditions__article p {
    margin-bottom: 15px;
    color: #444;
    text-align: justify;
}

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

/* Buttons */
.page-terms-conditions__button {
    display: inline-block;
    background-color: #ffc107; /* Auxiliary color for buttons */
    color: #333; /* Dark text for contrast */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.page-terms-conditions__button--primary {
    background-color: #007bff;
    color: #ffffff;
}

.page-terms-conditions__button--primary:hover {
    background-color: #0056b3;
    color: #ffffff;
}

.page-terms-conditions__button--secondary {
    background-color: #f0f0f0;
    color: #007bff;
    border: 1px solid #007bff;
    margin-left: 15px;
}

.page-terms-conditions__button--secondary:hover {
    background-color: #e0e0e0;
    color: #0056b3;
    border-color: #0056b3;
}

/* Call to Action Footer */
.page-terms-conditions__cta-footer {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: #e9f5ff; /* Lighter blue background */
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.page-terms-conditions__cta-footer p {
    font-size: 1.2em;
    margin-bottom: 25px;
    color: #0056b3;
    font-weight: 500;
}

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

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

    .page-terms-conditions__hero-section {
        padding: 60px 0;
    }

    .page-terms-conditions__content-section {
        padding: 40px 0;
    }

    .page-terms-conditions__heading {
        font-size: 1.7em;
    }

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

    .page-terms-conditions__button {
        display: block;
        width: fit-content;
        margin: 20px auto 0;
    }
    
    .page-terms-conditions__button--secondary {
        margin-left: auto;
        margin-right: auto;
        margin-top: 15px;
    }
}

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

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

    .page-terms-conditions__hero-image {
        max-width: 95%;
    }

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

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

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

    .page-terms-conditions__cta-footer {
        padding: 30px 20px;
    }

    .page-terms-conditions__cta-footer p {
        font-size: 1em;
    }
}