/********** Template CSS **********/
:root {
    --primary: #348E38;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #0F4229;
}

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

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

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

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** 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 {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.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.sticky-top {
    top: -100px;
    transition: .5s;
    border-bottom: 1px solid #37a8f9;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: #082849;
    font-size: 16px;
    font-weight: 500;
    outline: none;

}

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

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

@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;
    justify-content: center;
    text-align: center;
    background: #0c446c85;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: #0170ca;
    border: 10px solid #0170ca;
}

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

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

.page-header {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

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


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, .6);
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 30px;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1.25);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
    width: 100%;
    padding: 20px;
}

.service-item:hover .service-text {
    background: #01325ca3;
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

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

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
    padding: 20px;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: #0170ca;
    background: #badffd;
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

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


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}
.portfolio-inner img{
    max-height: 220px;
}
.portfolio-inner2 img{
    max-height: 100%;
}
.portfolio-inner img.achievements {
    max-height:auto;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: #0258a294;
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: #badffd;
    color: #0170ca;
}

.portfolio-inner .portfolio-text .btn:hover {
    background: #0170ca;
    color: #badffd;
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: rgb(255, 255, 255, 0.3);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}




.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: #badffd;
    color: #0170ca;
}

.team-item .team-social .btn:hover {
    background: #0170ca;
    color: #badffd;
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

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

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

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


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

.footer .btn.btn-link:hover {
    color: #000;
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #082849;
    position: relative;
}

.copyright a {
    color: #FFFFFF;
}

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

.whatsapp-btn {
    position: fixed;
    bottom: 100px;
    left: auto;
    right: 34px;
    color: #fff;
    background-color: #348e38;
    border-radius: 50%;
    padding: 5px;
    z-index: 9;
}
.whatsapp-btn img{
    width:45px;
}
.whatsapp-btn a {}

.whatsapp-btn a i {
    color: #fff;
}


/* popup */
.cl-button {
    background-color: #b62a2a;
    /* Green */
    border: none;
    color: white;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 13px;
    border-radius: 100px;
    margin-top: -55px;
    float: right;
    box-shadow: -1px 0px 18px 0px rgba(0,0,0,0.47);
    transition: .3s all ease-in-out;
}


.cl-button:hover{
    background-color: #000;
    color: #0daaef;
}
   

.popup {
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    padding: 90px 20px 30px 20px;
    background-color: white;
    border: 4px solid #0daaef;
    /* box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.2); */
    box-shadow:inset 5px 0 20px -5px #000,inset -5px 0 20px -5px #000;
    border-radius: 10px;
    overflow: hidden;
}

.popup__text {
    font-size: 1.4rem;
    margin-bottom: 4rem;
}

.form-group {
    margin-bottom: 15px;
}

.Submit-box {
    background-color: #0daaef !important;
    border: none;
    padding: 7px 20px;
    margin-top: 30px;
    border-radius: 4px;
    transition: .3s all ease-in-out;
}

.Submit-box:hover {
    background-color: #000 !important;
    color: #fff;
}

.popup__content .pop-img{
max-width: 350px;
}

@media only screen and (max-width:768px) {
    .popup__content {
        width: 90%;
        margin: 15px auto
    }
}

.counter-sec {
    background: url(../img/carousel-1.jpg) no-repeat center center;
    background-attachment: fixed;
}


/* ******enquery Popup**** */

html,
        body {
            overflow-x: hidden;
        }

        /* CSS for styling the popup form */
        .popupForm {
            border-radius: 10px;
            position: fixed;
            top: 47%;
            left: 50%;
            width: 38%;
            transform: translate(-50%, -50%);
            background-color: #ffffff;
            padding: 20px;
            border: 2px solid #0170ca;
            z-index: 9999;
            /*height:80%;*/
            /*overflow: hidden;*/
            display: none;
            box-shadow: 0px 0px 50px #0170ca;

        }

        @media (max-width: 768px) {

            .popupForm {
                width: 90%;
                box-shadow: 0px 0px 10px #0170ca;
            }

            .popupForm label {
                display: block;
                /*margin-bottom: 5px;*/
            }

            .popupForm input,
            .popupForm select {
                /*width: calc(100% - 22px); */
                padding: 4px;
                margin-bottom: 3px;
                border: 1px solid #cccccc;
                border-radius: 4px;
            }


        }

        .popupForm h2 {
            margin-top: 0;
        }

        .popupForm label {
            display: block;
            margin-bottom: 10px;
        }

        .popupForm input,
        .popupForm select {
            width: calc(100% - 22px);
            /* Adjusted width to account for padding and border */
            padding: 8px;
            margin-bottom: 7px;
            border: 1px solid #cccccc;
            border-radius: 4px;
        }

        .popupForm button {
            padding: 8px 20px;
            border: none;
            border-radius: 7px;
            /*background-color: #348e39;*/
            background-color: transparent;
            color: #0170ca;
            cursor: pointer;
            margin-right: 10px;
            float: right;
            position: relative;
            top: 5px;
            border: solid 2px #0170ca;
            box-shadow: 0px 0px 10px #0170ca;
        }

        .popupForm button:hover {}


        .popupForm button:last-child {
            margin-right: 0;
        }

        #closePopupBtn {
            font-weight: bolder;

        }

        #closePopupBtn:hover {
            visibility: 0.7;
            color: red;
        }

        /* Overlay for background blur */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            /* Semi-transparent black */
            backdrop-filter: blur(5px);
            /* Apply blur effect */
            z-index: 9998;
            display: none;
            /* Initially hidden */
        }

        /* Styling for the rotated button */
        #openPopupBtn {
            position: fixed;
            top: 50%;
            /* Adjust position as needed */
            right: -45px;
            /* Adjust position as needed */
            padding: 10px 20px;
            background-color: #444444;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            z-index: 9999;
            transform: rotate(-90deg);
            /* Rotate the button */
        }

        /* Hover effect for the button */
        #openPopupBtn:hover {
            background-color: #0056b3;

        }

        #openPopupBtn {
            animation: glow 2s ease-in-out infinite alternate;
        }

        @keyframes glow {
            0% {
                /*transform: translateY(0);*/
                box-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
                /* Replace with your desired glow color */
                border: solid 1px #0170ca
            }

            50% {
                /*transform: translateY(-5px); Move up by 5px*/
                box-shadow: 0 0 40px #0170ca;
                /* Increase glow intensity */
                border: solid 1px white;
            }

            100% {
                /*transform: translateY(0);*/
                box-shadow: 0 0 20px #0170ca;
                /* Restore original glow */
                border: solid 1px #348e38;
            }
        }

        .pre-btn {
            border: none;
            background: transparent;
            /*position:relative;*/
            /*bottom:100px;*/
        }

        .img-form {
            position: relative;
            bottom: 100px;
        }

        .message {
            width: calc(100% - 22px);
            padding: 8px;
            /*margin-bottom: 7px;*/
            border: 1px solid #cccccc;
            border-radius: 4px;
        }

        #closePopupBtn:hover {
            color: white;
            opacity: 0.3;
        }



        
