/********** Template CSS **********/
:root {
    /* --primary: #AB7442; */
    --primary: rgb(0, 0, 31);
    --light: #F5F5F5;
    --dark: #353535;
    --secondary: rgb(205, 150, 0);
}
p{
    text-align: justify !important;
}

/* .fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
} */

.fw-black {
    font-weight: 900 !important;
}

.btn-1{
    background-color: var(--primary) !important;
    color: white !important;
    box-shadow: none !important;
    border: 1px solid var(--primary) !important;
    transition: .5s ease-in-out;
}
.btn-1:hover{
    color: var(--primary) !important;
    background-color: white !important;
}


/* .back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}
.btn-primary{
    background-color: var(--primary) !important;
    border: 1px solid var(--primary) !important;
    color: white !important;
} */

/*** Spinner ***/
/* #spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
} */


/*** Navbar ***/

.top-nav{
    background-color: var(--light);
}
.nav-icon{
    font-size: 20px;
    color: white !important;
    background-color: var(--primary) !important;
}
/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    /* text-transform: uppercase; */
    outline: none;
}

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

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}
.dropdown-item:focus{
    background-color: var(--primary) !important;
    color: white !important;
}

.navbar-toggler{
    border: none !important;
    box-shadow: none !important;
}

/*** Header ***/

.header-carousel .owl-carousel-item img{
    /* height: 750px !important; */
    width: 100%;
    /* object-fit: cover; */
    background-position: center;
    background-size: cover;
}
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        /* min-height: 400px; */
        /* max-height: 300px; */
    }
    
    .header-carousel .owl-carousel-item img {
        /* position: absolute; */
        width: 100%;
        /* height: 70vh !important; */
        /* object-fit: cover; */
    }

    /* .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    } */
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: transparent;
    border: 1px solid #FFFFFF;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/page-header-1.png) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.card img{
    height: 250px !important;
    width: 100%;
    object-fit: cover;
    background-position: center;
    background-size: cover;
}

.card-text{
    top: 200px;
    bottom: 0px;
    right: 0px;
    left: 0px;
}
.card-text{
    background-color: var(--secondary);
}

/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}
.number{
    background-color: var(--primary) !important;
}
.number span{
    color: var(--secondary);
}
.number h5{
    font-style: italic;
}

/*** Service ***/
.service-item img {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.1);
}

.features-card{
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom: 5px solid transparent ;
    /* border: 2px solid whitesmoke; */
    /* border-top: 2px solid whitesmoke; */
    background-color: white;
}
.features-card:hover{
    /* border: 2px solid var(--bule); */
    border-bottom: 5px solid var(--primary) ;
    transition: .5s;
    /* background-color: var(--color); */
}

/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.choose-icon{
    font-size: 40px;
    color: var(--primary) !important;
}




/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    border: 5px solid var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.gallery-img{
    height: 250px !important;
    width: 100%;
    object-fit: cover;
    background-position: center;
    background-size: cover;
}

/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.contact-icon{
    font-size: 20px;
    color: white !important;
    background-color: var(--primary) !important;
}

/*** Footer ***/
.footer {
    /* background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/footer.jpg) center center no-repeat; */
    /* background-size: cover; */
    background-color: #1b1818;
}

.font-italic{
    font-style: italic !important;
}
.footer-angle{
    font-size: 20px;
    color: white!important;
}
.social-icon{
    font-size: 20px;
    color: white;
    background-color: var(--primary);
    transition: .5s ease-in-out;
}
.social-icon:hover{
    background-color: #040139;
}
.footer-icon{
    font-size: 20px;
    color: white;
    background-color: var(--primary);
}
.link-hover a{
    transition: .5s ease-in-out;
}
.link-hover a:hover{
    letter-spacing: 2px;
}
.tick{
    font-size: 30px;
    color: var(--secondary);
}
/*** Team ***/
.team-item .team-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transform: scale(0);
    transition: .5s;
}

.team-item:hover .team-overlay {
    transform: scale(1);
}

.team-item .team-overlay .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-overlay .btn:hover {
    color: #FFFFFF;
    background: var(--secondary)
}
.team-icon{
    font-size: 20px;
}
/* .c-angle{
    font-size: 30px !important;
    color: var(--primary);
} */
.cards h6{
    border: 5px solid var(--secondary);
}

.owl-carousel {
    display: block !important;
    width: 100%;
    z-index: 1;
}