.DinarOne-medium {
    font-family: 'DinarOne-medium';
}

.iSan {
    font-family: var(--font-primary);
}

.yekan {
    font-family: var(--font-secondary);
}

.align-justify {
    text-align: justify;
}

.my-slide {
    height: 75vh;
    background-color: #000;
}

.my-slide .owl-carousel,
.my-slide .owl-carousel div {
    height: 100%;
}

.my-slide .owl-dots {
    height: auto !important;
    position: absolute;
    inset: auto auto 35px;
    display: flex;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mySlide-caption {
    color: var(--text-color);
    /*position: absolute;*/
    /*top: 50%;*/
    /*transform: translate(0, -15%);*/
}

.mySlide-caption p {
    text-align: justify;
    line-height: 1.8;
    font-size: 16px;
}

.mySlide-caption p span a {
    margin-top: 20px;
    font-size: 15px !important;
    padding: 5px 10px;
    border-radius: 10px;
    color: var(--text-color);
    background: var(--primary-color);
    border: 1px solid var(--text-color);
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.mySlide-caption a:hover {
    color: var(--primary-color);
    background: var(--text-color);
    border: 1px solid var(--primary-color);
}

.navbar-nav .nav-link {
    position: relative;
    font-size: 14px;
    color: #000;
    font-weight: 500;
    transition: all .2 ease-in;
    -webkit-transition: all .2 ease-in;
    -moz-transition: all .2 ease-in;
    -ms-transition: all .2 ease-in;
    -o-transition: all .2 ease-in;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: rgba(0, 0, 0, 0.7);
}

.navbar-nav .nav-link:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: transparent;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

.navbar-nav .nav-link:hover:before {
    opacity: 1;
    transform: translateY(0px);
    bottom: 0px;
    background: var(--primary-color);
}



.head nav {
    z-index: 9999;
    width: 100%;
    background: rgb(255 255 255 / 95%);
    /* background: rgb(62 20 21 / 95%); */
}

.head .nav-link {
    padding-right: 0.5rem;
}

.head .login-btn {
    background-color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 10px;
    transition: 0.2s ease-in-out;
}

.head .login-btn:hover {
    transform: scale(1.02);
}

.head nav .navbar-brand img {
    max-width: 150px;
    height: auto;
}

.head .navbar {
    padding: .5rem 1rem;
}

.cat-content {
    position: relative;
    text-align: center;
    color: white;
    height: 100%;
    width: 100%;
    /*background-color: #baa576;*/
    font-size: 20px;
    /*box-shadow: 20px 50px 50px 20px #000 inset*/
}

.cat-content:hover {
    /*box-shadow: 015px 30px 50px 18px #000 inset;*/
}

.cat-content img {
    filter: brightness(69%);
    height: 100%;
    width: 100%;
    position: relative;
    z-index: -1;
    /*opacity : 0.95;*/
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, -webkit-transform 0.35s;
    -o-transition: opacity 0.35s, -o-transform 0.35s;
    -moz-transition: opacity 0.35s, transform 0.35s, -moz-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    transition: opacity 0.35s, transform 0.35s, -webkit-transform 0.35s, -moz-transform 0.35s, -o-transform 0.35s;
    -webkit-transform: scale3d(1.01, 1.01, 1);
    -moz-transform: scale3d(1.01, 1.01, 1);
    transform: scale3d(1.01, 1.01, 1);
    object-fit: cover;
}

.cat-content:hover img {
    opacity: 0.9;
    -webkit-transform: scale3d(1, 1, 1);
    -moz-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

.navbar-toggler-icon {
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg viewBox=\'0 0 30 30\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath stroke=\'black\' stroke-width=\'2\' stroke-linecap=\'round\' stroke-miterlimit=\'10\' d=\'M4 7h22M4 15h22M4 23h22\'/%3E%3C/svg%3E');
}

.history {
    background: url('/assets/img/bg/bg-one.jpg') no-repeat;
    background-size: cover;
    height: auto;
    background-attachment: fixed;
    /*min-height: 350px;*/
}


.history img {
    width: 100%;
    height: auto;
}

.history h3 {
    color: var(--secondary-color);
    font-weight: bold;
    font-family: var(--font-secondary);
}



/* categories */
.categories {
    background-color: #FFFFFF;
    width: 100%;
    height: auto;
}

/* agency */
.agency {
    height: auto;
}

.agency h4 {
    color: var(--secondary-color);
    font-weight: bold;
    font-family: var(--font-secondary);
}

.agency .slide-image img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 1;
    height: 100%;
    filter: brightness(50%);
    /*box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.5); !* افکت سایه *!*/
}

/* cta  */
.cta-content {
    position: relative;
    padding: 25px 50px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary-color);
    backdrop-filter: blur(2px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-content h2 {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-secondary);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.cta-section {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-color);
    background: url('/assets/img/bg/bg-two.jpg') repeat;
    /* background: linear-gradient(135deg, #e58c52, #b35b30, #632d1a, #141414); */
}




.cta-button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: linear-gradient(45deg, var(--primary-color), #df920f);
    color: var(--text-color);
    font-weight: bold;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0px 10px 20px rgba(229, 140, 82, 0.5);
}

/* افکت‌های متنی */
.fade-in-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s forwards;
}

