﻿
/* header section */
.static-header {
    background: url(../img/StaticPage_header.webp) center / cover no-repeat;
}

.navbar-custom {
    background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.75) 70%, rgba(0, 0, 0, 1) 100%), var(--primary-bg) !important;
}
.partners-section, .footer-section {
    background: var(--primary-bg) !important;
}

.buyer-seller-section, .seller-section, .buyer-section {
    position: relative;
    background: var(--primary-bg);
    padding-right: 85px;
    padding-left: 85px;
    color: #ffffff;
    overflow: hidden;
}

    .buyer-seller-section p {
        font-size: 1.5rem;
        line-height: 2;
        color: var(--muted);
    }

/************ Seller Questions section************* */

.seller-content, .buyer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 70px;
}

.seller-faq {
    flex: 1;
}

.fac-image {
    position: relative;
    width: 420px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

    .fac-image img {
        width: 100%;
        max-width: 360px;
        height: 445px;
        display: block;
        position: relative;
        z-index: 2;
    }

    .fac-image .frame {
        position: absolute;
        top: 40px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 430px;
        height: 375px;
        border: 2px solid rgba(255,255,255,.8);
        z-index: 1;
        box-sizing: border-box;
    }

.faq-item {
    border-top: 1px solid rgba(255,255,255,.5);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 18px 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
}

    .faq-question:focus {
        outline: none;
    }

    .faq-question span:first-child {
        flex: 1;
    }

.faq-icon {
    flex-shrink: 0;
    font-size: 40px;
    line-height: 1;
}

    .faq-icon::before {
        content: "+";
    }

.faq-question:not(.collapsed) .faq-icon::before {
    content: "−";
}

.faq-answer {
    padding: 0 0 25px;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.8;
}
@media (max-width:480px) {

    .seller-section,
    .buyer-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .faq-question {
        font-size: 1rem;
        letter-spacing: .5px;
    }

    .faq-answer {
        font-size: .95rem;
    }

    .fac-image {
        max-width: 260px;
    }

        .fac-image img {
            max-width: 220px;
        }

        .fac-image .frame {
            max-width: 240px;
            height: 210px;
            top: 18px;
        }
}
@media (max-width:768px) {

    .seller-content,
    .buyer-content {
        flex-direction: column;
        gap: 40px;
    }

    /* Buyer : FAQ avant image */
    .buyer-content {
        flex-direction: column-reverse;
    }

    .fac-image {
        width: 100%;
        max-width: 320px;
        margin: auto;
    }

        .fac-image img {
            max-width: 260px;
        }

        .fac-image .frame {
            max-width: 280px;
            height: 250px;
            top: 25px;
        }

    .faq-question {
        font-size: 1.2rem;
        letter-spacing: 1px;
        padding: 16px 0;
        gap: 12px;
    }

    .faq-icon {
        font-size: 28px;
    }

    .faq-answer {
        font-size: 1rem;
        line-height: 1.6;
        padding-bottom: 18px;
    }
}
@media (max-width: 991px) {
    .buyer-seller-section, .seller-section, .buyer-section {   
        padding: 0 30px;
       
    }

        .seller-content,
        .buyer-content {
            flex-direction: column;
            align-items: center;
            gap: 50px;
        }

        .seller-faq {
            width: 100%;
        }

        .fac-image {
            width: 100%;
            max-width: 420px;
        }

            .fac-image img {
                max-width: 320px;
            }

            .fac-image .frame {
                max-width: 360px;
                height: 330px;
            }

        .faq-question {
            font-size: 1.6rem;
        }

        .faq-answer {
            font-size: 1.2rem;
        }
    }

/*********************** Helpful Terms section****************/

.terms-card-container {
    width: 100%;
    padding: 0 85px;
    margin-bottom: 100px;
}

/* Card */
.terms-card {
    display: flex;
    align-items: stretch;
    gap: 0;
    color: #fff;
    margin-bottom: 35px;
}

/* Image */
.terms-card-img {
    width: 46%;
    height: 280px;
    object-fit: cover;
    display: block;
}

/* Content */
.terms-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Titre */
.terms-card-title {
    margin: 0;
    padding-left: 32px;
    font-size: 2.5rem;
    line-height: .95;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.terms-card-desc {
    margin-top: 15px;
    border: 2px solid #fff;
    border-left: none;
    padding: 1px 1px 1px 32px;
    font-size: 1.5rem;
    line-height: 1.6;
}
@media (max-width:480px) {

    .terms-card-container {
        padding: 0 15px;
        margin-bottom: 50px;
    }

    .terms-card {
        margin-bottom: 35px;
    }

    .terms-card-img {
        height: auto;
    }

    .terms-card-title {
        font-size: 1.4rem;
        padding: 18px 15px 0;
        letter-spacing: 1px;
    }

    .terms-card-desc {
        margin-top: 12px;
        padding: 15px;
        font-size: .95rem;
        line-height: 1.6;
    }
}
@media (max-width:768px) {

    .terms-card-container {
        padding: 0 20px;
    }

    .terms-card {
        flex-direction: column;
        margin-bottom: 50px;
    }

    .terms-card-img {
        width: 100%;
        height: 240px;
    }

    .terms-card-content {
        width: 100%;
    }

    .terms-card-title {
        padding: 25px 20px 0;
        font-size: 1.8rem;
        letter-spacing: 2px;
        line-height: 1.2;
    }

    .terms-card-desc {
        border: 2px solid #fff;
        margin-top: 18px;
        padding: 20px;
        font-size: 1.05rem;
        line-height: 1.7;
    }
}
@media (max-width:992px) {

    .terms-card-container {
        padding: 0 40px;
        margin-bottom: 70px;
    }

    .terms-card-img {
        width: 100%;
        height: auto;
    }

    .terms-card-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
        padding-left: 24px;
    }

    .terms-card-desc {
        font-size: 1.2rem;
        padding: 16px 20px 16px 24px;
    }
}
/* Responsive */
@media (max-width:1000px) {
    .single-card-img {
        height: 240px;
    }

    .single-card-title {
        font-size: 44px;
    }
}

@media (max-width:760px) {
    .single-card {
        flex-direction: column;
    }

    .single-card-img {
        width: 100%;
        height: 260px;
    }

    .single-card-title {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .single-card-desc {
        border-left: 2px solid #fff;
        margin-top: 16px;
        padding: 18px;
    }

    .single-card-container {
        padding: 0 20px;
    }
}


.popup-overlay-terms {
    position: fixed;
    inset: 0;
    width: 940px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(30px);
    display: none;
    z-index: 9999;
    overflow-y: auto;
    padding: 40px 40px 0 40px;
}

.terms-content {
    margin-top: 70px;
    height: calc(100vh - 140px);
    overflow-y: auto;
}


.terms-title {
    position: absolute;
    top: 32px;
    left: 40px;
    margin: 0;
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-bg);
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 32px;
    z-index: 10;
}


.terms-list {
    padding: 20px 20px 0px 40px;
}

    .terms-list li {
        margin-bottom: 20px;
        line-height: 1.8;
        font-size: 18px;
        color: var(--primary-bg);
    }