/*offcanvas*/
@media (max-width:991px){
.sp-column.d-flex.justify-content-end.align-items-center {
    display: flex;
    flex-direction: row-reverse;
    justify-content: end !important;
    padding-right:15px;
}}

@media screen and (max-width:992px){
#sp-header .container {
    padding: 5px 10px 5px 25px;
    /* transform: scale(0.95); */
}

header#sp-header {
    padding: 10px;
}}

/*btn*/
.sppb-btn-default {
    background: #3c54a5;
    border-radius: 100px;transition:0.5s ease;
}


.sppb-btn-default:hover {
    background: #f58227;
    transition:0.5s ease;
}

.sppb-btn-primary {
    border-radius: 100px;
    color: #f57e20; transition:0.5s ease;
}

.sppb-btn-primary:hover {
    border-radius: 100px;
    background: #3c54a5!important; color:#fff;
    transition:0.5s ease;
}

button#bfSubmitButton {
    background: #3c54a5;
    border-radius: 100px;transition:0.5s ease;
}
button#bfSubmitButton:hover, button#bfSubmitButton:focus{
    background: #f58227;
    transition:0.5s ease;
}


/*text*/

h2.sppb-addon-title {
    color: #3c54a5;
}

.subtitle h4.sppb-addon-title {
    color: #f57e20;
}

.sppb-addon.sppb-addon-header.subtitle {
    margin-bottom: 15px;
}


/*slide*/
.sppb-sp-slider-title{margin-bottom:30px;}

@media screen and (max-width:992px){
.sppb-sp-slider-title {
    font-size: 35px;
    margin-top: 0;
    margin-bottom: 0;
}}

.sppb-sp-slider-text {
    margin-bottom: 15px;
}

.sppb-sp-slider-button .sp-slider-btn-text {
    background: #fff;
    color: #f57e20;
    border:1px solid #fff;
    border-radius: 100px;
}
.sppb-sp-slider-button .sp-slider-btn-text:hover {
    background: #f57e20;
    color: #fff;
    border:1px solid #f57e20;
    border-radius: 100px;
}
.btn-2 span.sp-slider-btn-text {
    background: transparent;
    border:1px solid #fff;
    color:#fff;
}
.btn-1{
    margin-right:15px !important;
} 


/*plan*/
.plan-box-01 {
    margin: auto;
    padding: 50px 15px;
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    position:relative;
    margin-top:40px;
}

.plan-box-01:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
    box-shadow:0 0 10px rgb(0 0 0 / 50%);
    transform:scale(1.01);
}
.plan-box-01 .sppb-icon-container {
    border-radius: 100px;
    background: #f5f5f5;
    width:85px !important;
    height: 85px !important;
    position:absolute;
    top:-45px;
    left:0;
    right:0;
    margin:auto;
    display: flex !important;
    justify-content:center;
    align-items:center;
    box-shadow:0 0 5px rgb(0 0 0 / 15%) !important;
    transition:0.5s;
}
.plan-box-01:hover .sppb-icon-container{
    top:-55px;
}
.plan-box-01 .sppb-icon-container i{
    color:#fff;
    font-size:40px !important;
    width:40px !important;
    height:40px !important;
    line-height:40px !important;
}

.plan-box-01 img.sppb-img-responsive {
    padding: 10px;
    background: #ffffff2e;
    border-radius: 100px;
    margin-bottom: 20px;
    width: 60px;
}

.plan-box-01 a {
    background: transparent !important;
    position: relative;padding:0px!important;
}

.plan-box-01 a::before {
    content: ""; /* Required */
    display: block; /* Or inline-block */
    background: #fff !important;
    position: absolute !important;
    bottom: -5px;
    left: 0 !important;
    width: 100%;
    height: 2px !important;
}
.plans-page-01 .plan-box-01 a::before{
    display:none;
}
.plans-page-01 .plan-box-01{
    padding: 20px 15px;
    margin-top: 60px;
}
.plans-page-01 .plan-box-01 .sppb-icon-container{
    border-radius: 100px;
    background: #f5f5f5;
    display: flex !important;
    justify-content:center;
    align-items:center;
    top: -90px;
    transform: translateX(-40px);
}
.plans-page-01 .plan-box-01 .sppb-feature-box-title{
    font-size:16px;
    margin-bottom: 0;
}
.plans-page-01 .plan-box-01 a{
    margin-top:0 !important;
    color:#fff;
}
.plans-page-01 .plan-box-01 .sppb-addon-text{
    display:none;
}

