.page-terms-conditions {
    background-color: #F4F7FB;
    color: #1F2D3D;
}

.page-terms-conditions__hero-section {
    padding-top: 10px; /* Small top padding for the first section */
    background-color: #F4F7FB;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.page-terms-conditions__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain hero image width */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

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

.page-terms-conditions__main-title {
    color: #000000; /* Custom Color_1776249996415 */
    font-size: clamp(2rem, 4vw, 3.2rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.page-terms-conditions__intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1F2D3D;
    max-width: 700px;
    margin: 0 auto;
}

.page-terms-conditions__content-area {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-terms-conditions__section-title {
    color: #2F6BFF;
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: 2px solid #D6E2FF; /* Border color */
    padding-bottom: 8px;
}

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

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

.page-terms-conditions__list-item {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.page-terms-conditions__button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 15px;
    margin-bottom: 25px;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-terms-conditions__button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
}

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

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

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

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

    .page-terms-conditions__content-area {
        padding: 30px 15px;
    }

    .page-terms-conditions__section-title {
        font-size: 1.5rem;
        margin-top: 30px;
        margin-bottom: 10px;
    }

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

    .page-terms-conditions__button {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: unset;
        width: 100%;
        box-sizing: border-box;
    }

    .page-terms-conditions__hero-image,
    .page-terms-conditions__image {
        max-width: 100%; /* Ensure images are responsive and don't overflow */
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__main-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
    .page-terms-conditions__section-title {
        font-size: 1.3rem;
    }
}

/* Ensure no image filters are applied */
.page-terms-conditions__hero-image, .page-terms-conditions__image {
    filter: none;
}