/*Media Query Start*/

@media only screen and (min-width: 1366px) and (max-width: 1590px) {
    .footer-newsletter h2 {
    font-size: 20px;
}

.footer-newsletter .theme-btn-1 {
    padding: 20px 25px;
}
ul.casadi-logos li a span {
    margin-left: 0;
}
.contact-card {
    padding: 20px;
}
}

@media only screen and (min-width: 1200px) and (max-width: 1365px) {
    div#newsletter {
    margin-left: -50px;
}
ul.casadi-logos li a span {
    margin-left: 0;
}
.contact-card {
    padding: 20px;
}
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .banner_img img {
        width: 50%;
    }
    .main_slider {
        padding-top: 0;
    }

    .about-img img {
        height: 345px;
    }

    .about-video {
        height: 500px;
    }

    .about-sec {
        padding: 50px 0;
    }

    .logo-box-1 {
        height: 300px;
    }

    .logo-box-3 {
        gap: 0px;
    }

    .logo-box-4 .theme-btn-1 {
        padding: 20px;
    }

    .join-box h2 {
        font-size: 28px;
    }

    .join-box ul li a {
        width: 70px;
        height: 70px;
    }

    .video-box .about-video {
        height: 400px;
    }

    .video-box h6 {
        font-size: 20px;
    }

    .video-sec {
        padding: 60px 0;
    }

    .footer-newsletter h2 {
        font-size: 20px;
    }

    div#newsletter {
        margin-left: -20px;
    }

    .footer-newsletter .theme-btn-1 {
        padding: 16px;
    }
    .accademy-content h2 {
        font-size: 60px;
    }

    ul.casadi-logos li a span {
        margin-left: 0;
    }

    .academy-overview {
        padding: 50px 0;
    }
    .event-media-sec {
        padding: 60px 0;
    }
    .pfs-podcast-sec {
        padding: 60px 0;
    }
    .contact-sec {
        padding: 60px 0;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .main_slider {
        padding: 50px 0;
    }

    .banner_img img {
        width: 50%;
        height: auto;
    }

    .banner_img {
        height: auto;
    }

    .about-img img {
        height: 350px;
    }

    .about-video {
        height: 500px;
    }

    .about-sec .row {
        row-gap: 30px;
        justify-content: center;
    }

    .about-sec {
        padding: 50px 0;
    }

    .logo-box-1 {
        height: auto;
    }

    .custom-row-space {
        margin-top: 0;
    }

    .logo-box-3 img {
        height: auto;
    }

    .logo-box-3 {
        gap: 20px;
    }

    .custom-row-space .col-xl-4.col-lg-4.col-md-4 {
        width: 50%;
        margin-left: 0;
    }

    section.logo-sec .row {
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }

    section.logo-sec .row .logo-box-4 {
        margin: -300px 0 0 0;
    }

    .video-sec {
        padding: 50px 0;
    }

    .join-box ul li a {
        width: 60px;
    }

    .video-box .about-video {
        height: 300px;
    }

    .video-box h6 {
        font-size: 17px;
        line-height: 28px;
    }

    .video-box h4 {
        margin-top: 30px !important;
    }

    .footer-sec .col-lg-3 {width: 33.3%;}

    .footer-sec .col-lg-3.col-md-4.col-12:last-child {
        width: 100%;
        text-align: center;
        margin: 40px 0 0 0;
        border-top: 1px solid #767676;
        padding-top: 30px;
    }

    .copy-right-sec {
        margin-top: 10px;
    }

    .footer-quick-link {
        margin-left: 20px;
    }
    .academy-overview {
        padding: 50px 0;
    }

    .academy-right-logo img {
        width: 50%;
    }

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

    ul.casadi-logos li a span {
        margin-left: 0;
        font-size: 16px;
    }
    .event-media-sec {
        padding: 40px 0;
    }
    .pfs-podcast-sec {
        padding: 50px 0;
    }

    .pfs-podcast-content.text-center h3 {
        font-size: 40px;
    }
    .soon {
        font-size: 70px;
    }
    .pfs-book-sec {
        padding-bottom: 30px;
    }
    .contact-sec {
        padding: 50px 0;
    }

    .contact-card {
        height: auto;
        margin-bottom: 20px;
    }

    .contact-image img {
        width: 100%;
        margin-bottom: 20px;
    }
}
@media only screen and (min-width: 0px) and (max-width: 767px) {
    .menu-trigger {
        width: 38px;
        height: 15px;
    }
    .header-video {
        width: 50px;
        height: 50px;
    }
    .header-right img {
        width: 30%;
    }
    .banner_img {
        height: auto;
    }
    .main_slider {
        padding-top: 10px;
    }
    .banner_img img {
        width: 70%;
    }
    .about-img img {
        height: auto;
    }
    .about-img {
        margin-bottom: 40px;
    }
    .logo-box img {
        width: 80%;
    }
    .footer-logo img {
        width: 60%;
        margin: 0 auto;
        display: block;
    }
    .footer-sec {
        padding-top: 60px;
        border-top: 1px solid #fff;
    }
    .footer-quick-link {
        margin-left: 0;
        margin-bottom: 30px;
        text-align: center;
    }
    .footer-quick-link ul li a {
        margin-bottom: 15px;
        font-size: 15px;
    }
    .footer-logo {
        height: auto;
        margin-bottom: 50px;
    }
    .footer-contact {
        text-align: center;
        margin-bottom: 30px;
    }
    .footer-contact ul {
        text-align: center;
    }
    .footer-contact ul li a {
        justify-content: center;
    }
    .footer-newsletter {
        text-align: center;
    }
    .accademy-content h2 {
        font-size: 40px;
    }
    .event-media-content.text-center h3 {
        font-size: 37px;
    }
    .pfs-podcast-content.text-center H3 {
        font-size: 31px;
    }
    .soon {
        font-size: 62px;
        margin: 20px 0;
    }
    .video-box h6 {
        font-size: 18px;
    }
    .join-box {
        margin-bottom: 60px;
        padding-top: 0;
    }
    .join-box ul li a {
        width: 60px;
    }
    .join-box h2 {
        font-size: 30px;
    }
    .logo-box-4 {
        margin-top: 40px;
    }
    .logo-box-4 img {
        width: 70%;
    }
    .logo-box-3 img {
        height: 210px;
    }
    .logo-box-2 img {
        height: 230px;
        object-fit: contain;
        margin-bottom: 40px;
    }
    .custom-row-space {
        margin-top: 10px;
    }
    .logo-box-1 {
        height: auto;
    }
    .logo-box-1 img {
        height: 230px;
        object-fit: contain;
    }
    .about-sec {
        padding: 60px 0;
    }
    .about-video {
        margin-bottom: 40px;
    }
    .about-img-1 h2 {
        font-size: 30px;
    }
    .contact-card {
        height: auto;
        margin-bottom: 20px;
    }

    .contact-image img {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media only screen and (min-width: 0px) and (max-width: 519px) {
    .menu-trigger {
        width: 38px;
        height: 15px;
    }
    .header-video {
        width: 50px;
        height: 50px;
    }
    .header-right img {
        width: 30%;
    }
    .banner_img {
        height: auto;
    }
    .main_slider {
        padding-top: 10px;
    }
    .banner_img img {
        width: 70%;
    }
    .about-img img {
        height: auto;
    }
    .about-img {
        margin-bottom: 40px;
    }
    .logo-box img {
        width: 80%;
    }
    .footer-logo img {
        width: 60%;
        margin: 0 auto;
        display: block;
    }
    .footer-sec {
        padding-top: 60px;
        border-top: 1px solid #fff;
    }
    .footer-quick-link {
        margin-left: 0;
        margin-bottom: 30px;
        text-align: center;
    }
    .footer-quick-link ul li a {
        margin-bottom: 15px;
        font-size: 15px;
    }
    .footer-logo {
        height: auto;
        margin-bottom: 50px;
    }
    .footer-contact {
        text-align: center;
        margin-bottom: 30px;
    }
    .footer-contact ul {
        text-align: center;
    }
    .footer-contact ul li a {
        justify-content: center;
    }
    .footer-newsletter {
        text-align: center;
    }
    .footer-newsletter .theme-btn-1 {
        padding: 20px 20px;
    }
    .video-box h6 {
        font-size: 18px;
    }
    .join-box {
        margin-bottom: 60px;
        padding-top: 0;
    }
    .join-box ul li a {
        width: 60px;
    }
    .join-box h2 {
        font-size: 30px;
    }
    .logo-box-4 {
        margin-top: 40px;
    }
    .logo-box-4 img {
        width: 70%;
    }
    .logo-box-3 img {
        height: 210px;
    }
    .logo-box-2 img {
        height: 230px;
        object-fit: contain;
        margin-bottom: 40px;
    }
    .custom-row-space {
        margin-top: 10px;
    }
    .logo-box-1 {
        height: auto;
    }
    .logo-box-1 img {
        height: 230px;
        object-fit: contain;
    }
    .about-sec {
        padding: 60px 0;
    }
    .about-video {
        margin-bottom: 40px;
    }
    .about-img-1 h2 {
        font-size: 30px;
    }

    .academy-left-logo img {
        width: 100%;
    }

    .academy-left-logo {
        width: 100%;
    }

    ul.casadi-logos {flex-wrap: wrap;justify-content: flex-start !important;gap: 0;}

    ul.casadi-logos li {
        justify-content: flex-start;
        text-align: left;
    }

    ul.casadi-logos li a span {
        font-size: 20px;
        margin-left: 10px;
    }

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

    ul.episodes-list li h4 {
        font-size: 20px;
    }

    .accademy-content p {
        font-size: 18px;
    }
    .event-media-sec {
        padding: 60px 0;
    }

    .event-media-content p {
        font-size: 18px;
    }
    .f-24 {
        font-size: 17px;
        line-height: 25px;
    }
}



/*Media Query End*/