﻿/*Academy Css*/
.swiper {
    width: 100%;
    padding: 40px 0 50px;
}

.swiper-slide {
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

    .swiper-slide img {
        width: 100%;
        height: 200px; /* ارتفاع ثابت برای عکس */
        object-fit: contain;
        flex-shrink: 0;
        background: white;
        -webkit-box-reflect: below -5px linear-gradient(transparent, transparent, rgba(0, 0, 0, 0.4));
    }

.slide-info {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    height: auto; /* اجازه رشد با توجه به محتوا */
}

    .slide-info h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        color: white;
        word-wrap: break-word;
    }

    .slide-info p {
        font-size: 0.9rem;
        color: #aaaaaa;
        word-wrap: break-word;
    }

.swiper-slide-active .overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 22, 37, 0.6);
    border-radius: inherit;
    opacity: 0;
    transition: all 0.4s linear;
}

.swiper-slide:hover .overlay {
    opacity: 1;
}

.swiper-slide .overlay ion-icon {
    opacity: 0;
}

.swiper-slide-active:hover .overlay ion-icon {
    font-size: 4rem;
    color: #eb0b0b;
    opacity: 1;
    cursor: pointer;
}


.list-images__heading {
    margin: 0;
    max-width: 22rem;
    font-family: "Oswald", sans-serif;
    font-size: 5rem;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    color: #aaa;
    text-align: left;
}

    .list-images__heading span {
        color: white;
    }

.listDnl.wrapper {
    margin: auto;
}

.listDnl .tab-wrapper {
    text-align: center;
    display: flex;
    margin: 0 auto;
    width: 100%;
}

.listDnl .tabs {
    padding: 0;
    display: flex;
    justify-content: start;
    align-items: flex-end;
    margin: 0 auto;
}

.listDnl .tab-link {
    margin: 0;
    list-style: none;
    color: #aaa;
    cursor: pointer;
    font-weight: 700;
    transition: all ease 0.5s;
    border: solid 1px rgba(255, 255, 255, 0);
    width: auto;
    display: inline-flex;
    border-radius: 5em !important;
    font-size: 1rem;
    font-weight: 500;
    padding: 1em 2em;
    background-color: transparent;
    color: #fff;
    font-family: "IRANSans";
}

    .listDnl .tab-link:hover {
        color: #999;
        border-color: #999;
    }

    .listDnl .tab-link.active {
        color: #333;
        border-color: #333;
    }

    .listDnl .tab-link.active {
        color: #ecc739;
        border-color: transparent;
        border-radius: 25px;
        overflow: hidden;
        inset: 0%;
        border: 3px solid #000;
        border-radius: 35px;
        box-shadow: inset 0 1px 2px 0 #585858, inset 0 1px 1px 0 #4E4F53;
    }


.listDnl .content-wrapper {
    padding: 1rem 0;
}

.listDnl .tab-content {
    display: none;
    text-align: center;
    color: #888;
    font-weight: 300;
    font-size: 15px;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeIn 0.8s ease 1 forwards;
}

    .listDnl .tab-content.active {
        display: block;
    }

@keyframes fadeIn {
    100% {
        opacity: 1;
        transform: none;
    }
}

.listDnl ul {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5em;
    margin: 0 auto;
    margin-top: 1em;
    position: relative;
}

.listDnl li {
    list-style-type: none;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 5em;
}

    .listDnl li img {
        width: 100%;
        height: auto;
    }

.mrgTop {
    margin-top: 8em;
}

.product-item-p2 img {
    width: 100%;
    height: auto;
}

    .product-item-p2 img:hover {
        color: #fff;
    }

.maxWidth {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 0 6rem;
}

@media (max-width:980px) {
    .listDnl .tab-wrapper {
        display: block;
    }

    .maxWidth {
        display: block;
        padding: 0 1rem;
    }

    .listDnl .tab-link {
        padding: 1em 1em;
        margin: 0 auto;
    }

    .listDnl ul {
        width: 100%;
    }

    .list-images__heading {
        margin: 1em auto;
        font-size: 3rem;
        text-align: center;
    }
}

</style >

<style >
.swiper {
    position: relative; /* برای موقعیت‌دهی مطلق دکمه‌ها */
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    /*top: 50%;*/ /* وسط عمودی */
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: #333;
}

/* موقعیت افقی */
.swiper-button-prev {
    left: -20px;
}

.swiper-button-next {
    right: -20px;
}

/* در حالت موبایل هم حفظ شود */
@media (max-width: 768px) {
    .swiper-button-prev,
    .swiper-button-next {
        left: 50px;
        right: 50px;
    }
}

/*End Of Academy Css*/

/*Login*/
.ring {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 7em auto;
}

    .ring i {
        position: absolute;
        inset: 0;
        border: 2px solid #fff;
        transition: 0.5s;
    }

        .ring i:nth-child(1) {
            border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
            animation: animate 6s linear infinite;
        }

        .ring i:nth-child(2) {
            border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
            animation: animate 4s linear infinite;
        }

        .ring i:nth-child(3) {
            border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
            animation: animate2 10s linear infinite;
        }

