@font-face {
    font-family: 'Sofia-Pro';
    src: url(fonts/Sofia\ Pro\ Light.otf) format('otf');
    src: url(fonts/Sofia\ Pro\ Medium.otf) format('otf');
    src: url(fonts/Sofia\ Pro\ Regular.otf) format('otf');
    src: url(fonts/Sofia\ Pro\ Bold.otf) format('otf');
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Sofia-Pro' ,sans-serif;
}
span{
    font-family: 'Sofia-Pro' ,sans-serif;
    font-size: 16px;
}
.content-font{
    font-family: 'Sofia-Pro' ,sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    text-align: justify;
    color: #888888;
}
h2{
    font-family: 'Sofia-Pro' ,sans-serif;
    font-weight: bold;
}
.section-p1{
    padding: 40px 60px;
}



/* headerbar */

.headerbar{
    display: flex;
    align-items: center;
    justify-content: center;
    background: brown;
    width: 100%;
    height: 50px;
    font-size: 16px;
}
.headerbar .icon i{
    padding: 3px;
    cursor: pointer;
    border-radius: 2px;
    margin-left: 30px;
    margin-right: 5px;
}
.headerbar .icon{
    font-family: 'Sofia-Pro' ,sans-serif;
    color: white;
    padding: 5px;
}
.headerbar .icon a{
    text-decoration: none;
    color: white;
}

.title img{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 15vh;
    margin: 20px 0;
    padding: 0 50px;
}




  /*--Navbar--*/

.navbar{
    margin-bottom: 100px;
}
.navbar .navbar-brand img{
    width: 120px;
    height: 100px;
}
.navbar .navbar-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar .navbar-nav li{
    margin: 0px 50px;
    font-family: 'Sofia-Pro' , sans-serif;
    font-size: 16px;
    list-style: none;
}
.navbar-nav a{
    text-decoration: none;
    color: black;
}
.navbar-nav a:hover{
    color: #8C1100;
}
.navbar .navbar-nav li:nth-last-of-type(1){
    margin-right: 0;
}
.navbar .navbar-nav .btn{
    font-family: 'Sofia-Pro' ,sans-serif;
    background-color: #8C1100;
    color: white;
    padding: 5px 40px;
}
.navbar .navbar-nav .btn:hover{
    background-color: red;
}




 /*--Container--*/

    /* Box1 */

    .banner-1{ 
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin: 40px 0;
        max-height: 200vh;
    }
    .banner-1 h1{
        font-style: normal;
        font-weight: 700;
        font-size: 70px;
        line-height: 100px;
        color: #1E1E1E;
    }
    .banner-1 a{
        text-decoration: none;
        color: #1E1E1E;
    }
    .banner-1 h6{
        display: flex;
        align-items: center;
        font-weight: 700;
    }
    .banner-1 h6 hr{
        height: 4px;
        width: 130px;
        color: #8C1100;
        margin: 5px;
        opacity: 100%;
    }


    /* About */

    .banner-2{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin: 40px 0;
        max-height: 350vh;
    }
    .banner-2 h2{
        font-style: normal;
        font-weight: 700;
        font-size: 40px;
        line-height: 50px;
    }


    /* services */

    .services h2{
        font-family: 'Sofia-Pro' ,sans-serif;
        font-style: normal;
        font-weight: 700;
        font-size: 40px;
        line-height: 50px;
    }

    /*--cards--*/
    .our-services{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        border: 1px solid transparent;
        border-radius: 4px;
        margin-bottom: 80px;
    }
    .our-services .card{
        min-width: 150px;
        margin: 40px 10px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    }
    .card h5{
        display: flex;
        justify-content: center;
        text-align: center;
        align-items: center;
        height: 10vh;
        font-size: 24px;
    }
    .card .card-text{
        display: none;
        font-size: 16px;
    }
    .card .card-text--show{
        display: inline;  
    }
    .card .btn{
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 92px;
        background-color: #8C1100;
        color: white;
        font-size: 16px;
        height: 6vh;
        border-radius: 0px;
    }
    .card .btn:hover{
        background-color: red;
        color: white;
    }




/* contact */

.bg-img{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url("img/bgimg.png");
    width: 100%;
    height: 160vh;
    background-position: center;
    background-size: cover;
    margin-bottom: 150px;
}
.contact-details{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
}
.bg-img h4{
    font-size: 30px;
    font-weight: bold;
}
.contact-details .box-1{
    padding: 70px 70px 30px 70px;
}
.box-1{
    background-color: white;
    width: 100%;
    height: 100%;
}
.contact-form .form-field{
    position: relative;
    margin: 20px 0;
}
.form-field .form-control{
    font-size: 16px;
    border-width: 0 0 2px 0;
    border-color: #8C1100;
}
.form-field .btn{
    padding: 10px 30px;
    background-color: #8C1100;
    color: white;
    font-size: 16px;
}
.form-field .btn:hover{
    background-color: red;
    color: white;
}
.contact-details .contact-info{
    padding: 40px 40px 30px 40px;
}
.contact-info{
    background-color: #8C1100;
    width: 100%;
    height: 100%;
    color: white;
}
.contact-info h4{
    margin-bottom: 50px;
}
.contact-info p{
    font-size: 16px;
}
.contact-info .btn{
    background-color: #19d808;
    color: white;
    margin: 30px 0;
    font-size: 16px;
}
.contact-info a:hover{
    background-color: rgb(23, 184, 23);
    color: white;
}
.contact-info .btn i{
    padding: 0 6px;
}
.contact-banner .map .route-map{
    width: 100%;
    height: 40vh;
    padding: none;
}




