.section {
    margin: 60px 0;
}

#banner {
    width: 100%;
    height: 260px;
    margin: 40px 0;
}

#banner .banner-box {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    box-sizing: content-box;
}

#banner .banner {
    width: calc(100% - 130px);
    height: calc(100% - 20px);
    top: 100%;
    position: absolute;
}

#banner .banner .content {
    margin-right: 15px;
    display: flex;
    gap: 26px;
}

#banner .banner .info {
    width: calc(100% - 480px);
}

#banner .banner .info .title {
    font-weight: 700;
    font-size: 18px;
    color: #3e3f5b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

#banner .banner .info .title::before {
    content: '“';
    font-size: 76px;
    font-family: "Sultan Koufi High";
    line-height: 100%;
    height: 50px;
}

#banner .banner .info .description {
    font-weight: 300;
    font-size: 17px;
    line-height: 28px;
    color: #3e3f5b;
    margin: 6px 0 0;
    text-align: justify;
    height: 147px;
    overflow: hidden;
    position: relative;
}

#banner .banner .info .description::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to right, #fff, #fff0);
    width: 35%;
    height: 28px;
}

#banner .banner .info .link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 22px;
    border-radius: 17px;
    background-color: #d99058;
    margin-right: auto;
    margin-top: 1px;
}

#banner .banner .info .link::after {
    content: 'خب بقیش...!';
    font-size: 11px;
    color: #fff;
    font-weight: 700;
    filter: drop-shadow(0px 1px 2.5px rgba(57, 57, 57, 0.48));
}

#banner .banner .banner-image-container {
    width: 480px;
    height: auto;
    aspect-ratio: 2 / 1;
    max-width: 100%;
    overflow: hidden;
    border-radius: 26px;
}

#banner .banner .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#banner .banner .select-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    overflow: hidden;
    padding: 0;
    background-color: transparent;
}

#banner .banner .select-btn::before {
    content: '';
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    background-image: var(--bg-image);
    width: 100%;
    height: 100%;
    display: block;
}

#banner .banner .select-btn::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: #292c8357;
    display: block;
    margin-top: -100%;
    position: relative;
    z-index: 1;
}


/* active banner */
#banner .banner:first-of-type {
    top: 10px;
}

#banner .banner:first-of-type .select-btn {
    display: none;
}

#banner .banner:nth-of-type(2) .select-btn {
    top: calc(-100% - 20px);
    left: -70px;
}

#banner .banner:nth-of-type(3) .select-btn {
    top: calc(-100% + 50px);
    left: -100px;
}

#banner .banner:nth-of-type(4) .select-btn {
    top: calc(-100% + 120px);
    left: -100px;
}

#banner .banner:nth-of-type(5) .select-btn {
    top: calc(-100% + 185px);
    left: -70px;
}

#chart {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 0 18px;
}

#chart #nextProgram {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(36.5%, -50%);
    border-radius: 60px;
    background-color: #f0eeec;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 10px 30px;
    max-width: 100vw;
}

#chart .countdown {
    font-weight: 700;
    font-size: 40px;
    white-space: nowrap;
}

#chart .countdown .day,
#chart .countdown .hours,
#chart .countdown .minutes {
    position: relative;
    margin: 0 3px;
}

#chart .countdown .day::after,
#chart .countdown .hours::after,
#chart .countdown .minutes::after {
    font-size: 0.3em;
    font-weight: 400;
    color: #b7b7b7;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -10px);
}

#chart .countdown .day::after {
    content: 'روز';
}

#chart .countdown .hours::after {
    content: 'ساعت';
}

#chart .countdown .minutes::after {
    content: 'دقیقه';
}

#chart #nextProgram .info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#chart #nextProgram .info .banner {
    width: 150px;
    height: auto;
}

#chart #nextProgram .info .titr {
    margin: 1px;
    font-weight: 300;
    font-size: 23px;
    text-align: center;
    white-space: nowrap;
}

#chart #nextProgram .info .title {
    font-weight: 700;
    font-size: 9px;
    color: #ad1a1a;
    margin: 0 0 15px;
}

#chart #nextProgram .info .janat-logo {
    width: 60px;
    padding: 10px;
    border: 1px solid #b5b5b5;
    border-radius: 10px;
}

#chart .sections {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
}

#chart .sections .title {
    font-weight: 700;
    font-size: 24px;
    position: relative;
}

#chart .sections .title::after {
    content: '';
    display: block;
    width: 110px;
    height: 3px;
    border-radius: 3px;
    background-color: #d99058;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 5px);
    position: absolute;
}

#chart .sections .section-box {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

#chart .sections .section-box .row {
    display: flex;
    gap: 25px;
}

#chart .sections .section-box .section {
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    justify-content: center;
}

#chart .sections .section-box .section .logo-box {
    width: 80px;
    height: 80px;
}

#chart .sections .section-box .section .logo {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

#chart .sections .section-box .section .section-title {
    font-weight: 700;
    font-size: 8px;
    white-space: nowrap;
}

