/********** Template CSS **********/
:root {
    --primary: #B78D65;
    --light: #F8F8F8;
    --dark: #252525;
}

/* Typography */
h1, h2, .h1, .h2, .fw-bold { font-weight: 600; }
h3, h4, .h3, .h4, .fw-medium { font-weight: 500; }
h5, h6, .h5, .h6, .fw-normal { font-weight: 400; }

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

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

#spinner.show {
    opacity: 1;
    visibility: visible;
}

/*** Buttons ***/
.btn {
    font-weight: 500;
    transition: background-color .5s, color .5s, width .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
}

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

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

/* Responsive Navbar */
@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

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

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

/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 50%;
    transition: background-color .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: color .5s;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}

/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
}

.service-item .bg-img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: background-color .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    overflow: hidden;
    transition: width .5s;
}

.service-item:hover .btn {
    width: 140px;
}

/*** Team ***/
.team-item {
    position: relative;
    padding: .75rem;
    z-index: 1;
}

.team-item::after {
    content: "";
    position: absolute;
    inset: 0;
    height: 0;
    background: var(--primary);
    z-index: -1;
    transition: height .5s;
}

.team-item:hover::after {
    height: 100%;
}

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    color: #777777;
    transition: color .3s, letter-spacing .3s;
}

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

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/*** Controlled Global Font Override ***/
html {
    font-size: 13px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

.navbar,
.btn,
.dropdown-menu,
.card,
.modal,
.table,
input,
textarea,
select,
button,
label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}
