@import url('../fonts/iran-yekan.css');

:root {
--color-primary: #158bc8;
--color-dark-primary: #333333ee;
--color-dark-secondary: #333333dd;
}

* {
padding: 0;
margin: 0;
outline: none;
box-sizing: border-box;
}

body {
font-family: "iran-yekan" !important;
font-size: 16px;
background-color: #fff;
}

a {
    text-decoration: none !important;
}

.pagination-container p {
    display: none !important;
}

.text-limit {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3;
    /* max-width: 200px; */
}

/* --------slider starts------ */
.swiper {
width: 100%;
height: 80vh;
}

.swiper-slide {
display: flex;
justify-content: center;
align-items: center;
font-size: 2rem;
color: #fff;
background-size: cover;
background-position: center;
}

.swiper-pagination-bullet {
background: #fff;
}

.swiper-button-next,
.swiper-button-prev {
color: #fff;
}

.overlay {
background: rgba(0, 0, 0, 0.5);
padding: 20px;
border-radius: 10px;
}

#div-on-slider {
margin-top: -200px;
position: relative;
z-index: 1000;
}

/* --------slider ends------ */

/* ------------navbar styles starts--------------- */
#main-nav-div {
transition: all 0.7s ease-in-out;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 150px;
    padding: 0 40px;
    max-width: unset;
}

.logo-nav-div {
    position: absolute;
    top: 6px;
    left: 49.5%;
    transform: translateX(-50%);
    width: 145px;
}
.nav .logo-nav img {
    width: 100%;
}

.nav-div {
    padding: 0 30px;
    width: 100%;
}

.nav {
position: fixed;
top: 0px;
z-index: 1200;
width: 100%;
}

.nav::before {
content: '';
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 190px;
margin-top: -70px;
z-index: -1;
background: linear-gradient(180deg, #0f83bd 28%, rgba(12, 24, 107, 0) 100%);
}

.nav-p {
    font-size: 14px;
    margin: 0 !important;
}

.scrolled-nav {
position: fixed;
top: 0px;
z-index: 1200;
width: 100%;
height: 90px;
background: #fff;
box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.scrolled-nav .nav-list {
margin-top: 13px;
}

.scrolled-nav .left-nav {
margin-top: 33px;
}

.row,
.col-sm-2,
.col-sm-5,
.container-fluid {
height: 100% !important;
}

.scrolled-nav .logo-nav img {
width: 85% !important;
height: 90% !important;
margin: 5px 17px 5px 0;
}

.nav-list {
    display: flex;
        justify-content: space-evenly;
        align-items: center;
        list-style-type: none;
        border-bottom: 1px solid #fff;
        margin-top: 2px;
}

.left-nav {
margin-top: 20px;
padding-bottom: 15px;
padding-right: 5px;
}

.del {
text-decoration: none;
position: relative;
display: inline-block;
font-size: 30px !important;
color: #0023b0 !important;
font-weight: 800 !important;
}

.nav-items,
.nav-icon {
font-size: 17px;
color: #000 !important;
font-weight: 500;
text-decoration: none;
position: relative;
display: inline-block;
transition: all 0.5s ease;
}

.nav-items:hover {
color: #0023b0;
transform: scale(1.05);
transition: all 0.5s ease;
}

/* Line under text hover effect */
.nav-items:not(.nav-with-dr)::before {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    background: #0023b0;
    bottom: -20px;
    left: 0;
    transition: width 0.4s ease-in-out;
    pointer-events: none;
}


.nav-items:hover::before,
.nav-items.active::before {
width: 100%;
}

.nav-icon {
font-size: 23px;
margin-top: -10px
}

.nav-icon:hover {
color: #0023b0;
transform: scale(1.05);
transition: all 0.5s ease;
}

.nav-icon::before {
content: "";
position: absolute;
width: 0;
height: 3px;
background: #0023b0;
bottom: -17px;
left: 0;
transition: width 0.4s ease-in-out;
pointer-events: none;
}

.nav-icon:hover::before,
.nav-icon.active::before {
width: 100%;
}

.responsive-nav {
align-items: center;
justify-content: space-between;
padding-bottom: 15px;
border-bottom: 1px solid black;
margin-top: 10px;
display: none;
width: 100%;
}

.r-logo-nav img {
width: 120px;
margin-right: 20px;
}

.icon-r {
font-size: 25px;
}

.r-left-div {
display: flex;
gap: 20px;
}

/* Side Menu Styling */
.side-menu {
position: fixed;
top: 0;
right: -250px;
width: 250px;
height: 100vh;
background: #e1f5ff;
transition: right 0.5s ease;
z-index: 1300;
padding: 20px;
box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.side-menu.active {
right: 0;
}

.side-menu-list {
list-style: none;
padding: 0;
}

.nav-items-s {
color: #0f83bd;
text-decoration: none;
font-size: 17px;
display: block;
padding: 10px 0;
transition: color 0.3s ease;
}

.side-menu-list li a:hover {
color: #ffcc00;
}

.close-btn {
background: none;
border: none;
font-size: 24px;
color: white;
cursor: pointer;
}

.side-menu-top {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 10px 25px 10px;
border-bottom: 1px solid #0023b0;
}

@media (max-width: 1000px) {
#nav-main {
display: none !important;
}

#responsive-nav {
display: flex !important;
}

.nav::before {
height: 250px;
}
}

/* ---------menu dropdown styles starts---------- */

.nav-main ul li {
list-style: none;
position: relative;
z-index: 1200;
}

.nav-main li a:hover {
color: #0023b0;
}

.nav-main li:hover {
cursor: pointer;
}

.nav-main ul li ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    padding: 0 10px 0 10px;
    right: -10px;
    display: none;
    background: white;
    width: max-content;
    margin-top: 18px;
}

