/* ================================ Announcement Marquee Design Css Start ================================ */

.scroll-content {
    width: 100%;
    overflow: hidden;
    background: #fff;
    padding: 10px 0;
}

.announcement-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #d7402c;
    margin-bottom: 15px;
}

.marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    animation: marquee-scroll 45s linear infinite;
}

.announcement-item {
    background: #d7402c;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 14px;
    min-width: 318px;
    font-size: 15px;
    color: #ffffff !important;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    display: flex;
    align-items: center;
}

.announcement-item:hover {
    background: #b92f1d;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.new-badge {
    background: #ffd400;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    margin-right: 8px;
    border-radius: 10px;
    animation: blinker 1s linear infinite;
    text-transform: uppercase;
    display: inline-block;
}

/* Blinking Animation */
@keyframes blinker {
    50% {
        opacity: 0.4;
    }
}

/* Marquee Animation */
@keyframes marquee-scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .announcement-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .announcement-item {
        min-width: 260px;
        font-size: 14px;
        padding: 7px 12px;
    }

    .marquee-track {
        gap: 12px;
    }
}

/* ================================ Announcement Marquee Design Css End ================================ */

/* ================================ Welcome to MTSOU Section Heading css start ================================ */
.about_campus h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: #000;
    margin-bottom: 30px;
    width: 100%;
    display: block;
}

.about_campus .campus_img::before {
    display: none !important;
    content: none !important;
}
/* ================================ Welcome to MTSOU Section Heading css End ================================ */


/* ================================ Worlds Best Education Program Feature Section css code start ================================ */
/* ================================
   Feature Section Design
================================ */

.features {
    background: #d7402c;
    border-radius: 16px;
    padding: 40px 50px;
    margin: 40px 0;
    width: calc(100% + 60px);
    margin-left: -30px;
}

/* Desktop Layout */
.features .feature_grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Feature Item */
.features .feature_grid_item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    color: #ffffff;
}

/* Number Circle */
.features .feature_grid_item > span {
    width: 85px;
    height: 85px;
    min-width: 85px;
    background: #ffffff;
    color: #d7402c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 0;
    font-size: 26px;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

/* Text */
.features .feature_grid_item .ftxt {
    color: #ffffff;
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
}

/* Divider */
.features .line_divider {
    width: 1px;
    height: 90px;
    background: rgba(255,255,255,0.3);
}

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

@media (max-width: 991px) {

    .features {
        width: 100%;
        margin-left: 0;
        padding: 30px 20px;
    }

    .features .feature_grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 20px;
    }

    .features .feature_grid_item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .features .line_divider {
        display: none;
    }

    .features .feature_grid_item > span {
        width: 75px;
        height: 75px;
        min-width: 75px;
        font-size: 22px;
    }

    .features .feature_grid_item .ftxt {
        font-size: 14px;
        line-height: 20px;
    }
}

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

@media (max-width: 576px) {

    .features {
        padding: 25px 15px;
    }

    .features .feature_grid {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .features .feature_grid_item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        gap: 15px;
        width: 100%;
    }

    .features .feature_grid_item > span {
        width: 65px;
        height: 65px;
        min-width: 65px;
        min-height: 65px;
        font-size: 20px;
        flex-shrink: 0;
        margin: 0;
    }

    .features .feature_grid_item .ftxt {
        font-size: 14px;
        line-height: 20px;
        margin: 0;
    }
}
/* ================================ Worlds Best Education Program Feature Section css End ================================ */

/* ================================ Why Choose Meta Tripura Sundari Open University section css start ================================ */
.mtsou-section{
  text-align:center;
  max-width:1200px;
  margin:auto;
  padding:40px 15px; /* ✅ FIX: bottom spacing restored */
}

.mtsou-section h1{
  font-size:36px;
  font-weight:600;
  color:#000;
}

.mtsou-section .sub{
  font-size:2.3rem;
  font-weight:400;
  color:#666;
  margin-bottom:40px;
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}

/* ITEM (NO FULL BOX BORDER) */
.item{
  padding:35px 20px;
  position:relative;
}

/* vertical divider ONLY */
.item:not(:nth-child(4n)){
  border-right:1px solid #ccc;
}

