/********** Template CSS **********/

html {
    -webkit-font-smoothing: antialiased;
}

body {
    color: #595959;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 500 !important;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    color: var(--primary-dark);
}

/*** Button ***/
.btn {
    transition: background-color .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--primary-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar {
    width: 100%;
    top: 0;
    transition: background .3s, color .3s
}

.navbar-light {
    background-color: white;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .05);
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    color: white;
    font-size: 18px;
    font-weight: 500;
    outline: none;
    text-shadow: 5px 5px 15px #000000;
    transition: color .3s;
}

.navbar a.nav-link {
    position: relative;
    padding-bottom: 1rem;
    color: #000;
}

.navbar.navbar-dark a.nav-link,
.navbar.navbar-dark a.nav-link:hover {
    color: #FFFFFF;
}

.navbar.navbar-light a.nav-link {
    text-shadow: none;
    color: var(--bs-dark);
}

.navbar a.nav-link:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 10px;
    left: 0;
    transition: all .3s ease-in-out 0s;
    visibility: hidden;
    transform: scaleX(0);
    transform-origin: left;
}

.navbar-light a.nav-link:before {
    background-color: var(--secondary);
}


.navbar-dark a.nav-link:before {
    background-color: var(--primary);
}

.navbar a.nav-link:hover:before {
    visibility: visible;
    transform: scaleX(1);
    color: #FFF;
}

@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;
        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;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 1;
    @media (max-width: 740px) {
        align-items: flex-end;
        padding-bottom: 20px;
    }
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item .banner {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.page-header h1 {
    padding-top: 96px;
}

.page-header {
    background-image: linear-gradient(#00000070, #00000070), var(--page-header);
    background-color: #7C7C7C;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 5px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 6px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** About ***/
.about-experience {
    position: absolute;
    width: 100%;
    height: 100%;
    right: -45px;
    bottom: -45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/*** Service ***/
.service-item {
    position: relative;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 8px;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    border-radius: 10px;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    border-radius: 10px;
    z-index: 1;
}

.service-item .service-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s ease-out;
    z-index: 2;
}

.service-item:hover .service-img::after {
    width: 0;
    left: auto;
    right: 0;
}

.service-item .service-text .service-icon {
    width: 140px;
    height: 140px;
    padding: 15px;
    margin-top: -70px;
    margin-bottom: 40px;
    background: #FFFFFF;
    border-radius: 140px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 0, 0, .1);
}

.service-item .service-text h5,
.service-item .service-text p {
    transition: .5s;
}

.service-item:hover .service-text h5,
.service-item:hover .service-text p {
    color: #FFFFFF;
}

.service-item .service-text .btn {
    color: var(--secondary);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .25);
}

.service-item .service-text .btn:hover {
    color: var(--primary-dark);
    background: var(--secondary);
}


/*** Product ***/
.product-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item .product-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    padding-top: 60px;
    transition: .5s;
}

.product-item:hover .product-overlay {
    opacity: 1;
    padding-top: 0;
}


/*** Team ***/
.team-item {
    position: relative;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    img {
        height: 310px;
        width: 310px;
        object-fit: cover;
    }
}

.team-item .btn {
    border-color: transparent;
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 300px;
}

.testimonial-img::after {
    position: absolute;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 200px;
    color: #EEEEEE;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.testimonial-img img {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-img img:nth-child(1) {
    top: 0;
    left: 0;
}

.testimonial-img img:nth-child(2) {
    top: 60%;
    left: 20%;
}

.testimonial-img img:nth-child(3) {
    top: 20%;
    left: 60%;
}

.testimonial-img img:nth-child(4) {
    bottom: 0;
    right: 0;
}

.testimonial-img img .animated.pulse {
    animation-duration: 2s;
}

/*** Footer ***/

.footer * {
    color: var(--primary-dark-contrast);
}

.footer .btn.btn-link,
.footer .btn-link {
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    border: 0;
    color: var(--primary-dark-contrast);
}

.footer .btn.btn-link {
    display: block;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn-secondary {
    background-color: var(--secondary);
    color: var(--secondary-contrast);
    border: 0;

    &:hover {
        background-color: var(--secondary);
        border: 0;
        color: #000000;
    }
}

.footer .btn.btn-link:hover,
.footer .btn-link:hover {
    color: var(--primary-dark);
    letter-spacing: 1px;
    box-shadow: none;
    border: 0;
    color: var(--primary-contrast) !important;
}


#header-carousel {
    height: 100svh;
    background-color: #000000;
    .carousel-item {
        > img {
            object-fit: cover;
            opacity: .4;
            height: 100%;
            width: 100%;
        }
    }
    .carousel-inner, .carousel-item {
        height: 100%;
    }
}

.ratio-square {
    aspect-ratio: 1/1;
}
.object-fit-cover {
    object-fit: cover;
}

.parallax {
    /* pointer-events: none; */
    opacity: .5;
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 0;
    object-fit: cover
}

.btn-primary, .btn-primary * {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--primary-contrast);
    border: 0;
}
.btn-secondary, .btn-secondary * {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--secondary-contrast);
    border: 0;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--primary-dark-contrast);
}
.btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--secondary-dark-contrast);
}

.text-primary-contrast {
    color: var(--primary-contrast);
}

.text-secondary-contrast {
    color: var(--secondary-contrast);
}
/* 
html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    div {
        scroll-snap-align: start;
    }
} */

.testimonial-nav {
    margin-top: 30px;
    display: flex;

    .carousel-prev, .carousel-next {
    &:hover {
        background-color: var(--secondary);
        color: var(--secondary-contrast);
    }
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 45px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
    font-size: 22px;
    transition: .5s;
    background-color: #FFF;
    border: 0;
    color: var(--primary);
    }
}

.section-head {
    max-width: 500px;
}

.bg-secondary * {
    color: var(--secondary-contrast);
}

#contact-form #abouttextarea1{
    height: 250px;
}

.map-frame {
    height: 300px;
    border:0;
}

.iframe-placeholder {
    background-color: #00000070;
    top:0;
    bottom:0;
    right: 0;
    left: 0;
}

.iframe-placeholder ~ img {
    min-height: 300px;
    border:0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icon {
    width: 1rem;
    height: 1rem;
}

.d-inherit {
    display: inherit;
}

.refill-form input {
    min-height: 55px;
}

.form-control:focus, .form-select:focus, .btn-primary:focus, .btn-check:focus + .btn-primary {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(from var(--primary) r g b / .25)
}

.form-floating > label,
.form-floating > .form-control:focus,
.form-floating > .form-select,
.form-control,
.form-control:focus,
.form-control::placeholder {
    color: var(--bs-dark);
}

div.date-pill-header {
    background-color: var(--primary);
    color: var(--primary-contrast);
}

.bg-dark {
    color: var(--primary-dark-contrast);
}

.hyphenate {
    hyphens: auto;
}

.bg-black {
    background-color: #000;
}
.z-0 {
    z-index: 0;
}
.z-1 {
    z-index: 1;
}