.page-terms-conditions {
    background-color: #F4F7FB; /* Background color */
    color: #1F2D3D; /* Main text color */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-terms-conditions__hero-section {
    background-color: #2F6BFF; /* Primary color for hero background */
    color: #FFFFFF;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 10px; /* Small top padding as body handles header offset */
}

.page-terms-conditions__main-heading {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 20px;
    max-width: 900px; /* Limit H1 width for better readability */
    margin-left: auto;
    margin-right: auto;
}

.page-terms-conditions__intro-text {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
}

.page-terms-conditions__content-section {
    background-color: #FFFFFF; /* Card BG color */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.page-terms-conditions__section-heading {
    color: #2F6BFF; /* Primary color for section headings */
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-terms-conditions__paragraph {
    margin-bottom: 15px;
    color: #1F2D3D; /* Main text color */
}

.page-terms-conditions__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
    color: #1F2D3D;
}

.page-terms-conditions__list-item {
    margin-bottom: 10px;
}

.page-terms-conditions__image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-terms-conditions__link {
    color: #2F6BFF; /* Primary color for links */
    text-decoration: none;
    font-weight: bold;
}

.page-terms-conditions__link:hover {
    text-decoration: underline;
}

.page-terms-conditions__button-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background 0.3s ease;
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.4);
    min-width: 200px; /* Ensure buttons are not too small */
}

.page-terms-conditions__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 6px 15px rgba(47, 107, 255, 0.6);
}

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

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

    .page-terms-conditions__main-heading {
        font-size: 2em;
    }

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

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

    .page-terms-conditions__image {
        max-width: 100%;
        height: auto; /* Ensure images scale down */
    }

    .page-terms-conditions__cta-button {
        width: 100%;
        max-width: 300px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__main-heading {
        font-size: 1.8em;
    }

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

    .page-terms-conditions__section-heading {
        font-size: 1.3em;
    }
}