/* footer */

footer .col{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}
footer .col .logo{
    width: 140px;
    height: 120px;
    margin-bottom: 30px;
}
footer h4{
    font-size: 16px;
    padding-bottom: 20px;
}
footer p{
    font-size: 16px;
    margin-bottom: 8px;
}
footer a{
    font-size: 16px;
    text-decoration: none;
    color: black;
    margin-bottom: 10px;
}




/* footerbar */


    .footerbar{
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 100px;
        background: #8C1100;
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    .footerbar p{
        margin-bottom: 0;
        color: white;
    }
    .footerbar .icon i{
        background-color: white;
        color: #8C1100;
        padding: 5px;
        cursor: pointer;
        border-radius: 2px;
        margin-right: 20px;
    }




/* Medium device */

@media (max-width:799px){
    .headerbar .icon i{
        margin-left: 20px;
    }
    .card h5{
        height: 5vh;
    }
    .bg-img{
        height: 100vh;
    }
    .contact-details .box-1{
        padding: 20px 20px 10px 20px;
    }
    .contact-details .contact-info{
        padding: 20px 20px 10px 20px;
    }
    .contact-info h4{
        margin-bottom: 10px;
    }
    .contact-info .btn{
        margin: 10px 0;
    }
}




/* small device */

@media (max-width:650px) {
    .section-p1 {
        padding: 20px 20px;
    }
    .headerbar {
        height: 80px;
    }
    .headerbar .icon a {
        padding: 2.5px 0;
        font-size: 14px;
    }
    .headerbar .icon{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    .headerbar .icon i{
        margin-left: 5px;
        margin-right: 5px;
    }
    .title img{
        padding: 0px;
        height: 10vh;
    }
    .navbar{
        margin-bottom: 50px;
    }
    .navbar .navbar-brand img{
        width: 100px;
        height: 80px;
    }
    .navbar .navbar-nav li{
        margin: 10px 0px;
    }
    .banner-1 h1{
        font-size: 40px;
        line-height: 60px;
        color: #1E1E1E;
    }
    .banner-2 h2{
        font-size: 24px;
        line-height: 50px;
    }
    .services h2{
        font-size: 24px;
    }
    .our-services{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .our-services .card{
        width: 100%;
    }
    .card h5{
        font-size: 18px;
        height: 8vh;
    }
    .card .btn{
        padding: 0 50px;
    }
    .bg-img{
        height: 200vh;
    }
    .contact-details h4{
        font-size: 20px;
    }
    .contact-details .box-1{
        padding: 20px 20px 10px 20px;
        height: auto;
    }
    .contact-details .contact-info{
        padding: 20px 20px 10px 20px;
        width: 100%;
        height: auto;
    }
    .contact-info h4{
        margin-bottom: 10px;
    }
    .contact-info .btn{
        margin: 10px 0;
        padding: 0;
    }
    .contact-banner .map .route-map{
        width: 100%;
        height: 10vh;
    }
    .contact-banner .map .route-map{
        height: 30vh;
    }
    footer .col .logo {
        width: 100px;
        height: 100px;
    }
    .footerbar{
        display: flex;
        align-items: center;
        padding: 20px 10px;
    }
    .footerbar p{
        font-size: 14px;
        padding-right: 5px;
    }
    .footerbar .icon i{
        font-size: 12px;
        margin-right: 5px;
    }
    
}




/* larger device */

@media (min-width:1600px) {
    span{
        font-size: 24px;
    }
    p{
        font-size: 24px;
    }
    h4{
        font-size: 30px;
    }
    h2{
        font-size: 60px;
    }
    .content-font{
        font-size: 24px;
        line-height: 40px;
    }
    .icon a{
        font-size: 24px;
    }
    .navbar a{
        font-size: 24px;
    }
    .banner-1 h6{
        font-size: 28px;
    }
    .contact-details h4{
        font-size: 40px;
    }
    .card{
        width: 25rem;
    }
    .card .card-text{
        font-size: 24px;
    }
    .card h5{
        font-size: 30px;
    }
    .card .btn{
        font-size: 24px;
        padding: 0 50px;
    }
    footer h4{
        font-size: 40px;
    }
    footer a{
        font-size: 24px;
    }
}