
  .ranking-badge {
  display: inline-block;
  border-radius: 999px; /* pill shape */
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
  
}
.badge-smu{
  background-color:#BEFFFE;
  color: #117673;
  font-weight: bold;
}

.badge-muj{
  background-color:#CCC1FF;
  color: #5f2eea;
  box-shadow: 0 2px 4px rgba(95, 46, 234, 0.1);
  border: 1px solid #d9c8ff;
  font-weight: bold;
}


/* Responsive tweaks */
@media (max-width: 768px) {
  .ranking-badge {
    font-size: 15px;
    padding: 5px 12px;
    white-space: normal;
    text-align: center;
  }
}


.institution-banner {
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}

.ban-muj{
  background-image: linear-gradient(311.61deg, rgba(204, 193, 255, 0) 28.95%, #CCC1FF 116.31%);
}

.ban-smu{
  background-image: linear-gradient(311.61deg, rgba(190, 255, 254, 0) 28.95%, #BEFFFE 116.31%);
}

.doodle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 20px;
}

.breadcrumb-title {
  color: #444;
  text-decoration: none;
  margin-right: 8px;
}

.separator {
  width: 6px;
  margin: 0 8px;
}

.banner-star,
.banner-star-second {
  width: 44px;
  height: 44px;
  margin: 10px 0;
}

.logos {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .logos {
    display: flex;
    flex-direction: column;
    }
  
}

.mahe-logo {
  width: 200px;
  height: 55px;
}

.staging-line {
  width: 2px;
  height: 40px;
  background-color: #ccc;
  margin: 0 20px;
}

.ranking-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #666;
}

.banner-details {
  margin-top: 30px;
}

.banner-details h1 {
  font-size: 36px;
  color: #2c2c2c;
  margin-bottom: 20px;
}

.description p {
  margin-bottom: 10px;
  line-height: 1.6;
  font-weight: bold;
  color: #555;
}

#downloadButton {
  background: linear-gradient(180deg, #ff6600 0%, #ff5204 0%, #ff270d 100%);
  color: white;
  padding: 10px 20px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 20px;
}

.university-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  margin-top: 40px;
}

/* ======================================== */
.course-section {
  padding: 2rem;
  font-family: Arial, sans-serif;
}

.header {
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  margin-bottom: 1rem;
  padding: 0 4rem;
}

.header h2{
  font-size: 38px;
}

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

  .header h2{
    font-size: 26px;
  }
}

.course-info{
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}

.course-info h3{
  float: left;
  font-size: small;
}

.badge {
  background-color: white;
  color: #000;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-left: 10px;
  white-space: nowrap;
}

