@font-face {
    font-family: 'Vazir';
    src: url('/assets/fonts/vazir/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Vazir';
    src: url('/assets/fonts/vazir/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

html,
body {
    overflow-x: hidden;
    font-family: 'Vazir', 'Vazirmatn', Tahoma, sans-serif !important;
    background: #f4f6f9;
    width: 100%;
}

/*  */

/* Sidebar */
.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    background: #1e1e2f;
    padding: 20px;
    color: white;
}

.sidebar a {
    display: block;
    color: #ddd;
    padding: 10px;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 8px;
}

.sidebar a:hover {
    background: #0d6efd;
    color: #fff;
}

/* Content */
.content {
    margin-right: 260px;
    padding: 20px;
}

.card {
    border: none;
    border-radius: 12px;
}

body {
    background: #f4f6f9;
    font-family: tahoma;
}

.main-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .08);
}

.hero {
    background: linear-gradient(135deg, #0d6efd, #4f8cff);
    color: white;
    padding: 35px;
    border-radius: 15px 15px 0 0;
    text-align: center;
}

.carousel-control-next {
    left: -65px !important;
}

.carousel-control-prev {
    right: -65px !important;
}

.carousel-control-prev,
.carousel-control-next {
    display: none;
}

@media (min-width: 768px) {

    .carousel-control-prev,
    .carousel-control-next {
        display: flex;
        align-items: center;
        justify-content: center;
    }

}

.home-banner-carousel {
    overflow: hidden;
    border-radius: 25px;
}

.home-banner-carousel .carousel-inner {
    overflow: hidden;
    border-radius: 25px;
}

.home-banner-carousel .carousel-item {
    overflow: hidden;
}

@media (max-width: 768px) {
    .row.bt div {
        margin-bottom: 10px;
    }
}




/* ===========================
   Consultation Box
=========================== */

.consult-box {

    background: linear-gradient(135deg, #0d6efd, #0a58ca);

    border-radius: 25px;

    padding: 45px;

    margin: 50px 0;

    color: #fff;

    overflow: hidden;

    position: relative;

    box-shadow: 0 20px 45px rgba(13, 110, 253, .25);

}

.consult-box::before {

    content: "";

    position: absolute;

    width: 320px;

    height: 320px;

    background: rgba(255, 255, 255, .08);

    border-radius: 50%;

    top: -120px;

    left: -100px;

}

.consult-box::after {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    background: rgba(255, 255, 255, .08);

    border-radius: 50%;

    bottom: -70px;

    right: -50px;

}

.consult-box>* {

    position: relative;

    z-index: 2;

}

.consult-badge {

    display: inline-block;

    background: #ffc107;

    color: #222;

    padding: 8px 18px;

    border-radius: 50px;

    font-weight: bold;

    margin-bottom: 20px;

}

.consult-title {

    font-size: 34px;

    font-weight: 700;

    margin-bottom: 20px;

}

.consult-text {

    font-size: 17px;

    line-height: 2;

    opacity: .95;

}

.consult-buttons {

    margin-top: 35px;

}

.btn-call {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 14px 28px;

    border-radius: 12px;

    background: #fff;

    color: #0d6efd;

    font-weight: bold;

    text-decoration: none;

    margin-left: 12px;

    transition: .3s;

}

.btn-call:hover {

    transform: translateY(-4px);

    color: #0d6efd;

}

.btn-call i {

    margin-left: 10px;

}

.btn-whatsapp {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 14px 28px;

    border-radius: 12px;

    background: #25D366;

    color: #fff;

    font-weight: bold;

    text-decoration: none;

    transition: .3s;

}

.btn-whatsapp:hover {

    color: #fff;

    transform: translateY(-4px);

}

.btn-whatsapp i {

    margin-left: 10px;

}

.consult-card {
    background: rgba(255, 255, 255, .15);

    /* Safari */
    -webkit-backdrop-filter: blur(12px);

    /* Chrome, Edge, Firefox جدید */
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, .2);

    border-radius: 20px;
    padding: 30px;
}

.consult-item {

    display: flex;

    align-items: center;

    margin-bottom: 22px;

    font-size: 17px;

}

.consult-item:last-child {

    margin-bottom: 0;

}

.consult-item i {

    width: 48px;

    height: 48px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .18);

    display: flex;

    align-items: center;

    justify-content: center;

    margin-left: 15px;

    color: #ffd54f;

    font-size: 18px;

}

.consult-item span {

    font-weight: 600;

}

.btn-eitaa {
    background: #261527;
    color: #fff;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    background: #25D366;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: .3s;
}

.btn-eitaa:hover {

    background: #008b44;

    color: #fff;

}

.btn-bale {
    /* display: inline-flex; */
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    background: #25D366;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: .3s;
    margin-right: 5px;
}

.btn-bale:hover {

    background: #1865d8;

    color: #fff;

}

@media(max-width:991px) {

    .consult-box {

        padding: 30px;

        text-align: center;

    }

    .consult-title {

        font-size: 28px;

    }

    .consult-buttons {

        display: flex;

        flex-direction: column;

        gap: 15px;

    }

    .btn-call,

    .btn-whatsapp {

        width: 100%;

        margin: 0;

    }

    .consult-card {

        margin-top: 35px;

    }

}

