/***** Header Css *****/

@media(max-width: 1024px) {
    .header {
        padding: 1rem 0 !important;
    }
    
    .header-logo img{
        max-width: 220px;
    }
    .sticky .header-logo img{
        max-width: 220px;
    }
    .enroll-now-button a {    
        padding: 1.8rem 2rem;
    }
    
}

@media(max-width: 992px) {
    .header__resposnive-icon {
        display: block;
    }
    .header__menu-block {
        position: fixed;
        top: 0;
        right: 0;
        background-color: var(--primary-color);
        height: 100%;
        max-width: 414px;
        width: 100%;
        right: -500px;
        display: block;        
    }

    .header__menu-block.active-menu {
        right: 0;
    }

    .header .show-mobile, .responsive-menu-close {
        display: block;
    }

    .menu-outer .main-menu {
        display: block;
        align-items: baseline;
        justify-content: flex-start;
        padding-top: 6rem;
        flex-wrap: wrap;
        overflow-y: auto;
        overflow-x: hidden;

    }

    .menu-outer .main-menu li {
        width: 100%;
        margin: 0 1.8rem;
    }

    .menu-outer .main-menu li a {
        display: inline-block;
        padding: 1rem 0;
        color: var(--white-color);
    }

    .enroll-now-button {
        width: auto;
        margin: 2rem 0 0rem 0;
        padding: 0 1.8rem;
        display: inline-block;
    }
}

/**** Footer Css ****/
@media(max-width: 992px) {
    .footer-left {
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 2rem;
    }

    .footer-copy-right {
        margin-top: 2rem;
    }
}

@media(max-width: 767px) {
    .footer-left {
        text-align: left;
    }
    .footer-left p {
        max-width: 100%;        
    }
    /* .footer-social-media {
        justify-content: var(--center);
    } */

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

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

 }

/**** Home Banner ****/
@media(max-width: 1024px) { 
    .home-banner-content .btn {
        max-width: 183px;
    }
}

@media(max-width: 992px) { 
    .home-banne-block {
        height: 500px;
    }
    .home-banner-content h3{
        font-size: 4.2rem;
    }

    .home-banner-content h1 {
        font-size: 5rem;
        line-height: 52px;
    }
}

@media(max-width: 767px) {
    .home-banne-block {
        height: 450px;
        padding: 2rem;
        background-image: none;
        position: relative;
        overflow: hidden;
    }
    .home-banne-block::after{
        content: '';
        position: absolute;
        left: -53px;
        bottom: -69px;
        background: rgba(35, 48, 141, 0.5);
        border-radius: 80px;
        transform: rotate(-8.37deg);
        width: 111%;
        height: 85%;
    }
    .home-banner-content {
        position: relative;
        z-index: 99;
    }
    .home-banner-content h3{
        font-size: 3rem;
    }
    .home-banner-content h1 {
        font-size: 4.2rem;        
        line-height: 42px;
    }
}

/**** Home Page ****/
@media(max-width: 1024px) {
    .core-values-block-img {
        max-width: 42%;       
    }
    .latest-news-item-img {
        width: 100%;
        height: 450px;
    }    

    .home-banner-content .btn {
    max-width: 183px;
    }

}
@media(max-width: 992px) {
    .take-the-first-step-block {
        display: var(--flex);
        justify-content: var(--center);
        flex-wrap: wrap;
    }
    .take-the-first-step-block-left {
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin-bottom: 4rem;
    }
    .take-the-first-step-block-right {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        text-align: center;
    }
    .take-the-first-step-block-right p {
        width: 100%;
        max-width: 100%;
        font-size: var(--font-24);
    }

    .core-values-block {
        display: var(--flex);
        justify-content: var(--center);
        flex-wrap: wrap;
    }

    .core-values-block-img {
        max-width: 100%;
        margin-bottom: 4rem;
    }
    .core-values-block-right {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
    }

    .latest-news-item-img {
        width: 100%;
        height: 340px;
    }

    .core-values-block-right h2 {
        font-size: var(--font-36);
    }
    .core-values-list-title {
        font-size: var(--font-28);
    }

    .core-values-list-description {
        font-size: var(--font-18);
    }

    .event-item-content h4 {
        font-size: var(--font-22);
    }

    
}

@media(max-width: 767px) {
    .making-learning-items-img a img {
        width: 100%;
    }
    

    .take-the-first-step-block-right p {
        font-size: var(--font-20);
        line-height: 28px;
    }
    .core-values-block-right {
        text-align: center;
    }
    .core-values-list-description {
        line-height: 24px;
    }

    .latest-news-list {
        flex-wrap: wrap;
    }
    .event-item {
        padding-right: 0;
        margin-bottom: 2.2rem;
        flex-wrap: wrap;
    }
    .event-item-img {
        width: 100%;
        margin: 0 0 2rem 0 !important;
    }
    .event-item-content {
        width: 100%;
        margin: 0 0 2rem 0;
        padding: 0 2rem;
        text-align: center;
    }
    .event-item-link {
        margin: 0 auto 2rem auto;
    }

    .core-values-block-right h2 {
        font-size: var(--font-32);
    }
    .core-values-list-title {
        font-size: var(--font-22);
    }
    .core-values-list-description {
        font-size: var(--font-16);
    }

    .event-item-content h4 {
        font-size: var(--font-18);
    }

    .client-slider-content p {
        text-align: center;
        line-height: 24px;
    }

    .event-listing-section .event-item-link {
        width: 100%;
        display: inline-block;
        margin-bottom: 3rem;
    }

    .core-values-section-top-left {
        width: 150px;
        height: 150px;
        top: -25px;
    }
    .core-values-section-top-right {        
        top: -14px;
        right: -7px;
        width: 116px;
        height: 146px;
        background-size: 100% 100%;
    }

    .core-values-section-bottom-left {        
        bottom: -14px;
        left: 0;       
        width: 119px;
        height: 119px;
        background-size: 100%;
    }

    .core-values-section-bottom-right {
        bottom: -6px;
        right: -24px;
        width: 163px;
        height: 163px;
        background-size: 100%;
    }

    .gallery-our-mission p {
        font-size: var(--font-20);
        line-height: 30px;
    }
}


