@import 'global';

/**********************************************
    Start Public Classes
**********************************************/
.section {
    position: relative;
    padding: 70px 0 ;
    overflow: hidden;
}

.swiper-container {
    // pagination
    .swiper-pagination {
        bottom: 0;
        .swiper-pagination-bullet {
            width: 10px;
            height: 10px;
            border-radius: 25px;
        }
        .swiper-pagination-bullet-active {
            width: 20px;
            background: var(--primary);
        }
    }
    // nav buttons
    .swiper-button-next, 
    .swiper-button-prev {
        background-image: unset;
        width: 35px;
        height: 35px;
        border: 1px solid transparent;
        border-radius: 0px;
        background-image: unset;
        background-color: #f5f5f5;
        transition: all .3s linear;
        opacity: .7;
        &::before {
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            display: inline-block;
            width: 35px;
            height: 35px;
            line-height: 35px;
            text-align: center;
            font-size: 15px;
            color: var(--secondary);
            transition: all .3s linear;
        }
        &:hover{
            background-color: var(--primary);
            opacity: 1;
            &::before{
                color: #fff;
            }
        }
    }
    .swiper-button-next,
    .swiper-container-rtl .swiper-button-prev{
        right: 5%;
        left: auto;
        &::before {
            content: '\f0da';
        }
    }
    .swiper-button-prev,
    .swiper-container-rtl .swiper-button-next{
        left: 5%;
        right: auto;
        &::before {
            content: '\f0d9';
        }
    }
}

.butn {
    position: relative;
    padding: .7rem 1.5rem;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    border: 1px solid transparent;
    i {
        margin-inline-end: 7px;
    }
    &.sm_butn {
        padding: 0;
        width: 50px;
        height: 50px;
    }
    &.secondary_butn {
        background-color: var(--secondary);
        color: #fff;
    }
    &.secondary_border_butn {
        border: 1px solid var(--secondary);
        color: var(--secondary);
        background-color: transparent;
    }
    &.white_border_butn {
        background-color: #fff;
        border: 1px solid #D6D3D3;
    }
    &.primary_butn {
        background-color: var(--primary);
        color: #fff;
    }
    &:hover {
        background-color: #03293b;
        border: 1px solid #03293b;
        color: #fff !important;
        i {
            animation: floatingX .5s both infinite alternate-reverse;
        }
        .icon {
            filter: var(--filterWhite);
        }
    }
}