/*    .ring:hover i {
                                border: 6px solid var(--clr);
                                filter: drop-shadow(0 0 20px var(--clr));
                            } */

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate2 {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.login {
    width: 24vw;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}


    .login h2 {
        font-size: 1.5em;
        color: #fff;
    }

    .login .inputBx {
        position: relative;
        width: 100%;
    }

        .login .inputBx input {
            position: relative;
            width: 100%;
            padding: 12px 20px;
            background: transparent;
            border: 1px solid #ffffff57;
            height: 52px;
            border-radius: 40px;
            font-size: 1em;
            color: #fff;
            box-shadow: none;
            outline: none;
        }

            .login .inputBx input[type="submit"] {
                width: 100%;
                background: #f5e54d;
                color: #000;
                border: none;
                cursor: pointer;
                transition: all 500ms;
            }

                .login .inputBx input[type="submit"]:hover {
                    border: 1px solid #ffffff57;
                    background: transparent;
                    transition: all 500ms;
                    color: #fff;
                }

            .login .inputBx input::placeholder {
                color: rgba(255, 255, 255, 0.75);
            }

    .login .links {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        padding: 0 20px;
        text-align: center;
    }

        .login .links a {
            color: #a3a3a3;
            text-decoration: none;
            margin: 0 auto;
            font-size: 0.85rem;
        }

.note-position-1 {
    top: 300px;
    right: 2em;
}

.note-position-2 {
    top: 180px;
    left: 50px;
}

.note-position-3 {
    top: 160px;
    left: 100px;
}

.note-position-6 {
    top: 53vh;
    right: 6em;
}

.note-position-5 {
    top: 80vh;
    left: 8em;
}

.note-position-4 {
    top: 60vh;
    left: 3em;
}

.note-position-7 {
    top: 61vh;
    right: 205px;
}

.animation-delay-1 {
    animation-delay: 1s;
}

.animation-delay-2 {
    animation-delay: 2s;
}

.note-amination {
    position: absolute;
    font-size: 35px;
    animation-name: notes;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    opacity: 0;
}

@keyframes notes {
    0% {
        font-size: 35px;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        font-size: 60px;
        margin-top: -150px;
        opacity: 0;
    }
}

.loginDiv {
    display: flex;
}

/* حالت پیش‌فرض */
.loginDiv {
    display: flex;
}

@media (max-width: 992px) {
    .login {
        width: 68vw;
    }

    .ring i {
        display: none;
    }

    .overflow {
        overflow: hidden;
    }

    .ring {
        position: relative;
        width: 0;
        height: 500px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 7em auto;
    }
}

/*End Of Login*/


/*Layout*/

#menu-mobile {
    display: none;
}

@media only screen and (max-width: 820px) {
    #menu-mobile {
        display: block;
    }
}

.mobileAuth {
}

@media only screen and (max-width: 820px) {
    .mobileAuth {
        display: block !important;
    }
}

.profile-dropdown {
    position: relative;
}

/* دسکتاپ */
@media (min-width: 821px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        inset-inline-start: 0;
        min-width: 180px;
        display: none;
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        border-radius: 6px;
        padding: 8px 8px;
        z-index: 1000;
    }
}

/* موبایل و تبلت */
@media (max-width: 820px) {
    .dropdown-menu {
        position: absolute; /* خیلی مهم */
        display: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin: 0;
    }

        .dropdown-menu li a {
            padding: 12px 0;
            display: block;
        }
}

@media (max-width: 820px) {
    .menu li,
    .menu {
        height: auto !important;
        overflow: visible !important;
    }

    .profile-dropdown {
        height: auto !important;
    }
}


/*Layout*/

/*Profile*/

