*,*::after,*::before{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

body{
    font-family: "Poppins", sans-serif;
    --main-hue: 208;
    --main-color: hsl(var(--main-hue), 92%, 54%);
    --main-color-hover: hsl(var(--main-hue), 77%, 48%);
    --text-color: #000000;
    --nav-color: hsl(var(--main-hue), 17%, 79%);
    --bg-color: #ffffff;
    --light-text-color: #9ca7b6;
    --input-bg: hsl(var(--main-hue), 50%, 50%, 6.5%);
    --input-bg-hover: hsl(var(--main-hue), 50%, 50%, 14%);
    --input-text: #8c9aaf;
}

.contact{
    width: 100%;
    overflow: hidden;
    background-color: var(--bg-color);
}

.contact .container{
    height: 100vh;
    min-height: 700px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.contact .container > div{
    grid-column: 1/2;
    grid-row: 1/2;
}

.left{
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 65px 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(2 ,1fr);
    align-items: center;
    position: relative;
    z-index: 3;
    /* background-color: khaki; */
}

.contact-heading h1{
    font-weight: 600;
    color: var(--bg-color);
    /* color: black; */
    font-size: 3.5rem;
    line-height: 0.9;
    white-space: nowrap;
    margin-bottom: 1.2rem;
}

.contact-heading h1 span{
    color: blue;
}

.text{
    color: var(--light-text-color);
    color: var(--bg-color);
    /* color: black; */
    line-height: 1.1;
    font-size: 1rem;
}

.text a{
    color: var(--main-color);
    transition: 0.3s;
}

.text a:hover{
    color: var(--main-color-hover);
    transition: 0.3s;
}

.form-wrapper{
    max-width: 32rem;
}

.contact-form{
    display: grid;
    margin-top: 2.55rem;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    row-gap: 1rem;
}

.input-wrap{
    position: relative;
}

.input-wrap.w-100{
    grid-column: span 2;
}

.contact-input{
    width: 100%;
    background-color: hsl(var(--main-hue), 50%, 50%, 6.5%);
    padding: 1.5rem 1.35rem calc(0.75rem - 2px ) 1.35rem ;
    border: none;
    outline: none;
    font-family: inherit;
    border-radius: 20px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
    /*border: 2px solid hsl(var(--main-hue), 91%, 55%);*/  /* input fild border color change */
    box-shadow: 0 0 0 0px hsla(var(--main-hue), 92%, 54%, 0.169);
}

.contact-input:hover{
    background-color: var(--input-bg-hover);
}

.input-wrap label{
    position: absolute;
    top: 50%;
    left: calc(1.35rem + 2px);
    transform: translateY(-50%);
    color: var(--light-text-color);
    pointer-events: none;
    transition: 0.25s;
}

.input-wrap .icon{
    position: absolute;
    right: calc(1.35rem + 2px);
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--input-text);
    font-size: 1.5rem;
    transition: 0.3s;
}

textarea.contact-input{
    resize: none;
    width: 100%;
    min-height: 150px;
}

textarea.contact-input ~ label{
    top: 1.2rem;
    transform: none;
}

textarea.contact-input ~ .icon{
    top: 1.3rem;
    transform: none;
}

.input-wrap.focus .contact-input{
    background-color: var(--bg-color);
    border: 2px solid hsl(var(--main-hue), 91%, 55%);
    box-shadow: 0 0 0 5px hsla(var(--main-hue), 91%, 55%, 0.11);
}

.input-wrap.focus label{
    color: hsl(var(--main-hue), 91%, 55%);
}

.input-wrap.focus .icon{
    color: hsl(var(--main-hue), 91%, 55%);
}

.input-wrap.not-empty label{
    font-size: 0.66rem;
    top: 0.75rem;
    transform: translate(0);
}

.contact-buttons{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    margin-top: 1rem;
    width: 100%;
    grid-column: span 2;
}

.btn{
    display: inline-block;
    padding: 1.1rem 2rem;
    background-color: var(--main-color);
    color: white;
    border-radius: 40px;    /* For custom btn submit */
    border: none;
    font-family: inherit;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover{
    background-color: var(--main-color-hover);
}

.btn.upload{
    position: relative;
    background-color: var(--input-bg);
}

.btn.upload span{
    color: hsl(var(--main-hue), 91%, 55%);
}

.btn.upload:hover{
    background-color: var(--input-bg-hover);
}

.btn.upload input{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    opacity: 0;
}

#image{
    /* background: url(https://ucarecdn.com/8653f1f5-edb3-4c5b-a217-92e17afff060/-/preview/1000x571/); */
    /* background: url(https://quickcheckout.in/wp-content/uploads/2025/01/1377065.png); */
    background: url(1377065.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 90%;
}

/* .right{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
    pointer-events: none;
}

.image-wrapper{
    position: relative;
    grid-column: 2;

}

.image-wrapper .img{
    position: absolute;
    height: 130%;
    left: 60%;
    right: 50%;
    transform: translate(-50%, -50%);
}

.wave-wrap{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 100%;
    background-color: purple;
}

.wave-wrap svg{
    position: absolute;
    background-color: red;
    height: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    left: calc(100%-2PX);
}

#wave{
    fill: blue;
    height: 100%;
} */


/* This part for responsiveness */

@media (max-width: 1000px) {
    .contact-heading h1{
        font-size: 2.5rem;
        margin-bottom: 1rem;
        white-space: normal;
    }

    .text{
        font-size: 0.9rem;
    }

    .contact-form{
        display: grid;
        margin-top: 1.9rem;
        column-gap: 0.8rem;
        row-gap: 0.65rem;
    }

    .contact-input{
        border-radius: 17px;
        font-size: 0.87rem;
        padding: 1.5rem 1.2rem calc(0.75rem - 2px) 1.2rem;
    }

    .input-wrap label {
        font-size: 0.91rem;
        left: calc( 1.2rem + 2px );
    }

    .input-wrap .icon {
        font-size: 1.1rem;
        right: calc( 1.2rem + 2px );
    }

    textarea.contact-input ~ label {
        top: 1.2rem;
    }

    textarea.contact-input ~ .icon {
        top: 1.33rem;
    }

    .input-wrap.focus .contact-input{
        box-shadow: 0 0 0 3.5px var(--input-shadow);    /* Only For Shadow Color Use Direct Color */
    }

    .input-wrap.not-empty label {
        font-style: 0.61rem;
    }

    .contact-buttons{
        column-gap: 0.8rem;
        margin-top: 0.45rem;
    }

    .btn{
        padding: 1rem 1.5rem;
        font-size: 0.87rem;
    }
}

@media (max-width : 650px) {
    .right{
        display: none;
    }

    .left{
        padding: 50px 1.5rem 0;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .form-wrapper{
        width: 100%;
        padding: 1rem 0;
    }
}

@media (max-width : 440px) {
    .input-wrap{
        grid-column: span 2;
    }

    .contact-buttons{
        grid-template-columns: 1fr;
        row-gap: 0.5rem;
    }

    .contact-heading h1{
        font-size: 1.9rem;
        line-height: 1;
    }
}