.icon-18 {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.icon-15 {
    width: 15px;
    height: 15px;
    object-fit: contain;
}


.card_style {
    position: relative;
    border: 12px solid #fff ;
    box-shadow: 0 0 19px 0 rgba($color: #000000, $alpha: .16);
}
/**********************************************
   Start Edit Navbar & Footer
**********************************************/

//start Navbar
.navs-container {
    .navbar{
        .logo {
            width: 200px;
            object-fit: contain;
        }
        .nav-link {
            font-size: 15px;
            margin: 0 10px;
            text-transform: capitalize;
            &.active{
                font-weight: bold;
                color: var(--primary);
            }
        }
        .lang_link {
            position: relative;
            color: #666;
            font-size: 15px;
            &::before {
                content: '|';
                display: inline-block;
                color: #888;
                margin-inline-start: 20px;
                margin-inline-end: 10px;
            }
        }
        .navbar-toggler
        {
            width: 40px;
            height: 40px;
            cursor: pointer;
            background-color: rgba($color: #ddd, $alpha: .3);
            border: none;
            position: relative;
            &.active{
                .navbar-toggler-icon {
                    box-shadow: 0px 0px 0px grey;
                    background: rgba(0, 0, 0, 0);
                    &::before {
                        top: 0px !important;
                        transform: rotate(45deg);
                    }
                    &::after {
                        top: 0px !important;
                        transform: rotate(135deg);
                    }
                }
            }
            .navbar-toggler-icon
            {
                width: 25px;
                height: 2px;
                background: var(--primary);
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                transition: 0.5s;
                &::after,
                &::before
                {
                    content: "";
                    position: absolute;
                    width: 25px;
                    height: 2px;
                    background: var(--primary);
                    transition: 0.5s;
                }
                &::after{
                    top: -6px;
                    right: 0px;
                }
                &::before{
                    top: 6px;
                    right: 0px;
                }
            }
        }
    }
}


//start Footer
.footer {
    background-color: #1D1D1D;
    .content {
        margin-bottom: 25px;
        .logo {
            width: 200px;
            margin-bottom: 20px;
            object-fit: contain;
            margin-top: -20px;
        }
        .p{
            font-size: 12px;
            margin-bottom: 0;
            line-height: 1.7;
        }
        .links a{
            display: block;
            font-size: 15px;
            margin: 8px 0;
            color: #ccc;
            &:hover{
                color: var(--secondary) !important;
            }
        }
        .contact_links a{
            display: block;
            font-size: 15px;
            margin: 20px 0;
            color: #ccc;
            i{
                color: var(--secondary);
                margin-inline-end: 10px;
            }
        }
    }
}

/**********************************************
    Start Edit Home Page 
**********************************************/
.header {
    min-height: 85vh;
    .title {
        font-weight: 900;
        text-transform: uppercase;
        font-size: calc(2vw + 35px);
    }
    &::before{
        @include overlay;
        z-index: 1;
        background-color: rgba($color: #000, $alpha: .4);
    }
}

//start about-sec
.about-sec {
    .pkg_card {
        .text-content {
            position: absolute;
            padding: 25px;
            bottom: 0;
            right: 0;
            left: 0;
            transition: all .3s linear;
            z-index: 2;
            transform: translateY(100%);
            .price {
                font-weight: 900;
            }
            .fs-6 {
                line-height: 1.5rem;
            }
        }
        &::before{
            @include overlay;
            z-index: 1;
            background-image: linear-gradient(to bottom , transparent  , #000);
            opacity: 0;
            transition: all .3s linear;

        }
        .lg-img {
            height: 540px;
        }
        .md-img {
            height: 570px;
        }
        .sm-img {
            height: 260px;
        }
        &:hover{
            .text-content {
                transform: translateY(0%);

            }
            &::before{
                opacity: .5;
            }
        }
    }
    .text_card {
        padding: 25px;
    }
    .card_style {
        overflow: hidden;
        margin-bottom: 25px;
    }
}

//start categ-sec
.categ-sec {
    background-color: #f8f8f8;
    .categ_card {
        background-color: #fff;
        padding: 45px;
        text-align: center;
        .icon {
            width: 150px;
            height: 160px;
            object-fit: contain;
            display: block;
            margin: 0 auto 30px auto;
        }
        .label {
            color: var(--primary);
        }
    }
    &::after {
        content: '';
        @include overlay;
        background-color: rgba($color: #000000, $alpha: .5);
    }
    .bg,
    &::after {
        bottom: unset;
        height: 75%;
    }
}

//start blog-sec 
.blog-sec  {
    background-color: #f8f8f8;
    .news_card {
        position: relative;
        background-color: #fff;
        transition: all .3s linear;
        margin-bottom: 25px;
        .news_img {
            height: 260px;
        }
        .card-body {
            .title{
                color: #707070;
                transition: all .3s linear;
            }
            .blog-data .data {
                margin-inline-end: 10px;
                font-size: 14px;
                color: #888;
                i{
                    color: var(--primary);
                    margin-inline-end: 5px;
                }
            }
        }
        &:hover{
            transform: translateY(-10px);
            box-shadow: 0 0 19px 0 rgba($color: #000000, $alpha: .15);
            .title{
                color: var(--primary);
            }
        }
    }
    .primary_butn{
        min-width: 150px;
    }
}

//start contact-sec
.contact-sec {
    background-color: #f8f8f8;
    overflow: unset;
    .contact-form {
        padding: 35px;
        z-index: 5;
        position: relative;
        bottom: -250px;
        .form-group {
            margin-bottom: 1.5rem;
            .form-control {
                padding-inline-start: 45px;
                border: 1px solid #fff;
            }
            .icon {
                position: absolute;
                top: 16px;
                left: 20px;
                color: var(--primary);
            }
            textarea{
                padding-top: 14px;

            }
        }
        .butn{
            min-width: 150px;
        }
    }
    .sec-img {
        height: 450px;
    }
    .bg {
        height: 80%;
        top: 150px;
    }
}

//start newsletter-sec
.newsletter-sec {
    overflow: unset;
    .text-box {
        .form-group {
            .form-control {
                padding-inline-start: 45px;
                border: 1px solid #F2F2F2;
                background-color: #F2F2F2;
            }
            .icon {
                position: absolute;
                top: 16px;
                left: 20px;
                color: var(--primary);
            }
        }
        .butn{
            min-width: 150px;
        }
    }
    .img-box {
        position: relative;
        height: 300px;
        .newsletter-img{
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            width: 100%;
            object-fit: contain;
        }
    }
}