@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
  }

body{
    background: #eee;
    min-height: 100vh;
    font-size: 18px !important;
    font-family: "Poppins", sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: 2px;
}

.navbar{
    padding: 0px !important;
}

#nav-act-btn{
    background: #295876 !important;
    color: #ffffff !important;
    width: 100%;
    margin: auto;
    margin-bottom: 16px;

}

#nav-act-btn:hover{
    border: 1px solid #295876 !important;
    color: #295876 !important;
    background: transparent !important;
}

header{
    background: #f0f8ff !important;
    border-top: 3px solid #295876;
}

header .nav-link{
    font-size: .9em !important;
    transition: all 300ms ease !important;
    color: #131212 !important;
}

header .nav-link:hover{
    color: #009688;
    transform: translateY(-2px);
    
}

header .nav-item{
    margin-right: 8px;
    min-width: 100px;
    text-align: center !important;
}

.common-padding{
    padding: 48px 0px;
}

p{
    font-size: 1.0em !important;
}

.text-color-primary{
    color: #3d8c95;
}

.parallax {
    /* The image used */
    background-image: url("../images/nvp.jpg");
  
    /* Set a specific height */
    min-height: 500px;
  
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

.heading{
    padding-bottom: 20px;
    position: relative;
    display: inline-block;
    width: 320px;
    height: 100px;
}

.heading:hover .heading-dash, .heading-dash:hover{
    width: 180px;
    /* border-bottom: 3px solid #3d8c95; */
}

.heading-dash{
    position: absolute;
    width: 100px;
    border-bottom: 2px solid #3d8c95;
    left: 100px;
    right: 100px;
    bottom: -10px;
    transition: all 1000ms linear;
}

.display-mobile{
    display: none;
}

.slider .carousel-item{
    position: relative;
    transition: all 500ms ease !important;
}

.slider .carousel-item h1{
    color: #225876;
    font-size: 3em;
    font-weight: 400;
}

.slider .carousel-item p{
    color: #616464;
}

.slider .ctabtn{
    margin-top: 24px;
    animation-name: scrollanimation;
    animation-duration: 2000ms;
    animation-iteration-count: infinite;
    animation-direction: ease-in;
}

.slider .carousel-item a{
    text-decoration: none;
    color: #009688;
    transition: all 1000ms ease !important;   
}

.slider .carousel-item a:hover{
    color: #485563;
}

@keyframes scrollanimation{
    0%{color: #000; transform: translateY(0px);}
    50%{transform: translateY(-10px);}
}



.slider .carousel-caption img{
    width: 100% !important;
}

.slider .carousel-caption{
    position: absolute;
    left: 3rem;
    top: 5rem;
    text-align: left;
    right: unset;
}

/* service */
.service{
    background-image: linear-gradient(-225deg, #E3FDF5 0%, #FFE6FA 100%);
}

/* about */


.about i{
    color: #3d8c95;
}

.about .card{
    border: none !important;
    transition: all 500ms ease !important;
}

.about .card .card-title{
    color: #3d8c95;
}

.about .card:hover{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transform: translateY(-10px);
}

#about-page{
    padding: 3rem !important;
}

.why:hover{
    box-shadow: none !important;
}

.why i{
    transition: all 1000ms ease-in-out;
}

.why:hover i{
    transform: rotate(360deg);
}

/* Newsletter */
.newsletter{
    background-image: linear-gradient(120deg, #89f7fe 0%, #3d8c95 100%);
}

/* footer */
.footer{
    background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
    color: #f9f9f9;
}

.foot-connect-card{
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .8em;
    flex-direction: column;
    margin: 16px;
    transition: all 500ms ease !important;
}

.foot-connect-card:hover{
    transform: translateY(-10px);
}

.copyright{
    font-size: 0.7em;
}

.copyright a{
    font-weight: bold;
    text-decoration: none;
    color: #002060;
}

.copyright a:hover{
    color: #009688;
}


/*Responsive */

@media (orientation: portrait) {
    header{
        border-top: unset !important;
    }

  .display-mobile {
    display: block;
  }

  .display-landscape{
    display: none !important;
  }

  #about-page{
    padding: 20px !important;
    padding-top: 36px !important;
  }
}

@media (max-width: 992px){
    .navbar-nav{
        position: absolute;
        z-index: 999;
        background: #f0f8ff;
        width: 100%;
        min-height: 400px;
        left: 0;
/*        padding: 10px 20px;*/

    }

    .navbar-nav > *{
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    #nav-act-btn{
        width: 90% !important;
    }

}