/* =========================================================
   RESELLING
========================================================= */

.reselling-page {
    font-family: "Poppins", sans-serif;
    color: #333;
}

.reselling-container {
    width: min(1150px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   INTRO
========================================================= */

.reselling-intro {
    padding: 75px 0 65px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 247, 216, 0.85),
            rgba(255, 255, 255, 0.95)
        );

    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.reselling-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reselling-title img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.reselling-eyebrow {
    display: block;

    margin-bottom: 4px;

    color: #777;

    font-size: 13px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.reselling-title h1 {
    margin: 0;

    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;

    color: #333;
}

.reselling-title h1 span {
    color: var(--primary-color);
}

.reselling-description {
    max-width: 750px;

    margin: 24px 0 28px;

    font-size: 16px;
    line-height: 1.9;

    color: #606060;
}

.reselling-intro-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 12px 20px;

    background: var(--primary-color);
    color: #fff;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.reselling-intro-button:hover {
    color: #fff;

    transform: translateY(-2px);

    box-shadow:
        0 7px 20px
        rgba(0, 0, 0, 0.15);
}


/* =========================================================
   COMMON SECTION HEADING
========================================================= */

.section-heading {
    max-width: 700px;
    margin-bottom: 30px;
}

.section-heading > span {
    display: block;

    margin-bottom: 5px;

    color: var(--primary-color);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0 0 9px;

    font-size: clamp(25px, 4vw, 35px);
    font-weight: 800;

    color: #d4242a;
}

.section-heading p {
    margin: 0;

    color: #777;

    line-height: 1.7;
}


/* =========================================================
   DEALERS
========================================================= */

.dealer-section {
    padding: 70px 0;
}


/* 2 columns */

.dealer-showcase {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(0, 0.92fr);

    min-height: 440px;

    border: 1px solid rgba(0, 0, 0, 0.08);

    border-radius: 15px;

    overflow: hidden;

    background: #fff;

    box-shadow:
        0 12px 35px
        rgba(0, 0, 0, 0.07);
}


/* =========================================================
   DEALER SLIDER
========================================================= */

.dealer-slider {
    position: relative;

    min-height: 440px;

    overflow: hidden;

    background: #eee;
}

.dealer-slider-track {
    position: relative;

    width: 100%;
    height: 100%;
}

.dealer-slide {
    position: absolute;

    inset: 0;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.55s ease,
        visibility 0.55s ease;
}

.dealer-slide.active {
    opacity: 1;
    visibility: visible;
}

.dealer-slide img {
    width: 100%;
    height: 100%;

    min-height: 440px;

    object-fit: cover;
}

.dealer-photo-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 45px 20px 20px;

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, 0.68)
        );
}

.dealer-photo-overlay span {
    color: #fff;

    font-size: 13px;
    font-weight: 600;
}


/* arrows */

.dealer-slider-btn {
    position: absolute;

    top: 50%;

    z-index: 5;

    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.90);

    color: #333;

    transform: translateY(-50%);

    cursor: pointer;

    box-shadow:
        0 4px 12px
        rgba(0, 0, 0, 0.15);
}

.dealer-prev {
    left: 14px;
}

.dealer-next {
    right: 14px;
}


/* dots */

.dealer-slider-dots {
    position: absolute;

    z-index: 6;

    left: 50%;
    bottom: 17px;

    display: flex;
    gap: 7px;

    transform: translateX(-50%);
}

.dealer-slider-dots button {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.55);

    transition:
        width 0.2s ease,
        border-radius 0.2s ease,
        background 0.2s ease;
}

.dealer-slider-dots button.active {
    width: 23px;

    border-radius: 20px;

    background: #f4c430;
}


/* =========================================================
   TESTIMONIAL
========================================================= */

.dealer-testimonial {
    position: relative;

    display: flex;
    flex-direction: column;

    justify-content: center;

    padding: 45px;

    background:
        linear-gradient(
            145deg,
            #fff,
            #fff9e7
        );
}

.testimonial-header {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 25px;
}

.testimonial-quote-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f4c430;

    color: #6c1b1b;

    font-size: 24px;
}

