.contact-us {
    background-size: cover;
    background-position: center;
    text-align: center;
    justify-content: center;
    width: 100%;
}

.contact-us h2 {
    text-align: center;
    font-size: 3rem;
}

.contact-us-content {
    width: 100%;
    margin-top: -386px;
    background-color: #fff;
}

.contact-us-content p {
    width: 30%;
    margin: 0 auto;
    text-align: justify;
    font-size: 1.25rem;
}

.contact-us-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
    background-color: #eceff1;
    padding: 20px;
    width: 30%;
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
    border: 2px solid grey;
}

.contact-form textarea {
    resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: black;
    opacity: 1;
}


.contact-form textarea {
    min-height: 150px;
}

.contact-form button {
    display: flex;
    padding: 20px;
    margin: 20px auto;
    background-color: #039be5;
    color: white;
    border: none;
    cursor: pointer;
    width: 30%;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    padding: 2% 0 2% 0;
    min-height: 100px;
}

.water-image img {
    width: 100%;
    height: auto;
    display: block;
}


.contact-form input::placeholder,
.contact-form textarea::placeholder {
    text-align: center;
}

.email-sent-container {
    padding: 0.5rem 2rem 1rem 2rem;
    ;
    border-radius: 12px;
    margin: 2rem auto;
    width: 80%;
    max-width: 500px;
    backdrop-filter: blur(10px);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background: linear-gradient(to right, #3eabfe 0%, #a137fe 100%);
    color: #fff;
    animation: fadeIn 0.5s ease-in-out;
}

.email-sent-container h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.email-sent-container p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    width: auto !important;
    text-align: center !important;
}

.send-another-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: white;
    color: #4a8df8;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.send-another-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.email-error-message {
    padding: 1.25rem;
    border-radius: 8px;
    margin: 0 auto;
    width: 25%;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.4s ease-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #ff4e74;
    background: linear-gradient(to right, #ff4e74 0%, #ff6b6b 100%);
    color: #fff;
}

.sending-loader {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    margin: 1rem auto;
    width: 25%;
    min-width: 280px;
    padding: 1.25rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #3eabfe;
    background: linear-gradient(to right, #3eabfe 0%, #a137fe 100%);
    color: #fff;
    font-size: 1.1rem;
    animation: pulse-sending 2.5s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.sending-loader-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sending-loader .spinner {
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-left-color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 0.9s linear infinite;
}

@keyframes pulse-sending {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(62, 171, 254, 0.3);
    }

    50% {
        box-shadow: 0 0 25px rgba(62, 171, 254, 0.7);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}



@media (max-width: 1250px) {
    .contact-us-content {
        width: 100%;
        margin-top: -300px;
        background-color: #fff;
    }
}

@media (max-width: 1024px) {

    .contact-form input,
    .contact-form textarea,
    .contact-us-content p,
    .email-sent-container,
    .contact-form button {
        width: 75%;
    }
}

@media (max-width: 970px) {
    .contact-us-content {
        width: 100%;
        margin-top: -200px;
        background-color: #fff;
    }
}

@media (max-width: 768px) {
    .contact-us h2 {
        font-size: 2.5rem;
    }
}


@media (max-width: 645px) {
    .contact-us-content {
        width: 100%;
        margin-top: -80px;
        background-color: #fff;
    }
}

@media (max-width: 400px) {
    .contact-us h2 {
        font-size: 2rem;
    }
}