/*==========================
      Social Section
===========================*/

.social-card.eitaa {

    background: #00A94F;

}

.social-card.bale {

    background: #1E88E5;

}

.social-section {

    margin: 80px 0;

}

.social-badge {

    display: inline-block;

    padding: 8px 20px;

    background: #0d6efd;

    color: #fff;

    border-radius: 50px;

    font-weight: bold;

    margin-bottom: 20px;

}

.social-title {

    font-size: 34px;

    font-weight: 700;

    margin-bottom: 15px;

}

.social-subtitle {

    color: #777;

    font-size: 17px;

    max-width: 650px;

    margin: auto;

    line-height: 2;

}

.social-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 25px;

    margin-top: 50px;

}

.social-card {

    height: 170px;

    border-radius: 22px;

    text-decoration: none;

    color: #fff;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    transition: .35s;

    position: relative;

    overflow: hidden;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .15);

}

.social-card::before {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .15);

    top: -60px;

    left: -60px;

}

.social-card i {

    font-size: 48px;

    margin-bottom: 18px;

    position: relative;

    z-index: 2;

}

.social-card span {

    font-size: 20px;

    font-weight: bold;

    position: relative;

    z-index: 2;

}

.social-card:hover {

    transform: translateY(-10px);

    color: #fff;

}

.instagram {

    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);

}

.telegram {

    background: linear-gradient(135deg, #0088cc, #00bfff);

}

.whatsapp {

    background: linear-gradient(135deg, #25D366, #128C7E);

}

.aparat {

    background: linear-gradient(135deg, #ff1744, #d50000);

}

@media(max-width:768px) {

    .social-title {

        font-size: 28px;

    }

    .social-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 15px;

    }

    .social-card {

        height: 145px;

    }

    .social-card i {

        font-size: 40px;

    }

    .social-card span {

        font-size: 17px;

    }

}

@media(max-width:500px) {

    .social-grid {

        grid-template-columns: 1fr;

    }
}

/*============================
        Footer
=============================*/

.landing-footer {

    margin-top: 80px;

    background: #111827;

    color: #fff;

    border-radius: 30px 30px 0 0;

    padding: 60px 0 25px;

}

.landing-footer h4 {

    margin-bottom: 20px;

    font-size: 22px;

    font-weight: bold;

}

.landing-footer p {

    line-height: 2;

    color: #d1d5db;

}

.landing-footer ul {

    list-style: none;

    padding: 0;

    margin: 0;

}

.landing-footer li {

    margin-bottom: 15px;

}

.landing-footer a {

    color: #fff;

    text-decoration: none;

    transition: .3s;

}

.landing-footer a:hover {

    color: #ffc107;

}

.landing-footer hr {

    margin: 35px 0 20px;

    border-color: rgba(255, 255, 255, .1);

}

.footer-copy {

    text-align: center;

    color: #9ca3af;

}

.footer-address-list {

    list-style: none;

    margin: 0;

    padding: 0;

}

.footer-address-list li {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 12px;

    line-height: 1.9;

}

.footer-address-list li i {

    color: #ffc107;

    margin-top: 6px;

    min-width: 18px;

}

.footer-address-list li span {

    flex: 1;

}

/*==============================
 Support Widget
==============================*/

.support-widget {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 999999;

}

.support-widget input {

    display: none;

}

/*==============================*/

.support-main {

    width: 72px;

    height: 72px;

    border-radius: 50%;

    background: linear-gradient(135deg, #0066ff, #00a8ff);

    display: flex;

    justify-content: center;

    align-items: center;

    cursor: pointer;

    position: relative;

    color: #fff;

    box-shadow: 0 15px 35px rgba(0, 102, 255, .35);

    transition: .4s;

}

.support-main:hover {

    transform: scale(1.08);

}

.support-main i {

    font-size: 30px;

    z-index: 3;

}

/*==============================
 Pulse
==============================*/

.pulse {

    position: absolute;

    width: 100%;

    height: 100%;

    border-radius: 50%;

    background: rgba(0, 102, 255, .35);

    animation: pulse 2s infinite;

}

@keyframes pulse {

    0% {

        transform: scale(1);

        opacity: .8;

    }

    70% {

        transform: scale(1.7);

        opacity: 0;

    }

    100% {

        opacity: 0;

    }

}

/*==============================*/

.support-item {

    position: absolute;

    right: 8px;

    width: 250px;

    height: 55px;

    border-radius: 50px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 0 18px;

    text-decoration: none;

    color: #fff;

    font-weight: bold;

    opacity: 0;

    visibility: hidden;

    transform: translateY(20px);

    transition: .35s;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);

}

.support-item span {

    font-size: 15px;

}

.support-item i {

    font-size: 22px;

}

/*==============================*/

.support-item.eitaa {

    background: #00A94F;

}

.support-item.bale {

    background: #1E88E5;

}

.call {

    background: #0d6efd;

}

.telegram {

    background: #229ED9;

}

/*==============================*/

#supportToggle:checked~.call {

    bottom: 90px;

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}

#supportToggle:checked~.whatsapp {

    bottom: 155px;

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}

