/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins');

/* ==== global ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: "poppins", serif;
}

.nav-bar a, .header-content a, .nav-links li a {
    text-decoration: none;
}

.nav-bar ul {
    list-style: none;
}

.active {
    background-color: #0066B3;
    padding: 10px 16px;
    border-radius: 5px;
}

/* ==== Navbar ==== */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 10px;
    color: whitesmoke;
    background: rgba(255, 255, 255, 0.872);
    transition: all 0.5s ease;
    border-bottom: 5px solid #A6CE39;
    font-family: "poppins", serif;
}

.nav-bar.sticky {
    padding: 2px;
    background: white;
}

.nav-bar .logo {
    max-width: 85px;
    transition: all 1.5s ease;
}

.logo.mx-width {
    max-width: 60px;
    margin-left: 10px;
}

.nav-bar a {
    color: whitesmoke;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 0;
}

.nav-links li a {
    display: inline-block;
    margin: 0 20px;
    padding: 10px 20px;
    color: #0066B3;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 30rem;
    height: 30rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.001);
    background: #0066B3;
    border-radius: 50%;
    opacity: 0;
    z-index: -1;
    transition: all 0.5s linear;
}

.nav-links li a:hover {
    color: whitesmoke;
}

.nav-links li a:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.menu-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    cursor: pointer;
    display: none;
}

.hero {
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.432),rgba(0, 0, 0, 0.432)), url(img/hero-6.jpg);
    background-position: bottom;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-family: "poppins", serif;
}

.header-content {
    margin-bottom: 150px;
    color: whitesmoke;
    text-align: center;
}

.header-content h2 {
    font-size: 4vmin;
}

.line {
    width: 150px;
    height: 4px;
    background: #4A9B32;
    margin: 10px auto;
    border-radius: 5px;
}

.header-content h1 {
    font-size: 7vmin;
    margin-top: 50px;
    margin-bottom: 30px;
}

.header-content p {
    width: 60%;
    margin: 0 auto;
    margin-bottom: 14px;
}

.ctn {
    padding: 8px 15px;
    background: #4A9B32;
    border-radius: 30px;
    color: whitesmoke;
}

/* Services */

section {
    width: 90%;
    display: block;
    border-radius: 6px 6px 0 0;
    margin: 5px auto;
    margin-top: -30px;
    background-color: #ffffff;
    -webkit-box-shadow: 1px 1px 27px -7px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 27px -7px rgba(0,0,0,0.75);
    box-shadow: 1px 1px 27px -7px rgba(0,0,0,0.75);
    padding: 75px 0 55px;
    font-family: "poppins", serif;
}


.title {
    text-align: center;
    font-size: 4vmin;
    color: #0066B3;
}

.title .koha-logo {
    max-width: 150px;
    margin-top: 10px;
    background-color: #ffffffcd;
    padding: 10px 20px;
    border-radius: 10px;
}

.title h6 {
    color: gray;
}


.info { 
    padding: 70px 0 30px;
    margin: 0 auto;
    max-width: 360px;
    text-align: center;
}

.info .icon {
    font-size: 61.6px;
    font-weight: 900;
    color: #0066B3;
}

.info .info-title {
    font-size: 18px;
    font-weight: 600;
}

.info p {
    font-size: 14px;
    color: #999;
}

/* ==== Footer ====*/

.boundary {
    width: 100%;
    height: 5px;
    background: #A6CE39;
}


.my-footer {
    background: #034DA2;
    color: white;
    font-family: "poppins", serif;
}

.my-footer .info {
    text-align: left;
}

.my-footer p {
    color: white;
}

.copyright {
    background: #03458F;
    padding: 1rem;
}

.address a {
    text-decoration: none;
    color: white;
    cursor: pointer;
}

/* Mobile device */

@media screen and (max-width:850px){
    

    .menu-btn {
        display: block;
        color: rgb(255, 255, 255);
        font-size: 30px;
    }

    .nav-bar {
        padding: 0;
        border: none;
        background: transparent;
    }

    .nav-bar .logo {
        position: absolute;
        top: 20px;
        left: 30px;
        max-width: 60px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        justify-content: center;
        background: #a4bfed;
        margin-top: -1200px;
        transition: all 0.5s ease;
    }

    .mobile-menu {
        margin-top: 0px;
        border-bottom-right-radius: 10%;
    }

    .nav-links a {
        color: black;
    }

    .active a {
        color: white;
    }

    .nav-links li {
        margin: 30px auto;
    }

}

@media screen and (max-width:450px){
    .hero {
        height: 70vh;
    }
}