.contact-section {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.contact-form {
    width: 100%;
    max-width: 80rem;
    padding: 65px 1.5rem 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.contact-heading h1 {
    font-weight: 600;
    color: var(--default-text);
    font-size: 3.5rem;
    line-height: 0.9;
    white-space: nowrap;
    margin-bottom: 1.2rem;
    text-align: center;
}

.contact-heading h1 span {
    color: var(--blue-light);
}

.contact-heading .text {
    color: var(--default-text);
    line-height: 1.1;
    font-size: 1rem;
    text-align: center;
}

.contact-heading .text a {
    color: var(--blue-light);
    transition: 0.3s;
    font-size: 1.5rem;
}

.contact-heading .text a:hover {
    color: var(--gold);
}

.contact-forms {
    display: grid;
    margin-top: 2.55rem;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    row-gap: 1rem;
}

.form-wrapper {
    width: 100%;
}

.input-wraps {
    position: relative;
}

.input-wraps.w-100 {
    grid-column: span 2;
}

.contact-input {
    width: 100%;
    background-color: var(--form-bg);
    padding: 1.5rem 1.35rem calc(0.75rem - 2px) 1.35rem;
    border: none;
    outline: none;
    font-family: inherit;
    border-radius: 20px;
    color: var(--default-text);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    box-shadow: 0 0 0 0px var(--form-shadow);
    transition: .3s;
}

.contact-input:hover {
    background-color: var(--form-hover);
}

.input-wraps label {
    position: absolute;
    top: 50%;
    left: calc(1.35rem + 2px);
    transform: translateY(-50%);
    color: #8c9aaf;
    pointer-events: none;
    transition: .25s;
}

.input-wraps .icon {
    position: absolute;
    right: calc(1.35rem + 2px);
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #8c9aaf;
    font-size: 1.25rem;
    transition: .3s;
}

textarea.contact-input {
    resize: none;
    min-height: 150px;
}

textarea.contact-input~label {
    top: 1.2rem;
    transform: none;
}

textarea.contact-input~.icon {
    top: 1.3rem;
    transform: none;
}

.input-wraps.focus .contact-input {
    background-color: var(--default-bg);
    border: 2px solid var(--blue-light);
    box-shadow: 0 0 0 5px hsla(var(--green), 91%, 55%, 0.11);
}

.input-wraps.focus label {
    color: var(--orange);
}

.input-wraps.focus .icon {
    color: var(--default-object);
}

.input-wraps.not-empty label {
    font-size: 0.66rem;
    top: 0.75rem;
    transform: translateY(0);
}

.contact-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    width: 100%;
    grid-column: span 2;
}

.contact-btn {
    display: inline-block;
    padding: 1.1rem 2rem;
    background-color: var(--blue-light);
    color: var(--white);
    border-radius: 40px;
    border: none;
    font-family: inherit;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.contact-btn:hover {
    background-color: var(--orange);
    color: var(--black);
}

.contact-btn.upload {
    position: relative;
    background-color: var(--form-bg);
}

.contact-btn.upload span {
    color: #9ca7b6;
}

.contact-btn.upload:hover {
    background-color: var(--form-hover);
    color: var(--black);
}

.contact-btn.upload input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    opacity: 0;
}

.image-wrapper {
    position: relative;
    grid-column: 2;
}

.image-wrapper .img {
    position: absolute;
    height: 130%;
    width: auto;
    left: 60%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.wave-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 100%;
    background-color: var(--white);
}

.wave-wrap svg {
    position: absolute;
    height: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    left: calc(100% - 2px);
}

#wave {
    fill: var(--white);
    height: 100%;
}

.dashed-wave {
    position: absolute;
    z-index: 3;
    height: 130%;
    bottom: 60%;
    left: -28px;
    transform: translateY(50%);
}

#dashed-wave {
    fill: none;
    stroke: var(--black);
    stroke-width: 1px;
    stroke-dasharray: 6.5;
    opacity: 0.8;
}

.contact-header ul li i {
    padding: 5px;
    border: solid 2px var(--blue-light);
    border-radius: 5px;
    background-color: var(--blue-light);
    color: var(--white);
    cursor: pointer;
}

.contact-header ul li i:hover {
    background-color: var(--white);
    color: var(--blue-light);
}

.error-message {
    color: red;
    font-size: 0.8rem;
    display: none;
}

.input-wraps.error .error-message {
    display: block;
}

.file-list {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
    width: 100%;
}

.file-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #ccc;
}

.file-list .file-icon-style {
    margin-right: 10px;
    color: var(--blue-light);
}

.file-list span {
    color: var(--default-text);
    text-align: center;
}

.file-list button {
    background-color: red;
    color: var(--white);
    border: none;
    padding: 2px 5px;
    border-radius: 3px;
    cursor: pointer;
}

.file-list button:hover {
    background-color: rgba(255, 0, 0, 0.8);
}

.file-upload-container.w-100 {
    grid-column: span 2;
}

@media (max-width: 1301px) {
    .contact-heading h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        white-space: normal;
    }

    .contact-input {
        border-radius: 17px;
        font-size: 0.87rem;
        padding: 1.5rem 1.2rem calc(0.75rem - 2px) 1.2rem;
    }

    textarea.contact-input~label {
        top: 1.2rem;
    }

    textarea.contact-input~.icon {
        top: 1.33rem;
    }

    .input-wraps.focus .contact-input {
        box-shadow: 0 0 0 2px var(--blue-light);
    }

    .input-wraps.not-empty label {
        font-size: 0.61rem;
    }

    .contact-buttons {
        column-gap: 0.8rem;
        margin-top: 0.45rem;
    }

    .contact-btn {
        padding: 1rem 1.5rem;
        font-size: 0.87rem;
    }
}

@media (max-width: 975px) {
    .contact-heading h1 {
        font-size: 2.1rem;
    }
}

@media (max-width: 861px) {
    .contact-form {
        grid-template-columns: 1fr;
        justify-items: center;
        background-color: var(--default-bg);
        overflow: scroll;
    }

    .forms-wrapper {
        width: 100%;
        padding: 1rem 0;
    }

    .contact-header ul {
        justify-content: space-between;
        width: 100%;
    }

    .logo {
        margin-right: 0;
    }

    .nav-link {
        margin-left: 0;
    }
}

@media (max-width: 440px) {
    .input-wraps {
        grid-column: span 2;
    }

    .contact-buttons {
        grid-template-columns: 1fr;
        row-gap: 0.5rem;
    }

    .contact-heading h1 {
        font-size: 1.9rem;
        line-height: 1;
    }

    .logo img {
        height: 45px;
        margin-right: 0.7rem;
    }
}