:root{
    --primary-color: #2D89CA;
    --secondary-color: #2c3e50;
    --text-color: #000;
    --body-bgcolor: #fff;
    --button-bg: #2D89CA;
    --button-bg-hover: #6BABDA;
    --button-text: #fff;
    --gray: #eee;
}
body{
    margin: 0;
    padding: 0;
    font-family: outfit;
}.nav-main{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}
.nav-main .nav-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}
/* Navbar */
.navbar {
    background-color: var(--body-bgcolor);
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.logo {
    width: 45%;
    display: flex;
    justify-content: left;
}
.logo img {
    max-height: 70px;
}
.contact-info {
    width: 50%;
    margin: auto 0;
}
.contact-info ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: 0;
    padding: 0;
}
.contact-info ul li {
    display: inline-block;
    color: #57a0d5;
    margin: auto 0;
}
.contact-info .mail, .contact-info .call{
    display: flex;
    color: #2c3e50;
}
.fa-envelope, .fa-phone {
    margin: auto 5px;
    font-size: 20px;
    color: #2c3e50;
}
.quote {
    padding: 10px 10px;
    background: var(--primary-color);
    font-size: 15px;
    color: var(--button-text);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}
.quote:hover {
    background: var(--secondary-color);
}
.nav-main .sub-nav-container{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.sub-navbar {
    width: 100%;
    background: #eee;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    position: relative;
    z-index: 99;
    justify-content: space-between;
}
.sub-navbar .menu{
    display: flex;
    flex-wrap: wrap;
    width: 70%;
}
.menu ul{
    display: flex;
    width: 100%;
    list-style-type: none;
    padding-left: 20px;
    justify-content: justify;
    margin: 8px;
}
.menu ul li{
    margin: auto 12px;
    font-weight: 400;
    font-size: 19px;
    letter-spacing: 0.5px;
    padding: 5px;
}
.menu a{
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 16px;
}
/* Drop-Down */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 10px;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content ul {
    list-style-type: none;
    display: inline-block;
    padding: 0;
    margin: 0;
}
.dropdown-content li {
    position: relative;
    padding: 20px;
}
.dropdown-content li:hover{
    background: #ccc;
}
.dropdown-content a {
    text-decoration: none;
    color: #333;
}
.dropdown-content a:hover {
    background-color: #ddd;
}
.dropdown-content .sub-dropdown-content{
    display: none;
}
.dropdown-content:hover .sub-dropdown-content{
    display:block;
}
/* Sub-drop-down */
.dropdown-content .sub-dropdown-content {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #fff;
    min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 999;
    border-radius: 10px;
}
.bar{
    display: none;
}
.bar .bar1{
    width: 35px;
    height: 5px;
    background-color: var(--primary-color);
    margin: 6px 0;
}
#close1{
    display: none;
}
.sub-navbar .search-bar{
    display: flex;
    flex-wrap: wrap;
    width: 30%;
    margin: auto 0;
}
.search-bar form{
    width: 80%;
    margin: 0 auto;
}
.search-bar .search{
    display: flex;
    width: 100%;
}
.search-bar input[type=text] {
    padding: 7px;
    width: 75%;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    border: none;
}
.search-bar button[type=submit] {
    padding: 7px;
    width: 20%;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top: 0.5px solid #fff;
    border-bottom: 0.5px solid #fff;
    border-right: 0.5px solid #fff;
    border-left: 1px solid #eee;
    font-size: 15px;
    background-color: #fff;
    cursor: pointer;
    color: var(--primary-color);
}
.search-bar button[type=submit]:hover {
    background-color: var(--secondary-color);
    color: #fff;
}
.search-results{
    width: 100%;
}
.fa-angle-down{
    color: var(--primary-color);
}
#back, #back2{
    display: none;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .navbar{
        flex-direction: column;
    }
    .logo {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    .logo img {
        margin: 2px;
        width: 99%;
        height: auto;
        box-sizing: border-box;
        object-fit: contain;
    }
    .contact-info{
        width: 100%;
    }
    .contact-info ul{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-between;
    }
    .contact-info ul li{
        margin: 5px;
        text-align: center;
    }
    .mail p{
        font-size: 13px;
    }
    .quote {
        padding: 10px;
        font-size: 12px;
        border-radius: 5px;
    }
    .sub-navbar .menu{
        flex-direction: column;
    }
    .menu ul{
        margin: 0;
        position: fixed;
        top: 0;
        right: -600px;
        background: var(--primary-color);
        width: 70%;
        height: 100%;
        box-shadow:0 40px 60px rgba(0,0,0,0.1);
        padding:80px 0 0 10px;
        transition:0.3s;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        z-index: 999;
    }
    .menu ul li{
        margin: 15px 0;
        padding: 5px;
        margin-bottom: 10px;
    }
    .menu ul a{
        color: #fff;
        font-size: 18px;
        margin: 0;
    }
    .sub-navbar .search-bar{
        width: 97%;
        margin: 0 auto;
        padding: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .bar{
        display: block;
    }
    #close1, #back, #back2{
        display:initial;
        position:absolute;
        top:30px;
        left:30px;
        color:var(--button-text);
        font-size:24px;
    }
    .menu ul.show-list {
        right: 0; 
        transition: 0.3s;
    }
    .dropdown-content {
        display: none;
    }
    .dropdown-content.show-dropdown ul{
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 999;
        width: 70%;
        padding: 0;
        height: 100%;
        box-shadow:0 40px 60px rgba(0,0,0,0.1);       
        padding:80px 0 50px 10px;
        background: var(--primary-color);
        overflow: scroll;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .dropdown-content.show-dropdown ul li{
        margin-bottom: 2px;
    }
    .dropdown-content.show-dropdown li a{
        color: #fff;
    }
    #mobile-sub-dropdown{
        display: none;
    }
}
@media (min-width: 769px) and (max-width: 1024px){
    .navbar{
        display: flex;
        flex-wrap: wrap;
        position: relative;
        width: 100%;
    }
    .navbar .logo{
        width: 50%;
        justify-content: center;
        align-items: center;
    }
    .logo img{
        margin: 2px;
        object-fit: contain;
        width: 99%;
        height: auto;
        display: flex;
    }
    .contact-info{
        width: 50%;
    }
    .contact-info ul{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-evenly;
        align-items: center;
    }
    .contact-info ul li{
        margin: 5px;
        text-align: center;
    }
    .menu ul{
        padding: 0;
    }
    .menu ul li{
        margin-right: 20px;
    }
}
/* End Responsive Design */