#supportToggle:checked~.telegram {

    bottom: 220px;

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}

#supportToggle:checked~.eitaa {

    bottom: 285px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);

}

#supportToggle:checked~.bale {

    bottom: 350px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);

}

#supportToggle:checked+.support-main {

    transform: rotate(135deg);

}

/*==============================*/

.support-item:hover {

    color: #fff;

    transform: translateX(-8px);

}

/*==============================*/

@media (max-width:768px) {

    .support-widget {

        right: 15px;

        bottom: 15px;

    }

    .support-main {

        width: 60px;

        height: 60px;

    }

    .support-main i {

        font-size: 24px;

    }

    .support-item {

        width: 180px;

        height: 48px;

        right: 0;

        padding: 0 14px;

        border-radius: 40px;

    }

    .support-item span {

        font-size: 12px;

    }

    .support-item i {

        font-size: 18px;

    }

    #supportToggle:checked~.call {

        bottom: 75px;

    }

    #supportToggle:checked~.whatsapp {

        bottom: 130px;

    }

    #supportToggle:checked~.telegram {

        bottom: 185px;

    }

    #supportToggle:checked~.eitaa {

        bottom: 240px;

    }

    #supportToggle:checked~.bale {

        bottom: 295px;

    }

}

@media (max-width:480px) {

    .support-widget {

        right: 10px;

        bottom: 10px;

    }

    .support-item {

        width: 160px;

        height: 44px;

        padding: 0 12px;

    }

    .support-item span {

        font-size: 11px;

    }

    .support-item i {

        font-size: 16px;

    }

    .support-main {

        width: 55px;

        height: 55px;

    }

    .support-main i {

        font-size: 22px;

    }

}

/*==========================
SVG ICON
==========================*/

.support-item img {

    width: 22px;

    height: 22px;

    object-fit: contain;

}

.social-card img {

    width: 42px;

    height: 42px;

    margin-bottom: 12px;

}

.consult-buttons img {

    width: 18px;

    height: 18px;

}

/*==========================
EITAA
==========================*/

.btn-eitaa:hover {

    background: #009245;

    color: #fff;

}

.social-card.eitaa {

    background: #00A94F;

}

/*==========================
BALE
==========================*/

.btn-bale:hover {

    background: #1976D2;

    color: #fff;

}

.social-card.bale {

    background: #1E88E5;

}

.support-item.bale {

    background: #1E88E5;

}



@media (max-width:768px) {

    .card-header h4 {
        font-size: 1.15rem;
    }

    .card-header .btn {
        width: 100%;
    }

    #searchForm .form-control,
    #searchForm .form-select {
        min-height: 48px;
    }

    #searchForm .btn {
        min-height: 48px;
    }

}


@media (max-width:768px) {

    .card-header h4 {
        font-size: 1.1rem;
    }

    .card-body strong {
        display: block;
        margin-bottom: 4px;
    }

    .card .btn {
        min-height: 46px;
    }

    textarea.form-control {
        min-height: 120px;
    }

}


@media (max-width:768px) {

    .card {
        border-radius: 12px;
    }

    .card-header {
        text-align: center;
    }

    .card-header h5 {
        font-size: 15px;
    }

    .form-label {
        font-size: 14px;
        font-weight: 700;
    }

    .form-control,
    .form-select {
        min-height: 46px;
        font-size: 14px;
    }

    .btn {
        min-height: 46px;
    }

    .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

}


/* ===========================
   Responsive Admin Settings
===========================*/

@media (max-width:768px) {

    .card {
        border-radius: 12px;
    }

    .card-header h4 {
        font-size: 18px;
        text-align: center;
    }

    h4 {
        font-size: 18px;
    }

    .form-label,
    label {
        font-size: 14px;
        font-weight: 700;
    }

    .form-control,
    .form-select {
        min-height: 46px;
        font-size: 14px;
    }

    textarea.form-control {
        min-height: 110px;
    }

    .btn {
        min-height: 46px;
    }

    img.img-fluid {
        display: block;
        margin: auto;
    }

}


/* Dashboard */

@media (max-width:768px) {

    .card-body h2 {
        font-size: 30px;
    }

    .card-body h6 {
        font-size: 14px;
    }

    .table td,
    .table th {
        white-space: nowrap;
        font-size: 13px;
    }

    .btn-sm {
        width: 100%;
    }

    .card-header h5 {
        text-align: center;
        width: 100%;
    }

}

.promotion-slider img {

    width: 100%;

    aspect-ratio: 16/5;

    object-fit: cover;

    border-radius: 18px;

    display: block;

}

.swiper-slide img {

    transition: .35s;

}

.swiper-slide:hover img {

    transform: scale(1.02);

}

.swiper-button-next,
.swiper-button-prev {

    opacity: 0;

    transition: .3s;

}

.promotion-slider:hover .swiper-button-next,
.promotion-slider:hover .swiper-button-prev {

    opacity: 1;

}
