/* style/terms-conditions.css */

/* General Page Styling */
.page-terms-conditions {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

/* Hero Section */
.page-terms-conditions__hero {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.page-terms-conditions__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1); /* Subtle overlay */
    z-index: 1;
}

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

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

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

.page-terms-conditions__hero-image {
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
    transition: transform 0.3s ease-in-out;
}

.page-terms-conditions__hero-image:hover {
    transform: scale(1.03);
}

/* Content Section */
.page-terms-conditions__content {
    padding: 60px 0;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    margin: -40px auto 40px auto; /* Overlap hero section */
    border-radius: 15px;
    position: relative;
    z-index: 3;
}

.page-terms-conditions__article {
    font-size: 1.1em;
    color: #495057;
}

.page-terms-conditions__article p {
    margin-bottom: 20px;
}

.page-terms-conditions__heading {
    font-size: 2.2em;
    color: #007bff;
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 3px solid #ffc107;
    padding-bottom: 10px;
    font-weight: 600;
}

.page-terms-conditions__sub-heading {
    font-size: 1.6em;
    color: #0056b3;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-terms-conditions__article ul {
    list-style-type: disc;
    margin-left: 30px;
    margin-bottom: 20px;
    color: #555;
}

.page-terms-conditions__article ol {
    list-style-type: decimal;
    margin-left: 30px;
    margin-bottom: 20px;
    color: #555;
}

.page-terms-conditions__article li {
    margin-bottom: 10px;
}

.page-terms-conditions__link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
    color: #0056b3;
    text-decoration: underline;
}

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

/* Call to Action */
.page-terms-conditions__cta-wrapper {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    background-color: #ffc107;
    color: #333;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

.page-terms-conditions__cta-button:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.6);
}

/* 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__heading {
        font-size: 1.8em;
    }

    .page-terms-conditions__sub-heading {
        font-size: 1.4em;
    }

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

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

    .page-terms-conditions__content {
        padding: 40px 0;
        margin: -30px auto 30px auto;
    }
}

@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: 100%;
    }

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