.maincontact h1 {
    font-weight: 700;
    color: #000000;
    /* margin-top: 35px; */
    text-align: center;
    font-size: 25px;

}

.maincontact {
    display: flex;
    justify-content: space-between;
    /* Ensures spacing without wrapping */
    align-items: flex-start;
    width: 100%;


}

.panel1 {
    border: 1px solid black;
    border-radius: 10px;
    flex: 1;
    max-width: 100%;
    margin-right: 20px;

}

.panel-heading1 {
    padding: 24px 15px;
    border-bottom: 1px solid black;
    background: #02335C;
    border-top: 1px solid transparent;
    border-radius: 10px;
}

.panel-default>.panel-heading {
    color: #ddd;
    background-color: #02335C;
    border-color: #ddd;
}

.panel {
    border: 1px solid black;
    border-radius: 10px;
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid black;
    background: #02335C;
    border-top: 1px solid transparent;
    border-radius: 10px;
}

.panel-heading h2 {
    margin: 0px;
    text-align: center;
    font-size: 25px;
    font-weight: 700;
}

.clearfix {
    line-height: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-control {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #000000;
    padding: 12px 15px;
    font-size: 18px;
    margin-bottom: 10px;

    width: 100%;
    justify-content: center;
    margin: 10px 0;
}

/* style="   background-color: #ffffff; border-radius: 8px; border: 1px solid #000000; padding:27px; font-size:20px;"  */

@media screen and (max-width:1185px) {
    #phead {
        margin-top: 30px;
    }
}