*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    font-family: "Vazirmatn RD FD", sans-serif;
    font-size: 16px;
    overflow-x: hidden;
}

a,
span,
label,
p,
textarea,
input,
select,
button,
div,
section,
header,
footer,
nav,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Vazirmatn RD FD", sans-serif;
}

ul,
ol,
li {
    list-style: none;
}

input,
textarea {
    min-height: 48px !important;
    border-radius: 8px !important;
    border: 1px solid #ededed !important;
    background-color: #ededed !important;
    text-align: center !important;
}

input:focus,
textarea:focus {
    background-color: #FFFFFF !important;
    color: #08a66c !important;
    border-color: #08a66c !important;
}

input:disabled,
textarea:disabled {
    background-color: #FFF2F2 !important;
    color: #C30000 !important;
    cursor: not-allowed !important;
}

a {
    text-decoration: none;
}

input,
button,
select,
option,
textarea {
    direction: rtl;
    font-family: "Vazirmatn", sans-serif;
    outline: none;
    border: none;
    resize: vertical;
    text-align: center;
}

input:focus {
    outline: none;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #c0c0c0 #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: #ffffff;
}

*::-webkit-scrollbar-thumb {
    background-color: #c0c0c0;
    border-radius: 10px;
    border: 3px solid #ffffff;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding-inline: 32px;
}

.section {
    margin-block: 64px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    font-family: "Vazirmatn", sans-serif;
    font-size: 16px;
    overflow-x: hidden;
}

ul,
ol,
li {
    list-style: none;
}

a {
    text-decoration: none;
}

input,
button,
select,
option,
textarea {
    direction: rtl;
    font-family: "Vazirmatn", sans-serif;
    outline: none;
    border: none;
    resize: vertical;
    text-align: center;
}

input:focus {
    outline: none;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #c0c0c0 #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: #ffffff;
}

*::-webkit-scrollbar-thumb {
    background-color: #c0c0c0;
    border-radius: 10px;
    border: 3px solid #ffffff;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding-inline: 32px;
}

.section {
    margin-block: 64px;
}

.footer {
    width: 100%;
    min-height: 450px;
    position: relative;
    margin-block: 32px;
    padding-block: 32px;
}

.footer .container {
    max-width: 1400px;
    min-height: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 16px;
}

.footer__content {
    min-height: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer__right, .footer__left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 32px;
}

.footer__right {
    flex-basis: 100%;
}

.footer__logo {
    max-width: 200px;
    width: 100%;
    height: auto;
}

.footer__description {
    color: #606060;
    text-align: justify;
}

.footer__etemad {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 32px;
    overflow: auto;
}

.footer__address, .footer__support {
    display: flex;
    -moz-column-gap: 32px;
    column-gap: 32px;
    align-items: center;
    justify-content: center;
}

.footer__address, .footer__support {
    flex-direction: column;
    row-gap: 16px;
    position: relative;
}

.footer__address::before, .footer__support::before {
    content: "";
    width: 50%;
    height: 1px;
    position: absolute;
    background-color: #CBCBCB;
    top: -16px;
}

.footer__address__title, .footer__support__title {
    color: #08A66C;
}

.footer__address__sub-title, .footer__support__sub-title {
    color: #202020;
}

.footer__address__description, .footer__support__description {
    color: #606060;
}

.footer__address__sub-escription, .footer__support__sub-description {
    color: #08A66C;
}

.footer__menu {
    display: flex;
    align-items: center;
}

.footer__item {
    display: flex;
    width: 50%;
    text-align: center;
}

.footer__item__pipe {
    border-left: 1px solid #CBCBCB;
}

.footer__link {
    width: 100%;
    color: #404040;
    font-size: 12px;
    position: relative;
}

.footer__link:hover {
    color: #08A66C;
}

.footer__social {
    display: flex;
    -moz-column-gap: 8px;
    column-gap: 8px;
}

.footer__social__link {
    font-size: 32px;
    color: #606060;
    display: flex;
    align-items: center;
    -moz-column-gap: 4px;
    column-gap: 4px;
    color: #08A66C;
}

.footer__social__span {
    display: none;
}

.footer__bottom {
    text-align: center;
}

.footer__bottom__description {
    color: #606060;
}

@media only screen and (max-width: 1024px) {
    .footer__content {
        flex-direction: column;
    }

    .footer__right,
    .footer__left {
        width: 100%;
    }

    .footer__menu {
        flex-direction: row;
        row-gap: 16px;
    }

    .footer__support__title {
        text-align: center;
    }

    .footer__bottom {
        display: none;
    }
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding-inline: 32px;
}

.section {
    margin-block: 64px;
}

