/********** Template CSS **********/
:root {
    --primary: #13C5DD;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #1D2A4D;
    --white: ;
}

@font-face {
    font-family: Yekan;
    src: url('../fonts/Yekan.eot');
    src: url('../fonts/Yekan.eot?#iefix') format('Yekan-opentype'),
         url('../fonts/Yekan.woff') format('woff'),
         url('../fonts/Yekan.ttf') format('truetype');
}

@font-face {
    font-family: Sahel;
    src: url('../fonts/Sahel.eot');
    src: url('../fonts/Sahel.eot?#iefix') format('Sahel-opentype'),
         url('../fonts/Sahel.woff') format('woff'),
         url('../fonts/Sahel.ttf') format('truetype');
} 

@font-face {
    font-family: Tanha;
    src: url('../fonts/Tanha.eot');
    src: url('../fonts/Tanha.eot?#iefix') format('Tanha-opentype'),
         url('../fonts/Tanha.woff') format('woff'),
         url('../fonts/Tanha.ttf') format('truetype');
} 

@font-face {
    font-family: BTitr;
    src: url('../fonts/BTitr.eot');
    src: url('../fonts/BTitr.eot?#iefix') format('BTitr-opentype'),
         url('../fonts/BTitr.woff') format('woff'),
         url('../fonts/BTitr.ttf') format('truetype');
}

body {
  font-family: Sahel;
  color: #1D2A4D;
}



@media (max-width:991px) {
    body {
        padding-right: 15px;
    }
}

.fontchange {
    font-family: Tanha !important
}

.fontnumber {
    font-family: BTitr;
}

.large-font {
    font-size: larger;
}

.btn-number2 {
    border-radius: 15px 15px 0 0;
    padding:5px 80px;
    font-size: 15px;
    font-weight: bold;
    text-shadow: 0 0 20px #13C5DD; 
    white-space: nowrap;
}

.btn-number1 {
    font-size: large;
    font-weight: bold;
    text-shadow: 0 0 20px #354F8E;  
}

.hero-image {
    background-image : url("https://hampaaco.ir/img/stair-lift.jpg");
    height:450px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-text {
    background-color: rgba(256, 256, 256, .3);
    position: absolute;
    text-align: center;
    font-weight:bold;
    bottom: 15px; /* At the bottom. Use top:0 to append it to the top */
    width: 100%; /* Full width */
}

.hero-font {
    font-family: Tanha !important;
    color: #1D2A4D !important;
    font-size: 26px !important;
    font-weight:bold;
}

.video-mask{
    border-radius: 10px; 
    overflow: hidden;
   background-color: #555555;
}

.owl-carousel,
.bx-wrapper { direction: ltr; }
.owl-carousel .owl-item { direction: rtl; }

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: Tanha;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.hero-header {
    background: url(../img/hero.jpg) top right no-repeat;
    background-size: cover;
}

.point-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.point-item .point-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.point-item .point-icon i {
    transform: rotate(15deg);
}

.point-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.point-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.project-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.project-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .product-item .row {
        height: 350px;
    }
}

.product-carousel .owl-nav {
    position: absolute;
    padding: 0 30px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .product-carousel .owl-nav {
        top: calc(30% - 22.5px); 
        padding: 0 10px;
    }
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}

/* Carousel with Thumbnails */
.carousel-indicators {
    bottom: -30px; /* Adjust position of indicators */
}
.carousel-indicators li {
    background-color: #354F8E; /* Set background color for dots */
    border-radius: 50%; /* Make them circular */
    width: 12px; /* Set width */
    height: 12px; /* Set height */
    margin: 0 5px; /* Space between dots */
}
.carousel-indicators .active {
    background-color: #13C5DD; /* Color for active dot */
}
.carousel-image {
    width: 100%; /* Set width to 100% */
    height: 500px; /* Increased height for better visibility */
    object-fit: cover; /* Maintain aspect ratio while covering the area */
}
.thumbnail-image {
    cursor: pointer;
    transition: transform 0.2s; /* Animation for hover effect */
}
.thumbnail-image:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

.text-section {
    direction: rtl;
    text-align: right;
    margin-bottom: 20px;
    clear: both;
}

@media (min-width: 992px) { 
    .text-section {
        max-height: 500px; 
    }
}

.list-group-item {
    margin-bottom: 10px;
    text-align: right;
}

@media (max-width: 768px) { 
    #productCarousel .carousel-inner .carousel-item img {
        object-fit: cover; 
        height: 300px; 
    }
}

.header-content {
    display: flex;
    flex-direction: column; 
}

@media (min-width: 768px) {
    .header-content {
        flex-direction: row;
    }
}
