@media screen and (min-width:1690px) and (max-width:1920px) {

}

@media screen and (max-width:1550px) {
   
}

@media screen and (max-width:1380px) {
   
}

@media screen and (max-width:1024px) {
    
}

@media screen and (max-width:834px) {
    #main h2 img {
        height: 600px;
        object-fit: cover;
    }

    .main-content-text h2 {
        font-size: 50px;
    }

    .main-content-text p {
        font-size: 32px;
    }

    .main-content-text h3 {
        font-size: 50px;
    }

    .btn-download {
        font-size: 30px;
    }
}

@media screen and (max-width:768px) {  
    .btn-contact {
        margin: 20px auto;
    }

    .main-content-text h2 {
        font-size: 46px;
    }

    .main-content-text p {
        font-size: 30px;
    }

    .main-content-text h3 {
        font-size: 46px;
    }

    .btn-download {
        font-size: 26px;
    }

    .faq-wrap {
        width: 100%;
    }

    .author-wrapper {
        width: 100%;
    }
}

@media screen and (max-width:767px) {
    .main-content-text h2 {
        font-size: 36px;
    }

    .main-content-text p {
        font-size: 22px;
    }

    .main-content-text h3 {
        font-size: 36px;
    }

    .btn-download {
        font-size: 22px;
    }

    .introduction-text p {
        text-align: left;
    }

    .bonus-intro {
        text-align: left;
    }

    .bonus-btn {
        margin-bottom: 40px;
        text-align: center;
    }

    /* Swap column order for bonus-row1 on mobile */
    .bonus-row1 {
        display: flex;
        flex-direction: column-reverse;
    }

    .bonus-img {
        margin-bottom: 20px;
    }

    .author-img {
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    .author-text {
        max-width: 100%;
    }

    .footer-left {
        max-width: 100%;
    }

    .footer-right {
        max-width: 100%;
        border-left: none;
        padding-left: 10px;
    }     

    .introduction-img {
        width: 100%;
    }

    .introduction-img iframe {
        height: 300px;
        width: 100%;
    }

    .btn-youtube a {
        font-size: 17px;
    }

    .sp-show {
        display: inline-block;
    }

    .btn-download2 {
        display: none;
    }

    /* Show sticky buttons on mobile */
    .sticky-btn {
        display: flex;
        position: fixed;
        bottom: 10px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 0 5px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 0;
    }

    /* Add bottom padding to body to prevent content from being hidden behind sticky buttons */
    body {
        padding-bottom: 100px;
    }
}

@media screen and (max-width:376px) {
    .main-content-text p {
        font-size: 20px;
    }

    .main-content-text h3 {
        font-size: 31px;
    }

    .introduction-text h4 {
        font-size: 20px;
    }

    .author-text .author-title {
        font-size: 22px;
    }   

    .btn-youtube a {
        font-size: 13px;
    }

    .introduction-img iframe {
        height: 260px;
        width: 100%;
    }

    /* Adjust sticky buttons for very small screens */
    .sticky-btn .btn-item {
        font-size: 12px;
        padding: 10px 15px;
    }

    .sticky-btn .btn-item img {
        width: 14px;
        height: 14px;
    }
}

@media screen and (max-width:321px) {
    .main-content-text h2 {
        font-size: 32px;
    }

    .main-content-text p {
        font-size: 17px;
    }

    .main-content-text h3 {
        font-size: 26px;
    }

    .btn-download {
        font-size: 19px;
    }

    .introduction-text h4 {
        text-align: left;
    }

    .title-jp {
        font-size: 32px;
    }

    .author-item {
        padding: 20px;
    }

    .author-text .author-title {
        font-size: 21px;
    }

    .btn-youtube a {
        font-size: 10px;
    }

    .introduction-img iframe {
        height: 220px;
        width: 100%;
    }
}


/* Make the form responsive */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-group label {
        margin-bottom: 5px;
    }

    .form-group .form-control {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .contact-form {
        width: 88%;
    }

    .form-group p label {
        min-width: 100%;
    }
}
