body{
    font-family: 'Montserrat';
    background: #fff8f8;
}
.sp{
    padding: 70px 0;
}
img{
    width: 100%;
}
.mobBanner{
    display:none;
}
@media(max-width:767px){
    .deskBanner{
        display:none;
    }
    .mobBanner{
        display:block;
    }
}
section.logos_wrapper.sp h3 {
    font-size: 17px;
    text-align: center;
    line-height: 27px;
    font-weight: 600;
    margin: 24px 0;
}
section.logos_wrapper{
    padding-bottom: 0;
}
.main_title h2 {
    font-size: 48px;
    line-height: 58px;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 24px;
}
.main_title h2:before{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    background: #000;
    height: 2px;
}
.title_wrapper {
    text-align: center;
}

.stats_wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px; /* spacing between items */
    padding: 20px;
  }
  
  @media (min-width: 768px) {
    .stats_wrapper {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media (min-width: 992px) {
    .stats_wrapper {
      grid-template-columns: repeat(6, 1fr); /* 6 columns on large screens */
    }
  }
  
.stat_item {
    background: #f2f2f2;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}
.stats_item {
    text-align: center;
}
.stats_icon {
    width: 110px;
    height: 110px;
    margin-bottom: 24px;
    margin: 10px auto 34px;
}

.stats_item h3 {
    font-size: 36px;
    line-height: 46px;
    margin-bottom: 10px;
    font-weight: 900;
}
section.panorama_wrapper.sp {
    background: #b22b2e;
    color: #fff;
}
.stats_content {
    border-right: 1px dashed #fff;
}
.main_title h2 span{
    color: #b22b2e;
}
p{
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 12px;
}

section.why_wrapper.sp p {
    margin-bottom: 48px;
}
.card_slider .item h3 {
    font-size: 20px;
    line-height: 30px;
    width: 100%;
    background:#1d5da4;
    padding: 24px 24px;
    color: #fff;
    border-radius: 34px;
    height:140px;
}


.global_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
    gap: 20px; /* Optional spacing between items */
  }
  .global_icons {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
}
  .global_item {
    background: #f2f2f2; /* Optional styling */
    padding: 10px;
    border: 1px solid #ccc;
  }

  .global_item {
    background: #1d5da4;
    padding: 10px;
    border: 1px solid #ccc;
    display: flex
;
    color: #fff;
    justify-content: space-between;
    align-items: center;
    border-radius: 72px;
    padding: 10px 34px;
    border: 5px solid #fff;
}

.main_title {
    margin-bottom: 24px;
}
.global_item h3 {
    font-size: 40px;
    line-height: 50px;
    font-weight: 700;
}

section.global_wrapper.sp {
    background: #1d5da4;
}

section.global_wrapper.sp h2 {
    color: #fff;
}

section.chase_your_choice.sp {
    padding-bottom: 0;
}
.topper_main {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 5 equal columns */
    gap: 20px; /* Adjust spacing as needed */
  }


  table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.header-row {
    background-color: #dc2626;
    color: white;
    font-weight: bold;
    text-align: center;
}

.header-row th {
    padding: 15px;
    border: 1px solid #b91c1c;
}

.data-row td {
    padding: 15px;
    border: 1px solid #e5e7eb;
    text-align: center;
    background-color: #f9f9f9;
}

.serial-col {
    font-weight: bold;
    background-color: #f3f4f6;
}
section.test_wrapper.sp {
    padding-bottom: 0;
}
.notes {
    margin-top: 30px;
    font-size: 14px;
    line-height: 1.6;
}
section.testimonails_wrapper.sp h2::before {
    background: #fff !important;
}

section.testimonails_wrapper.sp .title_wrapper {
    margin-bottom: 58px;
}
.notes p {
    margin: 8px 0;
}

.footer-text {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-top: 40px;
    letter-spacing: 2px;
}

.footer-text .red {
    color: #bb242b;
}

.footer-text .black {
    color: #000;
}



.test_wrapper p{
    margin-bottom: 24px;
}
section.testimonails_wrapper{
    background: #b22b2e;
}
section.testimonails_wrapper .main_title h2{
    color: #fff;
}
.testimonail_image {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: 10px;
    z-index: 9999;
    margin: 0 auto;
    left: 43%;
    margin-bottom: 80px;
}
.test {
    background: #fff;
    padding: 24px;
    border-radius: 34px;
    position: relative;
    width: 100%;
    padding-top: 124px;
    height: 390px;
}

.testimonail_item {
    text-align: center;
    border: 2px solid #fff;
    padding: 26px;
    border-radius: 34px;
}
.testimonail_item p {
    font-size: 14px;
    line-height: 24px;
}
.testimonail_item h4 {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 12px;
    font-weight: 600;
}
.testimonail_item h3 {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 5px;
    font-weight: 600;
}
.testimonail_item h2 {
    font-size: 26px;
    line-height: 36px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #dc3545;
}
.testimonail_item {
    text-align: center;
    width: 95%;
    position: relative;
}


section.testimonails_wrapper {
    background: #b22b2e;
    padding: 70px;
}



/* courses wrapper */

.header {
    background: linear-gradient(135deg, #b91c1c, #b91c1c);
    color: white;
    padding: 30px;
    text-align: center;
    display: flex
;
    justify-content: space-evenly;
    align-items: center;
}
.header .main_title {
    width: 30%;
    margin: 0;
}
span.prog {
    color: #fff !important;
    display: block;
    font-size: 22px;
    line-height: 32px;
    text-align: left;
}
.header h2 {
    color: #9d9797;
    margin-bottom: 0;
    text-align: left;
}
.header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.header-fields {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 0;
    width: 70%;
    align-items: center;
    height: 100%;
}

.field-group {
    flex: 1;
    margin-right: 12px;
}
section.programme_wrapper.sp {
    padding: 70px 100px;
}
.field-group label {
    display: block;
    margin-bottom: 9px;
    font-weight: bold;
    font-size: 24px;
    text-align: justify;
}

.dropdown-select {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    background-color: white;
    cursor: pointer;
    color: black;
}
.header-fields .main_title h2{
    width: 30%;
    text-align: left;
    text-transform: uppercase;
}
.feild_wrappr {
    display: flex
;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.programme-cards {
    display: flex;
    gap: 20px;
    padding: 30px 0;
    background-color: #f9f9f9;
}

.card {
    flex: 1;
    background: transparent;
    border-radius: 10px;
    padding: 20px;
    box-shadow: none;
    border: 1px solid #000;
}

.card h3 {
    color: #f59e0b;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight:700;
}
.header h2 {
    color: #f1b652ed;
    margin-bottom: 0;
    text-align: left;
}
.card-icon {
    width: 60px;
    height: 60px;
    background-color: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 24px;
}
.dean_image img {
    border-radius: 12px !important;
    margin-right: 12px !important;
    margin: 0;
    max-width: 160px !important;
}
.content-section {
    padding: 30px;
}
.card.dean_card {
    display: flex
;
    flex-direction: row;
    justify-content: flex-start;
    align-items: anchor-center;
}

.dean_content {
    width: 70%;
    text-align: left;
    padding-left: 22px;
}
.dean_content h4 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 1px !important;
    font-weight: 600;
}


.content-item p {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 20px;
}
.content-item p strong {
    font-size: 17px;
    line-height: 27px;
}

.tabs-container {
    margin-bottom: 30px;
}

.tabs {
    display: flex;
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
    flex-wrap: wrap;
    gap: 4px;
}

.tab {
    padding: 12px 17px;
    background-color: #d1c6c663;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 19px;
    color: #64748b;
    transition: all 0.3s;
    flex: 1;
    min-width: 120px;
    color: #000;
}

.tab.active {
    background-color: #1d5da4;
    color: white;
}

.tab:hover:not(.active) {
    background-color: #e2e8f0;
}

.content-section {
    /* background-color: #fff; */
    border: 1px solid #000;
    border-radius: 10px;
    padding: 30px;
    min-height: 400px;
}

.content-item {
    display: none;
}
section.top_placements_wrapper.sp {
    padding-bottom: 0;
}
.content-item.active {
    display: block;
}
section.test_wrapper.sp .main_title {
    text-align: center;
    margin-bottom: 0;
}
.content-item h2 {
    color: #1f2937;
    margin-bottom: 14px;
    font-size: 24px;
    line-height: 34px;
    font-weight: 700;
}
.notes p {
    margin-bottom: 12px !important;
    font-weight: 500;
}
section.test_wrapper.sp p {
    width: 80%;
    margin: 0 auto 32px;
    text-align: center;
}
.content-item h3 {
    color: #1f2937;
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
}
section.test_wrapper.sp h2 {
    font-size: 34px;
    line-height: 44px;
}
/*.content-item ul {*/
/*    margin-left: 20px;*/
/*}*/

.content-item li {
    margin-bottom: 10px;
    line-height: 26px;
    font-size: 16px;
}
.ctc_wrapper h3 {
    margin: 0;
    color:#fff;
}
.ctc_wrapper {
    background: #b22b2e;
    padding: 8px 24px;
    text-align: center;
    margin-bottom: 14px;
}

.mobile-banner{
    display:none;
}
@media (max-width: 768px) {
    
    .mobile-banner{
        display:block;
    }
    
   .desktop-banner{
        display:none;
    }
    .test{
        height:auto;
    }
    .programme-cards {
        flex-direction: column;
    }
    
    .header-fields {
        flex-direction: column;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab {
        flex: none;
    }
}

section.top_placements_wrapper.sp .top_content {
    padding: 24px 0;
}

section.top_placements_wrapper.sp .top_content h3 {
    font-size: 19px;
    line-height: 30px;
    font-weight: 700;
}

section.panorama_wrapper_title.sp {
    padding-bottom: 0;
}

@media (min-width: 1100px) and (max-width: 1499px) {
    
    section.logos_wrapper.sp h3 {
    font-size: 14px;
    line-height: 25px;
}


.stats_icon {
    width: 70px;
    height: 70px;
    margin-bottom: 24px;
    margin: 10px auto 24px;
}

.stats_item h3 {
    font-size: 25px;
    line-height: 26px;
    margin-bottom: 10px;
}
.card_slider .item h3 {
    font-size: 16px;
    line-height: 28px;
}

p {
    font-size: 16px;
    line-height: 26px;
}
section.programme_wrapper.sp {
    padding: 70px 24px;
}

.main_title h2 {
    font-size: 38px;
    line-height: 48px;
}
.field-group label {
    font-size: 17px;
}
.header h2 {
    font-size: 32px;
}
.card h3 {
    font-size: 1.8rem;
}
.tab {
    font-size: 12px;
}
.content-item h2 {
    margin-bottom: 24px;
}
section.top_placements_wrapper.sp .top_content h3 {
    font-size: 18px;
    line-height: 28px;
}
.dean_image img {
    max-width: 110px !important;
}
.dean_content p {
    font-size: 14px;
}

.testimonail_image {
    left: 35%;
}


section.top_placements_wrapper.sp .top_content {
    padding: 14px 0;
}
.dean_content {
    width: 90%;
    text-align: left;
    padding-left: 22px;
}
.dean_content h4 {
    font-size: 23px;
    line-height: 33px;
    margin-bottom: 1px !important;
    font-weight: 600;
}
}


@media (min-width: 1100px) and (max-width: 1199px) {
        section.logos_wrapper.sp h3 {
        font-size: 13px;
        line-height: 22px;
    }
    
        .card_slider .item h3 {
        font-size: 13px;
        line-height: 25px;
    }
        section.top_placements_wrapper.sp .top_content h3 {
        font-size: 15px;
        line-height: 28px;
    }
    section.test_wrapper.sp h2 {
    font-size: 32px;
    line-height: 42px;
}
.testimonail_item h3 {
    font-size: 15px;
    line-height: 23px;
}
.testimonail_item h4{
    font-size: 15px;
    line-height: 23px;
}

.testimonail_item h2 {
    font-size: 22px;
    line-height: 32px;
    margin-bottom: 8px;
}

.stats_content p {
    font-size: 14px;
    line-height: 24px;
}

.stats_wrapper {
    padding: 20px 0;
}


}

@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) {
  /* iPad styles */
  
      .stats_wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats_icon {
    width: 70px;
    height: 70px;
}
p {
    font-size: 16px;
    line-height: 26px;
}
    .card_slider .item h3 {
    font-size: 18px;
    line-height: 30px;
    
}  
section.programme_wrapper.sp {
    padding: 70px 24px;
}
section.programme_wrapper.sp .header h2 {
    font-size: 30px;
    line-height: 40px;
}
.field-group label {
    font-size: 16px;
}
.dean_content {
    width: 100%;
    text-align: left;
    padding-left: 22px;
    margin-top: 12px;
}
.card.dean_card {
    display: flex
;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

.dean_image img {
    max-width: 110px !important;
}
.card h3 {
    font-size: 1rem;
    line-height: 31px;
}
section.top_placements_wrapper.sp .top_content h3 {
    font-size: 15px;
    line-height: 25px;
    font-weight: 700;
}

.main_title h2 {
    font-size: 38px;
    line-height: 48px;
}
section.test_wrapper.sp h2{
      font-size: 32px;
    line-height: 42px;
}

.testimonail_image {
    left: 38%;
}


}

@media (max-width: 768px) {
    
    section.logos_wrapper {
    padding-bottom: 0;
}

section.panorama_wrapper.sp {
    background: #b22b2e;
    color: #fff;
    padding: 0;
}
p {
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 12px;
}
section.global_wrapper.sp {
    margin-top: 50px;
}
section.top_placements_wrapper.sp {
    padding-bottom: 0;
    /* padding-top: 0; */
}
section.top_placements_wrapper.sp .top_content h3 {
        font-size: 15px !important;
        line-height: 29px;
        font-weight: 700;
        text-align: center;
    }

body section.top_placements_wrapper.sp .top_content {
    padding: 12px 0;
}

section.testimonails_wrapper.sp .title_wrapper {
    margin-bottom: 38px;
}
.stats_wrapper {
    grid-template-columns: repeat(2, 1fr);

}
section.testimonails_wrapper .main_title h2 {
    font-size: 25px;
    line-height: 35px;
    margin-bottom: 10px;
}
    body .testimonail_image {
        top: 30px;
        z-index: 9999;
        margin: 0 auto;
        left: 0;
        transform: translateX(90%);
    }
    
    section.logos_wrapper.sp .main_title {
    margin-bottom: 24px;
}
section.logos_wrapper.sp h3 {
    font-size: 12px;
    line-height: 22px;
   
}
    .card_slider .item h3 {
        font-size: 12px;
        line-height: 22px;
        height: 100%;
    }
    .stats_content {
    height: 60%;
    padding-right: 12px;
}
body .header .main_title h2 {
    margin-bottom: 0;
}

    section.panorama_wrapper_title.sp {
    padding-bottom: 24px;
    padding-top: 0;
}
body .test {
    background: #fff;
    padding: 24px;
    border-radius: 34px;
    position: relative;
    width: 100%;
    padding-top: 50%;
}
body .testimonail_item p {
    font-size: 10px;
    line-height: 22px;
}
body .testimonail_item h2 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 3px;
    font-weight: 700;
    color: #dc3545;
}
body .testimonail_item h3 {
    font-size: 13px;
    line-height: 22px;
    margin-bottom: 5px;
    font-weight: 600;
}
body .testimonail_item h4 {
    font-size: 12px;
    line-height: 28px;
    margin-bottom: 6px;
    font-weight: 600;
}
.topper_main {
    grid-template-columns: repeat(2, 1fr);
}
section.logos_wrapper {
    padding-bottom: 0;
}
.ctc_wrapper {
    padding: 4px 24px;
}
.sp{
    padding:50px 0;
}
body section.test_wrapper.sp h2 {
    font-size: 24px;
    line-height: 34px;
}
body  section.test_wrapper.sp p {
    width: 100%;
    margin: 0 auto 32px;
    text-align: center;
}
body section.test_wrapper.sp .main_title h2:before {
    right: 50px;
}
body section.testimonails_wrapper {
    padding: 50px 24px;
}
body .testimonail_item {
    width: 100%;
}

.main_title h2 {
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 24px;
}
.stats_wrapper {
    padding: 24px 0;
}
.stats_item h3 {
    font-size: 24px;
    line-height: 34px;
    margin-bottom: 10px;
    font-weight: 900;
}
.stats_icon {
    width: 50px;
    height: 50px;
    margin-bottom: 24px;
    margin: 10px auto 34px;
}
body .main_title {
    margin-bottom: 0;
}
body section.programme_wrapper.sp {
    padding: 50px 0 0;
}
body .header {
    padding: 30px;
    display: block;
}
section.programme_wrapper.sp .header-fields {
    display: block;
    width: 100%;
    height: 100%;
    margin-top: 24px;
}
section.programme_wrapper.sp .feild_wrappr {
    display: block;
    width: 100%;
}
section.programme_wrapper.sp .field-group {
    flex: 1;
    margin-right: 12px;
    margin-bottom: 22px;
}

section.programme_wrapper.sp .field-group label {
    display: block;
    margin-bottom: 9px;
    font-size: 17px;
}
    /*.container {*/
    /*    padding: 10px;*/
    /*    margin: 10px;*/
    /*}*/
    
    table {
        font-size: 12px;
    }
    
    .header-row th,
    .data-row td {
        padding: 8px;
    }
    
    .footer-text {
        font-size: 24px;
    }
    
    
    .card h3 {
    font-size: 18px;
    line-height: 28px;
}
.dean_image img {
    max-width: 100px !important;
}
.dean_content {
    width: 80%;
    padding-left: 12px;
}
.dean_content h4 {
    font-size: 16px;
    line-height: 30px;
}

.content-section {
    padding: 16px;
    min-height: max-content;
}
.tabs-container {
    margin-bottom: 14px;
}
    body .tabs {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow: hidden;
        overflow-x: scroll;
     
    }
body .tab {
    font-size: 13px;
}
.content-item h2 {
    font-size: 20px;
    line-height: 30px;
}
.content-item h3 {
    font-size: 15px;
    line-height: 27px;
}
}
:root{
      --mriirs-blue:#1D5FA8;
      --mriirs-text:#111111;
    }

    /* ===== Programme cards ===== */
    .programme-cards {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
    }
    @media (max-width: 991px) { .programme-cards { grid-template-columns: 1fr; } }
    .programme-cards .card {
      display: flex; flex-direction: column; gap: 8px;
      padding: 20px; border-radius: 12px; background: #f9fafb;
      border: 1px solid #d0d5dd; min-height: 160px;
    }
    .programme-cards .card-icon {
      font-size: 3.2rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: #f6f7fb;
      margin-bottom: 6px;
    }
    .programme-cards h3 { margin: 0; font-weight: 800; color: var(--mriirs-blue); }
    .programme-cards p {margin: 0;color: #344054;font-size: 1.9rem;}

    /* ===== Top Placements ===== */
    .topper_main{ display:flex; flex-wrap:wrap; gap:24px; justify-content:center; align-items:stretch; }
    .topper_item{ display:flex; flex-direction:column; background:#fff; border:1px solid #e5e7eb; border-radius:14px; overflow:hidden; box-shadow:0 1px 2px rgba(0,0,0,.04); transition:transform .15s, box-shadow .15s; }
    .topper_item:hover{ transform:translateY(-2px); box-shadow:0 6px 16px rgba(0,0,0,.08); }
    @media (min-width:1200px){ .topper_item{ flex:0 1 calc((100% - (5 * 24px)) / 6); } }
    @media (min-width:992px) and (max-width:1199.98px){ .topper_item{ flex:0 1 calc((100% - (3 * 24px)) / 4); } }
    @media (min-width:576px) and (max-width:991.98px){ .topper_item{ flex:0 1 calc((100% - 24px) / 2); } }
    @media (max-width:575.98px){ .topper_item{ flex:1 1 100%; } }
    .topper_image img{ width:100%; display:block; aspect-ratio:3/4; object-fit:cover; }
    .top_content{ flex:1; display:flex; flex-direction:column; justify-content:space-between; padding:14px 12px; text-align:center; }
    .top_content h3{ font-size:1rem; font-weight:700; margin-bottom:6px; }
    .ctc_wrapper{ margin:6px 0 12px; }
    .ctc_tag{ display:inline-block; padding:6px 12px; font-size:.9rem; font-weight:800; background:#991b1b; color:#fff; border-radius:999px; white-space:nowrap; }
    .place_img{ margin-top:auto; min-height:45px; display:flex; align-items:center; justify-content:center; }
    .place_img img{ max-height:32px; width:auto; object-fit:contain; display:block; }
    .main_title h2{ margin-bottom:10px; }
    .center-text{ text-align:center; }

    .text-blue{ color:var(--mriirs-blue)!important; }
    .text-black-strong{ color:var(--mriirs-text)!important; font-weight:700!important; }

    /* ===== Dean card (Name > Photo > Dean, \n School) ===== */
    .dean_card{
      padding:20px; border:1px solid #d0d5dd; border-radius:12px; background:#fff; text-align:center;
    }
    .dean_card .dean_header{
      margin:0 0 12px; font-weight:800; font-size:1.35rem; color:var(--mriirs-blue);
    }
    .dean_card .dean_photo img{
      width:180px; aspect-ratio:3/4; object-fit:cover; border-radius:12px; border:1px solid #e5e7eb; display:inline-block;
    }
    .dean_card .dean_text{
      margin-top:10px;
      font-size: 1.5rem;
      color:#111;
      font-weight:600;
      line-height:1.4;
    }