.fade-in-text.delay {
    animation-delay: 0.5s;
}

/* انیمیشن‌ها */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* location */
@keyframes animatedGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--primary-color);
}

.location {
    background: url('/assets/img/bg/bg-4.jpg') no-repeat center center;
    background-size: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    height: auto;
    color: rgba(255, 255, 255, 0.87);
    font-weight: bold;
    font-size: 18px;

}

.location .address {
    font-size: 15px;
}

.location .map-card {
    background-color: rgba(255, 255, 255, 0.81);
    height: 150px;
    border-radius: 30px;
}

/* articles */


.articles h4,
.articles h5 {
    color: var(--secondary-color);
    font-weight: bold;
    font-family: var(--font-secondary);
}

.articles .article-image:hover img {
    filter: brightness(0.3);
    -webkit-transform: scale3d(1, 1, 1);
    -moz-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    transition: all 0.3s ease-in-out;
    -webkit-filter: brightness(0.3);
}

.articles .more a {
    display: inline-block;
    font-size: 1rem;
    font-family: var(--font-primary);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 8px 30px;
    transition: transform .2s ease-in-out;
}

.articles .more a:hover {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;

}

.single-image img {
    width: 100% !important;
    border-radius: 20px;
    max-height: 300px;
    object-fit: cover;
}

.articles .article-image {
    min-height: 300px;
    position: relative;
    text-align: center;
    color: white;
    height: 100%;
    width: 100%;

}

#owl-agency .slide-image {
    min-height: 200px;
    position: relative;
    text-align: center;
    color: white;
    height: 100%;
    width: 100%;
    box-shadow: 0px 20px 50px 15px #000 inset;
    border-radius: 30px;
    font-size: 17px;
}

#owl-agency .slide-image img {
    width: 100%;
    height: 200px;
    position: relative;
    z-index: -1;
    border-radius: 30px;
    object-fit: cover;

}

.owl-carousel button:focus {
    outline: unset !important;
}

#owl-agency .slide-image:hover img {
    filter: brightness(1);
    transition: all 0.5s ease-in-out;
    -webkit-filter: brightness(1);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}

#owl-agency .slide-image a:hover {
    color: var(--text-color);
}

.articles .article-image .centered {
    display: none;
    font-size: 20px;
}

.articles .article-image:hover .centered {
    display: block;
}

.articles .article-image a:hover {
    color: var(--text-color);
}

.articles .article-image img {
    opacity: 0.95;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, -webkit-transform 0.35s;
    -o-transition: opacity 0.35s, -o-transform 0.35s;
    -moz-transition: opacity 0.35s, transform 0.35s, -moz-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    transition: opacity 0.35s, transform 0.35s, -webkit-transform 0.35s, -moz-transform 0.35s, -o-transform 0.35s;
    -webkit-transform: scale3d(1.01, 1.01, 1);
    -moz-transform: scale3d(1.01, 1.01, 1);
    transform: scale3d(1.01, 1.01, 1);
    object-fit: cover;
}

