.contactLink{
    text-decoration: none;
    color: initial;
}
    .contactContainer{
        transition: background-color 0.25s;
        position: relative;
        border-bottom: 1px rgb(164, 164, 164) solid;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .contactContainer:after{
        content: '';
        position: absolute;
        width: 100%;
        height: 1px;
        top: 100%;
        left: 0%;
        background-color: #DC0000;
        transform-origin: bottom right;
        transition: transform 0.5s ease-out;
        transform: scaleX(0);
    }
    .contactContainer:hover::after{
        transform: scaleX(1);
        transform-origin: bottom left;
    }
    .contactLink p{
        font-size: 95%;
        color: rgba(0, 0, 0, 0.65);
        margin-bottom: 1.33em !important;
    }
    .contactContainer i{
        position: relative;
        color: rgb(164, 164, 164);
        transition: color 0.5s ease-in;

    }
    .contactContainer:hover i{
        color: #DC0000;
    }
form{
    display: flex; 
    margin: 0 auto; 
    flex-direction: column; 
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.4s;
    position: relative;
    padding: 5em;
}
form:hover{
    box-shadow: 0px 4px 13px rgba(0, 0, 0, 0.3);
}
form h2{
    margin-bottom: 1em !important;
}
form h2.lightTitle{
    margin-bottom: 0em !important;
}
input, textarea{
    margin-bottom: 1.5em;
    font-size: 100%;
    padding: 0.5em;
    font-family: inherit;
    font-family: "Montserrat Light";
    width: auto;
}
label{
    margin-bottom: 0.5em;
    text-transform: uppercase;
    font-weight: bold;
}
button{
    border: 0;
    font-size: 120%;
    font-family: inherit;
    cursor: pointer;
    padding: 4% !important;
}
input, textarea, select {
    margin-bottom: 1.5em;
    font-size: 100%;
    padding: 0.5em;
    font-family: "Montserrat Light", inherit;
    width: auto;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    background-color: #fff;
}

/* Hover effect for all fields */
input:hover, textarea:hover, select:hover {
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
}

/* Focus effect for all fields */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #DC0000;
    box-shadow: 0px 0px 4px rgba(220, 0, 0, 0.5);
}

/* Style for disabled inputs (if any) */
input:disabled, textarea:disabled, select:disabled {
    background-color: #f5f5f5;
    border-color: #ddd;
    color: #aaa;
    cursor: not-allowed;
}
select {
    margin-bottom: 1.5em;
    font-size: 100%;
    font-family: "Montserrat Light";
    padding: 0.5em;
    width: auto;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, background-color 0.2s;
    background-color: #fff;
    color: #333; /* Ensures text color is prominent */
}

/* Hover effect */
select:hover {
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
}

/* Focus effect */
select:focus {
    outline: none;
    border-color: #DC0000;
    box-shadow: 0px 0px 4px rgba(220, 0, 0, 0.5);
    background-color: #f9f9f9;
}


@media screen and (max-width: 1700px) {
    form{
        padding: 4.5em;
    }
}
@media screen and (max-width: 1500px) {
    form{
        padding: 4em;
    }
}
@media screen and (max-width: 1300px) {
    form{
        padding: 3em;
    }
}
@media screen and (max-width: 1000px) {
    .rightPos{
        padding-top: 3em !important; 
    }
}
@media screen and (max-width: 600px) {
    form{
        padding: 1.5em;
    }

}