/******* About page ******/
@media(max-width: 992px) {

    .inner-banner {
        min-height: 350px;
        height: auto;
    }

    .about-mission .about-curriculum-block-title, .about-mission .about-mission-block-title {
        font-size: var(--font-36);
    }

    .about-curriculum-block-shape {
        height: 76%;
    }
}

@media(max-width: 767px) {
    .inner-banner {
        min-height: 280px;
        height: auto;
    }
    .about-section {
        width: 100%;
        overflow-x: hidden;
    }

    .about-mission .about-curriculum-block-title, .about-mission .about-mission-block-title {
        font-size: var(--font-32);
    }

    .about-mission {
        flex-wrap: var(--flex-wrap);
    }

    .about-mission .about-curriculum-block, .about-mission .about-mission-block {
        max-width: 100%;
        text-align: center;
    }
    .about-curriculum-block-shape {
        bottom: 0;
        width: calc(100% + 100px);
        left: -50px;
    }
    .about-mission .about-mission-block {
        order: 1;
        margin-bottom: 6rem;
    }

    .about-mission .about-curriculum-block {
        margin-bottom: 0;
        order: 2;
    }
    .about-curriculum-block-cotnent ul {
        text-align: left;
    }

   
}

/******* Contact page ******/
@media(max-width: 992px) {
    .contact-text p {
        font: var(--font-weight-400) var(--font-24) var(--font-family);
        line-height: 30px;
    }

    .contact-form h2 {
        font-size: var(--font-36);
    }
}

@media(max-width: 767px) {
    .contact-text p {
        font: var(--font-weight-400) var(--font-18) var(--font-family);
        line-height: 25px;
    }

    .contact-form h2 {
        font-size: var(--font-32);
    }
}

/*********** Single Event Page *******/
@media(max-width: 1024px) {
    .event-listing-section .event-list {
        margin-bottom: 4rem;
    }
}
@media(max-width: 992px) {
   
    .inner-banner-content-img {
        width: 250px;
        height: 350px;
    }
    .inner-banner-content-img {
        margin-top: 3rem;
    }
    .inner-banner-content-content-block {
        width: calc(100% - 280px);
        padding-left: 2rem;
        color: var(--white-color);
        padding-top: 4rem;
    }

    .inner-banner-content-content-block h1 {
        font-size: var(--font-50);
    }
    .inner-banner-content-content-block h3 {
        font-size: var(--font-22);
    }
    .inner-banner-content-content-block p {
        width: 100%;
        font-size: var(--font-22);
        font-weight: var(--font-weight-400);
        color: var(--white-color);
        margin-bottom: 0;
        line-height: 28px;
    }
    .event-list .date-by {
        font-size: var(--font-20);
    }
}

@media(max-width: 767px) { 
    .inner-banner-content {
        flex-wrap: wrap;
        padding-bottom: 3rem;
    }
    .inner-banner-content-img {
        width: 100%;
    }
    
    .inner-banner-content-content-block {
        width: 100%;
        padding-left: 0;
        text-align: center;
    }
    .event-listing-section .event-item {
        padding: 0 0 2rem 0;
        display: flex;
        justify-content: center;
        margin-bottom: 0;
    }
    .event-item-img .tribe-events-calendar-list__event-featured-image-wrapper{
        width: 100%;
    }
    .event-item-img .tribe-events-calendar-list__event-featured-image-wrapper img {
        height: auto;
        max-width: inherit;
    }
    .event-listing-section .event-item-content {
        padding: 2rem;
    }
    .event-listing-section .event-item-content p {
        font-size: var(--font-16);
    }

    .inner-banner-content-content-block h1 {
        font-size: var(--font-42);
        text-align: center;
        line-height: normal;
    }
    .inner-banner-content-content-block h3 {
        font-size: var(--font-22);
        text-align: center;
        line-height: normal;        
    }
    .inner-banner-content-content-block p {
        width: 100%;
        font: var(--font-18) var(--font-weight-400) var(--font-family);
        color: var(--white-color);
        line-height: 28px;
        text-align: center;
    }

    .event-item-img img {
        max-width: 100%;
        width: 100%;
    }
    .event-list .date-by {
        font-size: var(--font-18);
        text-align: center;
    }
    .section-block .singale-page-content {
        margin-bottom: -4rem;
    }
    .singale-page-content, .singale-page-content p {
        font: var(--font-weight-400)  var(--font-16) var(--font-family);
        line-height: 26px;
    }
}