.articles img {
    width: 100%;
    height: 300px;
}

.desc p {
    font-size: 14px;
    color: #566667;
    text-align: justify;
}

/* representatives */
.repres-filter a {
    color: #cfcfcf;
    font-weight: bold;
    font-size: 18px;
}

.repres-filter a:active {
    color: #000;
}

.repres-filter .nav-tabs .nav-link.active {
    color: #000;
}

.repres-filter .nav-tabs {
    border-bottom: unset !important;
}

.repres-filter .nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    border: unset !important;
}

.repres-filter .nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    border: unset !important;
}

.rep-content {
    height: auto;
}

.rep-content:nth-child(2n) {
    background-color: #FFFFFF;
}

.rep-content:nth-child(2n+1) {
    background-color: #f2f2f2;
}

.rep-content p {
    text-align: justify;
}

.rep-content img {
    width: 100%;
    height: 45vh;
    border-radius: 32px;
    /*max-height: 280px;*/
    /*min-height: 280px;*/
    object-fit: cover;
}

.stars .fa-star {
    /*color: #e4dec3;*/
    opacity: 0.3;
    color: #dda829;
    font-size: 19px;
}

.stars .checked {
    /*color: #c3ac2d;*/
    color: #dda829;
    opacity: 1;
}

/* shop page style */
.products {
    background-color: #FFFFFF;
    height: auto;
    width: 100%;
}

.products p {
    font-family: var(--font-secondary);
    font-weight: bold;
    line-height: 0.4;
}

.products .card {
    border: unset !important;
}

.products .card .product-image {
    /*padding: 30px 60px;*/
    border-radius: 30px;
    /*background-color: #000000;*/
    /*background-image: radial-gradient(circle at 24.1% 68.8%, rgb(50, 50, 50) 0%, rgb(0, 0, 0) 99.4%);*/
}

.products .card .card-img-top {
    position: relative;
    z-index: 2;
    height: 50vh;
    width: 100%;
    border-radius: 30px;
    object-fit: cover;
}

.products .card .stars {
    position: relative;
    z-index: 5;
    float: left;
    top: -38px;
    left: 27px;
}

.products .card-body {
    padding: 1px 8px 1.25rem !important;
}

/* product-details */
.product-details {
    height: auto;
    background-color: #f2f2f2;

}

/* product-comment */
.product-comment {
    background-color: #f2f2f2;
}

.navbar-toggler {
    float: right;
    border: none;
    padding-right: 0;
    font-size: 2rem !important;
}

.navbar-toggler:active,
.navbar-toggler:focus {
    outline: none !important;
}

.navbar-toggler-icon {
    width: 24px;
    height: 17px;
    background-image: none;
    position: relative;
    border-bottom: 2px solid #000;
    transition: all 300ms linear;
}

.navbar-toggler:focus {
    box-shadow: unset;
}

.head .navbar-collapse ul {
    width: 100%;
}

.navbar-toggler-icon:after,
.navbar-toggler-icon:before {
    width: 24px;
    position: absolute;
    height: 1px;
    background-color: #000;
    top: 0;
    left: 0;
    content: '';
    z-index: 2;
    transition: all 300ms linear;
}

.navbar-toggler-icon:after {
    top: 8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: translateY(8px) rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    border-color: transparent;
}

/*footer*/
footer {
    background-color: var(--secondary-color);
    color: #cfcdcd;
    width: 100%;
}

footer h5 {
    padding-bottom: 10px;
    color: var(--text-color);
}

footer ul li a {
    color: #cfcdcd;
    line-height: normal;
    transition: all 0.2 ease-in;
    -webkit-transition: all 0.2 ease-in;
    -moz-transition: all 0.2 ease-in;
    -ms-transition: all 0.2 ease-in;
    -o-transition: all 0.2 ease-in;
}