.ring {
    position: relative;
    width: 800px;
    height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 7em auto;
}

    .ring i {
        position: absolute;
        inset: 0;
        border: 2px solid #fff;
        transition: 0.5s;
    }

        .ring i:nth-child(1) {
            border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
            animation: animate 6s linear infinite;
        }

        .ring i:nth-child(2) {
            border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
            animation: animate 4s linear infinite;
        }

        .ring i:nth-child(3) {
            border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
            animation: animate2 10s linear infinite;
        }

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate2 {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.login {
    width: 24vw;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}


    .login h2 {
        font-size: 1.5em;
        color: #fff;
    }

    .login .inputBx {
        position: relative;
        width: 100%;
    }

        .login .inputBx input, textarea {
            position: relative;
            width: 100%;
            padding: 12px 20px;
            background: transparent;
            border: 1px solid #ffffff57;
            height: 52px;
            border-radius: 40px;
            font-size: 1em;
            color: #fff;
            box-shadow: none;
            outline: none;
        }

        .login .inputBx textarea {
            position: relative;
            width: 100%;
            padding: 12px 20px;
            background: transparent;
            border: 1px solid #ffffff57;
            height: 200px;
            border-radius: 40px;
            font-size: 1em;
            color: #fff;
            box-shadow: none;
            outline: none;
            resize: none;
        }

        .login .inputBx input[type="button"] {
            width: 100%;
            background: #f5e54d;
            color: #000;
            border: none;
            cursor: pointer;
            transition: all 500ms;
        }

            .login .inputBx input[type="button"]:hover {
                border: 1px solid #ffffff57;
                background: transparent;
                transition: all 500ms;
                color: #fff;
            }

        .login .inputBx input::placeholder, textarea::placeholder {
            color: rgba(255, 255, 255, 0.75);
        }

    .login .links {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        padding: 0 20px;
        text-align: center;
    }

        .login .links a {
            color: #a3a3a3;
            text-decoration: none;
            margin: 0 auto;
            font-size: 0.85rem;
        }

.note-position-1 {
    top: 300px;
    right: 2em;
}

.note-position-2 {
    top: 180px;
    left: 50px;
}

.note-position-3 {
    top: 160px;
    left: 100px;
}

.note-position-6 {
    top: 53vh;
    right: 6em;
}

.note-position-5 {
    top: 80vh;
    left: 8em;
}

.note-position-4 {
    top: 60vh;
    left: 3em;
}

.note-position-7 {
    top: 61vh;
    right: 205px;
}

.animation-delay-1 {
    animation-delay: 1s;
}

.animation-delay-2 {
    animation-delay: 2s;
}

.note-amination {
    position: absolute;
    font-size: 35px;
    animation-name: notes;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    opacity: 0;
}

@keyframes notes {
    0% {
        font-size: 35px;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        font-size: 60px;
        margin-top: -150px;
        opacity: 0;
    }
}

.loginDiv {
    display: flex;
}
/* حالت پیش‌فرض */
.loginDiv {
    display: flex;
}

@media (max-width: 992px) {
    .login {
        width: 68vw;
    }

    .ring i {
        display: none;
    }

    .overflow {
        overflow: hidden;
    }

    .ring {
        position: relative;
        width: 0;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 7em auto;
    }
}

}
/*Profile*/

/*Register*/
.ring {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 7em auto;
}

    .ring i {
        position: absolute;
        inset: 0;
        border: 2px solid #fff;
        transition: 0.5s;
    }

        .ring i:nth-child(1) {
            border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
            animation: animate 6s linear infinite;
        }

        .ring i:nth-child(2) {
            border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
            animation: animate 4s linear infinite;
        }

        .ring i:nth-child(3) {
            border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
            animation: animate2 10s linear infinite;
        }
/*    .ring:hover i {
                                                                                                        border: 6px solid var(--clr);
                                                                                                        filter: drop-shadow(0 0 20px var(--clr));
                                                                                                    } */

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate2 {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.login {
    width: 24vw;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}


    .login h2 {
        font-size: 1.5em;
        color: #fff;
    }

    .login .inputBx {
        position: relative;
        width: 100%;
    }

        .login .inputBx input {
            position: relative;
            width: 100%;
            padding: 12px 20px;
            background: transparent;
            border: 1px solid #ffffff57;
            height: 52px;
            border-radius: 40px;
            font-size: 1em;
            color: #fff;
            box-shadow: none;
            outline: none;
        }

            .login .inputBx input[type="button"] {
                width: 100%;
                background: #f5e54d;
                color: #000;
                border: none;
                cursor: pointer;
                transition: all 500ms;
            }

                .login .inputBx input[type="button"]:hover {
                    border: 1px solid #ffffff57;
                    background: transparent;
                    transition: all 500ms;
                    color: #fff;
                }

            .login .inputBx input::placeholder {
                color: rgba(255, 255, 255, 0.75);
            }

    .login .links {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        padding: 0 20px;
        text-align: center;
    }

        .login .links a {
            color: #a3a3a3;
            text-decoration: none;
            margin: 0 auto;
            font-size: 0.85rem;
        }

.note-position-1 {
    top: 300px;
    right: 2em;
}

.note-position-2 {
    top: 180px;
    left: 50px;
}

.note-position-3 {
    top: 160px;
    left: 100px;
}

.note-position-6 {
    top: 53vh;
    right: 6em;
}

.note-position-5 {
    top: 80vh;
    left: 8em;
}

.note-position-4 {
    top: 60vh;
    left: 3em;
}

.note-position-7 {
    top: 61vh;
    right: 205px;
}

.animation-delay-1 {
    animation-delay: 1s;
}

.animation-delay-2 {
    animation-delay: 2s;
}

.note-amination {
    position: absolute;
    font-size: 35px;
    animation-name: notes;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    opacity: 0;
}

@keyframes notes {
    0% {
        font-size: 35px;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        font-size: 60px;
        margin-top: -150px;
        opacity: 0;
    }
}

.loginDiv {
    display: flex;
}
/* حالت پیش‌فرض */
.loginDiv {
    display: flex;
}



@media (max-width: 992px) {
    .login {
        width: 68vw;
    }

    .ring i {
        display: none;
    }

    .overflow {
        overflow: hidden;
    }

    .ring {
        position: relative;
        width: 0;
        height: 500px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 7em auto;
    }
}

}

/*Register*/
