
            .event-card .event-image{
                background: #011c502e;
            }
            .event-content .event-title {
    margin-bottom: 30px;
    color: #262626;
    font-family: "Archivo", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;

    /* Maximum 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    /* Keep all cards balanced */
    height: auto; /* 24px × 3 lines */
}
.event-content .event-date {
    display: flex;
    gap: 12px;
    align-items: center;
}
.event-content .day {
    color: #262626;
    font-family: Poppins;
    font-size: 42px;
    font-style: normal;
    font-weight: 500;
    line-height: 45px;
}
        #asmarc-btn{
        position: absolute;
        right: 50px;
        top: 100px;
        z-index: 10;
        }
            .award_card .card-content{
                height: 100% !IMPORTANT;
    gap: 0px;
    
            }
    .lecture-track .lecture-card h3 {
    margin-bottom: 12px;
    }
    .award_card img {
    width: 418px;
    }
    .impact-title {
    width: fit-content;
    background: linear-gradient(282deg, #B60024 40.18%, #011C50 120.21%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
    }
     .lecture-card{
     transition:all 0.2s ease-in-out;
     }
    .banner-items #banner_slider {
    position: relative;
        height: 560px;
    overflow: hidden;
}
.banner-items .slide video {
    width: 100%;
       height: 560px;
    object-fit: cover;
    object-position: top center;
}
.banner-items .banner {
        height: 560px;
    width: 100%;
}
@media(max-width:992px){
.banner-items .centers_button{
    height: 52px;
    display: flex;
    right: 0;
    align-items: center;
    top: 50% ! IMPORTANT;
    transform: translateY(-50%) translateX(37%) rotate(-90deg) ! IMPORTANT;
    left: auto;
    }
    }
@media(max-width:600px){
.banner-items .slide video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: 0 0px;
}
.banner-items .banner {
    height: 250px;
    width: 100%;
}
.banner-items #banner_slider {
    position: relative;
    height: 250px;
    overflow: hidden;
}
}

/* =====================================================
   SLIDER WRAPPER
===================================================== */

.slides-container{
    position:relative;
    overflow:hidden;

    width:100%;
    z-index:2;

    padding-top:40px;
}

/* =====================================================
   TRACK
===================================================== */

.slides-inner{

    display:flex;
    align-items:stretch;

    width:max-content;

    height:auto;

    will-change:transform;

    user-select:none;

    gap:16px;
}

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

.slides-inner .slide{

    position:relative; /* IMPORTANT */

    display:flex;
    flex-direction:column;

    flex:0 0 auto;

    width:434px;

    height:auto;

    opacity:1;

    margin-right:0; /* gap already used */

    overflow:hidden;

    backface-visibility:hidden;

    transform:translateZ(0);
}

/* =====================================================
   IMAGE
===================================================== */

.slides-inner .slide img{
    width:100%;
    height:287px;

    object-fit:cover;

    display:block;

    pointer-events:none;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:991px){

    .slides-inner .slide{
        width:340px;
    }

}

@media(max-width:768px){

    .slides-inner .slide{
        width:280px;
    }

}
    
        .popup-box {
    max-width: 90% !important;
    }
    .popup-left {
        width: 60% !important;
    }
    .popup-right {
        width: auto !important;
    flex: 1 !important;
    }
    .popup-buttons {
    gap: 8px !important;
    }
    .popup-left-content {
    padding: 30px !important;
    }
    .popup-buttons .admission-open {
    height: auto !important;
    padding: 4px !important;
    
    
    }
        .award_card p{
            max-height: 48px;
    margin: 0;
        }
         .course-grid {
    	    gap:16px !important;
    	    }
    	   
