.contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: -1rem;
    padding-left: 40px;
    margin-top: 1rem;
}

.contact-text h2 {
    font-size: 80px;
    line-height: 1;
    color: white;
}

.contact-text h2 span {
    color: orange;
}

.contact-text h4 {
    margin: 15px 0;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.contact-text p {
    color: white;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 1rem;
}

.contact-list {
    margin-bottom: 1rem;
}

.contact-list li {
    margin-bottom: 10px;
    display: block;
    color: white;
}

.contact-list i {
    display: inline-block;
    color: #0ef;
    font-size: 20px;
    font-weight: 600;
    transition: all .40s ease;
    margin-right: 5px;
}

.contact-list li a:hover {
    transform: scale(1.01) translateY(-5px);
    color: #0ef;
}

.contact-icons i {
    height: 45px;
    width: 15px;
    color: #0ef;
    font-size: 22px;
    display: inline-block;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 15px;
    transition: all .45s ease;
}

.contact-icons i:hover {
    color: white;
}

.contact-form form {
    position: relative;
}

.contact-form form input,
form textarea {
    border: none;
    outline: none;
    width: 90%;
    padding: 18px;
    background: white;
    color: black;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
}

.contact-form textarea {
    resize: none;
    height: 220px;
}

.contact-form .submit {
    display: inline-block;
    font-size: 16px;
    background: var(--main-color);
    color: var(--text-color);
    width: 160px;
    transition: all .45s ease;
    text-align: center;
}

.contact-form .submit:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.last-text p {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    color: white;
    background: purple;
    font-weight: 300;
    margin-top: 70px;
}

.top {
    position: fixed;
    bottom: 2.1rem;
    right: 2.1rem;

}

.top i {
    color: #000;
    background: #0ef;
    font-size: 20px;
    padding: 10px;
    border-radius: 0.5rem;
    margin-right: -1 rem;
}

.btn-box1 {
    display: inline-block;
    margin-left: 12rem;
    padding: 12px 88px;
    background: #007ced;
    border-radius: 10px;
    font-size: 16px;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 3px #0ef,
        0 0 20px #0ef;
    transition: .5s ease;
    margin-top: 1rem;
}

.btn-box1+.btn-box1 {
    margin-left: 10px;
}

.btn-box1:hover {
    box-shadow: 0 0 5px cyan,
        0 0 25px cyan, 0 0 50px cyan,
        0 0 100px cyan, 0 0 200px cyan;
}



@media screen and (max-width: 768px) {

    .contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: -1rem;
        padding-left: 35px;
        margin-top: 1rem;
    }
    
    .contact-text h2 {
        font-size: 60px;
        line-height: 1;
        color: white;
    }
    
    .contact-text h2 span {
        color: orange;
    }
    
    .contact-text h4 {
        margin: 15px 0;
        color: white;
        font-size: 30px;
        font-weight: 600;
    }
    
    .contact-text p {
        color: white;
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 1rem;
    }
    
    .contact-list {
        margin-bottom: 1rem;
    }
    
    .contact-list li {
        margin-bottom: 10px;
        display: block;
        color: white;
    }
    
    .contact-list i {
        display: inline-block;
        color: #0ef;
        font-size: 35px;
        font-weight: 600;
        transition: all .40s ease;
        margin-right: 5px;
    }
    
    .contact-list li a:hover {
        transform: scale(1.01) translateY(-5px);
        color: #0ef;
    }
    
    .contact-icons i {
        height: 45px;
        width: 15px;
        color: #0ef;
        font-size: 30px;
        display: inline-block;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        margin-right: 15px;
        transition: all .45s ease;
    }
    
    .contact-icons i:hover {
        color: white;
    }
    
    .contact-form form {
        position: relative;
    }
    
    .contact-form form input,
    form textarea {
        border: none;
        outline: none;
        width: 90%;
        padding: 18px;
        background: white;
        color: black;
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        border-radius: 0.5rem;
    }
    
    .contact-form textarea {
        resize: none;
        height: 220px;
    }
    
    .contact-form .submit {
        display: inline-block;
        font-size: 16px;
        background: var(--main-color);
        color: var(--text-color);
        width: 160px;
        transition: all .45s ease;
        text-align: center;
        margin-left: 2rem;
    }
    
    .contact-form .submit:hover {
        transform: scale(1.1);
        cursor: pointer;
    }
    
    .last-text p {
        width: 100%;
        text-align: center;
        padding: 25px 0;
        color: white;
        background: purple;
        font-size: small;
        font-weight: 300;
        margin-top: 70px;
    }
    
    .top {
        position: fixed;
        bottom: 2.1rem;
        right: 2.1rem;
    
    }
    
    .top i {
        color: #000;
        background: #0ef;
        font-size: 20px;
        padding: 10px;
        border-radius: 0.5rem;
        margin-right: -1 rem;
    }
    
    .btn-box1 {
        display:inline;
        margin-left: 6rem;
        padding: 8px 60px;
        background: #007ced;
        border-radius: 10px;
        font-size: 20px;
        color: #081b29;
        letter-spacing: 1px;
        text-decoration: none;
        font-weight: 600;
        box-shadow: 0 0 3px #0ef,
            0 0 20px #0ef;
        transition: .5s ease;
        margin-top: 1rem;
    }
    
    .btn-box1+.btn-box1 {
        margin-left: 2px;
    }
    
    .btn-box1:hover {
        box-shadow: 0 0 5px cyan,
            0 0 25px cyan, 0 0 50px cyan,
            0 0 100px cyan, 0 0 200px cyan;
    }
    
}