:root {
    color-scheme: light;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Kedebideri', sans-serif;
}

.nav_container{
    display: flex;
    /*border: 2px solid rgb(197, 13, 13);*/
    width: 100%;
    align-items: center;
    padding-left: 40px;
    background-color: #ffff;
    position: relative;
    justify-content: space-between;
    
}

.nav_container .navlinks{ /*.navlinks=ul*/
    list-style: none;
    display: flex;
    color: black;
    gap: 32px;
    margin-right: 30px;
    /*border: 2px solid black;*/ 
}

.navlinks a{
    text-decoration: none;
    color: black;
    font-weight: normal;
    position: relative;
    cursor: pointer;
    transition: font-weight 0.3s ease, color 0.3s ease;
}

.nav_container .navlinks a:hover{
    font-weight: bold;
}

.nav_container .navlinks a::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
}
    
.nav_container .navlinks a:hover::after{
    width: 100%;
}

#nav_cta a{ /*Get a quick quote button*/
    background-color: rgb(0, 0, 0);
    color: #ffff;
    padding: 9px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all ease 0.3s;
}

#nav_cta a:hover{
    background-color: rgb(255, 255, 255);
    color: #000000;
}

.hamburger{
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span{
    width: 25px;
    height: 3px;
    background-color: #000000;
    transition: all 0.3s;
}

/*Navbar to ham menu */
@media (max-width: 600px) {

    #nav_cta a{
        text-decoration: none;
        color: black;
        font-weight: normal;
        position: relative;
        cursor: pointer;
        transition: font-weight 0.3s ease, color 0.3s ease;
        background-color: #ffffff;
        padding: 10px;
        display: block;
        border-radius: 8px;
    }

    .hamburger{
        display: flex;
    }

    .navlinks{
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #0a2e20;
        flex-direction: column;
        width: 70%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        gap: 20px !important;
        z-index: 1000;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        margin-right: 0 !important;
        gap: 20px !important ;
    }

    .navlinks.active{
        max-height: 350px;
    }

    .navlinks li{
        padding: 10px;
        border-top: 1px solid #444;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .navlinks a{
        color: white;
    }

}

/*Hero Section*/
.hero_container{
    min-height: 70vh;
    background-image: url(../images/bannerImage2.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.text_div{
    color: #ffff;
    font-size: 80px;
    font-weight: 800;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(2px);
}

@media(max-width: 600px){
    .text_div{
        font-size: 30px;
    }
}

.section-container{
    border-top: 1px solid grey;
    border-radius: 10px;
    min-height: 40vh;
    padding: 40px;
    display: flex;
    justify-content: space-evenly;
    background-color: white;
    /*border: 3px solid orange;*/
}

.about-div{
    flex-basis: 800px;
    padding: 10px;
    /*border: 2px solid red;*/
}

.right{
    flex-basis: 800px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    /*border: 2px solid black;*/
}

.row1{
    background-color: rgb(201, 200, 200);
    color: #000000;
    border-radius: 10px;
    padding: 10px 20px;
}

.row2{
    color: #000000;
    background-color: rgb(201, 200, 200);
    border-radius: 10px;
    padding: 10px 20px;
}

@media(max-width: 600px){

    .section-container{
        display: flex;
        flex-direction: column;
    }

    .about-div{
        flex-basis: 500px;
    }

    .right{
        flex-basis: 600px;
        justify-content: space-around;
    }
}

.section2-container{
    min-height: 25vh;
    background-color: #06021e;
    display: flex;
    color: #ffff;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.section2-container span{
    font-size: 50px;
}

@media(max-width: 600px){
    .section2-container span{
        font-size: 25px;
    }

    .section2-container p{
        font-size: 12px;
    }

    .section2-container{
        min-height: 15vh;
    }
}

.midsec{
    display: flex;
    justify-content: center;
    gap: 10px;
    
}

.midsec a{
    text-decoration: none;
    color: #000000;
    border: 2px solid black;
    padding: 10px 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.midsec a:hover{
    color: #ffff;
    background-color: #000000;
    font-size: 16.5px;
    border: 2px solid black;
}

.footer_container{
    max-width: 100%;
    min-height: 400px;
    background-color: #33383e;
    padding: 50px;
    /*border: 2px solid red;*/
}

.footer_contents{
    /*border: 2px solid ;*/
    display: flex;
    min-height: 250px;
    color: #929dab;
    justify-content: space-evenly;
    margin-top: 10px;
    flex-wrap: wrap;
}

@media(max-width: 600px){
    address iframe{
        max-width: 270px;
    }
    .footer_contents div{
        text-align: center;
    }
}

.copyright{
    max-width: 100%;
    min-height: 40px;
    justify-content: center;
    display: flex;
    align-items: center;
    background-color: #5d6268;
}

@media(max-width:600px){
    .copyright{
        display: flex;
        flex-direction: column;
        min-height: auto;
        text-align: center;
        flex-wrap: wrap;
    }
}
