    .form-group {
        margin-top: 23px;
    }

    .certificate-form-container {
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(2px);
        border-radius: 25px;
        padding: 45px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
        transition: all 0.4s ease;
        position: relative;
        overflow: hidden;
    }

    .certificate-form-container::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 200px;
        height: 200px;
        background-image: url('/logo.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        opacity: 2;
        z-index: 0;
        pointer-events: none;
    }

    .certificate-form-container>* {
        position: relative;
        z-index: 1;
    }

    .certificate-form-container:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .form-group label {
        color: rgba(255, 255, 255, 0.95);
        font-weight: 600;
        margin-bottom: 12px;
        font-size: 1.1rem;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }

    .form-control {
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 18px;
        color: white;
        padding: 18px 25px;
        font-size: 1.05rem;
        transition: all 0.4s ease;
        backdrop-filter: blur(8px);
    }

    .form-control:focus {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 215, 0, 0.6);
        box-shadow: 0 0 0 0.3rem rgba(255, 215, 0, 0.2), 0 8px 25px rgba(255, 215, 0, 0.1);
        color: white;
        transform: translateY(-2px);
    }

    .form-control::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

    .btn-check {
        background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
        border: none;
        border-radius: 30px;
        padding: 18px 45px;
        font-weight: 700;
        color: #2c3e50;
        font-size: 1.1rem;
        transition: all 0.4s ease;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
        position: relative;
        overflow: hidden;
    }

    .btn-check::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: left 0.5s ease;
    }

    .btn-check:hover::before {
        left: 100%;
    }

    .btn-check:hover {
        background: linear-gradient(135deg, #ffed4e 0%, #ffd700 50%, #ffed4e 100%);
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
    }

    .btn-check:active {
        transform: translateY(-1px);
    }
    /* Style the form containers */

    #card-check-form,
    #certificate-check-form {
        position: relative;
    }

    .col-xs-6:has(form) {
        padding: 20px;
        width: 50%;
        box-sizing: border-box;
    }

    .col-xs-6:has(form) form {
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(1px);
        border-radius: 25px;
        padding: 45px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
        transition: all 0.4s ease;
        position: relative;
        overflow: hidden;
    }

    .col-xs-6:has(form) form::before {
        content: '';
        position: absolute;
        top: 18%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 200px;
        height: 73px;
        background-image: url('/logo.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        opacity: 2;
        z-index: 0;
        pointer-events: none;
    }

    .col-xs-65 {
        width: 100%;
        margin-top: 10%;
        height: 100%;
    }

    .img-thumbnail-col-xs-65 {
        display: inline-block;
        width: 100%;
        height: 100%;
        padding: 4px;
        line-height: 1.42857143;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 4px;
        -webkit-transition: all .2s ease-in-out;
        -o-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
    }

    @media (max-width: 511px) {
        .col-xs-65 {
            margin-top: 60%;
        }
        .btn {
            width: 100%;
        }
    }

    .col-xs-6:has(form) {
        padding: 20px;
        width: 50%;
        box-sizing: border-box;
    }

    .col-xs-6:has(form) form>* {
        position: relative;
        z-index: 1;
    }

    .col-xs-6:has(form) form:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.4);
    }
    /* Responsive Styling */

    @media (max-width: 992px) {
        .certificate-form-container {
            padding: 30px;
        }
        .form-control {
            padding: 14px 20px;
            font-size: 1rem;
        }
        .btn-check {
            padding: 14px 30px;
            font-size: 1rem;
        }
        .col-xs-6:has(form) {
            width: 100%;
        }
    }

    @media (max-width: 768px) {
        .certificate-form-container {
            padding: 20px;
            border-radius: 18px;
        }
        .form-group label {
            font-size: 1rem;
        }
        .form-control {
            padding: 12px 18px;
            font-size: 0.95rem;
        }
        .btn-check {
            width: 100%;
            padding: 14px 0;
        }
        .col-xs-6:has(form) form {
            padding: 25px;
        }
    }

    @media (max-width: 480px) {
        .certificate-form-container::before,
        .col-xs-6:has(form) form::before {
            display: none;
        }
        .certificate-form-container,
        .col-xs-6:has(form) form {
            padding: 20px 15px;
        }
        .form-group label {
            font-size: 0.95rem;
        }
        .form-control {
            padding: 10px 14px;
            font-size: 0.9rem;
        }
        .btn-check {
            font-size: 0.95rem;
            padding: 12px 0;
        }
    }

    .custom-modal {
        display: none;
        position: fixed;
        z-index: 9999;
        top: 0%;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        backdrop-filter: blur(2px);
        padding: 40px;
        box-sizing: border-box;
        justify-content: center;
        align-items: center;
    }

    .custom-modal-content {
        width: 90%;
        height: 100%;
        margin: 0%;
        border-radius: 8px;
        object-fit: contain;
        width: 100%;
        height: auto;
    }

    .custom-close {
        position: absolute;
        top: 20px;
        right: 25px;
        font-size: 40px;
        font-weight: bold;
        color: white;
        cursor: pointer;
        z-index: 10000;
    }
    /* Responsive for smaller screens */

    @media (max-width: 600px) {
        .custom-modal {
            display: none;
            position: fixed;
            z-index: 9999;
            top: 39%;
            left: 0;
            bottom: 0;
            /* width: 100; */
            height: 50%;
            overflow: auto;
            justify-content: center;
            align-items: center;
        }
        .custom-close {
            font-size: 30px;
            top: 15px;
            right: 20px;
        }
        .custom-modal-content {
            width: 100%;
            /* margin-top: 81%; */
        }
    }

    @media (min-width: 768px) {
        .navbar-right {
            margin-top: 41px    ;
        }
    }

h1.headline {
    color: #fff;
}


/* Background blur effect */
.blur-background {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
     /* border: 1px solid rgba(255, 255, 255, 0.3); */
     /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); */
}

/* === Universal Blur Effect for All Modals === */

/* Make all modal content backgrounds blurred and transparent */
.modal-content {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    color: #fff; /* ensures text inside modals stays readable */
}

/* Optional: slightly blur the background overlay behind all modals */
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

/* Optional: modal headers look cleaner on blur */
.modal-header, .modal-footer {
    border: none !important;
    background: transparent !important;
}

/* Make buttons and text contrast well on glassy background */
.modal-content .btn-close {
    filter: invert(1);
}

#certificate-verification,
#card-verification,
#employees {
    display: none;
}

#home {
    display: block;
}

