@media screen and (max-width: 1400px) {
    .hb_left h1 {
        font-size: 42px !important;
        line-height: 42px !important;
    }
    .hb_left p {
        font-size: 20px !important;
        line-height: 26px !important;
    }
}
@media screen and (max-width: 1366px) {
    .about .hb_left h1 {
        font-size: 32px !important;
        line-height: 32px !important;
    }
    .about .hb_left p {
        font-size: 18px !important;
        line-height: 22px !important;
    }
}
@media screen and (max-width: 1200px) {
    .quotes-carousel .controls button.prev {
        margin-left: 0;
    }
    .quotes-carousel .controls button.next {
        margin-right: 0;
    }
}

@media screen and (max-width: 992px) {
    section.header_baner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 112px;
    }
    .hb_left,
    .hb_right {
        display: block;
        width: 100%;
        padding: 0;
    }
    .hb_left h1 {
        font-size: 36px !important;
        line-height: 36px !important;
    }
    .hb_left h1 small {
        font-size: 22px !important;
    }
    .hb_left p {
        font-size: 18px !important;
        font-weight: 400 !important;
    }
    .hb_right img {
        max-width: 640px;
        margin: 16px auto;
    }

    section.header {
        position: fixed;
        top: 0;
        left: 0;
        height: 80px;
        background: #fff;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
        padding: 0 32px;
        z-index: 999;
    }
    section.header .header_logo a img {
        width: 200px;
    }
    section.header .header_menu ul li {
        margin-left: 16px;
    }
    section.header .header_menu ul li a {
        padding: 16px 24px;
        font-size: 16px;
        line-height: 16px;
        letter-spacing: 0;
    }

    section > h2 {
        padding: 24px;
        font-size: 24px;
        line-height: 24px;
        width: 350px;
    }
    .schedule-calendar {
        width: 100%;
        max-width: 500px;
    }

    section.agenda {
        padding: 32px 16px;
    }
    .agenda-container {
        padding-top: 48px;
    }
    .agenda-container > p {
        max-width: none;
        padding: 0 16px;
        font-size: 20px;
        line-height: 24px;
    }
    .agenda-container > p.subtext {
        font-size: 16px;
        line-height: 20px;
        margin-top: 16px;
        margin-bottom: 32px;
    }
    .agenda-container .agenda-details li {
        flex-direction: column;
    }
    .agenda-container .agenda-details li .hours {
        margin: 16px 0 16px 32px;
    }
    .agenda-container .agenda-details li .description {
        width: calc(100% - 64px);
        margin: 0 auto;
        max-width: none;
    }

    .footer {
        padding: 32px;
    }
    .footer .footer-row {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .footer-row .fr-left,
    .footer-row .fr-right {
        width: 100%;
        padding: 16px;
    }
    .footer-row .fr-left > a img {
        margin: 0 auto;
    }
    .footer-row .fr-right form {
        margin: 16px auto;
    }
    
    .join-form { padding: 0 32px; }
    
}

@media screen and (max-width: 768px) {
    section.header .header_menu {
        display: none;
    }
    .about-bottom-navi {
        padding: 16px;
    }
    .about-bottom-navi ul li {
        margin: 0 8px;
    }
    .about-bottom-navi ul li a {
        padding: 16px 24px;
    }
}


.mobile-menu-trigger {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
    color: #7123e2;
}
.mobile-menu-trigger .hamburger {
    display: inline-block;
    width: 26px;
    height: 18px;
    position: relative;
}
.mobile-menu-trigger .line {
    position: absolute;
    height: 2px;
    width: 100%;
    left: 0;
    background: #222;
    transition: transform 0.25s, opacity 0.25s;
}
.mobile-menu-trigger .line:nth-child(1) {
    top: 0;
}
.mobile-menu-trigger .line:nth-child(2) {
    top: 8px;
}
.mobile-menu-trigger .line:nth-child(3) {
    top: 16px;
}
.mobile-menu-trigger.open .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-trigger.open .line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-trigger.open .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background: #fff;
    box-shadow: -8px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.32s ease;
    z-index: 1200;
    padding: 28px 20px;
    overflow: auto;
    font-family: "Poppins", sans-serif;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu .close-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 8px 0;
}
.mobile-menu li {
    margin: 10px 0;
}
.mobile-menu a {
    display: block;
    padding: 8px 10px;
    color: #111;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
}


@media (max-width: 900px) {
    .header_menu {
        display: none;
    }
    .mobile-menu-trigger {
        display: inline-block;
    }
    .mobile-menu-trigger span {
        font-size: 32px;
    }
}