/* horizontal divider ONLY */
.item:nth-child(-n+4){
  border-bottom:1px solid #ccc;
}

/* ICON */
.icon{
  width:60px;
  height:60px;
  margin:auto;
  border-radius:50%;
  background:#e94e1b;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:24px;
  margin-bottom:15px;
}

/* TEXT */
.item h3{
  font-size:1.6rem;
  font-weight:600;
}

.item p{
  font-size:1.4rem;
  color:#666;
}

/* RESPONSIVE */
@media(max-width:1024px){
  .grid{grid-template-columns:repeat(2,1fr);}
  .item:not(:nth-child(2n)){
    border-right:1px solid #ccc;
  }
  .item:nth-child(-n+6){
    border-bottom:1px solid #ccc;
  }
}

@media(max-width:768px){
  .grid{grid-template-columns:1fr;}
  .item{
    border-right:none !important;
    border-bottom:1px solid #ccc;
  }
}
/* ================================ Why Choose Meta Tripura Sundari Open University section css End ================================ */

/* ================================ Final Call Banner css start ================================ */
.final-call-banner {
  width: 100%;
  max-width: 1600px; /* optional: limits banner width */
  margin: 0 auto;
  padding-bottom: 30px;
  overflow: hidden; /* prevents overflow on small screens */
}

.final-call-banner img {
  width: 100%;
  height: auto; /* maintains aspect ratio */
  display: block;
  object-fit: cover; /* ensures the image covers its container if resized */
}
/* ================================ Final Call Banner css End ================================ */

/* ================================ Recent Activities Section css start ================================ */

.recent-activities{
    padding:40px 0;
    background:#ffffff;
}

.recent-activities .container{
    width:92%;
    max-width:1320px;
    margin:auto;
}

/* Section Title */
.section-title{
    text-align:center;
    margin-bottom:40px;
}

.section-title h2{
    font-size:36px;
    font-weight:700;
    color:#000;
    margin:0;
    line-height:1.2;
}

/* Card */
.activity-card{
    background:#fff;
    overflow:hidden;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
    transition:all .4s ease;
    margin:8px;
}

.activity-img{
    overflow:hidden;
}

.activity-img img{
    width:100%;
    aspect-ratio:800/460;
    object-fit:cover;
    display:block;
    transition:transform .5s ease;
}

.activity-content{
    padding:24px;
    min-height:230px;
    transition:.4s ease;
}

.activity-content h3{
    font-size:20px;
    font-weight:700;
    line-height:1.4;
    color:#111;
    margin-bottom:15px;
    transition:.4s ease;
}

.activity-content p{
    font-size:16px;
    line-height:1.7;
    color:#555;
    margin:0;
    transition:.4s ease;
}

/* Hover */
.activity-card:hover{
    transform:translateY(-8px);
}

.activity-card:hover .activity-content{
    background:#d7402c;
}

.activity-card:hover .activity-content h3,
.activity-card:hover .activity-content p{
    color:#fff;
}

.activity-card:hover .activity-img img{
    transform:scale(1.08);
}

/* Owl Nav */

.activities-slider .owl-nav{
    display:none !important;
}

.activities-slider .owl-nav button.owl-prev,
.activities-slider .owl-nav button.owl-next{
    width:45px;
    height:45px;
    line-height:45px;
    border-radius:50% !important;
    background:#d7402c !important;
    color:#fff !important;
    font-size:22px !important;
    margin:0 5px;
    transition:.3s;
}

.activities-slider .owl-nav button.owl-prev:hover,
.activities-slider .owl-nav button.owl-next:hover{
    background:#000 !important;
}

/* Owl Dots */

.activities-slider .owl-dots{
    text-align:center;
    margin-top:20px;
}

.activities-slider .owl-dot span{
    width:12px;
    height:12px;
    margin:5px;
    background:#d5d5d5 !important;
}

.activities-slider .owl-dot.active span{
    background:#d7402c !important;
}

/* Tablet */

@media(max-width:991px){

    .section-title h2{
        font-size:32px;
    }

    .activity-content{
        min-height:auto;
    }

    .activity-content h3{
        font-size:19px;
    }

    .activity-content p{
        font-size:15px;
    }
}