.nav-main ul li:hover>ul,
.nav-main ul li ul:hover {
visibility: visible;
opacity: 1;
display: block;
min-width: 200px;
text-align: right;
padding-top: 20px;
box-shadow: 0px 3px 5px -1px #ccc;
border-radius: 10px;
}

.nav-main ul li ul li {
clear: both;
width: 100%;
text-align: right;
margin-bottom: 20px;
border-style: none;
}

.nav-main ul li ul li a:hover {
padding-right: 10px;
border-right: 2px solid #3ca0e7;
transition: all 0.3s ease;
}

a {
text-decoration: none;
}

a:hover {
color: #3CA0E7;
}

ul li ul li a {
transition: all 0.5s ease;
font-size: 14px;
}

/* ---------menu dropdown styles ends---------- */

/* ------------navbar styles ends--------------- */

/* Footer:Start */

.footer .subscription-box {
display: flex;
}

.footer .subscription-box input {
display: block;
width: 100%;
background-color: #fff;
border: 1px solid #bbb;
color: #444;
padding: 0.75rem 1rem;
border-radius: 0 0.75rem 0.75rem 0;
}

.footer .subscription-box button {
display: block;
width: 150px;
border: none;
background-color: var(--color-primary);
color: #fff;
padding: 0.75rem 1rem;
border-radius: 0.75rem 0 0 0.75rem;
}

/* Footer:End */


/* Slider:Start */

.image-slider .images-wrapper {
position: relative;
display: block;
width: 100%;
}

.image-slider .images-items {
display: block;
width: 100%;
}

.image-slider .img-item {
display: none;
line-height: 0;
text-decoration: none;
}

.image-slider .img-item.active {
display: block;
}

.image-slider .img-item img {
display: block;
width: 100%;
object-fit: cover;
border-radius: 1.15rem;
}

.image-slider .dots-wrapper {
position: relative;
display: block;
width: 100%;
margin-top: 1rem;
}

.image-slider .dots-items {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}

.image-slider .d-item {
display: block;
margin: 0 0.15rem;
width: 1rem;
height: 1rem;
border-radius: 50%;
border: 2px solid var(--color-primary);
background-color: #08637533;
cursor: pointer;
}

.image-slider .d-item.active {
background-color: var(--color-primary);
}

@media screen and (max-width: 992px)
{
.image-slider .img-item img {
border-radius: 0.25rem;
}
}

/* Slider:End */

/* ItemStyle1:Start */

