﻿/*---------------- CSS for mobile 600 and below ---------------- */
@media screen and (max-width: 600px) {

    button.btn-close.teamMemberModal {
        position: absolute;
        right: 0;
        top: 0;
    }
    img.teamGalleryImage {
        height: 200px;
    }
    
    .contactDiv.verticleDIv {
        flex-direction: column;
    }

    p.pointText {
        font-size: 16px;
    }
    
    .dNoneMobile {
        display: none;
    }
    
    .infoRightDiv.fullWidthDiv.videoDiv {
        height: auto;
    }
    
    
    .dateAndTime {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .dateAndTime {
        max-width: none;
        text-align: center;
    }
    .registerDiv {
        flex-direction: column;
    }
    
    
    .modal-contentPageLoad { 
        flex-direction: column;
    }


    .modalImageDiv {
        display: flex !important;
        max-width: none;
    }
    .modal-description {
        max-height: 200px;
        overflow: scroll;
        overflow-x: hidden;
    }

    .contactDiv.margin-top-contact {
        margin: 0;
    }


    .contactDetailsMain {
        max-height: none;
    }

    .contactDiv {
        display: flex;
        justify-content: center;
    }

    .contactDetailsMain {
        display: flex;
        align-items: center;
        align-content: center;
    }


    .swiper-slide.teamGalleryItem {
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
        max-height: 350px;
        width: 100%;
        max-width: 100%;
    }

    section.sectionGallery {
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    p.approachTextHeading {
        font-size: 26px;
        line-height: 1.3;
    }

    .approachRightDiv.approachNewRightDiv {
       height: auto;
    }

    section.sectionStatsGreen {
        padding: 60px 20px;
        
    }

    section.sectionAbout {
        padding: 60px 20px;
    }


    section.sectionTeamMembers1 {
        
        padding: 60px 20px;
        
    }

    .bulletPoint {
        width: 34px !IMPORTANT;
        height: 5px !important;
        background: #6c9d40;
        border-radius: 100px;
        max-width: 5px;
        margin-top: 11px;
    }

    .pointnDiv {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
    }

    a.primaryButton.insideCard {
        padding: 10px;
    }


    .cardBottomDiv a {
        font-size: 12px;
    }

    .col-5 {
        flex: 0 0 auto;
        width: 100%;
    }

    .sideDiv.col-3 {
        width: 100%;
    }

    .serviceInnerSection {
        padding: 20px;
    }

    section.sectionServicesMain {
        padding: 20px 20px;
    }

    .card.col-4 {
        width: 100% !important;
    }

    section.sectionListiing {
        padding: 60px 20px;
    }
    

    .mainContainer.horizontalDiv {
        flex-direction: column;
        justify-content: center;
    }

    .card-body.events {
        min-height: auto;
    }

    .stickyDivMain {
        display: none;
    }

    .modalImageDiv {
        display: none;
    }

    .modalPageLoad {
       
        padding: 25% 20px;
    }


    .center-container {
        
        gap: 30px;
    }


    section.sectionSuccessStories.singlePage {
        padding: 40px 20px;
    }

    section.sectionStats {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        padding: 40px 20px;
        background: #f5f5f5;
    }

    section.sectionSuccessStories {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        padding: 60px 20px;
        gap: 30px;
        background: #f5f5f5;
    }

    section.sectionParagraph {
        padding: 60px 20px;
    }

    .storyLeftDiv {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: flex-start;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
        max-width: none;
        width: 100%;
    }

    .storyImageDiv {
        max-width: none;
        display: flex;
        align-content: center;
        justify-content: center;
        border-radius: 10px;
        overflow: hidden;
        max-height: 500px;
        width: auto;
    }

    .storyImageDiv img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .successStoryMainCard {
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: space-between;
        align-items: flex-start;
        gap: 30px;
        max-width: 1280px;
        width: 100%;
        background: white;
        border-radius: 15px;
        padding: 20px;
    }

    section#registration {
        padding: 60px 20px;
    }

    .contactLeftDiv {
        gap: 20px;
    }

    .stickyLinksMain.team {
        display: none;
    }

    .headingDiv.services {
        display: flex;
        align-items: flex-start;
    }
    .successStoryMainCard.eventsBanner {
        padding: 40px 20px;
    }


    /* .swiper-button-next, .swiper-button-prev {
        display: none !IMPORTANT;
    } */

    section.sectionReview {
        display: flex;
        justify-content: center;
        align-items: center;
        align-content: flex-start;
        flex-direction: column;
        flex-wrap: nowrap;
        background: #f5f5f5;
        padding: 60px 20px;
    }

    .reviewBodyDiv {
        display: flex;
        align-content: center;
        justify-content: center;
        background: white;
        border-radius: 15px;
        padding: 20px;
        font-size: 16px;
        position: relative;
    }

    .reviewByMainDiv {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        padding-left: 25px;
    }

    .triangleDown {
        width: 0;
        height: 0;
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-top: 20px solid white;
        position: absolute;
        bottom: -20px;
        left: 40px;
    }

    .approachRightDiv {
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
        max-width: none;
        border-radius: 10px;
        overflow: hidden;
        max-height: 250px;
    }

    .approachMainDiv {
        display: flex;
        width: 100%;
        align-content: center;
        justify-content: center;
        align-items: center;
        padding: 40px 20px;
    }


    section.sectionContact {
        padding: 60px 20px;
    }

    h4.heading4 {
        font-size: 32px;
        font-weight: 500;
        margin: 5px;
    }

    .contactDetailsMain {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: center;
        align-items: flex-start;
        gap: 25px;
    }

    .approachLeftDiv {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: flex-start;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
        max-width: none;
        width: 100%;
    }

    .approachTextDiv {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: flex-start;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 10px;
    }

    .approachMainInner {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        max-width: 1280px;
        width: 100%;
        gap: 40px;
    }

 
    .contactDiv {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        gap: 15px;
        max-width: none;
        width: 100%;
    }

    section.sectionOffices, section.sectionBlogs {
        padding: 60px 20px;     
    }

    .counter-box.teamPage {
        width: auto;
    }

    .statsMainDiv {
        flex-direction: column;
    }



    section.sectionNumbers {
        padding: 0px 20px 0;
    }


    .card-body h4 {
        min-height: auto;
    }

    .sectionNumbersDivRight {
        gap: 30px;
       
    }

    .servicesCardMain {
        flex: 1 1 100%;
    }


    .servicesCardMain {
        min-height: 250px;
    }

    h3.servicesCardTitle {
        font-size: 28px;					
    }
   
    .navbarSection {
        padding: 10px 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }


    section.sectionOffices {
        background-color: #f3f3f3;
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex-wrap: wrap;
        padding: 60px 20px;
        gap: 40px;
    }

    .office_card.col-3 {
        width: 100%;
    }

    .cardBottomDiv {
        margin-top: 20px;
    }

    p.locationAddress {
        min-height: auto;
    }

    .officeMainDiv {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-start;
        max-width: 1280px;
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    .footerSubscribeDivMain {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: flex-start;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 5px;
        max-width: none;
    }

    .footerMiddleDivMain {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: flex-start;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 60px;
    }

    .footerUpperDivMain {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 1280px;
        width: 100%;
        justify-content: space-between;
        align-items: flex-start;
        align-content: flex-start;
        gap: 40px;
        margin-bottom: 0;
    }



    .whyFoundationCard {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        padding: 32px 0;
    }


    .modal-contentPageLoad {
        padding: 32px 20px 20px;
    }
       
    

    a.primaryButton.insideCard {
        font-size: 13px;
    }


    section.sectionFooterBottom {
        background: #444;
        color: white;
        font-size: 16px;
        padding: 40px 20px 20px;
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 20px;
    }

    .whyFoundationCard.col-4 {
        width: 100%;
    }

    section.sectionWhyFoundation {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-content: center;
        align-items: center;
        flex-wrap: nowrap;
        background: #F5F5F5;
        padding: 60px 20px;
    }

    .whyFoundationMainDiv {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        align-content: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        row-gap: 20px;
    }

    section.sectionFoundationInNumbers {
        padding: 60px 20px;
    }

    section.sectionServices {
      
        padding: 60px 20px;
    }


    .slide-heading {
        
        font-size: 26px;
        line-height: 32px;
        max-width: 200px;
        color: white;
        font-weight: 700;
        
    }
    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 30px;
    }


    /* about-video-sec */
    .sec-about{
      padding:40px 20px;

    }
    .modal-dialog {
        max-width: 400px;}


    .about-container {
    gap: 20px;
    }



    .video-logo {
        border-radius: 50px;
        width: 50px;
        height: 50px;
        padding: 16px;
    }

        .video-logo img {
        width: 30px;
        height: 30px;
    }
      
    .modal-body iframe {
        height: 200px;
    }

    /* counter-sec */


    .counter-leftside {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .counter-box {
    width:100%;

    }
    .student-success{
      padding:40px 20px;

    }

    .title {
        font-size: 24px;
        line-height: 32px;
    }


    .stickyLinksMain {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        gap: 2px;
        max-width: 900px;
        width: 100%;
        position: sticky;
        top: 100px;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
        z-index: 100;
    }


    .contactDiv {
        display: flex;
        justify-content: center;
    }

    .contactDetailsMain {
        display: flex;
        align-items: center;
        align-content: center;
    }


}


@media screen and (max-width: 767px) and (min-width: 601px) {
   

    section.sectionContact {
        padding: 60px 20px;
    }



    .approachLeftDiv {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: flex-start;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
        max-width: none;
        width: 100%;
    }
    
    .office_card.col-3 {
        width: 100%;
    }

    .stickyDivMain {
        display: none;
    }


    .stickyLinksMain {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        gap: 2px;
        max-width: 900px;
        width: 100%;
        position: sticky;
        top: 100px;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
        z-index: 100;
    }


    .storyLeftDiv {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: flex-start;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
        max-width: none;
        width: 100%;
    }

    .storyImageDiv {
        max-width: none;
        display: flex;
        align-content: center;
        justify-content: center;
        border-radius: 10px;
        overflow: hidden;
        max-height: 500px;
        width: auto;
    }

    .storyImageDiv img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .successStoryMainCard {
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: space-between;
        align-items: flex-start;
        gap: 60px;
        max-width: 1280px;
        width: 100%;
        background: white;
        border-radius: 15px;
        padding: 40px;
    }
}