.contactFirst{
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.insideContactFirst{
    height: 80%;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.insideContactFirst h2{
    text-transform: uppercase;
    font-size: 45px;
    color: #000000c2;
    letter-spacing: 1px;
    word-spacing: 2px;
    margin-bottom: 2rem;
    align-self: flex-start;
    margin-left: 4rem;
}

.icf{
    width: 50%;
}

.icf::before{
    content: '';
    position: absolute;
    background-image: url('/assets/images/allimages/aa.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: inherit;
    width: inherit;
}

.contactForm{
    padding: 1.5rem 0;
    z-index: 1;
    background-color: #1d152d8c;
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contactForm form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    width: 80%;
}

form button, label{
    color: #fff;
}

form label{
    color: #fff;
    margin-bottom: 5px;
}

form input {
    outline: none;
    border: none;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

.detailsCard{
    padding: 1rem;
    background-color: #F29644;
    height: 20rem;
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #000000c2;
}

.detailsCard h3 {
    font-size: 22px;
    letter-spacing: 0.4px;
    word-spacing: 5px;
    margin-bottom: 4px;
}

.detailsCard p {
    font-size: 16px;
    margin-bottom: 2rem;
    text-align: center;
}

.contactSecond{
    margin-bottom: 4rem;
}

.spsp{
    margin-bottom: 0 !important;
}

@media only screen and (max-width:1031px){
    .contactFirst {
        margin-top: 5rem !important;
    }
    .insideContactFirst h2 {
        font-size: 35px;
    }
    .detailsCard h3 {
        font-size: 20px;
    }
    .detailsCard p {
        font-size: 15px;
    }
        
}

@media screen and (max-width:768px){
    .contactFirst {
        margin-top: 5rem !important;
        flex-direction: column;
    }
    .contactFirst {
        flex-direction: column;
        height: 200vh;
    }
    .insideContactFirst {
        width: 100%;
    }
    .icf {
        margin-top: -5rem;
    }
}

@media screen and (max-width:500px){
    .insideContactFirst h2 {
        font-size: 30px;
        margin-left: 0;
        align-self: center;
    }
}

@media screen and (max-width:375px){
    .contactFirst {
        margin-top: 2rem !important;
    }
    .contactForm form {
        width: 90%;
    }

    .contactForm {
        width: 80%;
    }    
}