
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
}

.bg-image {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.603), rgba(0, 0, 0, 0.497)), url("../images/BG img.jpg");
    background-position: center;
    background-size: cover;
    height: 100vh;
    padding: 48px 5% 30px;
    display: flex;
    flex-direction: column;
}

.bg-image .heading {
    text-align: center;
    color: #00ff1a;
}

.bg-image .heading h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.bg-image .cards {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 45px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.bg-image .card {
    background-color: rgba(255, 255, 255, 0.751);
    width: 410px;
    max-width: 100%;
    border-radius: 10px;
    padding: 30px 32px 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-image .card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

@keyframes cardStagger {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bg-image .card {
    animation: cardStagger 0.5s ease forwards;
}

.bg-image .card:nth-child(1) { animation-delay: 0s; }
.bg-image .card:nth-child(2) { animation-delay: 0.1s; }
.bg-image .card:nth-child(3) { animation-delay: 0.2s; }
.bg-image .card:nth-child(4) { animation-delay: 0.3s; }
.bg-image .card:nth-child(5) { animation-delay: 0.4s; }

.bg-image .card h2 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
}

.bg-image .card-confirm h2 {
    color: #0000ff;
}

.bg-image .cards .card .input-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.bg-image .cards .card .input-box label {
    font-size: 15px;
}

.bg-image .cards .card .input-box p {
    font-size: 15px;
    text-align: right;
}

.bg-image .cards .card .input-box #get-name {
    flex-basis: 100%;
    text-align: left;
    font-weight: 600;
    margin-top: 4px;
}

.bg-image .cards .card .input-box #get-name:empty {
    display: none;
}

.bg-image .cards .card .input-box input {
    width: 130px;
    height: 20px;
    border: 1px solid black;
    border-radius: 3px;
    background-color: #DBD5D3;
    outline: none;
}

.bg-image .cards .card .input-box select {
    width: 130px;
    height: 22px;
    border: 1px solid black;
    border-radius: 3px;
    background-color: #DBD5D3;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bg-image .cards .card .input-box select:focus {
    border-color: #00B67A;
    box-shadow: 0 0 0 2px rgba(0, 182, 122, 0.15);
}

.bg-image .cards .card .bg-image-btn {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.bg-image .cards .card .bg-image-btn button {
    background-color: #00B67A;
    width: 95px;
    color: white;
    padding: 5px 8px;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.bg-image .cards .card .bg-image-btn button:hover {
    background-color: #1bb600;
    width: 95px;
    color: white;
    transform: scale(1.06);
}

.bg-image .cards .card .bg-image-btn button:active {
    transform: scale(0.98);
    background-color: #00a66e;
    transition: transform 0.1s ease;
}

@media (max-width: 900px) {
    .bg-image {
        height: auto;
        min-height: 100vh;
        padding: 30px 4% 30px;
    }

    .bg-image .heading h2 {
        font-size: 28px;
    }

    .bg-image .cards {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .bg-image .card {
        width: 100%;
        max-width: 440px;
    }
}

