/*====================================== Popular PG Courses listing CSS Start ======================================*/

.mts-popular-courses{
    padding:35px 0 60px !important;
    background:#fff;
}

.mts-course-container{
    width:100%;
    max-width:1320px;
    margin:0 auto;
    padding:0 15px;
}

/*======================== Heading ========================*/

.mts-course-heading{
    margin:0 0 40px !important;
    padding:0 !important;
}

.mts-course-heading h2{
    margin:0 !important;
    padding:0 !important;
    text-align:center !important;
    font-size:35px;
    font-weight:700;
    line-height:1.3;
    color:#000;
}

/*======================== Grid ========================*/

.mts-course-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
    margin-top:0 !important;

}

/*======================== Card ========================*/

.mts-course-card{

    background:#fff;
    border:2px solid #222;
    border-radius:28px;
    padding:30px;
    min-height:180px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    transition:.35s;

}

.mts-course-card:hover{

    transform:translateY(-5px);
    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.mts-course-card h3{

    margin:0;
    text-align:center;
    font-size:28px;
    font-weight:700;
    color:#000;

}

/*======================== Buttons ========================*/

.mts-course-btns{

    display:flex;
    justify-content:center;
    gap:18px;
    margin-top:22px;

}

.mts-course-btns a{

    width:170px;
    height:46px;
    border-radius:50px;
    text-decoration:none;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:18px;
    font-weight:600;
    transition:.3s;
    white-space:nowrap;

}

.mts-apply-btn{

    background:#f15a29;
    border:2px solid #f15a29;
    color:#fff;

}

.mts-apply-btn:hover{

    background:#d94719;

}

.mts-learn-btn{

    background:#fff;
    border:2px solid #f15a29;
    color:#222 !important;

}

.mts-learn-btn:hover{

    background:#f15a29;
    color:#fff;

}

/*======================== Tablet ========================*/

@media(max-width:991px){

.mts-course-grid{

    grid-template-columns:repeat(2,1fr);

}

.mts-course-heading h2{

    font-size:30px;

}

.mts-course-card{

    padding:25px;
    min-height:170px;

}

.mts-course-card h3{

    font-size:24px;

}

.mts-course-btns{

    gap:12px;

}

.mts-course-btns a{

    width:140px;
    height:42px;
    font-size:16px;

}

}

/*======================== Mobile ========================*/

@media(max-width:767px){

.mts-popular-courses{

    padding:30px 0 40px !important;

}

.mts-course-heading{

    margin-bottom:15px !important;

}

.mts-course-heading h2{

    font-size:28px;

}

.mts-course-grid{

    grid-template-columns:1fr;
    gap:18px;

}

.mts-course-card{

    min-height:auto;
    padding:22px;

}

.mts-course-card h3{

    font-size:22px;

}

.mts-course-btns{

    gap:10px;

}

.mts-course-btns a{

    width:130px;
    height:40px;
    font-size:15px;

}

}

/*====================================== Popular PG Courses listing CSS End ======================================*/

/*====================================== Why Choose MTS Open University Section code start=======================================*/

.mts-why-choose{
    background:#f5f5f5;
    padding:70px 0;
}

.mts-why-content{
    max-width:1200px;
    margin:0 auto;
}

/* Heading */
.mts-why-title{
    font-size:35px;
    font-weight:600;
    line-height:1.35;
    color:#111;
    text-align:center;
    margin:0 0 40px;
}

/* Paragraph */
.mts-why-content p{
    font-size:20px;
    line-height:1.75;
    color:#222;
    margin:0 0 35px;
    text-align:left;
}

.mts-why-content p:last-child{
    margin-bottom:0;
}

.mts-why-content strong{
    font-weight:700;
    color:#111;
}

/*=========================
Tablet View
=========================*/

@media (max-width:991px){

    .mts-why-choose{
        padding:60px 20px;
    }

    .mts-why-title{
        font-size:30px;
        margin-bottom:30px;
    }

    .mts-why-content p{
        font-size:18px;
        line-height:1.8;
        margin-bottom:28px;
    }

}

/*=========================
Mobile View
=========================*/

@media (max-width:767px){

    .mts-why-choose{
        padding:45px 15px;
    }

    .mts-why-title{
        font-size:24px;
        line-height:1.4;
        margin-bottom:20px;
    }

    .mts-why-content p{
        font-size:16px;
        line-height:1.8;
        margin-bottom:20px;
        text-align:justify;
    }

}

/*====================================== Why Choose MTS Open University Section code end =======================================*/

/* ================================ student slider css start ================================ */
.mtsou-testimonial-wrapper{
    background:#ffffff;
    padding:70px 0;
}

/* =========================
   HEADING
========================= */
.mtsou-heading{
    text-align:center !important;
    font-size:36px;
    font-weight:700;
    color:#000;
    margin-bottom:45px;
}

/* =========================
   OWL ITEM SPACING
========================= */
.mtsou-student-slider .owl-item{
    padding:8px;
}

/* =========================
   CARD DESIGN
========================= */
.mtsou-card{
    background:#f5f5f5;
    border:1px solid #8b8b8b;
    border-radius:30px;
    padding:24px;

    display:flex;
    flex-direction:column;

    transition:0.3s ease;
    height:100%;
}

.mtsou-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* =========================
   USER SECTION
========================= */
.mtsou-user{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:18px;
}

/* IMAGE */
.mtsou-user img{
    width:70px !important;
    height:70px !important;
    min-width:70px;
    max-width:70px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #fff;
    box-shadow:0 3px 10px rgba(0,0,0,0.15);
}

/* TEXT WRAPPER */
.mtsou-user-info{
    line-height:1.3;
}

/* NAME */
.mtsou-user-info h3{
    margin:0;
    font-size:20px;
    font-weight:700;
    color:#e6531f;
}

/* COURSE */
.mtsou-user-info span{
    font-size:14px;
    color:#222;
    font-weight:500;
}

/* =========================
   TESTIMONIAL TEXT (IMPORTANT)
   👉 ONLY ONE PLACE USED
========================= */
.mtsou-card p{
    font-size:16px;
    line-height:1.7;
    color:#444;
    margin-bottom:20px;

    /* LIMIT TO 3 LINES */
    display:-webkit-box;
    -webkit-box-orient:vertical;
    overflow:hidden;
    -webkit-line-clamp:3;

    /* push button to bottom */
    flex-grow:1;
}

/* =========================
   BUTTON
========================= */
.mtsou-btn{
    display:inline-block;
    background:#e6531f;
    color:#fff;

    padding:10px 20px;
    border-radius:30px;

    text-decoration:none;
    font-size:14px;
    font-weight:600;

    width:auto;           /* IMPORTANT */
    align-self:flex-start; /* prevents full stretch in flex */
    white-space:nowrap;    /* prevents text wrap expanding width */
    transition:0.3s ease;
}

.mtsou-btn:hover{
    background:#c84112;
}

/* =========================
   DOTS
========================= */
.mtsou-student-slider .owl-dots{
    text-align:center;
    margin-top:25px;
}

.mtsou-student-slider .owl-dot span{
    width:11px;
    height:11px;
    background:#bbb !important;
}

.mtsou-student-slider .owl-dot.active span{
    background:#e6531f !important;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:991px){
    .mtsou-heading{
        font-size:32px;
    }
}

@media(max-width:767px){
    .mtsou-heading{
        font-size:26px;
    }

    .mtsou-card{
        padding:20px;
    }

    .mtsou-user img{
        width:60px !important;
        height:60px !important;
        min-width:60px;
        max-width:60px;
    }

    .mtsou-user-info h3{
        font-size:18px;
    }
} 
/* ================================ student slider css End ================================ */