.course-card-img img{
height:100%;
width:100%;
object-fit:cover;
}
.view-details{
display: flex;
align-items: center;
gap: 10px;
color: #011C50;
font-family: Poppins;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: normal;
text-transform: capitalize;
}
.report-icon {
    width: 24px;
    height: 24px;
    padding: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 32px;
    border: 2px solid #B60024;
    box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05);
}
.course-card:hover .report-icon svg{
	     transform: rotate(45deg);
	    }
	     .course-card .report-icon svg{
	    transition:all 0.4s ease-in-out;
	    }
	    .course-detail-btn{
	    color: #FFF !important;
font-family: Poppins;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
text-decoration-line: underline !important;
text-decoration-style: solid;
text-decoration-skip-ink: auto;
text-decoration-thickness: auto;
text-underline-offset: auto;
text-underline-position: from-font;
transition:all 0.4s ease-in-out;
opacity:0;
	    }
	    .course-content{
    transform: translateY(20px);
transition:all 0.4s ease-in-out;
        position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 0 15px 20px;
    height: auto;
}
.course-title {
position:relative !important;
padding:0 !important;
background:transparent !important;
    margin-bottom: 0px;
    transition:all 0.4s ease-in-out;
}
.course-card:hover .course-title{
margin-bottom: 8px;
}
.course-card:hover .course-content{
transform:translateY(0px);
}
.course-card:hover .course-detail-btn{
opacity:1;
} 
.pgm-link{
	        position: relative;
    display: block;
    height: 100%;
	    }
	    .slides-inner .slide{
	    width:350px;
	    }
	    .slides-inner .slide img{
	    height:216px;
	    }
	    @media(max-width:992px){
	    #asmarc-btn {
    position: absolute;
    right: 50%;
    top: auto;
    z-index: 10;
    display: flex;
    bottom: 100px;
    transform: translateX(50%);
    width: max-content;
}
}
	   
	    @media(max-width:600px){
	    .main-tabs{
	        justify-content: center;
	    }
	        .popup-box {
        height: auto !important;
        max-width:100% !important;
    }
    .popup-left {
    width: 95% !important;
}
.popup-left-content {
    padding: 0 !important;
}
 #asmarc-btn {
    position: absolute;
    right: 50%;
    top: auto;
    z-index: 10;
    display: flex;
    bottom: 100px;
    transform: translateX(50%);
    width: max-content;
}
	    }
	    @media (max-width: 600px) {

    .announcement-items {
        display: flex;
        width: max-content;
        overflow: hidden;
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
    }

    .marquee-track {
        display: flex;
    }

    .announce-item {
        position: relative; /* remove absolute */
        white-space: nowrap;
        flex-shrink: 0;
        padding-right: 50px;
        position: relative !important;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .announcement-text {
        overflow: hidden;
    }
    .banner-items .centers_button:hover {
    border-color: transparent ! IMPORTANT;
    color: var(--primary) !important;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #011C50 0%, #B60024 100%) border-box;
}
.banner-items .centers_button:hover .notification-icon {
        transform: translateX(5px);
}
}
 .lecture-card{
	    min-width:calc(26% - 10px) !Important;
	    padding:24px 0px !important;
	    }
	    .lecture-track {
    display: flex;
   
}
.lecture-card-img{
height:216px !Important;
}
@media (max-width: 600px) {
    .banner-items .centers_button {
        height: 52px;
        display: flex;
        right: 0;
        align-items: center;
        top: auto ! IMPORTANT;
        transform: translateY(0%) translateX(0%) rotate(0) ! IMPORTANT;
        left: auto;
        position: relative;
        margin: 12px 16px;
    }
        .centersh2 {
        font-size: 18px !important;
    }
        .centersh4 {
        font-size: 16px !important;
        margin: 0;
    }

    .announcement-text {
        overflow: hidden;
        position: relative;
    }

    .announcement-items {
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
        align-items: center;
        gap:10px;
    }

    .announce-item {
        position: relative !important;
        flex-shrink: 0;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        padding-right: 60px; /* spacing between items */
            width: auto !Important;
    }

    .flash_text {
        white-space: nowrap; 
    }
    .slides-inner .slide{
	    width:100%;
	    }
}
.life-card .life-card-content p{
    max-height: 60px;
    overflow: hidden;
    }
    .life-card:hover .life-card-content p{
     max-height: 100%;
     overflow: visible;
    }
    .lecture-card-img img {
        object-position: top center;
    }
    
    /* Tablet: 2 cards */
    @media (max-width: 992px) {
        .lecture-slider .lecture-card {
            flex: 0 0 calc((100% - 16px) / 2) !important;
            width: calc((100% - 16px) / 2) !important;
            min-width: 0 !important;
            max-width: none !important;
        }
    }
    /* Mobile: 1 card */
    @media (max-width: 600px) {
        .lecture-slider .lecture-card {
            flex: 0 0 100% !important;
            width: 100% !important;
        }
    }
    
    
     /* Tablet: 2 cards */
    @media (max-width: 992px) {
        .slides-inner .award_card.slide {
            width: calc((100vw - 48px) / 2) !important;
        }
        .slides-inner .award_card.slide img {
            height: 240px !important;
        }
    }

    /* Mobile: 1 card */
    @media (max-width: 600px) {
        .slides-inner .award_card.slide {
            width: calc(100vw - 32px) !important;
        }
        .slides-inner .award_card.slide img {
            height: 220px !important;
        }
    }
/* =========================================
   MES RESPONSIVE BANNER
   ========================================= */

.mes_banner .banner-items #banner_slider {
    position: relative;
    width: 100%;
    height: clamp(520px, 42vw, 720px) !important;
    min-height: 0;
    overflow: visible;
}

/* =========================================
   SLIDES
   ========================================= */

