:root {
    --primary: #EAA636;
    --secondary: #545454;
    --light: #FDF5EB;
    --dark: #1E1916
}

.h4,
.h5,
.h6,
h4,
h5,
h6 {
    font-weight: 600 !important
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99
}

#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
}

.btn {
    font-weight: 500;
    transition: .5s
}

.btn.btn-primary {
    color: #fff
}

.btn-square {
    width: 38px;
    height: 38px
}

.btn-lg-square {
    width: 48px;
    height: 48px
}

.btn-lg-square,
.btn-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px
}

.navbar .navbar-nav .nav-link {
    padding: 35px 15px;
    color: var(--light);
    outline: 0
}

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

.navbar.fixed-top {
    transition: .5s
}

@media (max-width:991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, .3);
        background: var(--dark)
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0
    }
}

@media (min-width:992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0 0;
        transition: .5s;
        opacity: 0
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0);
        visibility: visible;
        transition: .5s;
        opacity: 1
    }
}

@media (max-width:768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 600px
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important
    }
}

.header-carousel .owl-nav {
    position: relative;
    width: 80px;
    height: 80px;
    margin: -40px auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: center
}

.header-carousel .owl-nav::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    transform: rotate(45deg)
}

.page-header {
    margin-bottom: 6rem;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover
}

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

.product-item {
    transition: .5s
}

.product-item:hover {
    background: var(--primary) !important
}

.product-item:hover * {
    color: var(--light)
}

.product-item:hover .border-primary {
    border-color: var(--light) !important
}

.team-item .team-text {
    position: relative;
    height: 100px;
    overflow: hidden
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--light);
    transition: .5s
}

.team-item:hover .team-title {
    top: -100px
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 100px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transition: .5s
}

.team-item .team-social .btn {
    margin: 0 3px
}

.team-item:hover .team-social {
    top: 0
}

.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #fff !important
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: 400;
    text-transform: capitalize;
    transition: .3s
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none
}

.copyright {
    background: #111
}

.copyright a {
    color: var(--primary)
}

.copyright a:hover {
    color: var(--light)
}