/********** Template CSS **********/
:root {
    --primary: #9F393B;
    --secondary: #272727;
    --light: #FFFFFF;
    --dark: #272727;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.hero-header {
    position: relative;
    background: url(../img/hero.jpg) top right no-repeat;
    background-size: cover;
    background-color: #272727; /* fallback if image not loaded */
    color: #fff;
    z-index: 1;
}

.hero-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(39, 39, 39, 0.8);
    z-index: -1;
}


.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}

/* Brand refresh */
:root {
    --primary: #9F393B;
    --secondary: #272727;
    --light: #FFFFFF;
    --dark: #272727;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #FFFFFF;
    color: #272727;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.navbar-nav .nav-link,
.btn {
    font-family: 'Montserrat', sans-serif;
}

.bg-secondary,
.bg-dark {
    background-color: #272727 !important;
}

.text-primary {
    color: #9F393B !important;
}

.text-secondary,
.text-muted {
    color: #272727 !important;
    opacity: .72;
}

.border-secondary {
    border-color: #FFFFFF !important;
    opacity: .2;
}

.btn-primary {
    background-color: #9F393B;
    border-color: #9F393B;
    color: #FFFFFF;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #272727;
    border-color: #272727;
    color: #FFFFFF;
}

.btn-light {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    color: #272727;
}

.btn-light:hover,
.btn-light:focus {
    background-color: #9F393B;
    border-color: #9F393B;
    color: #FFFFFF;
}

.btn,
.btn-primary,
.btn-light,
.form-control,
.form-select,
.accordion-item,
.service-box,
.rounded-4 {
    border-radius: 0 !important;
}

.container-fluid.sticky-top {
    border-bottom: 1px solid #272727 !important;
}

.navbar-light .navbar-nav .nav-link {
    color: #272727;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #9F393B;
}

.navbar-light .navbar-nav .nav-link::before {
    background: #9F393B;
    height: 3px;
}

.navbar-brand h3 {
    color: #9F393B !important;
    font-size: 18px;
    letter-spacing: .02em;
}

.hero-header {
    min-height: 620px;
    display: flex;
    align-items: center;
    margin-bottom: 0 !important;
    background-position: center;
}

.hero-header::before {
    background: rgba(39, 39, 39, .8);
}

.hero-header .container {
    border-left: 6px solid #9F393B;
    padding-left: 42px;
}

.hero-header h5 {
    color: #FFFFFF !important;
    border-color: #9F393B !important;
    font-size: 12px;
    letter-spacing: .18em;
}

.hero-header h1 {
    max-width: 760px;
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.04em;
}

.hero-header p {
    max-width: 650px;
    line-height: 1.8;
}

.about-section {
    background: #FFFFFF;
    overflow: hidden;
}

.about-section::before,
.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .05;
    background-image: linear-gradient(90deg, #272727 1px, transparent 1px), linear-gradient(#272727 1px, transparent 1px);
    background-size: 28px 28px;
}

.about-section .container,
.contact-section .container {
    z-index: 1;
}

.about-section .border-primary {
    border-color: #9F393B !important;
}

.about-section .bg-primary {
    background-color: #9F393B !important;
}

.about-section .bg-primary.bg-opacity-10 {
    background-color: #9F393B !important;
    color: #FFFFFF;
}

.about-section .rounded-circle {
    border-radius: 0 !important;
}

.about-section img {
    filter: grayscale(100%);
    transition: filter .4s ease;
}

.about-section img:hover {
    filter: grayscale(0);
}

#services {
    background: #272727;
    color: #FFFFFF;
}

#services .text-primary,
#services .text-secondary,
#services .text-muted {
    color: #FFFFFF !important;
}

#services .text-secondary,
#services .text-muted {
    opacity: .72;
}

.service-box {
    min-height: 260px;
    background: #FFFFFF !important;
    border: 1px solid #FFFFFF;
    color: #272727 !important;
    transition: transform .3s ease, background-color .3s ease, color .3s ease;
}

.service-box:hover {
    background: #9F393B !important;
    color: #FFFFFF !important;
    transform: translateY(-8px);
    box-shadow: none !important;
}

.service-box h5,
.service-box p {
    color: #272727 !important;
}

.service-box:hover h5,
.service-box:hover p {
    color: #FFFFFF !important;
}

.icon-wrapper {
    width: 52px;
    height: 52px;
    background: #9F393B !important;
    border-radius: 0 !important;
}

.service-box:hover .icon-wrapper {
    background: #272727 !important;
}

.contact-section {
    position: relative;
    background: #FFFFFF !important;
}

.contact-section .shadow-sm {
    box-shadow: 8px 8px 0 #272727 !important;
    border: 1px solid #272727;
}

.contact-section .text-primary {
    color: #9F393B !important;
}

.contact-section a {
    color: #272727 !important;
}

#faqs {
    background: #FFFFFF;
}

#faqs .accordion-item {
    border: 1px solid #272727;
    margin-bottom: 12px;
}

#faqs .accordion-button {
    color: #272727;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

#faqs .accordion-button:not(.collapsed) {
    background-color: #9F393B;
    color: #FFFFFF;
    box-shadow: none;
}

#faqs .accordion-button:focus {
    border-color: #9F393B;
    box-shadow: 0 0 0 .2rem rgba(159, 57, 59, .2);
}

.back-to-top {
    background-color: #9F393B;
    border-color: #9F393B;
}

.copyright-bar {
    background-color: #000000 !important;
    border-top: 1px solid #FFFFFF;
    color: #FFFFFF !important;
}

.copyright-bar p,
.copyright-bar a {
    color: #FFFFFF !important;
}

@media (max-width: 991.98px) {
    .hero-header {
        min-height: 560px;
    }

    .hero-header .container {
        padding-left: 24px;
    }

    .navbar-brand h3 {
        font-size: 15px;
    }
}
