﻿/*.contact-card, .map-iframe, .form-card{
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    background-color: rgba(17, 25, 40, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.125);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}*/

.contact-card, .map-iframe, .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;
}

.btn {
    transition: background-color 0.3s ease, transform 0.2s ease;
}


    .btn:hover {
        background-color: #2563eb !important;
        transform: translateY(-2px);
    }


.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-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 6  %;
    right: 3%;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    background: linear-gradient(#f9d924,#ff2c24);
    animation: animate 5s ease-in-out infinite;
}

.contact-box::after {
    content: '';
    position: absolute;
    bottom: 7%;
    left: 4%;
    width: 100px;
    height: 100px;
    z-index: -1;
    border-radius: 10px;
    background: linear-gradient(#01d6ff,#0f24f9);
    animation: animate 5s ease-in-out infinite;
    animation-delay: -2.5s;
}

    

@keyframes animate {
    0%,100% {
        transform: translateY(20px);
    }

    50% {
        transform: translateY(-20px);
    }
}


*/