.header {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header .nav {
    height: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header .nav__logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header .nav__logo__image {
    width: 150px;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
}

.header .nav__toggle {
    display: none;
}

.header .nav__menu {
    display: flex;
    -moz-column-gap: 32px;
    column-gap: 32px;
    flex: 1;
    margin-right: 32px;
}

.header .nav__link {
    color: #404040;
}

.header .nav__link:hover {
    color: #08A66C;
}

.header .nav__btns {
    display: flex;
    -moz-column-gap: 32px;
    column-gap: 32px;
    justify-content: space-between;
    align-items: center;
}

.header .nav__btns__btn {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-wrap: wrap;
    -moz-column-gap: 4px;
    column-gap: 4px;
}

.header .nav__btns__btn:hover {
    box-shadow: 0 0 4px #08A66C;
}

.header .nav__btns__btn:nth-child(1) {
    background-color: #FFFFFF;
    border: 1px solid #08A66C;
    color: #08A66C;
}

.header .nav__btns__btn:nth-child(2) {
    background-color: #08A66C;
    color: #FFFFFF;
}

.header .nav__btns__btn:nth-child(3) {
    background-color: #08A66C;
    color: #FFFFFF;
}

.header .nav__sub-menu {
    max-width: 300px;
    width: 100%;
    min-height: 400px;
    background-color: #DBFDF1;
    border-radius: 16px;
    position: absolute;
    top: 120px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    row-gap: 32px;
    left: 8px;
}

.header .nav__sub-menu--disable {
    left: 100%;
    display: none;
}

.header .nav__sub-menu__link {
    color: #404040;
    display: flex;
    align-items: center;
    -moz-column-gap: 8px;
    column-gap: 8px;
}

.header .nav__sub-menu__link:hover {
    color: #08A66C;
}

.header .nav__sub-menu__close {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background-color: #DBFDF1;
    color: #404040;
    position: absolute;
    top: -25px;
    left: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    cursor: pointer;
}

.nav__sub-menu__item:nth-child(7) .nav__sub-menu__link {
    color: #C30000;
}

@media only screen and (max-width: 1024px) {
    .nav__toggle {
        display: flex !important;
        top: 32px;
        right: 32px;
        z-index: 12;
        font-size: 32px;
        cursor: pointer;
        color: #404040;
    }

    .nav__logo__image {
        width: 100px !important;
        -o-object-fit: cover;
        object-fit: cover;
    }

    .nav__menu {
        width: 75%;
        height: 100%;
        position: fixed;
        top: 0;
        flex-direction: column;
        row-gap: 16px;
        background-color: #DBFDF1;
        margin: 0;
        right: 100%;
        align-items: center;
        justify-content: center;
        margin-inline: 0 !important;
        z-index: 11;
    }

    .nav__btns__btn--primary {
        width: 50px;
        height: 50px;
        border-radius: 50% !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav__btns__btn--primary span {
        display: none;
    }

    .nav__btns__btn--secondary {
        display: none !important;
    }

    .nav__btns__btn--logged-in {
        width: 50px;
        height: 50px;
        border-radius: 50% !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav__btns__btn--logged-in span {
        display: none;
    }
}

.container {
    max-width: 1400px;
}

.main {
    min-height: 100vh;
    position: relative;
    display: grid;
    grid-template-columns: 300px auto;
    gap: 32px;
}

.main .sidebar {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}

.main .sidebar__top {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 1rem;
    padding-block: 2rem;
    border-bottom: 1px solid #adadad;
}

.main .sidebar__image {
    width: 100px;
    height: 100px;
    border-radius: 100%;
}

.main .sidebar__name {
    color: #404040;
    text-align: center;
}

.main .sidebar__descriptions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.main .sidebar__descriptions__title {
    width: -moz-fit-content;
    width: fit-content;
    text-align: center;
    background-color: #007bff;
    border-radius: 8px;
    padding: 4px;
    color: #FFFFFF;
}

.main .sidebar__menu {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    justify-content: center;
}

.main .sidebar__link {
    color: #404040;
    display: flex;
    align-items: center;
    -moz-column-gap: 8px;
    column-gap: 8px;
}

.main .sidebar__link:hover {
    color: #08A66C;
}

.main .sidebar__link--active {
    color: #08A66C;
}

.main .content {
    background-color: #DBFDF1;
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap: 32px;
}

.main .content__quick-actions {
    position: absolute;
    top: 32px;
    left: 32px;
    display: flex;
    flex-direction: column;
    row-gap: 32px;
}

@media only screen and (max-width: 768px) {
    .main .content__quick-actions {
        top: 0;
    }

    .content__header__information__profile {
        display: flex !important;
    }
}

.main .content__quick-actions__action {
    background-color: #F3FDFA;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main .content__quick-actions__action__icon {
    color: #404040;
    font-size: 24px;
}

.main .content__quick-actions__menu {
    width: 50px;
    min-height: auto;
    position: absolute;
    background-color: #F3FDFA;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    top: 0;
    right: -64px;
    justify-content: center;
    align-items: center;
    padding: 16px;
    display: none;
}

.main .content__quick-actions__menu__link {
    font-size: 24px;
    color: #404040;
}

.main .content__quick-actions__menu__show {
    display: flex;
}

.main .content__header {
    width: 100%;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 32px;
    position: relative;
}

.main .content__header__information {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 8px;
    padding-block: 32px;
    border-bottom: 1px solid #606060;
}

.main .content__header__information__profile {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: none;
}

.main .content__header__information__image {
    width: 100px;
    height: auto;
}

.main .content__header__information__username {
    color: #404040;
}

.main .content__header__information__father {
    color: #606060;
}

.main .content__header__information__date {
    color: #606060;
    display: flex;
    gap: 4px;
}

.main .content__header__information__date span {
    display: block;
    direction: ltr;
}

.main .content__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    -moz-column-gap: 32px;
    column-gap: 32px;
}

.main .content__actions__action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 8px;
}

.main .content__actions__action__count {
    font-size: 18px;
    color: #404040;
}

.main .content__actions__action__name {
    font-size: 14px;
    color: #606060;
}

.main .content__actions__action__button {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: #FFFFFF;
    color: #08A66C;
    border: 1px solid #08A66C;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main .content__actions__action__button i {
    font-size: 18px;
}

.main .content__actions__action__button:hover {
    background-color: #08A66C;
    color: #FFFFFF;
}

.main .content__button {
    width: 300px;
    height: 56px;
    background-color: #08A66C;
    color: #FFFFFF;
    border-radius: 8px;
    cursor: pointer;
}

.main .content__button:hover {
    box-shadow: 0 0 4px #08A66C;
}

.main .content__variable {
    width: 90%;
    margin-inline: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    row-gap: 32px;
    display: none;
    justify-content: center;
    align-items: center;
}

.main .content__variable__title {
    color: #404040;
    font-size: 18px;
}

.main .content__variable__text {
    text-align: justify;
    color: #606060;
}

.main .content__variable__qrcode {
    width: 200px;
    height: auto;
}

.main .content__variable__download {
    width: 200px;
    min-height: 56px;
    background-color: #202020;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.main .content__variable__social {
    width: -moz-fit-content;
    width: fit-content;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

.main .content__variable__social__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main .content__variable__social__link {
    color: #08A66C;
}

.main .content__variable__social__link i {
    font-size: 24px;
}

.main .content__variable__gallery {
    width: 100%;
    min-height: 300px;
    display: grid;
    grid-template-columns: repeat(3fr, 1fr);
    gap: 16px;
}

.main .content__variable__gallery__figure {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.main .content__variable__gallery__figure img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 16px;
}

.main .content__variable__gallery .h-stretch {
    grid-row: span 2;
}

.main .content__variable__gallery .v-strech {
    grid-column: span 2;
}

.main .content__variable__gallery .big-strech {
    grid-column: span 2;
    grid-row: span 2;
}

.main .content__variable__gallery :nth-child(7) {
    grid-column: 2/4;
}

.main .content__variable__gallery :nth-child(1) {
    grid-column: 1/3;
}

.main .content__show {
    display: flex;
}

.main .content__comments-container {
    width: 90%;
    min-height: 300px;
    margin-inline: auto;
    padding: 32px;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

.main .content__comments__header {
    min-height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.main .content__comments__header__title {
    color: #404040;
    font-size: 18px;
}

.main .content__comments__header__button {
    display: flex;
    justify-content: center;
    align-items: center;
    -moz-column-gap: 4px;
    column-gap: 4px;
    background-color: #FFFFFF;
    border: 1px solid #08A66C;
    border-radius: 8px;
    padding: 8px 20px;
    cursor: pointer;
}

.main .content__comments__header__button:hover {
    box-shadow: 0 0 4px #08A66C;
}

.main .content__comments__send {
    min-height: 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-block: 16px;
    display: none;
    background-color: #94fad5;
    padding: 16px;
    border-radius: 16px;
}

.main .content__comments__send__input {
    width: 100%;
    height: 56px;
    border-radius: 8px;
    background-color: #FFFFFF;
    border: 1px solid #08A66C;
    border-radius: 8px;
    padding: 16px;
}

.main .content__comments__send__input:focus {
    background-color: #DBFDF1;
}

.main .content__comments__send__popularity {
    display: flex;
    align-items: center;
    -moz-column-gap: 8px;
    column-gap: 8px;
}

.main .content__comments__send__popularity__title,
.main .content__comments__send__popularity i {
    color: #404040;
}

.main .content__comments__send__popularity i {
    font-size: 18px;
}

.main .content__comments__send__textarea {
    background-color: #FFFFFF;
    min-height: 200px !important;
    padding: 16px;
    grid-column: 1/3;
}

.main .content__comments__send__button {
    width: 100%;
    height: 56px;
    border-radius: 8px;
    background-color: #FFFFFF;
    border: 1px solid #08A66C;
    color: #08A66C;
    cursor: pointer;
    grid-column: 1/3;
}

.main .content__comments__send__button:hover {
    box-shadow: 0 0 4px #08A66C;
}

.main .content__comments__send__show {
    display: grid;
}

.main .content__comments__field {
    width: 100%;
    min-height: auto;
    background-color: #94fad5;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    row-gap: 32px;
}

.main .content__comments__field__sender {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

.main .content__comments__field__sender__header {
    display: flex;
    align-items: center;
    -moz-column-gap: 16px;
    column-gap: 16px;
}

.main .content__comments__field__sender__profile {
    width: 50px;
    height: auto;
}

.main .content__comments__field__sender__username {
    color: #404040;
}

.main .content__comments__field__sender__date {
    color: #606060;
}

.main .content__comments__field__sender__text {
    color: #404040;
    text-align: justify;
    display: flex;
    -moz-column-gap: 8px;
    column-gap: 8px;
}

.main .content__comments__field__reply {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

.main .content__comments__field__reply__header {
    display: flex;
    align-items: center;
    -moz-column-gap: 16px;
    column-gap: 16px;
}

.main .content__comments__field__reply__icon {
    color: #404040;
}

.main .content__comments__field__reply__username {
    color: #404040;
}

.main .content__comments__field__reply__date {
    color: #606060;
}

.main .content__comments__field__reply__text {
    color: #404040;
    text-align: justify;
}

.main .content__comments__success {
    width: 100%;
    height: 100px;
    background-color: #F3FDFA;
    color: #00966D;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.sidebar__item:last-child > .sidebar__link {
    color: #C30000;
}

@media only screen and (max-width: 768px) {
    .sidebar {
        display: none !important;
    }

    .content__comments__header__button {
        display: none;
    }

    .content__variable__videos {
        display: flex;
        flex-direction: column;
    }

    .container {
        width: 90% !important;
        padding: 0 !important;
    }

    .main {
        grid-template-columns: 1fr;
    }

    .main .sidebar {
        padding-inline: 32px;
    }

    .main .content__variable__gallery {
        display: flex;
        flex-direction: column;
    }

    .main .content__comments-container {
        width: 100%;
    }

    .main .content__comments__send {
        display: flex;
        flex-direction: column;
    }

    .main .content__comments__field__reply__text,
    .main .content__comments__field__sender__text {
        color: red;
        font-size: 12px;
    }

    .sticky {
        display: block !important;
    }
}

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 999;
}

.fullscreen img {
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.content__variable__videos {
    width: 100%;
    min-height: 200px;
    padding-block: 32px;
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    place-items: center;
    gap: 16px;
    border-top: 1px solid #CBCBCB;
}

.content__variable__videos__video {
    width: 100%;
    height: auto;
}

.main .content__variable__qrcode__copy {
    min-width: 250px;
    min-height: 32px;
    background-color: #FFFFFF;
    border-radius: 16px;
    cursor: copy;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    -moz-column-gap: 8px;
    column-gap: 8px;
    padding-inline: 8px;
    position: relative;
}

.main .content__variable__qrcode__copy__button {
    width: -moz-fit-content;
    width: fit-content;
    background-color: #404040;
    color: #FFFFFF;
    padding-inline: 8px;
    border-radius: 16px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
}

.main .content__variable__qrcode__copy::-moz-placeholder {
    color: #202020;
}

.main .content__variable__qrcode__copy::placeholder {
    color: #202020;
}

.sticky {
    width: 100%;
    min-height: 25px;
    background-color: #FFFFFF;
    display: flex;
    position: sticky;
    top: 0;
    z-index: 10;
    row-gap: 8px;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    display: none;
}

.sticky__menu {
    height: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 0.3rem;
}

.sticky__menu__item {
    padding: 8px;
    border-radius: 15px;
    display: flex;
    background: #DBFDF1;
}

.sticky__menu__link {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    align-items: center;
    row-gap: 6px;
    color: #404040;
}

.sticky__menu__link:hover {
    color: #08A66C;
}