html {
    scroll-behavior: smooth;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*Custom Font*/
@font-face {
    font-family: myFont;
    src: url(assets/fonts/opensans.ttf);
}

body{    
    font-family: myFont;
    text-align: justify;
}

/*Color Palette*/
:root{
    --primary: #001D37;
    --secondary: #009FDE;
}

/*preloader*/
.preloader{
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    z-index: 100000000;
}

.preloader .spin{
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--primary);
}

/*Animation*/
.reveal{
    position: relative;
    transform: translateY(100px);
    opacity: 0;
    transition: all 1s ease;
}

.reveal.active{
    transform: translateY(0px);
    opacity: 1;
}

/*No Scrollbar*/
::-webkit-scrollbar {
    width: 0px;
}

/*Navbar*/
.dropdown-toggle::after {
    display: none;
}

.nav-link{
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
}

.nav-link:hover{
    color: var(--primary);
}

.active-link:hover{
    color: var(--secondary);
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu{
    border-radius: 5px;
    border: 2px solid #001D37;
    font-size: 16px;
    font-weight: 500;
    background: white;
}

.dropdown-item{
    position: relative;
    margin: auto;
    width: 95%;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    border-radius: 5px;
}

.dropdown-item:hover{
    background: var(--primary);
    color: white;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus{
    outline: none;
    box-shadow: none;
    border: 0;

}

@media only screen and (max-width: 768px) {
    .no-display-mobile{
        display: none;
    }
    .carousel-inner img {
        width: 100%;
        height: 300px;
    }
    .navbar-collapse{
        background: var(--sky);
        padding: 30px;
        border-radius: 30px;
    }
    .card-custom{
        margin-bottom: 20px;
    }    
    .active-link{
        color: var(--secondary);
    }
    .whatsapp{
        position: fixed;
        z-index: 10000;
        background-color: var(--primary);
        padding: 10px;
        width: 140px;
        border-radius: 5px;
        bottom: 20px;
        right: 12px;
        cursor: pointer;
        text-decoration: none;
        display: flex;
    }
}

@media only screen and (min-width: 768px) {
    .no-display-desktop{
        display: none;
    }
    /* Make the image fully responsive */
    .carousel-inner img {
        width: 100%;
        height: 100%;
    }
    .active-link{
        color: var(--secondary);
        border-bottom: 2px solid #009FDE;
    }
    .whatsapp{
        position: fixed;
        z-index: 10000;
        background-color: var(--primary);
        padding: 10px;
        width: 140px;
        border-radius: 5px;
        bottom: 20px;
        right: 42px;
        cursor: pointer;
        text-decoration: none;
        display: flex;
    }
}

/*Primary Elements*/
.btn-primary{
    width: 100%;
    background: var(--secondary);
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
}

h1{
    color: var(--primary);
}

h2{
    color: var(--primary);
}

p{
    color: var(--primary);
}

/*Footer*/
.link-secondary{
    color: var(--primary);
}

/*Flying Button*/
.whatsapp p{
    color: white;
    margin: auto;
    font-size: 15px;
    font-weight: 500;
}

/*Button Shine Effect*/
.btn-shine {
    animation: shining 2s ease-in-out infinite;
}
  
@keyframes shining {
    0% {
        box-shadow: 0 0 0 0 #001D37;
    }
    50% {
        box-shadow: 0 0 0 10px rgb(0, 29, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgb(0, 29, 55, 0.2);
    }
}

/*service section*/
.card-custom{
    border: 2px solid #001D37;
    cursor: pointer;
}

.card-custom:hover{
    background-color: rgba(73, 170, 255, 0.2);
}

.card-title{
    color: var(--primary);
}

/*modal*/
/* Set the max-width of the image */
.close-btn{
    border: 1px solid #001D37;
    color: white;
    background: var(--primary);
    padding: 5px;
    border-radius: 20px;
    font-weight: 500;
}

.modal-lg .modal-body img {
    max-width: 100%;
  }

.modal{
    padding: 20px;
}

.modal-header{
    border: 1px solid transparent;
}

.form-inp{
    margin-bottom: 10px;
}

.carousel-item{
    transition: transform 1s ease, opacity .5s ease-out;
}