.mes_banner .banner-items .slide {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 1s ease,
        visibility 1s ease;

    z-index: 1;
}

.mes_banner .banner-items .slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* =========================================
   IMAGE
   ========================================= */

.mes_banner .banner-items .slide img.banner {
    display: block;

    width: 100%;
    height: clamp(520px, 42vw, 720px);

    object-fit: cover;
    object-position: center center;
}

/* =========================================
   VIDEO
   ========================================= */

.mes_banner .banner-items .slide video {
    display: block;

    width: 100%;
    height: 700px !important;

    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;

    object-fit: cover !important;
    object-position: center center;
}

/* =========================================
   TEXT
   ========================================= */

.mes_banner .banner-items .centeres {
       position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: clamp(520px, 42vw, 720px);
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* =========================================
   OVERLAY
   ========================================= */

.mes_banner .banner-overlay {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        180deg,
        rgba(17, 108, 248, 0) 0%,
        rgba(19, 41, 88, 0.34) 100%
    );

    z-index: 3;
    pointer-events: none;
}
@media (max-width: 991px) {
    .mes_banner .banner-items #banner_slider {
        height: 500px !important;
    }

    .mes_banner .banner-items .slide img.banner {
        height: 500px;
    }

    .mes_banner .banner-items .centeres {
        height: 500px;
    }
}
@media (max-width: 767px) {
    .mes_banner .banner-items #banner_slider {
        height: 420px !important;
    }

    .mes_banner .banner-items .slide img.banner {
        height: 420px;
    }

    .mes_banner .banner-items .centeres {
        height: 420px;
    }
}