.data-item-style1 {
position: relative;
margin: 0.5rem 0;
}

.data-item-style1 .link-wrapper {
display: block;
}

.data-item-style1 img {
display: block;
width: 100%;
object-fit: cover;
border-radius: 1rem;
}

.data-item-style1 .special-mark {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: center;
width: fit-content;
height: 2.5rem;
background-color: var(--color-primary);
color: #fff;
padding: 0 1rem;
border-radius: 0 0 1.5rem 1.5rem;
font-size: 80%;
z-index: 7;
}

.data-item-style1 .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 5;
background: linear-gradient(to top, #000000cc, transparent);
display: flex;
justify-content: center;
align-items: flex-end;
border-radius: 1rem;
}

.data-item-style1 .overlay-content {
display: block;
width: 100%;
padding: 0 0.5rem 1.5rem;
color: #fff;
}

/* ItemStyle1:End */

/* ItemStyle2:Start */

.data-item-style2 {
border-radius: 0.75rem;
margin: 0.5rem 0;
}

.data-item-style2 .link-wrapper {
display: block;
}

.data-item-style2 img {
display: block;
width: 100%;
height: 180px;
object-fit: cover;
border-radius: 0.75rem 0.75rem 0 0;
}

.data-item-style2 .content {
display: block;
width: 100%;
background-color: #fff;
color: var(--color-dark-primary);
border-radius: 0 0 0.75rem 0.75rem;
border: 1px solid #bbb;
border-top: none;
}

.data-item-style2 .action-btn {
display: inline-block;
width: fit-content;
border: none;
background-color: var(--color-primary);
color: #fff;
border-radius: 0.5rem;
}

/* ItemStyle2:End */


/* ItemStyle3:Start */

.data-item-style3 {
border-radius: 0.75rem;
border: 2px solid #fff;
padding: 0.75rem 1rem;
}

.data-item-style3 img {
display: block;
width: 100%;
max-width: 80px;
margin: 0 auto;
border-radius: 0.75rem;
}

.data-item-style3 .link-wrapper {
display: block;
color: var(--color-dark-primary);
}

/* ItemStyle3:End */


/* PairSwitchingInput:Start */

.data-pair-switching-input {
display: flex;
width: 100%;
border: 0.5rem;
position: relative;
}

.data-pair-switching-input input {
display: block;
width: 100%;
padding: 0.5rem;
border: 1px solid #bbb;
}

.data-pair-switching-input input:focus {
border-color: var(--color-primary);
}

.data-pair-switching-input input.left {
border-radius: 0.5rem 0 0 0.5rem;
padding-right: 1.5rem;
}

.data-pair-switching-input input.right {
border-radius: 0 0.5rem 0.5rem 0;
padding-left: 1.5rem;
}

.data-pair-switching-input .switcher {
display: flex;
justify-content: center;
align-items: center;
width: 30px;
height: 30px;
border: 1px solid #bbb;
border-radius: 50%;
background-color: #fff;
color: #555;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

/* PairSwitchingInput:End */

/* FilterSection:Start */

.filter-section {
cursor: pointer;
}

.filter-section .filter-content {
display: none;
}

.filter-section.open .filter-content {
display: block;
}

.filter-section .bi-chevron-up {
display: none;
}

.filter-section .bi-chevron-down {
display: block;
}

.filter-section.open .bi-chevron-up {
display: block;
}

.filter-section.open .bi-chevron-down {
display: none;
}


@media screen and (max-width: 992px) {
.filter-box-wrapper {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: auto;
padding: 0.5rem;
background-color: #fff;
z-index: 9;
}

.filter-box-wrapper.open {
display: block;
}
}

/* FilterSection:End */


/* Carousel Nav Buttons */

.owl-nav {
margin: 0 !important;
}

.owl-prev , .owl-next {
position: absolute;
top: 50%;
z-index: 3;
transform: translateY(-50%);
font-size: 5rem !important;
background-color: #fff !important;
color: #000 !important;
cursor: pointer;
border-radius: 0 !important;
}

.owl-prev {
right: -1.35rem;
}

.owl-next {
left: -1.35rem;
}
