
/* Scrollable Container */
.cardContainer {
    min-height: 100vh;
    width: 100vw;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border-top: 5px solid #ff007a;
    border-bottom: 5px solid #ff007a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Individual Card */
.card {
    min-height: 100vh;
    width: 100vw;
    background: linear-gradient(315deg, #111, #222, #333, #ff007a);
    background-size: 300% 300%;
    animation: gradientMove 8s ease infinite;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    border-radius: 20px;
    box-shadow: 0px 8px 25px rgba(255, 0, 150, 0.6);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}

.card:hover {
    transform: scale(1.05);
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Card Grid Layouts */
.cardGrid1, .cardGrid2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

/* Image Section */
.card .image {
    flex: 1;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 20px 0 0 20px;
}

/* Text Section */
.card .content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 80vw;
}

.card h1, h2 {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    background: green;
    padding: 15px 25px;
    border-radius: 10px;
    display: inline-block;
    animation: neonGlow 1.5s ease-in-out infinite alternate;
    text-align: center;
    margin: auto;
}

.card form {
    width: 80%;
    margin: auto;
    color: black;
    font-weight: bold;
    text-shadow: 0 0 3px whitesmoke, 0 0 3px whitesmoke;
    text-decoration: whitesmoke;
    font-size: 1.5em;
}

.card form input {
    height:3em;
}


@keyframes neonGlow {
    from { text-shadow: 0 0 10px #777777, 0 0 20px #cccccc; }
    to { text-shadow: 0 0 20px #777777, 0 0 30px #cccccc; }
}

.card p {
    width: 80%;
    margin: auto;
    font-size: 2.3rem;
    line-height: 1.8;
    font-family: 'Poppins', sans-serif;
}

/* Responsive Design */
@media screen and (max-width: 1000px) {
    .cardContainer {
        min-height: 100%;
    }

    .card {
        height: 100%;
        width: 100vw;
    }

    .card form {
        color: green;
        text-shadow: none;
        font-weight: bolder;
        font-size: 2em;

    }

    .card form input {
        height:5em;
        margin: auto;
    }

    .card .divider {
        margin: auto;
        padding: 0px;
    }

    .card .image {
        display: block;
        width: 100%;
        min-height: 250px;
        border-radius: 20px 20px 0 0;
    }

    .card .content {
        padding: 20px;
    }

    .card h1, h2 {
        font-size: 3.2rem;
        margin-bottom: 1em;
    }

    .card p {
        font-size: 3rem;
        width: 100%;
        padding: 1em;
        margin: auto;
    }
}