﻿.hero-slider-section {
    padding: 20px 0;
}

.slider-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

header.header-modern {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

    header.header-modern .carousel,
    header.header-modern .carousel-inner,
    header.header-modern .carousel-item {
        height: 100% !important;
        min-height: 100% !important;
    }

    header.header-modern .carousel-item {
        position: relative;
        background-color: #e0e0e0;
    }

        header.header-modern .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        header.header-modern .carousel-item .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

    header.header-modern .caption {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        padding: 0 80px;
        max-width: 650px;
        color: #fff;
        text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

        header.header-modern .caption h3 {
            font-family: 'peyda', 'Vazirmatn', sans-serif;
            font-size: 30px;
            font-weight: 800;
            margin-bottom: 20px;
            line-height: 1.5;
            letter-spacing: -0.5px;
        }

.btn-modern-slider {
    display: inline-block;
    padding: 12px 35px;
    background: #009fe3;
    color: #fff !important;
    font-family: 'peyda', 'Vazirmatn', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 159, 227, 0.3);
    border: 2px solid transparent;
}

    .btn-modern-slider:hover {
        background: #ffffff;
        color: #1b1b1b !important;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
        border-color: #ffffff;
    }

header.header-modern .carousel-control-prev,
header.header-modern .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

header.header-modern:hover .carousel-control-prev,
header.header-modern:hover .carousel-control-next {
    opacity: 1;
}

header.header-modern .carousel-control-prev {
    left: 20px;
}

header.header-modern .carousel-control-next {
    right: 20px;
}

header.header-modern .carousel-control-prev-icon,
header.header-modern .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

header.header-modern .carousel-indicators {
    bottom: 25px;
    right: 80px;
    left: auto;
    margin: 0;
    gap: 8px;
    z-index: 10;
}

    header.header-modern .carousel-indicators button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: none;
        background: rgba(255, 255, 255, 0.4);
        transition: all 0.3s ease;
        margin: 0;
    }

        header.header-modern .carousel-indicators button.active {
            background: #009fe3;
            width: 30px;
            border-radius: 10px;
        }

@media screen and (max-width: 991px) {
    header.header-modern {
        height: 350px;
        border-radius: 16px;
    }

        header.header-modern .caption {
            padding: 0 40px;
        }

            header.header-modern .caption h3 {
                font-size: 28px;
            }

        header.header-modern .carousel-indicators {
            right: 40px;
            bottom: 15px;
        }
}

@media screen and (max-width: 576px) {

    .Cret-Image {
        padding: 70px !important
    }

    .News {
        padding: 3em !important;
        padding-top: 0em !important;
        padding-bottom: 0em !important;
    }

    .section-title {
        font-size: 18px !important;
    }

    .owl-img {
        height: 210px !important;
        padding: 0px 10px !important;
    }

    .cars1 {
        padding: 0px !important;
    }

    header.header-modern {
        height: 280px;
        border-radius: 12px;
    }

        header.header-modern .caption {
            padding: 0 20px;
            text-align: center;
            width: 100%;
            max-width: 100%;
        }

            header.header-modern .caption h3 {
                font-size: 22px;
                margin-bottom: 15px;
            }

    .btn-modern-slider {
        padding: 10px 25px;
        font-size: 13px;
    }

    header.header-modern .carousel-indicators {
        right: 50%;
        transform: translateX(50%);
        bottom: 15px;
    }

    header.header-modern .carousel-control-prev,
    header.header-modern .carousel-control-next {
        width: 35px;
        height: 35px;
    }

    header.header-modern .carousel-control-prev {
        left: 10px;
    }

    header.header-modern .carousel-control-next {
        right: 10px;
    }
}

.colorWhite {
    color: white;
}

.ShowMore:hover {
    color: black !important;
}

.ShowMore {
    font-size: small;
}

header.header-modern .caption {
    top: 70%;
}

.owl-img {
    display: block;
    width: 100%;
    height: 400px;
    padding: 0px;
}

.ti-angle-right:before, .ti-angle-left:before {
    color: white;
}

.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    border-radius: 20px;
}
