/* Default code Starts here */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-wrap: pretty;
    /* border: 1px solid red; */
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background-color: #eff2f7;
    font-family: "Montserrat", serif;
    font-family: "Open Sans", serif;
    line-height: 1.5;
    font-size: 1.6rem;
    -webkit-font-smoothing: antialiased;
    font-optical-sizing: auto;
    padding-top: 8rem;
}



::-webkit-scrollbar {
    width: 1rem;
}

::-webkit-scrollbar {
    width: 1.3rem;
}

::-webkit-scrollbar-track {
    background: #e8e7e7;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb {
    background: #d6d6d6;
    border-radius: 5px;
    border: 1px solid #979797;
}

::-webkit-scrollbar-thumb:hover {
    background: #888;
    border: 1px solid #212529;
}

h1,
h2,
h3,
h4,
h6,
p {
    text-wrap: balance;
}

input,
textarea,
button {
    font-family: inherit;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

:root {
    --primaryColor: #17385c;
    --secondaryColor: #283b50;
    --tertiaryColor: #53e346;
    --fourthColor: #cbcbcb;
    --fifthColor: #546e7a;
    --darkColor: #212529;
    --lightColor: #1160b4;
    --whiteColor: #ffffff;
    --formbg: #EEF2FF;
    --regularFont: 1.4rem;
    --headingFont: 2rem;
    --ffPrimary: "Montserrat", serif;
    --ffSecondary: "Open Sans", serif;
}


/* navbar */
.logo_img {
    width: 14rem;
    height: auto;
}

.bg,
.nav-top {
    background-color: var(--primaryColor);
    list-style: none;
    color: var(--whiteColor);
}

.nav-text {
    font-family: var(--ffSecondary);
    font-size: 1.6rem;
    color: var(--whiteColor);
}

.top-list i {
    background-color: var(--whiteColor);
    font-size: 1.6rem;
    color: var(--tertiaryColor);
    border-radius: 25%;
    height: 2.2rem;
    width: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item a {
    font-family: var(--ffSecondary);
    font-size: 1.6rem;
    color: var(--primaryColor);
    font-weight: 600;
}

.nav-item a:hover {
    color: var(--tertiaryColor);
    text-decoration: none;
}

.nav-btn {
    background-color: var(--primaryColor);
    font-family: var(--ffSecondary);
    font-size: 1.6rem;
}

.nav-btn:hover {
    background-color: var(--tertiaryColor);
    color: var(--primaryColor);
}

/* heroSection */
.hero-title {
    font-family: var(--ffPrimary);
    font-size: 7rem;
    font-weight: 800;
    color: var(--primaryColor);
}

.heroSectionImg {
    width: 60rem;
}

.sub_heading {
    font-family: var(--ffSecondary);
    font-size: 2.1rem;
    color: var(--lightColor);
}

.addtext {
    font-family: var(--ffSecondary);
    font-size: 1.6rem;
    color: var(--darkColor);
}

.lead {
    font-family: var(--ffPrimary);
    font-size: 3.2rem;
    color: var(--tertiaryColor);
}

.card-title {
    font-family: var(--ffSecondary);
    font-size: 4.8rem;
    color: var(--lightColor);
}

.card-text {
    font-family: var(--ffSecondary);
    font-size: 2rem;
    color: var(--fifthColor);
}

.lovikImg {
    width: 45rem;
}

.nav-btn,
.btn,
.form-control {
    border-radius: 0.8rem;
}

.title {
    font-family: var(--ffPrimary);
    font-size: 2.4rem;
    color: var(--primaryColor);
}

.text {
    font-family: var(--ffSecondary);
    font-size: 1.6rem;
    color: var(--fifthColor);
}

h2 {
    font-family: var(--ffPrimary);
    font-size: 3.6rem;
    color: var(--primaryColor);
}

.formbg {
    background-color: var(--formbg);
    border-radius: 3rem;
}

.demo-lists {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primaryColor);
    white-space: nowrap;
}

.clientCards {
    width: 21rem !important;
}

.form-control,
.btn {
    font-family: var(--ffPrimary);
    font-size: 1.6rem;
}

.footer-title {
    font-family: var(--ffSecondary);
    font-size: 1.8rem;
    color: var(--whiteColor);
}

.footer-text {
    font-family: var(--ffSecondary);
    font-size: 1.6rem;
    color: var(--fourthColor);
}

.number i {
    background-color: var(--whiteColor);
    font-size: 0.6rem;
    color: var(--tertiaryColor);
    border-radius: 25%;
    height: 3rem;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

hr {
    background-color: var(--whiteColor);
}

.number,
.number:hover {
    font-family: var(--ffSecondary);
    font-size: 1.6rem;
    color: var(--fourthColor);
    text-decoration: none;
}

.number i {
    font-size: 2.4rem;
}

.maps iframe {
    width: 30rem;
    height: 25rem;
}

.footer-icons {
    font-size: 2.5rem;
    color: var(--whiteColor);
}

.copyright {
    font-family: var(--ffSecondary);
    font-size: 1.4rem;
    color: var(--whiteColor);
}

.socialMedia {
    position: fixed;
    top: 23rem;
    left: 0;
}

.fixed-icons {
    font-size: 2.4rem;
    color: var(--lightColor);
}

.fixed-icons:hover {
    color: var(--tertiaryColor);
}

.whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
}

.what-icon {
    font-size: 4rem;
}

.carousel-body {
    width: auto;
    height: 35rem;
    border-radius: 3rem;
}

.carousel-body h4 {
    font-family: var(--ffPrimary);
    font-size: 2rem;
}

.carousel-body h6,
p {
    font-family: var(--ffSecondary);
    font-size: 1.6rem;
}

.card {
    width: 18rem;
    height: 18rem;
}

.card-head img {
    width: 18rem;
}

.card-heading h5 {
    font-size: 1.8rem;
    padding: 1rem;
    color: var(--primaryColor);
}

.card-flip {
    width: 30rem;
    height: 20rem;
}

.card-img img {
    width: 30rem;
    height: 20rem;
    object-fit: cover;
}

.maps .iframe {
    width: 25rem;
    height: 22rem;
}

.clientImg {
    width: 18rem;
}


/* card animation css */
.card-flip {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card-flip:hover {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    backface-visibility: hidden;
}

.card-back {
    transform: rotateY(180deg);
}


/* ::::: RESPONSIVE DESIGN DEVICE SIZES ::::: */
/* for Responsive Target the ROW Code (display:grid) */

/* Small devices (landscape phones, upto 576px and below) */
/* @media (width <=576px) */
@media (max-width: 576px) {

    body {
        padding-top: 6rem;
    }

    .lead {
        font-size: 2.7rem;
    }

    .hero-title {
        font-size: 4.6rem;
    }

    .heroSectionImg {
        padding-top: 2rem;
    }

    .lovikImg {
        width: 20rem;
    }

    .marketing .row {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }

    .media .row {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }

    .content .row {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }

    .mobileApp .row {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }

    .served h2 {
        font-size: 4rem;
    }

    .carousel-body {
        width: fit-content;
        height: 55rem;
    }

    .footer .row {
        padding-top: 3rem;
    }

    .contact {
        display: flex;
        align-items: center;
        justify-content: start;
    }
}

/* Medium devices (tablets, upto 768px and above) */
/* @media (min-width: 577px) and (max-width: 768px) */
@media (width >=577px) and (width <=768px) {
    body {
        padding-top: 6rem;
    }

    .lead {
        font-size: 2.7rem;
    }

    .hero-title {
        font-size: 4.6rem;
    }

    .heroSectionImg {
        padding-top: 2rem;
    }

    .lovikImg {
        width: 20rem;
    }

    .marketing .row {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }

    .media .row {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }

    .content .row {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }

    .mobileApp .row {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }

    .served h2 {
        font-size: 4rem;
    }

    .carousel-body {
        width: fit-content;
        height: 55rem;
    }

    .footer .row {
        padding-top: 3rem;
    }

    .contact {
        display: flex;
        align-items: center;
        justify-content: start;
    }
}