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

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

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


/*** 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;
}


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

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

.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;
}

.btn-outline-body {
    color: #e57d1b;
    border-color: #99cd1b;
}

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

.text-align-center {
    text-align: center;
}

.section_why_choose_us {
    background-color: var(--clr-FFFBEA);
    padding: 6rem 0;
}

.why_choose_us:hover {
    position: relative
}

.why_choose_us .why_choose_us_child {
    transition: .4s ease-in-out
}

.why_choose_us_icon_img_hover {
    display: none
}

.why_choose_us:hover .why_choose_us_icon_img {
    display: none
}

.why_choose_us:hover .why_choose_us_icon_img_hover {
    display: block
}

.why_choose_us:hover .why_choose_us_child {
    width: 90%;
    margin-left: auto;
    margin-bottom: 20px;
    border-radius: 40px 0 0;
    text-align: center;
    background: var(--clr-FCC11E) 0% 0% no-repeat padding-box;
    box-shadow: 0px 6px 12px #00000029;
    position: relative;
    padding: 8px;
    box-sizing: border-box;
    z-index: 5
}

.why_choose_us:nth-child(1):hover .why_choose_us_des,
.why_choose_us:nth-child(4):hover .why_choose_us_des {
    left: -2%
}

.why_choose_us:nth-child(2):hover .why_choose_us_des,
.why_choose_us:nth-child(5):hover .why_choose_us_des {
    left: -100%
}

.why_choose_us:nth-child(3):hover .why_choose_us_des,
.why_choose_us:nth-child(6):hover .why_choose_us_des {
    left: unset;
    right: 0
}

.why_choose_us_des {
    position: absolute;
    display: none;
    border: 1px solid var(--clr-FCC11E);
    border-radius: 12px;
    width: 290px;
    background: var(--clr-FCC11E) 0% 0% no-repeat padding-box;
    top: 160px;
    z-index: 8;
    padding: 4px 15px;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 20px;
    font-weight: 500;
    transition: .4s ease-in-out
}

.why_choose_us:hover .why_choose_us_des {
    display: block
}

.why_choose_us:after {
    transition: .4s ease-in-out
}

.why_choose_us:hover:after {
    content: "";
    width: 100%;
    height: 70%;
    position: absolute;
    left: 0;
    background-color: var(--clr-D94966);
    border-radius: 19px 0 12px;
    z-index: 4;
    bottom: 12px
}

/*** 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 .navbar-nav .nav-link {
    margin-right: 10px;
    /*    padding: 30px 0;*/
/* color: var(--dark); */
/*       font-weight: 500;*/
/* text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #B30A1D;
}

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

@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;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

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


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

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

    .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-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    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);
}


/*** Section Title ***/
.section-title {
    color: #B30A1D;
    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: 120px;
    transition: .5s;
}

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

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

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


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

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

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

.service-item * {
    transition: .5;
}

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

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

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


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: #dc3545;
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: 0px;
    /*       padding-right: 60px;*/
    left: 0;
}



.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: #B30A1D;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: blue;
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-card .card-up {
    height: 120px;
    overflow: hidden;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.testimonial-card .avatar {
    width: 110px;
    margin-top: -60px;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 50%;
}

/* .testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
} */


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #fff;
    font-weight: normal;
    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(--primary);
    margin-right: 10px;
}

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

.footer .form-control {
    border-color: #777777;
}

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

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

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


/*************************** custom section Start 16-04-24 ****************************/

/* Navbar start */

.navbar-nav .nav-link {
    font-size: 20px;
    color: #fff;
    text-decoration: none;

}

.navbar-nav .nav-link:hover {
    color: red;
}

.navbar-toggler {
    outline: none !important;
    padding: none !important;

    background-color: white;
}

.navbar-brand img {
    width: 60px;
    height: 60px;
}


.carousel-inner .carousel-item img {
    width: auto;
    height: 100vh;
}

.carousel-inner .carousel-item {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-item img {
    filter: brightness(50%);
}


.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    /* content: "\25BC"; */
    /* Down arrow symbol */
    margin-left: 5px;
    font-size: 25px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.669);
    width: 200px;
    z-index: 1;
    padding: 10px 0;
    border-radius: 0 0 5px 5px;
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(-10px);
}

.dropdown-item {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/************************************ 3 buttons start below the OUR story  *******************************************/
.image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px;
}

.image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 30px;
    cursor: pointer;

}

.image-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.image-item img {
    max-width: 300px;
    height: auto;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}


.image-item p {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

.image-item p:hover {
    color: green;
}

/************************************ 3 buttons End *******************************************/


/*********************************************** SBRT Nexus Page Style start **********************************************/
.navbar-brand-sbrt img {
    width: 80px;
    height: 80px;
}

.bg-img-container-sbrt {
    position: relative;
    height: 80vh;
    overflow: hidden;
}


.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.cards {
    margin-top: 30px;
}

/*********************************************** SBRT Nexus Page Style End **********************************************/


.navbar-nav .nav-item {
    margin: 14px;
}


.about-us {
    margin-top: 100px;
    margin-bottom: 30px;
}

.about-us p {
    font-family: "Overlock", sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 20px;
}

.col-md-auto h1 {
    text-transform: uppercase;
    color: #004a1f;
    font-family: "Overlock", sans-serif;
    font-weight: 900;
    font-size: 45px;

}

.col-md-auto hr {
    width: auto;
}

.image-container {
    margin-bottom: 100px;
}


/* .carousel-caption h1 {
    font-size: 70px;
}

.carousel-caption h2 {
    font-size: 50px;
} */

.carousel-caption-3 {
    position: absolute;
    left: 5%;
    bottom: 5%;
    max-width: 90%;
    text-align: left;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}


/* .carousel-caption-3 h3 {
    font-size: 50px;
} */
.carousel-caption h1,
.carousel-caption h2,
.carousel-caption-3 h3 {
    font-size: 3.2rem;
}

.carousel-caption p,
.carousel-caption-3 p {
    font-size: 1.2rem;
}


/* Responsive carousel */
@media (max-width: 767px) {

    .carousel-caption h1,
    .carousel-caption h2,
    .carousel-caption-3 h3 {
        font-size: 1rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    #carousel-3-p {
        font-size: 0.9rem;
    }
}

/* Styles for tablets */
@media (min-width: 768px) and (max-width: 991px) {

    .carousel-caption h1,
    .carousel-caption h2,
    .carousel-caption-3 h3 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1.1rem;
    }

    #carousel-3-p {
        font-size: 1rem;
    }
}



/* About Section Start */
.display-5 {
    color: #004a1f;
}

.testimonial-item img {
    width: 100px;
    height: 20px;
}


/* About Section End */



/* Footer style */
.col-lg-3 .btn {
    text-decoration: none;
}

.copyright a {
    text-decoration: none;
}