#chart .sections#subsets .section-box .section .logo {
    background-color: #00a693;
    width: 70px;
    height: 70px;
    border-radius: 100%;
    padding: 10px;
    overflow: visible;
}

#contactMe {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

#contactMe .banner {
    width: 350px;
}

#contactMe .info .title {
    padding: 0 5px;
    font-weight: 700;
    font-size: 30px;
    color: #fff;
    background-color: #00a693;
    border-radius: 20px;
    height: 23px;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    word-spacing: 4px;
    text-shadow:
        0px 1px 0 #00a693,
        0px 2px 0 #00a693,
        0px 3px 0 #00a693,
        1px 1px 0 #00a693,
        1px 2px 0 #00a693,
        1px 3px 0 #00a693,
        2px 1px 0 #00a693,
        2px 2px 0 #00a693,
        2px 3px 0 #00a693,
        3px 1px 0 #00a693,
        3px 2px 0 #00a693,
        3px 3px 0 #00a693,
        -0px 1px 0 #00a693,
        -0px 2px 0 #00a693,
        -0px 3px 0 #00a693,
        -1px 1px 0 #00a693,
        -1px 2px 0 #00a693,
        -1px 3px 0 #00a693,
        -2px 1px 0 #00a693,
        -2px 2px 0 #00a693,
        -2px 3px 0 #00a693,
        -3px 1px 0 #00a693,
        -3px 2px 0 #00a693,
        -3px 3px 0 #00a693,
        0px -1px 0 #00a693,
        0px -2px 0 #00a693,
        0px -3px 0 #00a693,
        1px -1px 0 #00a693,
        1px -2px 0 #00a693,
        1px -3px 0 #00a693,
        2px -1px 0 #00a693,
        2px -2px 0 #00a693,
        2px -3px 0 #00a693,
        3px -1px 0 #00a693,
        3px -2px 0 #00a693,
        3px -3px 0 #00a693,
        -0px -1px 0 #00a693,
        -0px -2px 0 #00a693,
        -0px -3px 0 #00a693,
        -1px -1px 0 #00a693,
        -1px -2px 0 #00a693,
        -1px -3px 0 #00a693,
        -2px -1px 0 #00a693,
        -2px -2px 0 #00a693,
        -2px -3px 0 #00a693,
        -3px -1px 0 #00a693,
        -3px -2px 0 #00a693,
        -3px -3px 0 #00a693;
}

#contactMe .info .description {
    font-weight: 300;
    color: #5f5f5f;
    width: 360px;
}

#contactMe .info .description .num {
    padding: 3px 7px;
    box-sizing: content-box;
    background-color: #d99058;
    color: #fff;
    border-radius: 100px;
    font-weight: 700;
}

#contactMe .info .phone {
    background-color: #d99058;
    color: #fff;
    font-weight: 700;
    font-size: 24px;
    padding: 0 7px;
    border-radius: 100px;
    word-spacing: 5px;
    letter-spacing: 3px;
    height: 32px;
    width: 257px;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}



@media screen and (max-width: 980px) {
    #banner {
        height: 485px;
    }

    #banner .banner {
        width: 100%;
    }

    #banner .banner .content {
        flex-direction: column-reverse;
        align-items: center;
    }

    #banner .banner .info {
        width: 50%;
        min-width: 310px;
    }

    #banner .banner-box {
        padding-top: 65px;
    }

    /* active banner */
    #banner .banner:first-of-type {
        top: 65px;
    }

    #banner .banner:first-of-type .select-btn {
        top: -65px !important;
        left: calc(50% - 30px);
        display: block;
        transform: none;
    }

    #banner .banner .select-btn {
        top: calc(-100% - 20px) !important;
        transform: scale(0.8);
        display: none;
    }

    #banner .banner:nth-of-type(2) .select-btn {
        left: calc(50% + 30px);
        display: block;
    }

    #banner .banner:nth-of-type(3) .select-btn {
        left: calc(50% + 84px);
        display: block;
    }

    #banner .banner:nth-of-type(4) .select-btn {
        left: calc(50% - 90px);
        display: block;
    }

    #banner .banner:nth-of-type(5) .select-btn {
        left: calc(50% - 144px);
        display: block;
    }

    #chart {
        flex-direction: column;
        margin-top: 120px;
        gap: 30px;
    }

    #chart #nextProgram {
        position: relative;
        top: 0;
        right: 50%;
        transform: translateX(50%);
        width: 368px;
    }

    #contactMe {
        flex-direction: column;
    }

    #contactMe .info .description {
        right: 50%;
        position: relative;
        transform: translateX(50%);
        text-align: center;
    }

    #contactMe .info .phone {
        right: 50%;
        position: relative;
        transform: translateX(50%);
    }

    #contactMe .info .title {
        font-size: 23px;
        height: 17px;
        position: relative;
        right: 50%;
        transform: translateX(50%);
    }
}