*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.hero-section-1{
    height: 500px;
    background-repeat: no-repeat;
    background-size: cover;

     background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.315),
            rgba(0, 0, 0, 0.315)
        ),
        url("images/contact page.png");
        align-items: center;
    justify-content: center;
    display: flex;
}

.hero-text{
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    
}



<!--middle-section-->


.middle-scetion{
    /* text-align: center; */
    padding-top: 15px;
    padding-bottom: 15px;
}

.text-style{
    margin-bottom: 20px;
    margin-top: 20px;
    color: #f6c928;
     
}

.side-card{
box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
padding-left: 25px;
padding-right: 25px;
padding-top: 15px;
padding-bottom: 15px;
margin-top: 50px;
margin-bottom: 50px;
border-radius: 12px;
    transition: all 0.4s ease;
}
.side-card:hover {
    transform: translatey(-8px);

    box-shadow: rgba(60, 64, 67, 0.35) 0px 5px 12px 0px,
                rgba(60, 64, 67, 0.2) 0px 8px 20px 2px;
}

.card-body{
 line-height: 15px;
}

.card-body , span{
    line-height: 25px !important;
}

.contact-info {
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 45px;
}

.contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: #f6c928;
    color: #fff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
}

.contact-text h5 {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

.contact-text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #111;
}

.info-section{
    margin-top: 40px;
}


<!--form-->

.card-form{
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
        padding-left: 15px;
}


.success-message {
    display: none;
    margin-top: 15px;
    padding: 12px;
    background: #e8f8ed;
    color: #218838;
    border-radius: 5px;
    font-size: 15px;
    text-align: center;
}


.contact-form {
    width: 100%;
    height: 550px;
    max-width: 550px;
    border-radius: 12px;
     /* margin: 0 auto;  */
     box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px; 
     margin-top: 50px;
      padding-left: 18px;
      padding-right: 18px;
      padding-top: 20px;
      padding-bottom: 20px;
    
}

.contact-form form {
    width: 100%;
}

.form-group {
    margin-bottom: 34px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #697386;
    border-radius: 3px;
    padding: 0 15px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    outline: none;
    background: #fff;
    color: #222;
}

.form-group input {
    height: 40px;
}

.form-group textarea {
    height: 96px;
    padding-top: 12px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
    opacity: 1;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #008f4c;
}

.contact-form button {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 2px;
    background: #009b4d;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    background: #007f40;
}



/* map section */

.map-section{
    width: 98%;
    height: 400px;
    margin: 20px;
    margin-bottom: 20px;
    padding: 0;
    overflow: hidden;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* =========================================
   LEFT & RIGHT MOTION EFFECT
========================================= */

.side-card {
    animation: slideFromLeft 1s ease-out both;
}

.contact-form  {
    animation: slideFromRight 1s ease-out both;
}


/* Left side animation */
@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Right side animation */
@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* =========================================
   HOVER EFFECT
========================================= */

.side-card .side-card {
    transition: all 0.4s ease;
}

.contact-form  .side-card:hover {
    transform: translateY(-8px);
}

.ccontact-form  .contact-form {
    transition: all 0.4s ease;
}

.contact-form  .contact-form:hover {
    transform: translateY(-8px);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .side-cardt {
        animation: slideFromLeft 0.8s ease-out both;
    }

    .side-card {
        animation: slideFromRight 0.8s ease-out both;
    }

    .contact-form {
        max-width: 100%;
    }

}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {

    /* Hero Section */
    .hero-section-1{
        height: 300px;
        padding: 20px;
        background-position: center;
    }

    .hero-text{
        font-size: 28px;
        line-height: 1.4;
        padding: 0 15px;
    }

    /* Middle Section */
    .middle-scetion{
        padding-top: 40px;
        padding-bottom: 40px;
    }

    /* Side Card */
    .side-card{
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 20px;
    }

    /* Contact Info */
    .contact-info{
        gap: 12px;
        margin-bottom: 25px;
    }

    .contact-icon{
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 18px;
    }

    .contact-text h5{
        font-size: 14px;
    }

    .contact-text p{
        font-size: 14px;
        line-height: 1.6;
    }

    /* Form */
    .contact-form{
        max-width: 100%;
        padding: 0 15px;
        margin-top: 30px;
    }

    .form-group{
        margin-bottom: 20px;
    }

    .form-group input{
        height: 50px;
        font-size: 15px;
    }

    .form-group textarea{
        height: 130px;
        font-size: 15px;
    }

    .contact-form button{
        height: 50px;
        font-size: 16px;
    }

    /* Map */
    .map-section{
        height: 300px;
    }
}


/* Extra Small Mobile */
@media (max-width: 480px){

    .hero-text{
        font-size: 24px;
    }

    .side-card{
        padding: 15px;
    }

    .contact-icon{
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
    }

    .contact-text h5{
        font-size: 13px;
    }

    .contact-text p{
        font-size: 13px;
    }

    .map-section{
        height: 250px;
    }
}