@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #ffffff;
}

.main-sliding-container {
    background: #ffffff;
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
}

.form-side {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    transition: all 0.7s cubic-bezier(0.645, 0.045, 0.355, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    background: white;
}

.family-side { right: 0; z-index: 1; opacity: 1; }
.student-side { left: 0; z-index: 2; opacity: 1; }

.main-sliding-container .family-side { transform: translateX(0); z-index: 5; opacity: 1; }
.main-sliding-container .student-side { transform: translateX(0); z-index: 1; opacity: 0; }

.main-sliding-container.active .family-side { transform: translateX(0); z-index: 1; opacity: 0; }
.main-sliding-container.active .student-side { transform: translateX(0); z-index: 5; opacity: 1; }

.sliding-panel-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.7s cubic-bezier(0.645, 0.045, 0.355, 1);
    z-index: 100;
}

.main-sliding-container.active .sliding-panel-container { transform: translateX(0); }
.main-sliding-container:not(.active) .sliding-panel-container { transform: translateX(-100%); }

.sliding-panel {
    background: linear-gradient(135deg, #020335 0%, #040669 100%);
    height: 100%; width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-custom-effect {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #020335 0%, #040669 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 25px 50px -10px rgba(4, 6, 105, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-custom-effect::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-25deg);
    transition: none;
}

.btn-custom-effect:hover { transform: scale(1.1); }
.btn-custom-effect:hover::before { animation: shine-effect 0.8s forwards; }
.btn-custom-effect span { position: relative; z-index: 10; }

@keyframes shine-effect {
    0% { left: -150%; }
    100% { left: 150%; }
}

.btn-ghost-white {
    background: transparent !important;
    border: 5px solid #ffffff !important;
    color: white !important;
    padding: 30px 90px;
    border-radius: 30px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 22px;
    letter-spacing: 3px;
}

.btn-ghost-white:hover {
    background: white !important;
    color: #040669 !important;
}

.social-icons-wrapper {
    margin-top: 60px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.social-btn {
    font-size: 50px;
    color: #040669b3;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.social-btn:hover {
    color: #040669;
    transform: translateY(-10px) scale(1.2);
}

.text-custom-blue { color: #040669; }

@media (max-width: 1024px) {
    body { overflow-y: auto !important; height: auto; }
    .main-sliding-container { flex-direction: column; height: auto; }

    .form-side {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        padding: 60px 5% !important;
        display: none;
        transform: none !important;
    }

    .main-sliding-container:not(.active) .family-side { display: flex !important; opacity: 1 !important; }
    .main-sliding-container.active .student-side { display: flex !important; opacity: 1 !important; }

    .container-back-btn {
        top: 20px !important;
        left: 20px !important;
        z-index: 1000;
    }

    .container-back-btn a {
        padding: 10px !important;
        border-radius: 12px !important;
    }

    .container-back-btn svg {
        width: 22px !important;
        height: 22px !important;
    }

    .student-content-wrapper {
        margin-top: 40px !important;
    }

    .sliding-panel-container {
        position: relative !important;
        left: 0 !important;
        width: 100% !important;
        height: 380px !important;
        transform: none !important;
        order: -1;
    }

    .btn-ghost-white { padding: 15px 40px !important; font-size: 16px !important; border-width: 3px !important; }

    .social-icons-wrapper {
        gap: 20px !important;
        margin-top: 30px !important;
    }

    .social-btn { font-size: 35px !important; }

    .footer-links {
        white-space: normal !important;
        text-align: center;
        flex-direction: column;
        gap: 10px !important;
    }
}