.sppb-addon.sppb-addon-feature.plan-box-01.box-blue {
    background-image: linear-gradient(45deg, #3B82F6 0%, #3B82F6  51%, #2563EB  100%);
}
.sppb-addon.sppb-addon-feature.plan-box-01.box-blue i{
    color:#2563EB;
}
.sppb-addon.sppb-addon-feature.plan-box-01.box-green {
    background-image: linear-gradient(45deg, #22C55E 0%, #22C55E  51%, #14B8A6  100%);
}
.sppb-addon.sppb-addon-feature.plan-box-01.box-green i{
    color:#22C55E;
}
.sppb-addon.sppb-addon-feature.plan-box-01.box-yellow {
    background-image: linear-gradient(45deg, #EAB308 0%, #EAB308  51%, #FB923C  100%);
}
.sppb-addon.sppb-addon-feature.plan-box-01.box-yellow i{
    color:#EAB308;
}
.sppb-addon.sppb-addon-feature.plan-box-01.box-red {
    background-image: linear-gradient(45deg, #F97316 0%, #F97316  51%, #EF4444  100%);
}
.sppb-addon.sppb-addon-feature.plan-box-01.box-red i{
    color:#F97316;
    transform:translateX(-4px);
}
.sppb-addon.sppb-addon-feature.plan-box-01.box-purple {
    background-image: linear-gradient(45deg, #A855F7 0%, #A855F7  51%, #6366F1  100%);
}
.sppb-addon.sppb-addon-feature.plan-box-01.box-purple i{
    color:#A855F7;
}
.section-blue i,
.section-blue h2{
    color:#2563EB;
}
.section-blue .sppb-btn-default{
    background:#2563EB;
}
.section-green i,
.section-green h2{
    color:#22C55E;
}
.section-green .sppb-btn-default{
    background:#22C55E;
}
.section-yellow i,
.section-yellow h2{
    color:#EAB308;
}
.section-yellow .sppb-btn-default{
    background:#EAB308;
}
.section-red i,
.section-red h2{
    color:#F97316;
}
.section-red .sppb-btn-default{
    background:#F97316;
}
.section-purple i,
.section-purple h2{
    color:#A855F7;
}
.section-purple .sppb-btn-default{
    background:#A855F7;
}
.section-blue .sppb-btn-default:hover, .section-blue .sppb-btn-default:focus,
.section-green .sppb-btn-default:hover, .section-green .sppb-btn-default:focus,
.section-yellow .sppb-btn-default:hover, .section-yellow .sppb-btn-default:focus,
.section-red .sppb-btn-default:hover, .section-red .sppb-btn-default:focus,
.section-purple .sppb-btn-default:hover, .section-purple .sppb-btn-default:focus{
    background:#6c6c6c;
}

.sppb-addon.sppb-addon-feature.plan-box-02 {
    background: #fff;
    padding: 40px 20px;
    border-radius: 10px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}


.sppb-addon.sppb-addon-feature.plan-box-02 span {
    color: #4B5563;
}

.plan-box-02 img.sppb-img-responsive {
    margin-bottom: 20px;
}

.sppb-addon.sppb-addon-feature.plan-box-02 {
    transition: 0.5s ease;
}
.why-tuition-class .sppb-addon.sppb-addon-feature.plan-box-02{
    height:230px;
}
.sppb-addon.sppb-addon-feature.plan-box-02:hover {
    transition: 0.5s ease;
    transform: translate(0px, -10px);
}

@media (max-width:1400px){
    .plan-box-01 {
        height:280px;
    }
}
@media (max-width:1200px){
    .plan-box-01 {
        height:300px;
    }
    .why-tuition-class .sppb-addon.sppb-addon-feature.plan-box-02{
        height:270px;
    }
}
@media (max-width:991px){
    .plan-box-01 {
        height:260px;
    }
    .why-tuition-class .sppb-addon.sppb-addon-feature.plan-box-02{
        height:190px;
    }
}
@media (max-width:767px){
    .plan-box-01 {
        height:100%;
    }
    .why-tuition-class .sppb-addon.sppb-addon-feature.plan-box-02{
        height:100%;
    }
}

/*About*/
.mission-box-01 {
    background: #fff;
    border-radius: 16px;
    padding: 30px !important;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px !important;
}

/*testimonial*/
.sppb-carousel-extended-item {
    background: #E5E7EB;
    border-radius: 10px;
    padding: 15px;
    min-height: 250px;
}
.clients-slideshow .sppb-carousel-extended-item {
    background: transparent;
    border-radius: 0px;
    padding: 0 10px;
    min-height: 0px;
}
.sppb-testimonial-carousel-name {
    margin-left: 15px!important;
    margin-top: 8px!important;
}

.sppb-testimonial-carousel-designation {
    margin-left: 15px;
}
.sppb-testimonial-carousel-client-rating{
    position: relative;
    left: 0px;
    top: -10px;
    transform: scale(0.7);
    transform-origin: left;
}

.sppb-testimonial-carousel-message {
    margin-top: -10px;
}

.principal-carousel .sppb-testimonial-carousel-message {
    margin-top: 15px;
}
.principal-carousel .sppb-testimonial-carousel-designation{
    font-style: italic;
    margin-left:0 ;
}
.principal-carousel .sppb-testimonial-carousel-name{
    margin-left:0 !important;
}
.principal-carousel .sppb-carousel-extended-item{
    min-height:150px;
}


.sppb-addon-testimonial-review p {
    /*min-height: 150px;*/
}

.sppb-addon.sppb-addon-testimonial {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
}

.testimonial-page .sppb-addon-testimonial {
    padding:30px;
    background:#ffffff;
    border-radius:16px;
    margin-bottom:30px;
    transition:0.5s;
}
.testimonial-page .sppb-addon-testimonial:hover{
    transform:scale(1.01);
    box-shadow:0 0 10px rgb(0 0 0 / 10%);
    
}
.testimonial-page .sppb-addon-testimonial .sppb-addon-content {
    display:flex;
    flex-direction:column;
}
.testimonial-page .sppb-addon-testimonial .sppb-addon-testimonial-review {
    order:1;
    margin-bottom:0;
}
.testimonial-page .sppb-addon-testimonial .sppb-addon-testimonial-review p,
.testimonial-page .sppb-addon-testimonial .sppb-addon-testimonial-review p a{
    color: #4B5563;
}
.testimonial-page .sppb-addon-testimonial .sppb-addon-testimonial-footer {
    order:3;
}
.testimonial-page .sppb-addon-testimonial .sppb-addon-testimonial-rating{
    order:2;
    margin-bottom:10px;
}
.testimonial-page .sppb-addon-testimonial .sppb-addon-testimonial-client{
    transform:translateY(5px);
}
.testimonial-page .sppb-addon-testimonial .sppb-addon-testimonial-client-url{
    display:none;
}





/*Plan*/
.plan-highlight-01 i{
    margin-bottom:20px;
}
.plan-highlight-01 p{
    margin-bottom:0;
}
.highlight-blue i{
    color:#314ea4;
}
.highlight-orange i{
    color:#f47d1f;
}
.highlight-green i{
    color:#16a34a;
}
.highlight-yellow i{
    color:#ffad00;
}

/* FAQ */
.faq-001 .sppb-panel-modern{
    border-radius:30px;
    transition:0.2s;
    border: 0px solid rgb(245 126 32);
    box-shadow:0 0 5px rgb(0 0 0 / 20%);
}

.faq-001 .sppb-panel-heading{
    background:rgb(245 126 32 / 50%);
    transition:0.5s;
    border-radius:30px;
    padding:20px 30px;
    border:0px;
}

.faq-001 .sppb-panel-heading.active{
    background:rgb(245 126 32);
    border-radius:30px 30px 0 0;
}

.faq-001 .sppb-panel-heading .sppb-panel-title{
    font-size:18px;
    color:rgb(255 255 255);
    font-weight:700;
    transition:0.5s;
}

.faq-001 .sppb-panel-heading.active .sppb-panel-title{
    color:rgb(255 255 255);
}
.faq-001 .sppb-panel-heading .sppb-toggle-direction{
    color:rgb(255 255 255);
}

@media (max-width:767px){
    .faq-001 .sppb-panel-heading .sppb-panel-title{
        font-size:16px;
    }
    .faq-001 .sppb-panel-heading{
        padding:15px;
    }
}

/*Contact*/
.contact-info {
    background: #f57e20;
    padding:30px;
    border-radius:16px;
}
.contact-info .sppb-feature-box-title,
.contact-info .sppb-addon-text,
.contact-info .sppb-addon-text p,
.contact-info .sppb-addon-text a,
.contact-info .sppb-icon i{
    color:#fff !important;
}


/*blog*/
.home-article .sppb-addon-article{
    transition:0.5s;
}
.home-article .sppb-addon-article:hover {
    transform:scale(1.01);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 12px !important;
}
.sppb-article-info-wrap a {
    font-size: 22px;
    line-height: 0.5!important;
}

.article {
    border-radius: 16px !important;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    transition:0.5s;
    overflow:hidden;
}
.article:hover{
    transform:scale(1.01);
    box-shadow: rgba(99, 99, 99, 0.7) 0px 2px 8px 0px !important;
}

.readmore a {
    text-transform: capitalize;
}

.article-introtext p{
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Show max 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.5em; /* Approximate for 3 lines (adjust if needed) */
  line-height: 1.5em;
  margin-bottom: 1em;
}

/* Make .row a flex container */
.article-list .row{
    display:flex;
    flex-wrap:wrap;
}
@media (min-width:768px){
.article-list .row {
    column-count: 2;
    column-gap: 0px;
    display: block;
}
.article-list .row .col-lg-6 {
    break-inside: avoid;
    margin-bottom: 30px;
    width: 100%;
}}

/* Make each column take equal height */
.article-list .col-lg-4 {
  display: flex;
  flex-direction: column;
}

/* Make .article grow to fill height */
.article-list .article {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Ensure .article-body fills remaining space */
.article-list .article-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Optional: Push readmore to the bottom */
.article-list .article-introtext {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-list .readmore {
  margin-top: auto;
}




/*Popup*/
div#myModal .modal-content{
    background:#fff !important;
    padding:20px !important;
    border-radius:16px !important;
    width: 100% !important;
  	border:0px!important;
}
#myModal.center.cls-popup {
    top: 50% !important;
    background: rgb(0 0 0 / 20%);
    backdrop-filter: blur(2px);
    pointer-events: none;
}
div#myModal .modal-body h3{
    color:#3c54a5;
    margin-bottom:20px;
}
div#myModal .modal-body p{
    color:#4B5563;
}
div#myModal .modal-body .sppb-btn.sppb-btn-secondary{
    margin-top:20px;
    line-height:1.2;
    padding: 10px 25px !important;
    border: 0 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 400;
    transition: 0.5s !important;
    border-radius:30px !important;
    width:180px;
}
div#myModal .modal-body .sppb-btn.sppb-btn-secondary.btn-01{
    background:#f57e20;
    margin-right:5px;
}
div#myModal .modal-body .sppb-btn.sppb-btn-secondary.btn-02{
    background:#3c54a5;
    margin-left:5px;
}
div#myModal .modal-body .sppb-btn.sppb-btn-secondary.btn-01:hover,
div#myModal .modal-body .sppb-btn.sppb-btn-secondary.btn-01:focus,
div#myModal .modal-body .sppb-btn.sppb-btn-secondary.btn-02:hover,
div#myModal .modal-body .sppb-btn.sppb-btn-secondary.btn-02:focus{
    background:#999;
    box-shadow:0 0 10px rgb(0 0 0 / 20%);
}
div#myModal .modal-body span.button-label{
    font-size:12px;
}
@media (min-width: 576px) {
    #myModal{
        padding:0 !important;
    }    
}

div#myModal .modal-content {
    border: 0px !important;
    
}