.testimonial-header > span {
    color: var(--primary-color);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.testimonial-item {
    display: none;
}

.testimonial-item.active {
    display: block;

    animation:
        testimonialFade
        0.5s ease;
}

@keyframes testimonialFade {

    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.testimonial-item blockquote {
    margin: 0 0 25px;

    font-size: 18px;
    line-height: 1.8;

    color: #444;

    font-style: italic;
}

.testimonial-person {
    display: flex;
    flex-direction: column;
}

.testimonial-person strong {
    color: #333;

    font-size: 15px;
}

.testimonial-person span {
    margin-top: 2px;

    color: #888;

    font-size: 12px;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-top: 35px;

    padding-top: 17px;

    border-top:
        1px solid
        rgba(0, 0, 0, 0.08);
}

.testimonial-footer img {
    width: 24px;
    height: 24px;
}

.testimonial-footer span {
    color: #777;

    font-size: 11px;
    font-style: italic;
}


/* =========================================================
   FAQ
========================================================= */

.reseller-faq-section {
    padding: 70px 0;

    background: #fafafa;

    border-top:
        1px solid
        rgba(0, 0, 0, 0.06);

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.06);
}

.faq-heading {
    margin-bottom: 30px;
}

.reseller-faq {
    display: flex;
    flex-direction: column;

    gap: 10px;
}


/* item */

.reseller-faq-item {
    overflow: hidden;

    background: #fff;

    border:
        1px solid
        rgba(0, 0, 0, 0.08);

    border-radius: 9px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.reseller-faq-item.active {
    border-color:
        rgba(244, 196, 48, 0.8);

    box-shadow:
        0 5px 20px
        rgba(244, 196, 48, 0.13);
}


/* question */

.reseller-faq-header {
    width: 100%;

    display: grid;

    grid-template-columns:
        45px 1fr auto;

    align-items: center;

    gap: 12px;

    padding: 16px 18px;

    border: 0;

    background: transparent;

    text-align: left;

    cursor: pointer;
}

.faq-number {
    color: var(--primary-color);

    font-size: 12px;
    font-weight: 800;
}

.faq-question {
    color: #333;

    font-size: 14px;
    font-weight: 650;

    line-height: 1.45;
}

.faq-chevron {
    color: #888;

    font-size: 13px;

    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.reseller-faq-item.active
.faq-chevron {
    transform: rotate(180deg);

    color: var(--primary-color);
}


/* answer */

.reseller-faq-content {
    max-height: 0;

    overflow: hidden;

    transition:
        max-height 0.35s ease;
}

.reseller-faq-body {
    margin-left: 75px;
    margin-right: 18px;

    padding:
        0 0
        18px;

    border-top:
        1px dashed
        rgba(0, 0, 0, 0.10);
}

.reseller-faq-body p {
    margin:
        14px 0 0;

    color: #666;

    font-size: 13px;

    line-height: 1.75;
}

.reseller-faq-body strong {
    color: #444;
}


/* =========================================================
   APPLICATION
========================================================= */

.reseller-application {
    padding: 80px 0;
}

.application-box {
    position: relative;

    overflow: hidden;

    max-width: 850px;

    margin: 0 auto;

    padding: 55px 50px;

    text-align: center;

    border:
        2px solid
        #f4c430;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #fffdf6,
            #fff8dd
        );

    box-shadow:
        0 0 18px
        rgba(244, 196, 48, 0.18),
        0 15px 45px
        rgba(0, 0, 0, 0.06);
}

.application-logo img {
    width: 58px;
    height: 58px;

    margin-bottom: 15px;
}

.application-small-title {
    display: block;

    margin-bottom: 5px;

    color: var(--primary-color);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.application-box h2 {
    margin: 0;

    color: #d4242a;

    font-size: clamp(25px, 4vw, 36px);
    font-weight: 800;
}

.application-box > p {
    max-width: 640px;

    margin:
        15px auto 28px;

    color: #666;

    line-height: 1.8;
}


/* steps */

.application-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 30px;
}

.application-info > div {
    display: flex;
    align-items: center;

    gap: 7px;

    padding: 8px 12px;

    border:
        1px solid
        rgba(0, 0, 0, 0.08);

    border-radius: 30px;

    background:
        rgba(255, 255, 255, 0.7);

    color: #555;

    font-size: 11px;
    font-weight: 500;
}

.application-info i {
    color: var(--primary-color);
}


/* application button */

.application-button {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 14px 23px;

    border-radius: 7px;

    background: var(--primary-color);

    color: #fff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 8px 20px
        rgba(0, 0, 0, 0.13);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.application-button:hover {
    color: #fff;

    transform:
        translateY(-2px);

    box-shadow:
        0 11px 25px
        rgba(0, 0, 0, 0.17);
}

.application-note {
    display: block;

    margin-top: 12px;

    color: #8a8a8a;

    font-size: 10.5px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 850px) {

    .dealer-showcase {
        grid-template-columns: 1fr;
    }

    .dealer-slider,
    .dealer-slide img {
        min-height: 390px;
    }

    .dealer-testimonial {
        min-height: 350px;
    }

}


@media (max-width: 576px) {

    .reselling-container {
        width:
            min(
                100% - 28px,
                1150px
            );
    }


    .reselling-intro {
        padding:
            55px 0
            45px;
    }


    .reselling-title {
        align-items: flex-start;
    }

    .reselling-title img {
        width: 45px;
        height: 45px;
    }


    .dealer-section,
    .reseller-faq-section,
    .reseller-application {
        padding:
            55px 0;
    }


    .dealer-slider,
    .dealer-slide img {
        min-height: 300px;
    }


    .dealer-testimonial {
        padding:
            30px 25px;

        min-height: 330px;
    }

    .testimonial-item blockquote {
        font-size: 16px;
    }


    .reseller-faq-header {
        grid-template-columns:
            32px 1fr auto;

        gap: 7px;

        padding:
            14px 13px;
    }

    .faq-question {
        font-size: 13px;
    }

    .reseller-faq-body {
        margin-left: 45px;
        margin-right: 13px;
    }


    .application-box {
        padding:
            40px 20px;

        border-radius: 13px;
    }

}