.contact-us-form .contact-us-form-main-wrapper .form-group {
    margin-top: 20px;
}


.contact-us-form .contact-us-form-main-wrapper .form-group label {
    width: 100%;
    color: #ffffff;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

.contact-us-form .contact-us-form-main-wrapper .form-group input {
    width: 100%;
}

.contact-us-form .contact-us-form-main-wrapper .form-group textarea {
    width: 100%;
}

.contact-us-form .contact-us-form-main-wrapper .form-group .termsContainer .flex {
    display: flex;
    align-items: self-start;
    gap: 8px;
}

/* Custom Animated Checkbox */

.contact-us-form .contact-us-form-main-wrapper .form-group .termsContainer input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #2EE89E;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animated Fill */
.contact-us-form .contact-us-form-main-wrapper .form-group .termsContainer input[type="checkbox"]::before {
    content: "";
    position: absolute;
    inset: 50%;
    width: 0;
    height: 0;
    color: #ffffff;
    background-color: #2EE89E;
    border-radius: 3px;
    transform: translate(-50%, -50%);
    transition: 0.3s ease-in-out;
}

/* Tick Icon */
.contact-us-form .contact-us-form-main-wrapper .form-group .termsContainer input[type="checkbox"]::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid #0C0E18;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: 0.2s ease-in-out;
    z-index: 2;
    top: 3px;
    left: 7px;
}

/* Checked State */
.contact-us-form .contact-us-form-main-wrapper .form-group .termsContainer input[type="checkbox"]:checked::before {
    width: 100%;
    height: 100%;
}

/* Show Tick */
.contact-us-form .contact-us-form-main-wrapper .form-group .termsContainer input[type="checkbox"]:checked::after {
    transform: rotate(45deg) scale(1);
}

/* Optional Glow */
.contact-us-form .contact-us-form-main-wrapper .form-group .termsContainer input[type="checkbox"]:checked {
    box-shadow: 0 0 12px rgba(46, 232, 158, 0.5);
}

.contact-us-form .contact-us-form-main-wrapper .form-group .termsContainer label {
    cursor: pointer;
}

.contact-us-form .contact-us-form-main-wrapper .form-group.button .btn {
    width: 100%;
}

.contact-us-form .contact-us-form-main-wrapper .form-group input::placeholder,
.contact-us-form .contact-us-form-main-wrapper .form-group textarea::placeholder {
    color: #ffffff;
}

.contact-us-form .contact-us-form-main-wrapper .form-group input[type="text"],
.contact-us-form .contact-us-form-main-wrapper .form-group input[type="email"],
.contact-us-form .contact-us-form-main-wrapper .form-group input[type="url"],
.contact-us-form .contact-us-form-main-wrapper .form-group textarea {
    padding: 10px;
    border: none;
    border-radius: 12px;
    background-color: #1B202E;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
}

.contact-us-form .contact-us-form-main-wrapper .form-group input[type="checkbox"] {
    background-color: #1B202E;
}

.contact-us-form .contact-us-form-main-wrapper {
    background-color: #0C0E18;
    padding: 22px;
    border-top: 2px solid #7854F5;
    border-radius: 12px;
    min-height: 485px;
    align-content: center;
}


/* Button  */

.contact-us-form-btn {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
}

/*
.contact-us-form-btn button {
     position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    width: 190px;
    height: 40px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    border: 1px solid #2EE89E;
    background: #2EE89E;
    color: #0C0E18;
    border-radius: 40px;
    cursor: pointer;
    overflow: hidden;
    transition: all .35s;
}
    */

/* .contact-us-form-btn button:hover {
    background: #ffffff;
    color: #2EE89E;
} */

.contact-us-form .btn.btn-dark:hover span:not(:nth-child(6)) {
    transform: translate(-50%, -50%) scale(14);
    transition: 0.8s ease;
}





.contact-us-form .btn.btn-dark span:not(:nth-child(6)) {
    width: 35px;
}





/* ── Thank You Card ─────────────────────────────── */
.thankyou-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 32px;
    gap: 16px;

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px) scale(0.97);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s;
}

/* Jab ty-show class lage — visible ho jaye */
.thankyou-card.ty-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0s;
}

/* Icon */
.thankyou-card .ty-icon {
    width: 72px;
    height: 72px;
    color: #2EE89E;
    /* apne brand color se match karo */
    animation: pop-in 0.5s ease forwards;
    animation-play-state: paused;
}

.thankyou-card.ty-show .ty-icon {
    animation-play-state: running;
}

@keyframes pop-in {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    70% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


.thankyou-card p {
    font-size: 1rem;
    color: #fff;
    margin: 0;
}

/* ── Form hide animation ─────────────────────────── */
.form-hide {
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}








/* ── Validation ─────────────────────────────────────── */
@keyframes shakeField {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }
}

.shake-error {
    animation: shakeField 0.4s ease;
}

input.input-error,
textarea.input-error {
    border: 1.5px solid #e74c3c !important;
}

.cb-error {
    outline: 1.5px solid #e74c3c;
    border-radius: 4px;
}

.field-error-msg {
    display: none;
    font-size: 11px;
    color: #e74c3c;
    margin-top: 4px;
}

/* ── Form hide ──────────────────────────────────────── */
.form-hide {
    animation: fadeSlideOut 0.4s ease forwards;
}

@keyframes fadeSlideOut {
    to {
        opacity: 0;
        transform: translateY(-16px);
    }
}

/* ── Thank You card ─────────────────────────────────── */
/* ── Thank You Card ─────────────────────────────── */
.thankyou-card {
    display: none;
    /* ✅ By default bilkul hidden */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 32px;
    gap: 16px;
    opacity: 0;
    transform: translateY(24px) scale(0.97);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Submission ke baad ty-show class lagegi */
.thankyou-card.ty-show {
    display: flex;
    /* ✅ Tab show hoga */
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ty-icon {
    width: 64px;
    height: 64px;
    color: #27ae60;
    margin-bottom: 1.2rem;
}

.ty-icon svg {
    width: 100%;
    height: 100%;
}

.thankyou-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.thankyou-card p {
    font-size: 0.95rem;
    opacity: 0.7;
    max-width: 280px;
}

.contact-us-form .contact-us-form-main-wrapper h3 {
    font-size: 22px;
    font-weight: 700;
    text-align: left;
    line-height: 26px;
    color: #ffffff;
}