﻿.contact-card,  .form-card {
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
}

    .contact-card:hover,
    .map-iframe:hover,
    .form-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    }    

.form-control:focus,
textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    outline: none;
}



.gradient-underline {
    position: relative;
    display: inline-block; 
    color: inherit; 
}

    .gradient-underline::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -4px;
        width: 100%;
        height: 3px;
        /* new gradient from #ff00cc → #333399 */
        background: #ff00cc; 
        background: -webkit-linear-gradient(to right, #ff00cc, #333399); 
        background: linear-gradient(to right, #ff00cc, #333399); 
        transform: translateX(-50%) scaleX(0);
        transform-origin: center;
        transition: transform 0.4s ease;
    }

    .gradient-underline:hover::after {
        transform: translateX(-50%) scaleX(1);
    }


.floating-label {
    position: relative;
    margin-bottom: 1.5rem;
}

    .floating-label .underlined {
        width: 100%;
        padding: 12px 15px 8px 15px; 
        background-color: transparent !important;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        color: #fff;
        font-size: 1rem;
        outline: none;
        box-shadow: none;
        box-sizing: border-box; 
    }

        .floating-label .underlined::placeholder {
            color: transparent;
        }

    .floating-label label {
        position: absolute;
        top: 12px;
        left: 15px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 1rem;
        pointer-events: none;
        transition: all 0.2s ease-out;
    }

    .floating-label .underlined:focus + label,
    .floating-label .underlined:not(:placeholder-shown) + label {
        top: -6px;
        font-size: 0.8rem;
        color: #fff;
    }

    .floating-label .underlined:focus {
        border-bottom-color: #fff;
    }

        .floating-label textarea.underlined + label {
            left: 0; 
        }

.form-card input:-webkit-autofill,
.form-card textarea:-webkit-autofill {
    box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.05) inset !important;
    -webkit-text-fill-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}


.form-card .floating-label input:focus + label,
.form-card .floating-label input:not(:placeholder-shown) + label,
.form-card .floating-label input:-webkit-autofill + label {
    top: -10px;
    font-size: 12px;
    opacity: 0.7;
}


/* =====================================================
   Contact Us – Primary Submit Button
   ===================================================== */

#contactus .contact-submit-btn {
    background-color: #0d6efd; /* Bootstrap primary */
    border: 1px solid transparent;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.4px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

    /* Hover */
    #contactus .contact-submit-btn:hover {
        background-color: #0b5ed7; /* Bootstrap hover */
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(13, 110, 253, 0.35);
    }

    /* Active */
    #contactus .contact-submit-btn:active {
        transform: translateY(0);
        box-shadow: 0 6px 14px rgba(13, 110, 253, 0.25);
    }

    /* Focus (accessibility) */
    #contactus .contact-submit-btn:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    }
