#ilaunch-enroll-form .error,#contact-us-form .error {
    color: red;
    margin-bottom: 4px;
    margin-top: 4px;
}


.success-message {
    background-color: #dff0d8; /* Light green background */
    color: #3c763d; /* Dark green text color */
    border: 1px solid #d6e9c6; /* Slightly darker green border */
    padding: 15px; /* Padding around the text */
    border-radius: 5px; /* Rounded corners */
    text-align: center; /* Center the text */
    font-size: 16px; /* Font size */
    margin-top: 20px; /* Space above the message */
}

.success-message:before {
    content: "✓"; /* Add a checkmark before the message */
    font-weight: bold; /* Bold checkmark */
    margin-right: 8px; /* Space between checkmark and text */
}


/*end*/

.signin-header-link img {
    width: 160px;
}

/*contact us form design*/
.contactus-form-sec {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background-color: #f5f7fa;
}

.contactus-form-sec .contactus-form-col {
    background-color: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.contactus-form-sec h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
}

.contactus-form-sec .form-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* Form Grid for Side-by-Side Layout */
.contactus-form-sec .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

.ilaunch-form-col .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    grid-gap: 20px; /* Space between the fields */
}

.contactus-form-sec .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contactus-form-sec .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.contactus-form-sec .form-group input,
.contactus-form-sec .form-group textarea {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #0b8250; /* Updated border color */
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contactus-form-sec form-group input:focus,
.contactus-form-sec .form-group textarea:focus {
    border-color: #0b8250; /* Updated border color on focus */
    box-shadow: 0 0 8px rgba(11, 130, 80, 0.2); /* Updated focus shadow color */
    outline: none;
}

/* Full-width message field */
.contactus-form-sec textarea {
    grid-column: span 2;
}

/* Button Styles */
.contactus-form-sec .submit-btn {
    width: 50%; /* Set button width to 50% or any desired width */
    padding: 14px;
    background-color: #3686E3; /* Updated button background color */
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin: 0 auto; /* Center the button horizontally */
    display: block;  /* Ensure the button behaves as a block-level element */
}

.contactus-form-sec .submit-btn:hover {
    background-color: #096b41; /* Darkened branding color on hover */
    transform: translateY(-2px);
}

.hs-form-field #loader {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.hs-form-field .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #1fb576;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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


@media (max-width: 768px) {
    .contactus-form-sec h2 {
        font-size: 28px;
    }
    .contactus-form-sec .form-group input,
    .contactus-form-sec .form-group textarea {
        font-size: 14px;
        padding: 12px;
    }
    .contactus-form-sec .submit-btn {
        padding: 12px;
        font-size: 14px;
        width: 100%; /* Full-width button for small screens */
    }

    .contactus-form-sec .form-grid {
        display: block;
    }

    .ilaunch-form-col .form-grid {
        display: block;
    }

}


@media (max-width: 480px) {
    .contactus-form-sec {
        padding: 20px;
    }
    .contactus-form-sec .contactus-form-col {
        padding: 20px;
    }
    .contactus-form-sec h2 {
        font-size: 24px;
    }
    .contactus-form-sec .form-description {
        font-size: 14px;
    }
}