footer ul li a:hover {
    color: var(--text-color) !important;
}

/* contact-us */
.ftco-section {
    padding-bottom: 30px;
    margin-bottom: 0;
    font-size: 14px;
    background-color: #f2f2f2;
    background-repeat: repeat-x;
    position: relative;
    animation-name: cloud-movement;
    animation-duration: 200s;
    animation-iteration-count: infinite;
    color: #000;

}

.error {
    color: red;
}


.ftco-section h3 {
    font-weight: bold;
}

.ftco-section form .btn {
    background-color: unset;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    width: 100%;
    transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
}

.ftco-section .heading-section {
    color: var(--secondary-color);
}

.ftco-section a {
    color: #000;
}

.ftco-section form input,
.ftco-section form textarea {
    border: unset;
}

.ftco-section form input:focus,
.ftco-section form textarea:focus {
    outline: unset !important;
    box-shadow: none !important;
    border: unset;
}

.ftco-section form .btn:hover {
    transform: scale(0.99);
    -webkit-transform: scale(0.99);
    -moz-transform: scale(0.99);
    -ms-transform: scale(0.99);
    -o-transform: scale(0.99);
}

.ftco-section .slide {
    height: 350px;
    padding: 30px auto;

}

#map {
    width: 100%;
}

.dbox .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.dbox .icon span {
    font-size: 50px;
    color: var(--secondary-color);
}

.head .navbar .dropdown .dropdown-menu a:hover {
    color: var(--primary-color) !important;
}

.head .navbar .dropdown .top-menu {
    cursor: pointer;
}


/* @media*/
@media (max-width: 990px) {
    .navbar-nav .nav-link:before {
        display: none !important;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--primary-color) !important;
    }

    .articles .article-image {
        min-height: 180px !important;
    }

    .articles img {
        height: 180px !important;
    }

    #owl-agency .slide-image {
        min-height: 150px;
    }

    #owl-agency .slide-image img {
        height: 150px !important;
    }

    #sync2 .item {
        min-height: 30vh !important;
    }

    #sync1 .item {
        min-height: 60vh !important;
    }
}

@media (max-width: 750px) {
    .dropdown-menu {
        left: 5px;
        min-width: 7rem;

    }

    #sync2 .item {
        min-height: 20vh !important;
    }

    #sync1 .item {
        min-height: 50vh !important;
    }

    .articles .article-image {
        min-height: 200px !important;
    }

    .articles img {
        height: 200px !important;
    }

    .cat-content {
        font-size: 13px !important;
        max-height: 300px !important;
    }
}

@media (max-width:600px) {
    .agency .owl-theme .owl-nav {
        padding: 0 7px !important;
        color: var(--primary-color);
        font-size: 36px !important;
    }

    .agency .owl-theme .owl-nav button {
        padding: 0 7px !important;
    }

    .agency .owl-theme .owl-nav [class*=owl-]:hover {
        background: unset !important;
        color: #ddb7b4 !important;
    }

}

.mobile-img {
    display: none;
}

@media screen and (max-width: 768px) {
    .desktop-img {
        display: none;
    }

    .mobile-img {
        display: block;

    }

    .history img {
        width: 85%;
        height: auto;
        margin: 0 auto 30px;

    }

    .history h3 {
        display: none;
    }

}


@media(max-width:480px) {
    .cta-section {
        padding: 0 18px;
    }
}

@media (max-width: 399px) {
    #owl-agency .slide-image {
        min-height: 280px !important;
    }

    #owl-agency .slide-image img {
        height: 280px !important;
    }

    .articles img {
        height: 243px !important;
    }

    .my-slide {
        height: 65vh !important;
    }

    .timeline-img {
        height: 50vh !important;
    }

    .head nav .navbar-brand img {
        max-width: 120px;
    }

    .head .login-btn {
        font-size: 15px;
        padding: 7px 10px;
    }

}

@media (max-width: 767.98px) {
    #map {
        height: 300px;
    }
}