/* Mobile */

@media(max-width:767px){

    .recent-activities{
        padding:40px 0;
    }

    .section-title{
        margin-bottom:30px;
    }

    .section-title h2{
        font-size:28px;
    }

    .activity-content{
        padding:18px;
    }

    .activity-content h3{
        font-size:18px;
        margin-bottom:10px;
    }

    .activity-content p{
        font-size:14px;
        line-height:1.6;
    }
}

/* ================================ Recent Activities Section css End ================================ */

/* ================================ filter ug pg and Diploma course css start ================================ */
/*=====================================
    MTSOU PROGRAM SECTION
=====================================*/

.mtsou-programs-section {
    padding: 70px 0;
    background: #f4f4f4;
}

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

.mtsou-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 35px;
}

/*================ TABS ================*/

.mtsou-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 18px;
    width: fit-content;
    margin: auto auto 55px;
    background: #ddd;
}

.mtsou-tab-btn {
    border: none;
    background: transparent;
    padding: 18px 55px;
    font-size: 22px;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    transition: 0.3s;
    border-right: 1px solid #aaa;
}

.mtsou-tab-btn:last-child {
    border-right: none;
}

.mtsou-tab-btn.active {
    background: #dc431f;
    color: #fff;
}

/*================ GRID ================*/

.mtsou-program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/*================ CARD ================*/

.mtsou-program-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0,0,0,0.12);
    transition: 0.3s ease;
}

.mtsou-program-card:hover {
    transform: translateY(-5px);
}

.mtsou-program-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.mtsou-program-content {
    padding: 20px 20px 28px;
    text-align: center;
}

.mtsou-program-content h3 {
    font-size: 22px;
    line-height: 32px;
    color: #dc431f;
    font-weight: 700;
    margin-bottom: 12px;
}

.mtsou-program-content p {
    font-size: 18px;
    color: #000;
    margin-bottom: 8px;
    font-weight: 500;
}

.mtsou-program-content span {
    display: block;
    font-size: 18px;
    color: #000;
    font-weight: 500;
}

/*================ BUTTONS ================*/

.mtsou-program-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 22px;
}

.mtsou-program-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 22px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.mtsou-program-buttons a:first-child {
    background: #dc431f;
    color: #fff;
    border: 2px solid #dc431f;
}

.mtsou-program-buttons a:last-child {
    background: #fff;
    color: #000;
    border: 2px solid #dc431f;
}

/*================ VIEW BUTTON ================*/

.mtsou-view-all {
    text-align: center;
    margin-top: 45px;
}

.mtsou-view-all a {
    display: inline-block;
    background: #dc431f;
    color: #fff;
    text-decoration: none;
    padding: 14px 38px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 700;
}

/*================ MOBILE ================*/

@media(max-width:991px){

    .mtsou-heading {
        font-size: 34px;
        line-height: 46px;
    }

    .mtsou-program-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mtsou-tab-btn {
        padding: 16px 28px;
        font-size: 18px;
    }
}

@media(max-width:576px){

    .mtsou-programs-section {
        padding: 45px 0;
    }

    .mtsou-heading {
        font-size: 24px;
        line-height: 34px;
    }

    .mtsou-tabs {
        flex-wrap: wrap;
        border-radius: 12px;
    }

    .mtsou-tab-btn {
        width: 50%;
        border-bottom: 1px solid #ccc;
        padding: 14px 10px;
        font-size: 16px;
    }

    .mtsou-program-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mtsou-program-image img {
        height: 210px;
    }

    .mtsou-program-content h3 {
        font-size: 20px;
        line-height: 28px;
    }

    .mtsou-program-buttons {
        flex-wrap: wrap;
    }

    .mtsou-program-buttons a {
        width: 44%;
        font-size: 14px;
    }

    .mtsou-view-all a {
        font-size: 18px;
        padding: 12px 26px;
    }
}
/* ================================ filter ug pg and Diploma course css End ================================ */

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

/* =========================
   HEADING
========================= */
.mtsou-heading{
    text-align:center;
    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 ================================ */

