/* Enroll Page Redesign */
.enroll-page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: center;
}

.enroll-hero {
    animation: fadeIn 1s ease-out;
}

.enroll-title {
    font-size: 72px;
    font-weight: 800;
}

.enroll-brand-logo {
    height: 20px;
    width: auto;
}

.enroll-welcome {
    font-size: 24px;
    color: black;
    line-height: 1.5;
}

.enroll-instructions {
    font-size: 18px;
    color: black;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.enroll-instructions strong {
    color: var(--primary-green);
}

.enroll-visual {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
}

.pointing-hand {
    width: 60px;
    height: 60px;
    color: #000;
    transform: rotate(-90deg);
    /* Pointing right */
    animation: pointRight 1.5s ease-in-out infinite;
}

.ciic-gif {
    max-width: 200px;
    border-radius: 20px;
}

.ciic-bubble-container {
    position: absolute;
    top: 200px;
    left: 54%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
}

.ciic-bubble {
    background: var(--primary-green);
    padding: 15px 25px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    opacity: 0;
    position: relative;
    animation: floatBubble 3s ease-in-out infinite;
}

.ciic-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes floatBubble {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pointRight {

    0%,
    100% {
        transform: rotate(-270deg) translateX(0);
    }

    50% {
        transform: rotate(-270deg) translateX(15px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   RESPONSIVE STYLES FOR ENROLLMENT PAGE
   ========================================= */

@media (max-width: 768px) {
    .enroll-page-container {
        padding: 90px 20px;
    }

    .enroll-title {
        font-size: 48px;
    }

    .enroll-brand-logo {
        height: 16px;
    }

    .enroll-welcome {
        font-size: 20px;
    }

    .enroll-instructions {
        font-size: 16px;
        padding: 0 10px;
    }

    .enroll-visual {
        margin-top: 35px;
        gap: 25px;
    }

    .pointing-hand {
        width: 50px;
        height: 50px;
    }

    .ciic-gif {
        max-width: 180px;
    }

    .ciic-bubble-container {
        top: 180px;
        left: 52%;
    }

    .ciic-bubble {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 425px) {
    .enroll-page-container {
        padding: 80px 15px;
    }

    .enroll-title {
        font-size: 36px;
    }

    .enroll-brand-logo {
        height: 14px;
    }

    .enroll-welcome {
        font-size: 18px;
    }

    .enroll-instructions {
        font-size: 15px;
        max-width: 100%;
    }

    .enroll-visual {
        gap: 20px;
        flex-direction: column;
    }

    .pointing-hand {
        width: 45px;
        height: 45px;
        transform: rotate(-270deg);
        /* Point down on mobile */
    }

    .ciic-gif {
        max-width: 160px;
    }

    .ciic-bubble-container {
        position: static;
        transform: none;
        margin-top: 15px;
    }

    .ciic-bubble {
        padding: 10px 18px;
        font-size: 13px;
    }
}