/* EMI Calculator */

pieChart-white-box
#emi-calculator label,
#balance-calculator label {
    display: inline-block !important
}

.multipleRangeLabel:nth-child(1) {
    position: absolute;
    left: 0
}

.multipleRangeLabel:nth-child(2) {
    position: absolute;
    left: calc(25% - 12px)
}

.multipleRangeLabel:nth-child(3) {
    position: absolute;
    left: calc(50% - 12px)
}

.multipleRangeLabel:nth-child(4) {
    position: absolute;
    left: calc(75% - 12px)
}

.multipleRangeLabel:nth-child(5) {
    position: absolute;
    left: calc(100% - 30px)
}

.labelMultipleRange:nth-child(1) {
    position: absolute;
    left: 0
}

.labelMultipleRange:nth-child(2) {
    position: absolute;
    left: calc(20% - 12px)
}

.labelMultipleRange:nth-child(3) {
    position: absolute;
    left: calc(40% - 12px)
}

.labelMultipleRange:nth-child(4) {
    position: absolute;
    left: calc(60% - 12px)
}

.labelMultipleRange:nth-child(5) {
    position: absolute;
    left: calc(80% - 12px)
}

.labelMultipleRange:nth-child(6) {
    position: absolute;
    left: calc(100% - 30px)
}

form#emi-calculator input[type=text],
form#balance-calculator input[type=text] {
    width: 100px;
    border: 1px solid #0f63ac;
    border-radius: 5px;
    text-align: right;
    padding: 5px;
    font-size: 18px
}

.pieChart-white-box {
    box-shadow: 0px 0px 10px #0F63AC1A;
    border-radius: 5px;
    height: 100%
}

.flex-between-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px
}

.lightBlueBox {
    background: #0f63ac1a;
    border-radius: 5px
}

#emiChartContainer,
#balanceChartContainer {
    border-right: 2px solid #e9e9e9
}

.bold18 {
    font-size: 18px !important;
    font-weight: 700 !important
}

.labelMultipleRange,
.multipleRangeLabel,
.semiBold14 {
    font-size: 14px !important;
    font-weight: 600 !important
}

.fontWeightSemiBold {
    font-weight: 600 !important
}

.ChartMiddleText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -20%);
    text-align: center
}

.bold28 {
    font-size: 28px !important;
    font-weight: 700 !important
}

.blueBorderEnd {
    border-right: 1px solid #0f63ac
}

.semibold16 {
    font-size: 16px !important;
    font-weight: 600 !important
}
