﻿.contact-us-form {
    background: #FFFFFF;
    border-radius: 30px;
    box-shadow: 0px 4px 30px 0px #16086136;
    padding: 45px;
    margin: 80px auto 0 auto;
    max-width: 1248px;
    width: 90%;
    box-sizing: border-box;
    font-family: 'PloniMLv2AAA-Regular', Arial, sans-serif;
    text-align: right;
}

.contact-us-title {
    margin: 0 0 30px 0;
    font-family: 'PloniMLv2AAA-U-Bold', Arial, sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #112C55;
    line-height: 1.4;
}

.contact-us-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-us-row {
    display: flex;
    gap: 80px;
    margin-bottom: 20px;
}

.contact-us-field {
    flex: 1;
}

.contact-us-label {
    display: block;
    margin-bottom: 6px;
    margin-right: 5px;
    font-family: 'PloniMLv2AAA-D-Bold', Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #112C55;
}

.contact-us-input, .contact-us-textarea {
    width: 100%;
    padding: 16px;
    border-radius: 15px;
    font-family: inherit;
    font-size: 16px !important;
    box-sizing: border-box;
    border: 1px solid rgba(96, 116, 139, 0.2); /* 20% opacity */
}

    .contact-us-input:focus, .contact-us-textarea:focus {
        border-color: rgba(96, 116, 139, 0.6); /* 60% opacity */
        outline: none;
    }

.contact-us-textarea {
    height: 158px;
    resize: vertical;
}

.contact-us-send-btn {
    width: 150px;
    height: 49px;
    background: linear-gradient(270deg, #F1481F 5.06%, #FB956A 115.32%);
    border: 3px solid white;
    border-radius: 100px;
    color: white;
    font-family: 'PloniMLv2AAA-Regular', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0px 4px 30px 0px #24126A3D;
    margin-top: 10px;
    float: right;
}

    .contact-us-send-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0px 6px 40px 0px #24126A4D;
    }

    .contact-us-send-btn:active {
        transform: translateY(0);
    }

    .contact-us-send-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none !important;
    }

/* error styles */
.contact-us-input.error,
.contact-us-textarea.error {
    border-color: #F1481F !important;
    background-color: rgba(241, 72, 31, 0.05) !important;
}

.error-message {
    color: #F1481F;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

    .error-message.show {
        display: block;
    }

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #c3e6cb;
    text-align: center;
    font-size: 16px;
    animation: fadeIn 0.5s ease;
}

    .success-message.fade-out {
        opacity: 0;
        transition: opacity 0.5s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .contact-us-form {
        padding: 25px;
        margin: 20px auto;
        border-radius: 20px;
    }

    .contact-us-row {
        flex-direction: column;
        gap: 20px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
