.page-terms-conditions {
    background-color: #F4F7FB;
    color: #1F2D3D;
    font-family: Arial, sans-serif;
}

.page-terms-conditions__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding */
    background-color: #F4F7FB;
    overflow: hidden;
}

.page-terms-conditions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
    fetchpriority: high;
}

.page-terms-conditions__hero-content {
    text-align: center;
    max-width: 1200px;
    padding: 0 20px 40px;
}

.page-terms-conditions__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #000000;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-terms-conditions__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #1F2D3D;
    max-width: 800px;
    margin: 0 auto;
}

.page-terms-conditions__content-area {
    padding: 40px 20px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: 20px auto;
    max-width: 1200px;
    border: 1px solid #D6E2FF;
}

.page-terms-conditions__container {
    max-width: 900px;
    margin: 0 auto;
}

.page-terms-conditions__section-title {
    font-size: 1.8em;
    color: #000000;
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: 2px solid #D6E2FF;
    padding-bottom: 8px;
}

.page-terms-conditions__paragraph {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #1F2D3D;
}

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

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

.page-terms-conditions__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-terms-conditions__call-to-action {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px dashed #D6E2FF;
}

.page-terms-conditions__cta-text {
    font-size: 1.2em;
    color: #000000;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

.page-terms-conditions__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(47, 107, 255, 0.6);
}

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

    .page-terms-conditions__hero-content {
        padding: 0 15px 30px;
    }

    .page-terms-conditions__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }

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

    .page-terms-conditions__content-area {
        padding: 25px 15px;
        margin: 15px auto;
    }

    .page-terms-conditions__section-title {
        font-size: 1.5em;
        margin-top: 25px;
    }

    .page-terms-conditions__paragraph,
    .page-terms-conditions__list-item {
        font-size: 0.95em;
    }

    .page-terms-conditions__list {
        margin-left: 20px;
    }

    .page-terms-conditions__content-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }

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