/********** Template CSS **********/
:root {
    --primary: #36368e;
    --secondary: #00B98E;
    --light: #F3F6F8;
    --dark: #0E2E50;
}

body {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: "Rubik", sans-serif;
    /* font-weight: 700; */
    /* font-style: normal; */
}

/* Bootstrap Style OverWrites */
.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

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

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

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}


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

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

.btn-square {
    width: 38px;
    height: 38px;
}

.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;
    border-radius: 50px;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    position: relative;
    margin: 0 20px;
    padding: 15px 0;
    color: var(--primary);
    font-weight: 500;
    outline: none;
    transition: .5s;
    font-size: 20px;
    line-height: 26px;
}

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

.sticky-top.header-grp .navbar.shadow-sm .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.sticky-top.header-grp .navbar.shadow-sm .navbar-nav .nav-link:hover,
.sticky-top.header-grp .navbar.shadow-sm .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.header-grp .top-nav {
    border-bottom: 1px solid rgb(54 54 142 / 30%);
    background-color: var(--primary);
    transition: 0.5s;
    color: #FFFFFF;
}

.navbar-nav .dropdown-menu {
    display: block;
}

.navbar-light .navbar-toggler {
    color: #000;
    border-color: #000;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.header-grp .navbar {
    padding: 20px 0;
    transition: .5s;
}

.header-grp .navbar.shadow-sm {
    padding: 0;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .sticky-top.header-grp .navbar {
        position: relative;
        background: #FFFFFF;
    }

    .header-grp .navbar.shadow-sm {
        padding: 10px 0;
    }

    .navbar .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar .navbar-nav .nav-link,
    .sticky-top.header-grp .navbar .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark);
    }

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

    .navbar .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar .navbar-brand img {
        max-height: 40px;
    }
}

@media (min-width: 992px) {
    .navbar {
        /* position: absolute; */
        width: 100%;
        /* top: 48px; */
        /* left: 0; */
        border-bottom: 1px solid rgba(256, 256, 256, .2);
        z-index: 999;
        background-color: var(--primary);
    }

    .sticky-top.header-grp {
        position: fixed;
        background: #FFFFFF;
        width: 100%;
    }

    .sticky-top.header-grp .top-nav {
        border-bottom: 1px solid rgb(54 54 142 / 30%);
        background-color: var(--primary);
        transition: 0.5s;
        color: #FFFFFF;
    }

    .sticky-top.header-grp .navbar {
        background-color: #fff;
        /* top: 49px; */
    }

    .navbar .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 3px;
        bottom: 10px;
        left: 0;
        background: #FFFFFF;
        opacity: 0;
        transition: .5s;
    }

    .sticky-top.header-grp .navbar .navbar-nav .nav-link::before {
        background: var(--primary);
    }

    .navbar .navbar-nav .nav-link:hover::before,
    .navbar .navbar-nav .nav-link.active::before {
        bottom: -25px;
        left: 0;
        opacity: 1;
        transition: .5s;
    }

    .navbar.shadow-sm .navbar-nav .nav-link:hover::before,
    .navbar.shadow-sm .navbar-nav .nav-link.active::before {
        bottom: -1px;
        transition: .5s;
    }

    .navbar .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.header-grp .navbar.shadow-sm .navbar-brand img {
        max-height: 45px;
        padding: 5px;
    }

    .sticky-top.header-grp .navbar.shadow-sm .navbar-brand h1 {
        color: var(--primary);
    }

    .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;
        top: calc(100% + 23px);
    }
}


/*** Hero Header ***/
.hero-header {
    margin-bottom: 0;
    padding: 12rem 3rem 9rem;
    background: url(../img/shape-bottom.png) center bottom no-repeat;
}

.page-header {
    margin-bottom: 0;
    padding: 15rem 0 6rem 0;
}

@media (max-width: 991.98px) {
    .hero-header {
        padding: 6rem 1.5rem 9rem;
    }

    .page-header {
        padding: 9rem 0 6rem 0;
    }
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
}

.service-item:hover {
    box-shadow: none;
    border-color: var(--primary);
}

/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transform: scale(.85);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: none;
    border-color: var(--primary);
    transform: scale(1);
}

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

.testimonial-carousel .owl-nav {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 45px;
    transition: .5s;
}

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

/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    content: "\F135";
    font-family: "bootstrap-icons";
    font-weight: 900;
    margin-right: 10px;
    font-size: 25px;
}

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

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

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

/* Banner */
.banner-headline {
    font-size: 60px;
}

.banner-headline .india {
    background-image: linear-gradient(180deg, rgba(255, 153, 51, 1) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(18, 136, 7, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vertical-text-slider {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    height: 68px;
    width: 100%;
}

.vertical-text-slider .text-slide {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(100%);
    transition: transform ease-in-out;
    height: 100%;
    width: 100%;
    font-size: 58px;
    line-height: 68px;
    font-weight: 900;
    background-image: linear-gradient(180deg, rgba(255, 153, 51, 1) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(18, 136, 7, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vertical-text-slider .text-slide.active {
    transform: translateY(0);
}

.vertical-text-slider .text-slide.out {
    transform: translateY(-100%);
}

/* Mobile responsive */
@media (max-width: 767px) {
    .my-6 {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .py-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .banner-headline {
        font-size: 35px;
    }

    .vertical-text-slider {
        height: 96px;
    }

    .vertical-text-slider .text-slide {
        font-size: 40px;
        line-height: 48px;
    }
}