.announcement-items {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.announcement-items.gsap-ready {
  opacity: 1;
}

/* ===== Scroll progress bar ===== */
.scroll-progress{
  position:fixed; top:0; left:0; width:100%; height:3px;
  background:linear-gradient(90deg,#011C50,#B60024);
  transform:scaleX(0); transform-origin:0 50%;
  z-index:10000; pointer-events:none;
}

/* ===== Scroll reveal (only active when JS adds .js-reveal) ===== */
html.js-reveal [data-reveal]{
  opacity:0;
  translate:0 32px;               /* 'translate' so hover 'transform' effects keep working */
  transition:
    opacity .7s cubic-bezier(.22,.61,.36,1) var(--rv-delay,0s),
    translate .7s cubic-bezier(.22,.61,.36,1) var(--rv-delay,0s);
  will-change:opacity, translate;
}
html.js-reveal [data-reveal="fade"]{ translate:none; }   /* sliders: opacity only */
html.js-reveal [data-reveal].is-revealed{ opacity:1; translate:0 0; }

@media (prefers-reduced-motion: reduce){
  html.js-reveal [data-reveal]{ opacity:1; translate:none; transition:none; }
}

/* Mobile: notification button floats over the banner (no white strip) */
.mes_banner .banner-items{
  position: relative;
}
@media (max-width: 600px){
  .mes_banner .banner-items .centers_button{
    position: absolute;
    left: 16px;
    right: auto;
    bottom: 16px;
    margin: 0;
    z-index: 10;
  }
   .mes_banner .banner-items .slide video{
    height: 420px !important;
  }
}

/* Life at Asmabi: mobile fit */
/* Life at Asmabi: mobile only */
@media (max-width: 600px){

  /* card fits the phone width */
  .life-slider{
    overflow: hidden;
  }
  .life-slider .life-card{
    width: calc(100vw - 48px) !important;
    min-width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    flex: 0 0 calc(100vw - 48px) !important;
  }

  /* text fits inside the card */
  .life-card .life-card-content{
    box-sizing: border-box;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .life-card .life-card-content span,
  .life-card .life-card-content p{
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }

  /* RESET: phones keep :hover "stuck" after a tap, so cancel it.
     Only the .is-open class (tap) controls the effect now. */
  .life-card:hover .life-card-content{
    transform: translateY(45px);
  }
  .life-card:hover::before{
    padding: 45px;
  }
  .life-card:hover .life-card-content p{
    opacity: 0;
    max-height: 60px;
    overflow: hidden;
  }

  /* OPEN (tap): same effect as desktop hover */
  .life-card.is-open .life-card-content{
    transform: translateY(0px);
  }
  .life-card.is-open::before{
    padding: 355px 45px 45px;
  }
  .life-card.is-open .life-card-content p{
    opacity: 1;
    max-height: 100% !important;
    overflow: visible !important;
  }
}
                   /* ---------- slider mechanics ---------- */
.tst-viewport{
  position:relative;
  z-index:5;
  box-sizing:content-box;          /* padding no longer eats into the slider height */
  overflow:hidden;
  cursor:grab;
  touch-action:none;
  user-select:none;
  -webkit-user-select:none;
  padding:6px 4px 16px;            /* must stay smaller than the gap (20px) */
}
.tst-viewport.is-dragging{ cursor:grabbing; }
.tst-track{
  display:flex;
  flex-direction:column;
  gap:20px;                        /* keep in sync with GAP in the JS */
  will-change:transform;
}

/* ---------- card ---------- */
.tst-track .testimonial{
  position:relative;
  display:flex !important;
  align-items:center;
  gap:28px;
  padding:26px 30px 26px 34px !important;
  margin:0 !important;
  background:#f9fbff;
  border:1px solid rgba(1,28,80,.08) !important;
  border-radius:20px;
  overflow:hidden;
  opacity:.25;
  transform:scale(.97);
  box-shadow:none;
  transition:opacity .7s ease, transform .7s ease, box-shadow .7s ease;
}
.tst-track .testimonial.is-active{
  opacity:1;
  transform:scale(1);
  box-shadow:0 12px 32px rgba(1,28,80,.10);
}
.tst-track .testimonial::before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:6px;
  background:linear-gradient(180deg,#B60024,#011C50);
}

/* ---------- photo ---------- */
.tst-track .testimonial .tst-photo{
  flex:0 0 140px;
  width:140px;
  height:170px;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(1,28,80,.18);
}
.tst-track .testimonial .tst-photo img{
  width:100% !important;
  height:100% !important;
  object-fit:cover;
  object-position:center top;
  display:block;
  pointer-events:none;
  -webkit-user-drag:none;
}

/* ---------- text ---------- */
.tst-track .testimonial .tst-body{ position:relative; flex:1; min-width:0; }
.tst-track .testimonial .tst-quote{
  position:absolute;
  top:-14px; right:0;
  color:#B60024;
  opacity:.12;
}
.tst-track .testimonial .tst-body p{
  margin:0 0 16px;
  font-size:16px;
  line-height:26px;
  color:#262626;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.tst-track .testimonial .tst-meta{
  padding-top:14px;
  border-top:1px solid rgba(1,28,80,.12);
}
.tst-track .testimonial .tst-meta h4{
  margin:0 0 2px;
  font-size:20px;
  font-weight:600;
  color:#011C50;
}
.tst-track .testimonial .tst-meta span{
  display:block;
  font-size:14px;
  line-height:20px;
  color:#B60024;
  font-weight:500;
}

/* ---------- tablet ---------- */
@media (max-width:992px){
  .testimonial-section{ padding-bottom:60px !important; }   /* space before the next section */
  .testimonial-section .right-panel{ min-width:0; }
  .tst-track .testimonial{
    gap:22px;
    padding:22px 24px 22px 28px !important;
  }
  .tst-track .testimonial .tst-photo{
    flex:0 0 120px;
    width:120px;
    height:150px;
  }
  .tst-track .testimonial .tst-body p{
    font-size:15px;
    line-height:24px;
  }
  .tst-track .testimonial .tst-meta h4{ font-size:18px; }
}

/* ---------- mobile: photo centered ---------- */
@media (max-width:600px){
  .testimonial-section{ padding-bottom:48px !important; }
  .tst-viewport{ padding:4px 2px 14px; }
  .tst-track .testimonial{
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:16px;
    padding:28px 20px 22px !important;
  }
  /* accent bar moves from the left side to the top */
  .tst-track .testimonial::before{
    width:100%;
    height:5px;
    bottom:auto;
    background:linear-gradient(90deg,#B60024,#011C50);
  }
  .tst-track .testimonial .tst-photo{
    flex:none;
    width:110px;
    height:130px;
    margin:0 auto;
  }
  .tst-track .testimonial .tst-body{ width:100%; flex:none; }
  .tst-track .testimonial .tst-body p{
    font-size:15px;
    line-height:24px;
    -webkit-line-clamp:5;
  }
}
.tst-track .testimonial,
.tst-track .testimonial.is-active{
  box-shadow:none !important;
}
.tst-track .testimonial.is-active{
  border-color:rgba(1,28,80,.14) !important;
}

/* ---------- tablet ---------- */
@media (max-width:992px){
  .testimonial-section{
    padding-top:60px !important;      /* same space as the other sections */
    padding-bottom:60px !important;
  }
  .testimonial-section .left-panel{
    position:static !important;       /* sticky isn't needed when the panels are stacked */
  }
}

/* ---------- mobile ---------- */
@media (max-width:600px){
  .testimonial-section{
    padding-top:48px !important;
    padding-bottom:48px !important;
  }
}
@media (max-width:600px){
  .tst-viewport{
    touch-action:pan-y;     /* swiping on the cards scrolls the page normally */
    cursor:default;
  }
}
    


