﻿@media (min-width: 1200px) {
    .content-container {
        max-width: 1140px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(10dvh);
}

/* Section1 */
.section1-container {
    width: 100%;
    min-height: 30rem;
    border-radius: 1.3rem;
    background-image: url(/images/PartnerBenefits/Section1-background.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin: 0 auto;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 4rem;
    justify-content: center;
}

    .section1-container::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        border-radius: inherit;
        z-index: 0;
    }

    .section1-container > * {
        position: relative;
        z-index: 1;
    }

.section1-h1 {
    font-size: 2.5rem;
    width: 30rem;
}

.section1-p {
    width: 35rem;
}

.section1-p, .section1-h1 {
    color: var(--PrimaryColor7);
    margin: 0;
}

/* Section2 */
.partner-section2-container {
    width: 85%;
    margin: 0 auto;
    margin-top: 5rem;
    border-radius: 1.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 7rem;
    background-position: center;
    min-height: 14rem;
    background-size: cover;
    background-image: url(/images/PartnerBenefits/Section2-background.png);
    transition: all 0.2s ease-in-out;
}

    .partner-section2-container:hover {
        transform: translateY(-4px) scale(1.02);
    }

.partner-section2-p {
    text-align: center;
    color: var(--PrimaryColor7);
    margin: 0;
}

/* General */
.section-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 6rem;
    margin-top: 10rem;
}

.check-icon {
    width: 25px;
    height: 25px;
}

.section-image {
    width: 40%;
    transition: all 0.2s ease-in-out;
}

    .section-image:hover {
        transform: scale(1.05);
    }

.section-content-h2, .section-p {
    margin: 0;
}

.section-item {
    display: flex;
    gap: 1rem;
}

.section-p {
    text-align: justify;
    font-size: 1rem;
    width: 90%;
}

.section-content-container {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: 1rem 0.8rem;
    border-radius: 1rem;
    transition: all 0.2s ease-in-out;
}

    .section-content-container:hover {
        box-shadow: 0 6px 10px #5554;
        transform: translateY(-4px);
    }

.section-items-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* SupportSection */
.support-section-container {
    width: 100%;
    margin-top: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.support-h2 {
    font-size: 2.5rem;
}

.support-p {
    width: 50%;
    text-align: center;
}

.support-h2, .support-p {
    margin: 0;
}

.support-items-container {
    width: 75%;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
}

.support-item {
    width: 48%;
    padding: 1.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 7px 10px #5554;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.2s ease-in-out;
}

    .support-item:hover {
        transform: translateY(-4px);
    }

.support-item-p {
    margin: 0;
    font-weight: 500;
    font-size: 1.4rem;
}

/* Responsive */
@media (max-width: 950px) {
    .section1-container {
        width: 95%;
    }

    .section-container {
        width: 80%;
        flex-direction: column-reverse;
        margin: 0 auto;
        margin-top: 6rem;
        gap: 3rem;
    }

    .section-special-container {
        flex-direction: column !important;
    }

    .support-p {
        width: 70%;
    }

    .support-items-container {
        width: 95%;
    }

    .support-item {
        width: 45%;
    }

    .section-image {
        width: 85%;
    }
}

@media (max-width: 500px) {
    .section1-container {
        padding: 0 2rem;
    }

    .partner-section2-container {
        padding: 3rem;
    }

    .section1-h1 {
        font-size: 1.6rem;
        width: 85%;
    }

    .section1-p {
        width: 100%;
    }

    .section-container {
        width: 90%;
    }

    .section-image {
        width: 100%;
    }

    .support-h2 {
        font-size: 1.6rem;
        text-align: center;
    }

    .support-p, .support-item {
        width: 85%;
    }

    .section-special-icon {
        width: 70px;
        height: 70px;
    }

    .support-icon {
        width: 50px;
        height: 50px;
    }

    .section8-item-title {
        font-size: 1.6rem;
    }

    .section8-item-icon {
        width: 4.5rem;
    }

    .section8-item-container {
        width: 80%;
    }
}