.contactFirst{
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contactFirst::before{
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: url('/assets/images/all\ images/contact (2).jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    filter: brightness(0.8);
}

.insideContactFirst{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contactCard1 {
    height: 85%;
    width: 85%;
        margin: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

form {
    display: flex;
    flex-direction: column;
    width: 85%;
    padding: 4rem;
    backdrop-filter: blur(10px);
    border-radius: 2rem;
}

form input {
    height: 2.5rem;
    margin: 0.4rem;
    padding: 0.5rem;
    outline: none;
    border: none;
}

form button{
    width: max-content;
    padding: 1rem;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    outline: none;
    border: none;
}

.contactCard1 h2 {
    font-size: 50px;
    font-weight: 400;
    text-transform: uppercase;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    align-self: center;
    color: #fff;
    border-bottom: 1px solid #fff;
    padding-bottom: 1rem;
}

form button{
    background-color: #052501;
    color: #fff;
    padding: 1rem 4rem;
    font-size: 18px;
    text-transform: uppercase;
    border-radius: 2rem;
    margin-top: 2.5rem;
    align-self: flex-start;
    cursor: pointer;
}

@media screen and (max-width:950px){
    .cc1 {
        width: 30% !important;
    } 
    form {
        width: 100%;
    }
    .contactCard1 h2 {
        font-size: 40px;
    }
}

@media screen and (max-width:600px){
    form {
        padding: 2rem;
    } 
    .insideContactFirst {
        flex-direction: column;
    }
    .contactCard1 {
        height: 50%; 
    }
   
    form button {
        margin-top: 0.5rem;
    }
    form input {
        height: 2rem;
    }
    .cc1 {
        width: 90% !important;
        height: 30%;
        margin: 0;
    }
}