body{
    padding: 0;
    margin: 0;
    background: linear-gradient(to bottom, white, #707070)
}

.page_image{
    padding: 0;
    margin: 0;
    z-index: 0;
    width: 100%;
    height: 100vh;
    background-image:url(https://53motorgroup.co.za/media/images/contact.png);
    background-repeat:no-repeat;
    background-size:cover;
    background-attachment:fixed;
    background-position: center;
}

.page_image_span {
    width: 100%;
    font-family: verdana;
    font-size: 50px;
    font-weight: bold;
    color: #ff3131;
    display: flex;
    justify-content: center;
    height: 550px;
    align-items: center;
    position: absolute;
    z-index: 2;
}

.image_overlay{
    height: 100vh;
    width: 100%;
    background-color: #000;
    opacity: 50%;
    position: absolute;
    z-index: 1;
}

.content{
    display: flex;
    justify-content: center;
    align-items: start;
    width: 100%;
}

.section_1{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    width: 50%;
    font-family: verdana;
    color: #000;
    font-weight: bold;
    font-size: 32px;
}

.section_2{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: 50%;
    font-family: verdana;
    color: #000;
    font-weight: bold;
    font-size: 32px;
}

.devider{
    height: 2px;
    background-color: #ff3131;
    margin: 20px 2%;
    width: 94%;
}
    
    

.contact_icon{
        height: 25px;
        width: 25px;
        margin-left: 1%;
}



.map_container{
    width: 96%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2%;
    margin: 0;
}

.maps{
        width: 98%;
        height: 300px;
        border: 2px solid #000;
        border-radius: 10px;
        padding: 0;
        margin: 0;
        margin-top: 2%;
}

.section_1 .title, .section_2 .title{
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
}

.section_1 ul, .section_2 ul{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    font-size: 16px;
    font-weight: normal;
    width: 99%;
    padding-left: 1%;
}

.section_1 ul li, .section_2 ul li{
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 0;
    margin: 0;
}
.section_1 ul li a, .section_2 ul li a{
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    margin: 10px 0;
    padding: 0;
    text-decoration: none;
    color: #000;
}

.section_1 ul li a p, .section_2 ul li a p{
    width: 98%;
    margin: 0;
    padding: 0;
    margin-left: 2%;
}

.section_1 ul li a:hover, .section_2 ul li a:hover{
    color: #ff3131;
}



@media (max-width: 991px) {
    /* CSS rules for mobile devices */
    .page_image{
        height: 400px;
    }

    .page_image_span {
        font-size: 40px;
    }

    .image_overlay{
        height: 400px;
    
    }

    .content{
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        width: 100%;
    }

    .section_1{
        width: 100%;
        font-size: 28px;
    }
    
    .section_2{
        width: 100%;
        font-size: 28px;
    }

    button{
        font-size: 19px;

    }

    .card{
       width: 84%;
    }
    
    .section_3{
        flex-direction: column;
    }
    
    .map_container{
        width: 100%;
        padding: 0;
    }

  }

