#contact-section {
    padding-top: 50px;
    background-color: #fAfAfA !important;
}

.contact-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.left-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
}

.right-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex: 1;
    width: 100%;
}

.contact-info {
    text-align: center;
}

.contact-info p span {
    color: var(--color-purple);
    font-weight: bold;
    font-size: 18px;
}
.contact-info a{
    color: #000;
    transition: color 0.3s;
}
.contact-info a:hover{
    text-decoration: underline;
    color: var(--color-purple);
}

.right-contact img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

#contact-section form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin-top: 30px;
    padding: 0 15px;
    box-sizing: border-box;
}

#contact-section form input:not(#checkbox),
#contact-section form textarea {
    padding: 10px 10px 10px 45px;
    color: var(--color-text-grey);
    box-sizing: border-box;
    outline: 1px solid var(--color-purple);
    border: none;
}

#contact-section form label,
#contact-section form input:not(#checkbox),
#contact-section form button,
#contact-section form textarea {
    width: 100%;
    max-width: 100%;
    height: 55px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-sizing: border-box;
}
.textarea-wrapper{
    width: 100%;
    position: relative;
}
.textarea-wrapper i {
    position: absolute;
    left: 12px;
    top: 11px;
    font-size: 20px;
    color: var(--color-purple);
}

#contact-section form input:not(#checkbox):last-of-type {
    margin-bottom: 5px;
}

#contact-section input:not(#checkbox):hover,
#contact-section textarea:hover,
#contact-section input:not(#checkbox):focus,
#contact-section textarea:focus,
#contact-section input:not(#checkbox):active,
#contact-section textarea:active {
    outline-width: 2px;
}

#contact-section form button {
    background-color: var(--color-purple);
    cursor: pointer;
    transition: 0.3s background-color;
    border: none;
}

#contact-section form button:hover {
    background-color: var(--color-purple-darker);
}

#contact-section form textarea {
    height: 200px;
    resize: none;
    font-size: 14px;
}

#contact-section label {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

#contact-section label i {
    position: absolute;
    margin-left: 12px;
    font-size: 18px;
    color: var(--color-purple);
}

#contact-section input#checkbox {
    width: 20px;
    height: 20px;
}

#checkboxLabel {
    font-size: 14px;
    color: var(--color-text-grey);
    font-weight: 350;
    line-height: 1.4;
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.checkbox-container a{
    color: var(--color-purple);
    font-weight: bold;
}
.checkbox-container a:hover{
    text-decoration: underline;
}

@media screen and (max-width: 1240px) {
    .contact-container {
        flex-direction: column-reverse;
        align-items: center;
    }

    .right-contact {
        padding-top: 40px;
        max-width: 100%;
    }

    .left-contact {
        max-width: 100%;
    }

    .right-contact img {
        width: auto;
    }
}
@media screen and (max-width: 700px) and (min-width: 501px) {
    .right-contact img {
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 500px) {
    .contact-info p{
        font-size: 14px;
    }
    .contact-info span{
        font-size: 16px !important;
    }
    #contact-section label i {
        font-size: 16px;
    }

    .checkbox-container {
        padding: 10px 0;
        align-items: flex-start;
    }

    #checkboxLabel {
        font-size: 13px;
    }
    .right-contact img {
        max-width: 100%;
        padding: 0 10px;
    }
}
@media screen and (max-width: 400px){
    .checkbox-container {
         flex-direction: column;
         gap: 15px;
         padding-top: 0;
    }
}
