@media screen and (min-width:1690px) and (max-width:1920px) {
    .dl-pausevid__vid {
        width: 28%;       
    }
}

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

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

@media screen and (max-width:1024px) {
    .main-content {
        /* left: 3%; */
    }

    .philosophy-item {
        min-height: 545px;
    }

    .pillars-item1 .pillar-icon {
        top: 25px;
    }

    table.tbl-support td:first-child {
        /* width: 45%; */
    }

    .ft-nav ul {
        flex-wrap: wrap;
    }

    .ft-nav ul li {
        padding-right: 5px;
    }

    .dl-pausevid__vid {
        width: 40%;       
    }

    .results-item-text {
        min-height: 302px;
    }
}

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

    .philosophy-item {
        min-height: 570px;
    }

    .pillars-item1 .pillar-icon {
        width: 130px;
    }

    .pillars-item2 .pillar-icon {
        right: -30px;
        width: 84px;
    }
    

    table.tbl-support td {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }
    
    table.tbl-support td:last-child {
        margin-bottom: 0;
    }

    .ft-nav ul {
        flex-direction: column;
    }

    .ft-nav ul li {
        width: 100%;
        margin-bottom: 10px;
        border-right: none;
    }    

    .dl-pausevid__vid {
        width: 50%;       
    }

    .results-item-text {
        min-height: 360px;
    }
}

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

    .philosophy-item {
        min-height: 592px;
    }

    .philosophy-item-text p {
        text-align: center;
    }

    .results-item-text h3 {
        font-size: 19px;
    }

    /* Fix text wrapping for Contact Form 7 labels */
    .wpcf7-list-item-label {
        font-size: 14px;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
        max-width: 100%;
    }
    
    .wpcf7-list-item {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .wpcf7-checkbox .wpcf7-list-item {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    
    .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] {
        margin-right: 10px;
        margin-top: 3px;
        flex-shrink: 0;
    }

    .form-group .required {
        margin-right: 28%;
    }

    .form-group .norequired {
        margin-right: 28%;
    }

    .blog-title {
        display: block;
    }

    .results-item-text {
        min-height: 390px;
    }

    .ft-logo img {
        max-width: 100%;
    }
}

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

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

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

    .philosophy-item {
        width: 100%;
        min-height: auto;
    }

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

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

    .results-item {
        width: 100%;       
    }

    .results-item-text {
        min-height: auto;
        padding: 20px 15px;
    }

    .results-item p {
        margin-bottom: 0;
    }

    .pillars-item1 .pillar-icon {
        width: 115px;
        top: 57px;
        left: -50px;
    }

    .pillar-left {
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    .pillar-middle {
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    .pillar-right {
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    .pillars-item p {
        text-align: left;
    }

    #pillars {
        background-image: url('../images/bg3-sp.png');
    }

    .pillars-item3 .pillar-icon {
        top: 50px;
        left: -45px;
        width: 100px;
    }

    .pillars-item4 .pillar-icon {
        top: 38px;
        width: 62px;
    }

    .pillars-item5 .pillar-icon {
        top: 20px;
        left: -33px;
        width: 60px;
    }

    .support-text {
        text-align: center;
    }

    table.tbl-support {
        display: flex;
        justify-content: center;
        padding-bottom: 20px;
    }

    .support-wrapper {
        width: 100%;
    }

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

    .support-left {
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    .support-right {
        max-width: 100%;
    }

    .blog-item {
        max-width: 100%;
        margin: 0 0 30px 0;
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .blog-organization {
        flex: none;
        margin-bottom: -20px;
    }

    .organization-logo img {
        width: 100%;
        height: auto;
    }

    .organization-text {
        font-size: 12px;
    }

    .blog-announcement {
        flex: none;
        width: 100%;
    }

    .announcement-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .announcement-title {
        margin-left: 0;
        margin-top: 10px;
        text-align: left;
    }

    .announcement-arrow {
        position: static;
        transform: none;
        text-align: right;
        margin-top: 10px;
    }

    .information-item {
        width: 100%;
    }

    .footer-left {
        max-width: 100%;
        margin: 0 0 30px 0;
    }

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

    .ft-nav {
        margin-top: 20px;
        text-align: center;
    }

    .ft-nav ul li {
        border-right: 0;
        padding-right: 0;
    }

    .ft-sns {
        text-align: center;
    }

    .ft-logo img {
        max-width: 200px;
        margin: 0 auto;
        display: block;
    }

    .copyright {
        text-align: center;
    }

    .main-video {
        height: 500px;
        object-fit: cover;
    }

    .organization-text-wrapper {
        width: 100%;
    }

    .dl-pausevid__vid {
        width: 48%;       
    }

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

    .sp-none {
        display: none;
    }

    #support {        
        background-image: url('../images/bg4-sp.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        min-height: 520px;
    }

    .support-left-img {
        height: 385px;
    }

    .organization-btn {
        text-align: center;
    }

    .support-btn {
        text-align: center;
    }

    .btn-submit {
        margin: 20px auto 0;
    }
   
    .form-group .required {
        margin-right: 0;
        float: none;
        margin-left: 12px;
    }

    .form-group .norequired {
        margin-right: 0;
        float: none;
        margin-left: 12px;
    }

    span.norequired.required-select {
        position: relative;
        top: -25px;
        left: 116px;
    }

    table.tbl-support td {
        padding: 15px 30px;
        width: 80vw;
        text-align: center;
    }


}

@media screen and (max-width:376px) {
    table.tbl-support td {
        width: 80vw;
        text-align: center;
    }
}

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

    .pillars-item {
        width: 100%;
    }
    
    .pillars-item .pillar-icon {
        display: none;
    }

    .dl-pausevid__vid {
        width: 58%;       
    }
}

/* 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%;
    }
    
    /* Checkbox responsive styling */
    .wpcf7-list-item {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .wpcf7-list-item-label {
        font-size: 14px;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Ensure checkbox container allows wrapping */
    .wpcf7-checkbox .wpcf7-list-item {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    
    .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] {
        margin-right: 10px;
        margin-top: 3px;
    }
}