.view-all {
  background: linear-gradient(180deg, #ff6600 0%, #ff5204 0%, #ff270d 100%);
  color: #fff;
  border: none;
  padding: 6px;
  cursor: pointer;
  border-radius: 10px;
  /* float: right; */
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
}

.courses-wrapper {
  overflow: hidden;
  width: 100%;
}

.courses-grid {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.course-card {
  flex: 0 0 23%;
  box-sizing: border-box;
  padding: 0.5rem 0.5rem 0 0.5rem;
  background: #F7F6F6;
  border-radius: 10px;
  /* margin: 2px; */
  margin-left: 1%;
  margin-right: 1%;
  text-align: center;
  /* box-shadow: 0 2px 6px rgba(0,0,0,0.1); */
  border: 2px solid rgba(21, 20, 25, .1);
}

.course-card img {
  width: 100%;
  border-radius: 5px;
}

.course-info {
  margin-top: 0.5rem;
}

.rating {
  display: flex;
  color: #000000;
  font-size: x-small;
  background-color: white;
  border-radius: 12px;
  border: 1px solid rgba(21, 20, 25, .1);
  padding: 6px 6px;
}



.course-meta {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #555;
  display: flex;
  justify-content: space-around;
  float: inline-start;
}

.nav {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0 1rem;
  color: #333;
}

.pagination-dots {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.pagination-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 5px;
  cursor: pointer;
}

.pagination-dots .dot.active {
  background: #333;
}


/* ================================================= */

.leaders-section {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 5rem;
}

.leaders-section h2 {
  /* font-size: 2rem; */
  margin-bottom: 2rem;
}

.leaders-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.leader-card {
  display: flex;
  background-color: #f9f9f9;
  border-radius: 16px;
  padding: 0.5rem;
  flex: 1 1 48%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 2px solid rgba(25, 22, 20, 0.1);
}

.leader-card:hover{
  border: 2px solid rgba(255, 60, 0, 0.1);
}

.leader-image {
  flex: 0 0 200px;
  height: auto;
  margin-right: 1.5rem;
  background-color: #e8f8fa;
  /* padding: 0.5rem; */
  border-radius: 12px;
  display: flex;
  /* align-items: center; */
  /* justify-content: center; */
}

.leader-image img {
  max-width: 100%;
  border-radius: 8px;
}

.leader-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.leader-info p {
  font-size: 0.75rem;
  color: #555;
  line-height: 1.6;
  font-weight: bold;
  /* margin-bottom: 1rem; */
}

.leader-info a {
  color: #000;
  text-decoration: underline;
  font-weight: bold;
}

.leader-name {
  /* font-weight: bold; */
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.leader-title {
  font-size: 0.9rem;
  color: #444;
}

@media (max-width: 768px) {
  .leaders-container {
    flex-direction: column;
  }

  .leader-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .leader-image {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .leader-info {
    align-items: center;
  }
}
/* ===================================== */

.results-section {
  max-width: 1200px;
  margin: 0 6rem;
  position: relative;
  margin-bottom: 5rem;
}

.results-header {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.results-header span {
  position: relative;
  display: inline-block;
}

/* .results-header span::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2.2rem;
  left: -0.4rem;
  top: 0.1rem;
  border: 2px solid orange;
  border-radius: 50% 50% 40% 40%;
  transform: rotate(-5deg);
  z-index: -1;
} */

.stats-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stat-card {
  flex: 1 1 22%;
  background: white;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  border-left: 5px solid #F26722;
}

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

.stat-number {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #F26722 0%, #fcb900 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #F26722;

}

.stat-text {
    font-size: 18px;
    color: #555;
    font-weight: 500;
    margin: 0;
}

.floating-badge {
  position: absolute;
  top: -20px;
  right: -50px;
  /* background-color: #7ed6df;
  padding: 0.5rem 1rem;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transform: rotate(-10deg);
  font-weight: bold;
  font-size: 0.9rem;
  color: #000;
  white-space: nowrap; */
}

@media (max-width: 768px) {
  .stat-card {
    flex: 1 1 100%;
    width: 100%;
  }

  .floating-badge {
    /* position: static; */
    position: absolute;
    margin-top: 1rem;
    transform: rotate(0);
    text-align: center;
  }

  .results-section {
    margin: 0 2rem;
  }
}

/* ====================================== */



.new-carousel-container {
  background: #151419 url(../img/individual-course/grid-bg.png);
  padding: 4rem 10rem;
  position: relative;
  /* max-width: 1400px; */
  margin: 0 auto;
}

.new-carousel-wrapper {
  overflow: hidden;
}

.new-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.new-card {
  background-color: #1e1e1e;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex: 0 0 calc(50% - 1rem);
  margin: 0 0.5rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.new-card img {
  width: 200px;
  object-fit: cover;
}

.info {
  padding: 1rem;
  flex: 1;
}

.info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: orangered;
}

.info p {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.timeline {
  margin-top: 1rem;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.timeline-year {
  background: #38c0e5;
  color: #000;
  padding: 0.2rem 1rem;
  border-radius: 50px;
  font-weight: bold;
  margin-right: 1rem;
  min-width: 62px;
  text-align: center;
}

.timeline-text {
  font-size: 0.85rem;
  color: #ccc;
}

.nav-buttons {
  text-align: center;
  margin-top: 2rem;
}

.nav-btn {
  background: #38c0e5;
  color: #000;
  border: none;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 30px;
  margin: 0 0.5rem;
  transition: background 0.3s ease;
}

.nav-btn:hover {
  background: #2ca6c5;
}

@media (max-width: 768px) {
  .new-card {
    flex-direction: column;
    flex: 0 0 100%;
    margin: 0;
  }

  .new-card img {
    width: 100%;
    height: 250px;
  }

  .new-carousel-container{
    margin-top: 1rem;
    padding: 2rem;
  }

  
}

/* ===================================== */


.glance-section {
  color: #fff;
  padding-bottom: 3rem;
  font-family: "Queens";
}

.glance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.glance-header h2 {
  font-size: 2rem;
  color: #fff;
}

.apply-now-btn {
  background-color: #ff6600;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.apply-now-btn:hover {
  background-color: #e65500;
}

.glance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns on large screens */
  gap: 2rem;
}

.glance-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glance-item .label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #bbb;
}

.glance-item .value {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
}

/* Responsive: 2 columns on tablets */
@media (max-width: 992px) {
  .glance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: 1 column on mobile */
@media (max-width: 600px) {
  .glance-grid {
    grid-template-columns: 1fr;
  }

  .glance-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .apply-now-btn {
    align-self: stretch;
    text-align: center;
  }
}