﻿@media (max-width: 1200px) {
    p, ul li, ol li {
        font-size: 16px;
        line-height: 21px;
    }

    h3 {
        font-size: 20px;
        line-height: 25px;
    }

    h2 {
        font-size: 28px;
        line-height: 35px;
    }



    .footer-up {
        justify-content: space-between;
        justify-items: stretch;
        display: flex;
        gap: 25px;
        padding: 25px 0;
        flex-direction: column;
    }

    h1 {
        font-size: 37px;
        line-height: 45px;
    }

    .nav {
        gap: 15px;
    }
    .nav-link {
        font-size: 14px;
    }
}

@media (max-width: 1023px) {
    .col-2 {
        flex-direction: column;
        row-gap: 25px;
    }

        .col-2 div {
            max-width: 100%;
            width: 100%
        }

        .col-2 .max-70 {
            width: 100%;
            max-width: 100%;
        }

    .reverse {
        flex-direction: column-reverse;
    }

    .pc {
        display: none;
    }

    .mob {
        display: block;
        margin: auto;
    }
    /* ─────────────── BASE (desktop) ─────────────── */
    .menu-toggle {
        display: none; /* shown only on mobile via media query */
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
    }

        .menu-toggle span {
            display: block;
            width: 24px;
            height: 3px;
            margin: 5px 0;
            background: var(--greenbg);
            transition: transform 0.3s, opacity 0.3s;
            transform-origin: center;
        }

        /* MORPH TO “X” */
        .menu-toggle.open span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .menu-toggle.open span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.open span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }


    /* ─────────────── MOBILE STYLES ─────────────── */

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--greybg);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
    }

        .mobile-nav.open {
            max-height: 500px; /* enough to show all items */
        }

        .mobile-nav .nav-link {
            padding: 0.75rem 1.5rem;
            border-top: 1px solid #e0e0e0;
        }

    .register-now {
        position: fixed;
        bottom: 0;
        text-align: center;
    }
}


@media (max-width: 767px) {
    p, ul li, ol li {
        font-size: 14px;
        line-height: 18px;
    }

    h3 {
        font-size: 17px;
        line-height: 21px;
    }

    h2 {
        font-size: 22px;
        line-height: 28px;
    }

    .section {
        padding: 30px 0;
    }

    .copy {
        flex-wrap: wrap;
    }

    .footer-link {
        font-size: 14px;
        line-height: 20px;
    }

    h1 {
        font-size: 30px;
        line-height: 36px;
    }

    .faq-question {
        font-size: 14px;
    }

    .register-now {
        left: 0;
        right: 0;
    }

    .greenbg {
        margin-bottom: 47px;
    }
}
