.contactSecond {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: yellowgreen;
}

.insideContactSecond {
    height: 80%;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: yellow;
}

.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/contactBGG.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(100px);
    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: #e3222b;
    color: #fff;
    padding: 1rem 4rem;
    font-size: 18px;
    text-transform: uppercase;
    border-radius: 2rem;
    margin-top: 2.5rem;
    align-self: flex-start;
    cursor: pointer;
}

/* Left side contact details */
.contact-details-box {
    color: #fff;
    text-align: left;
    padding: 2rem;
}

.contact-details-box h2 {
    color: #fff;
    font-size: 45px;
    border-bottom: 2px solid #e3222b;
    display: inline-block;
    margin-bottom: 1.5rem;
    padding-bottom: 0.3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 20px;
    line-height: 1.5;
}

.info-item i {
    color: #e3222b;
    font-size: 18px;
    margin-top: 3px;
}

.info-item a {
    color: #fff;
    text-decoration: none;
}

.info-item a:hover {
    color: #e3222b;
}

.sub {
    color: #bbb;
    font-size: 13px;
}

@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;
    }
}