@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&display=swap');

#k12-landing-wrapper {
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 550px;
    padding: 20px;

    .k12-background {
        position: fixed;
        width: 100%;
        height: 100%;
        background-image: url('../img/welcome-bg.jpg');
        background-size: cover;
        z-index: -2;
    }

    .red-overlay {
        position: fixed;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(255, 3, 3, 0.6) 0%, rgba(127, 29, 29, 0.8) 100%);
        z-index: -1;
    }

    .k12-main-wrapper {
        position: relative;
        z-index: 10;
        width: 100%;
        max-width: 50vw;
        display: flex;
        flex-direction: column;
        align-items: center;

        .logo-box {
            position: absolute;
            top: -80px;
            z-index: 50;
            background: white;
            width: 160px;
            height: 160px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
            border: 4px solid rgba(255, 255, 255, 0.2);

            img {
                width: 100%;
                height: auto;
            }
        }

        .main-card {
            width: 100%;
            border-radius: 60px;
            padding-top: 10px;
            padding-bottom: 40px;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            background: rgb(185 0 0 / 12%);
            backdrop-filter: blur(1.6px);
            border: 1px solid rgb(163 121 121 / 45%);
            box-shadow: inset 0.4rem 0.5rem 0.3rem 0 rgb(253 142 142 / 50%), inset -0.3rem -0.4rem 0.7rem 0 rgb(253 142 142 / 50%), 0rem 1rem 2rem 1rem rgb(139 17 17);

            .header-content {
                margin-top: 5.4rem;
                margin-bottom: 1rem;
                text-align: center;
                position: relative;
                z-index: 10;

                .main-title {
                    color: white;
                    font-size: 1.875rem;
                    font-weight: 900;
                    text-transform: uppercase;
                    letter-spacing: -0.025em;
                    line-height: 1.1;
                    margin-bottom: 1rem;
                    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2), 0 2px 5px rgba(0, 0, 0, 0.5);
                    @media (min-width: 768px) {
                        font-size: 1.8rem;
                    }
                }

                .divider {
                    height: 1px;
                    width: 150px;
                    background-color: rgba(255, 255, 255, 0.3);
                    margin: 1rem auto;
                }

                .sub-title {
                    color: white;
                    font-size: 1.25rem;
                    font-weight: 400;
                    text-transform: uppercase;
                    letter-spacing: 0.4em;
                    opacity: 0.9;
                    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2), 0 2px 5px rgba(0, 0, 0, 0.5);
                    @media (min-width: 768px) {
                        font-size: 1rem;
                    }
                }
            }

            .button-grid {
                display: grid;
                grid-template-columns: 1fr;
                gap: 2rem;
                width: 100%;
                max-width: 672px;
                padding: 0 1rem;
                position: relative;
                z-index: 10;
                @media (min-width: 768px) {
                    grid-template-columns: repeat(2, 1fr);
                }

                .button {
                    background: rgba(255, 255, 255, 0.1);
                    backdrop-filter: blur(10px);
                    border: 1px solid rgba(255, 255, 255, 0.4);
                    border-top: 2px solid rgba(255, 255, 255, 0.7);
                    border-radius: 25px;
                    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    color: white;
                    font-weight: 800;
                    text-align: center;
                    height: 100px;
                    text-decoration: none;
                    font-size: 1rem; 
                    letter-spacing: 0.1rem;
                    box-shadow: 0 0.3rem 1rem 0 rgb(97 0 0);
                    @media (min-width: 768px) {
                        font-size: 1.2rem;
                    }

                    &:hover {
                        background: rgba(255, 255, 255, 0.2);
                        transform: translateY(-5px);
                        border-top: 2px solid rgba(255, 255, 255, 1);
                        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
                    }
                }

            }
        }
    }
}