/* terms-conditions.css */

.page-terms-conditions {
    background-color: #F4F7FB; /* Use the specified background color */
    color: #1F2D3D; /* Main text color */
    padding-bottom: 40px; /* Add some padding at the bottom */
}

.page-terms-conditions__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #F4F7FB; /* Fallback/consistent background */
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
}

.page-terms-conditions__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.page-terms-conditions__main-title {
    color: #1F2D3D; /* Main text color */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    font-size: clamp(2rem, 5vw, 3rem); /* Example clamp for responsiveness */
}

.page-terms-conditions__description {
    color: #1F2D3D; /* Main text color */
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

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

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

.page-terms-conditions__section-title {
    color: #2F6BFF; /* Main color for section titles */
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #D6E2FF; /* Border color */
}

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

.page-terms-conditions__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-terms-conditions__list-item {
    color: #1F2D3D; /* Main text color */
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.page-terms-conditions__contact-link {
    color: #2F6BFF; /* Main color for links */
    text-decoration: none;
    font-weight: 500;
}

.page-terms-conditions__contact-link:hover {
    text-decoration: underline;
    color: #6FA3FF; /* Accent color on hover */
}

.page-terms-conditions__cta-section {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: #F4F7FB; /* Background color */
    border-radius: 8px;
    border: 1px solid #D6E2FF; /* Border color */
}

.page-terms-conditions__cta-text {
    color: #000000; /* Custom Color_1776249996415 */
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

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

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

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

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

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

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

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

    .page-terms-conditions__cta-text {
        font-size: 1.1rem;
    }

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

    /* Ensure content area images are responsive and not too small */
    .page-terms-conditions img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure images in content area are not styled to be too small */
.page-terms-conditions__content-area img {
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
    width: auto; /* Allow image to size itself, but respect min-width/height */
    height: auto;
    max-width: 100%; /* Ensure responsiveness */
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}