/*endregion  */
/* .index--section {
  width: 100%;
  position: relative;
  z-index: 1;
} */
html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
/* HERO SECTION */


/* .welcome-section{
  width:100%;
  position:relative;
} */
 .welcome-section{
  width:100%;
  overflow:hidden;
}

.hero-container{
  width:100%;
  min-height:90vh;
  position:relative;

  background:
  linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1)),
  url('/images/rmmcnewimage.webp');

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  display:flex;
  align-items:center;
}

/* HERO IMAGE */

.hero-bg{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 8s ease;
}

.hero-container:hover .hero-bg{
  transform:scale(1.08);
}

/* DARK OVERLAY */

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to right,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.2)
  );
}

/* HERO TEXT */

.hero-content{
  position:absolute;
  top:45%;
  left:8%;
  transform:translateY(-50%);
  color:white;
  max-width:650px;
  animation:heroFade 1s ease forwards;
}

@keyframes heroFade{
  from{
    opacity:0;
    transform:translate(-30px,-50%);
  }
  to{
    opacity:1;
    transform:translate(0,-50%);
  }
}

.hero-title{
  font-size:50px;
  font-weight:700;
  margin-bottom:15px;
}

.hero-subtitle{
  font-size:20px;
  margin-bottom:30px;
  line-height:1.6;
}

/* BUTTONS */

.hero-buttons{
  display:flex;
  gap:15px;
}

.hero-btn{
  padding:12px 28px;
  border-radius:6px;
  font-weight:600;
  text-decoration:none;
  transition:0.3s;
}

.hero-btn.primary{
  background:#1556b8;
  color:white;
}

.hero-btn.primary:hover{
  background:white;
  color:#0b2c5f;
}

.hero-btn.secondary{
  border:2px solid white;
  color:white;
}

.hero-btn.secondary:hover{
  background:white;
  color:#0b2c5f;
}

/* HERO STATISTICS */

.hero-stats{
  position:absolute;
  bottom:20px;
  left:8%;
  display:flex;
  gap:15px;
  z-index:2;
}

.stat-card{
  backdrop-filter:blur(10px);
  background:rgba(255,255,255,0.12);
  border-radius:8px;
  padding:10px 14px;
  color:white;
  min-width:100px;
  text-align:center;
  transition:transform 0.3s, background 0.3s;
}

.stat-card:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,0.22);
}

.stat-card h3{
  font-size:20px;
  font-weight:700;
  margin-bottom:4px;
}

.stat-card p{
  font-size:11px;
  margin:0;
  text-transform:uppercase;
  letter-spacing:0.5px;
}

/* =========================
   RESPONSIVE MEDIA QUERIES
========================= */

/* Tablets */
@media (max-width:1024px){

  .hero-container{
    min-height:65vh;
  }

  .hero-title{
    font-size:40px;
  }

  .hero-subtitle{
    font-size:18px;
  }

  .hero-content{
    left:5%;
    max-width:550px;
  }

  .hero-btn{
    padding:10px 22px;
  }

  .hero-stats{
    gap:12px;
  }

  .stat-card{
    min-width:90px;
    padding:8px 12px;
  }

  .stat-card h3{
    font-size:18px;
  }

  .stat-card p{
    font-size:10px;
  }

}


/* Small Tablets / Large Phones */
@media (max-width:768px){

  .hero-container{
    min-height:60vh;
  }

  .hero-title{
    font-size:32px;
  }

  .hero-subtitle{
    font-size:16px;
  }

  .hero-content{
    left:5%;
    max-width:90%;
    top:40%;
  }

  .hero-buttons{
    flex-direction:column;
    gap:10px;
  }

  .hero-stats{
    bottom:15px;
  }

  .stat-card{
    min-width:80px;
    padding:6px 10px;
  }

  .stat-card h3{
    font-size:16px;
  }

  .stat-card p{
    font-size:9px;
  }

}


/* Phones */
@media (max-width:480px){

  .hero-container{
    min-height:50vh;
  }

  .hero-title{
    font-size:24px;
    margin-top:20px;
  }

  .hero-subtitle{
    font-size:14px;
  }

  .hero-content{
    top:35%;
    left:5%;
  }

  .hero-buttons{
    flex-direction:column;
    gap:8px;
  }

  .hero-btn{
    font-size:14px;
    padding:8px 16px;
    width:60%;
  }

  .hero-stats{
    bottom:10px;
    gap:8px;
    left:5%;
  }

  .stat-card{
    min-width:70px;
    padding:5px 8px;
  }

  .stat-card h3{
    font-size:14px;
  }

  .stat-card p{
    font-size:8px;
  }

}


.mvc-section{
    padding:50px 10%;
    /* background:#f4f7ff; */
    background: #f9fafc;

    text-align:left;
}

.mvc-section h2{
    font-size:38px;
    color:#0b3d91;
    margin-bottom:30px;
    text-align:center;
}

/* Grid */
.mvc-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:40px;
}

/* Card */
.mvc-card{
    background:white;
    padding:40px 30px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,0.06);
    transition:0.4s ease;
}

.mvc-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,0.12);
}

.core-box {
  display: inline-block;
  width: 35px;
  height: 35px;
  background: #004080;
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  line-height: 35px;
  border-radius: 6px;
  margin-right: 12px;
  flex-shrink: 0;
  margin: 3px 0;
}
.mvc-card p{
    text-align: justify;   /* ✅ This justifies the paragraph */
}

.mvc-card h3{
    color:#0b3d91;
    margin-bottom:15px;
    font-size:22px;
}

.mvc-card p{
    color:#555;
    line-height:1.8;
    font-size:16px;
}


/* quality policy */
/* SECTION */
.quality-policy{
  padding: 20px 20px;
  /* background: linear-gradient(135deg,#f5f7fb,#eef2f9); */
  /* background:#f4f7ff; */
  background: #f9fafc;
  font-family: 'Poppins', sans-serif;
}

/* CONTAINER */
.policy-container{
  max-width: 1200px;
  margin:auto;
  text-align:center;
}

/* TITLE */
.policy-title{
  font-size: 40px;
  font-weight: 700;
  color:#1e3a8a;
  margin-bottom:20px;
}

/* INTRO */
.policy-intro{
  max-width:1100px;
  margin:auto;
  font-size:18px;
  line-height:1.7;
  color:#444;
  margin-bottom:30px;
}

/* COMMITMENT TITLE */
.commit-title{
  font-size:26px;
  font-weight:600;
  margin-bottom:40px;
  color:#111;
}

/* GRID */
.policy-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 25px;
}

/* CARD */
.policy-card{
  background:white;
  padding:30px;
  border-radius:14px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  text-align:left;
  transition:0.3s;
  position:relative;
}

.policy-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

/* NUMBER BADGE */
.policy-number{
  width:45px;
  height:45px;
  border-radius:50%;
  background:#2563eb;
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  margin-bottom:15px;
}

/* TEXT */
.policy-card p{
  color:#555;
  line-height:1.6;
  font-size:15px;
  text-align: justify;
}

/* FOOTER TEXT */
.policy-footer{
  margin-top:50px;
  font-size:18px;
  color:#666;
  max-width:750px;
  margin-left:auto;
  margin-right:auto;
}


/* 🌟 Academic Programs Section */
.academic-program {
  padding: 10px 20px;
  background: #f9fafc;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

/* Title and Description */
.acads_title-box h2 {
  color: #003366;
  font-size: 4rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.acads_title-box p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 40px;
}

/* ✅ Grid layout: 4 columns on desktop, 2 on tablet, 1 on mobile */
.acads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

/* ✅ College Card */
.program {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
}


.program .logo {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: linear-gradient(135deg, #126ef7 0%, #3a8ef8 100%);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(18, 110, 247, 0.3);
}


/* ✅ Text Container */
.inner-program {
  padding: 20px;
}

.inner-program h3 {
  color: #004080;
  font-size: 1.5rem;
  margin-bottom: 6px;
  font-weight: bold;
}

.inner-program span {
  display: block;
  font-size: 0.95rem;
  color: #555;
}

/* ✅ Links */
.inner-links {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ✅ Responsive behavior */
@media (max-width: 1024px) {
  .acads-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .acads-grid {
    grid-template-columns: 1fr;
  }
  .program .logo {
    height: 150px;
  }
  .acads_title-box h2 {
    font-size: 2.5rem;
  }
}





/* school description */


.school-description {
  /* width: 80%; */
  width: 95%;
  /* Adjust the width as needed, can use percentage or fixed values */
  margin: 0 auto;
  /* Center the container horizontally */
  margin-top: 30px;
  position: relative;
  z-index: 3;

  /* background: red; */
}

.school-description__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* Container for the image */
.school-description__main__photo {
  width: 40%;
}
 
/* Styling for the checkbox text */
.school-description__main__content__checkbox {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--title-color);
  position: relative;
}

/* Styling for the checkbox icon */
.school-description__main__content__checkbox__icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--theme-color);
  color: var(--white-color);
  text-align: center;
  line-height: 20px;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 1rem;
}

.school-description__main__content {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* margin-top: 10rem; */
}

.school-description__main__content p {
  font-family: 'Arial', 'Helvetica', sans-serif; /* clean and readable font */
  font-size: 16px; /* typical size for body text */
  line-height: 1.6; /* good line spacing for readability */
  color: #444; /* dark gray text for less strain than pure black */
  text-align: justify; /* neat alignment on both sides */
  padding: 10px 20px; /* space inside paragraph */
  margin-bottom: 20px; /* spacing below the paragraph */
  /* background-color: rgba(255, 255, 255, 0.7); optional light background overlay if used */
}

.school-description__main__content> :not(a) {
  margin-bottom: 3rem;
}

.school-description__main__content p:nth-child(1) {
  color: var(--theme-color);
  font-size: 3rem;
  line-height: 2.5rem;
  margin-bottom: 0.8rem;
  font-weight: 300;
}

.school-description__main__content p:nth-child(3) {
  font-size: 1.2rem;
  line-height: 2.5rem;
  color: var(--body-color);
}

.school-description__main__content h3 {
  font-size: 4.5rem;
  line-height: 5rem;
}

.top-courses {
  max-width: 100%;
  /* padding: 10rem; */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 10rem; */
  margin-top: 50px;
  /* background-color: crimson; */
}

.top-courses__title-box {
  text-align: center;
}

.top-courses__title-box>p {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--theme-color);
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
}

.top-courses__title-box>h2 {
  font-size: 3.5rem;
  font-weight: 700;
  display: block;
}

.top-courses__title-box>h2>span {
  font-weight: 300 !important;
  color: var(--theme-color) !important;
}

.hidden {
  display: none;
}

/* .swiper-main {
  width: 80%;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
} */

.swiper-container {
  width: 100%;
  padding: 20px 0;
  background: transparent;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.swiper-container .swiper-wrapper {
  display: flex;
  gap: 5px; /* Increased gap for better visual spacing */
  /* padding: 10px; */
  transition: gap 0.3s ease;
}

.swiper-container .swiper-slide {
  flex: 0 0 calc((100% - 80px) / 4); /* 5 cards with spacing */
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
  /* background-color: #000; */
   /* optional: improves contrast under text */
}

/* Image styling */
.swiper-container .swiper-slide > img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: brightness(60%);
  border-radius: 20px;
  display: block;
}

/* Overlay course title */
.swiper-container .swiper-slide::before {
  content: attr(data-title);
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  padding: 5px 10px;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent background */
  border-radius: 10px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  white-space: normal;       /* wrap long lines */
  line-height: 1.2;
  z-index: 2;
}



.charter {
  display: flex;
  align-items: center;
  justify-content: center;
}

.charter__content {
  display: flex;
  align-items: center;
  content: space-between;
  gap: 5rem;
  width: 90%;
  /* background-color: red; */
  margin: 0 auto;
  padding: 5rem;
}

.charter__content > div {
  width: 50%;
}

.charter__content__left {
  display: grid;
  place-items: center;
  position: relative;
}

.charter__content__left>img {
  width: 80%;
}

.charter .school-description__content {
  width: 50%;
}

.charter .school-description__content .h1 {
  font-size: 35px;
}

.charter__content__left__student {
  position: absolute;
  background-color: var(--white-color);
  box-shadow: 0px 4px 18px rgba(158, 165, 177, 0.23);
  border-radius: 10px;
  padding: 1.5rem 1rem 1rem 2rem;
  height: 150px;
  top: 60%;
  right: 50%;
  transform: translateX(-50%);
}

.charter__content__left__student>p {
  font-size: 1.5rem;
  font-weight: 500;
}

/* count */
.charter__content__left__student__avatar-list {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px;
}

.charter__content__left__student__avatar-list>* {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background-color: var(--theme-color);
  color: var(--white-color);
  margin-left: -15px;
}

.charter__content__right {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.charter__content__right>h1 {
  margin-top: 1rem;
  font-size: 3rem;
}

.charter__content__right>p {
  font-size: 1.3rem;
  line-height: 2.1rem;
  margin: 1rem 0;
}

.charter__content__right__checklist {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.charter__content__right__checklist div {
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* TODO:  */
.charter__content__right__checklist div div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1rem;
  background-color: var(--theme-color);
  color: var(--white-color);
  border-radius: 50%;
}

/* blogs */
#index-blogs {
  width: 100%;
  position: relative;
}


.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  /* margin-top: 12px; */
  position: relative;
   z-index: 1;
}

.section-title {
  /* font-size: 18px;
  font-weight: bold;
  color: black; */
  font-size: 18px;
  color: black;
  text-decoration: none;
  font-weight: 500;
  /* padding: 4px 8px; */
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
  /* position: relative;
  z-index: 1; */
  text-align: center;

}

.view-all-link {
  font-size: 18px;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
  position: relative;
   z-index: 1;
}


.view-all-link:hover {

  text-decoration: underline;
}




/* 🌟 News Section */
.news-section {
  padding: 30px 20px;
  background: #f9fafc;
  font-family: 'Arial', sans-serif;
}

.news-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* 🌟 Header */
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  border-bottom: 3px solid #003366;
  padding-bottom: 10px;
}

.news-header h2 {
  font-size: 2.2rem;
  color: #003366;
  font-weight: 700;
  text-transform: uppercase;
}

.news-header h2 span {
  color: #007bff;
  font-weight: 500;
}

.news-header .view-all {
  font-size: 1rem;
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.news-header .view-all:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* 🌟 Grid Layout */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* 🌟 Individual News Card */
.news-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 🌟 Image */
.news-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

/* 🌟 Content */
.news-info {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 5px;
}

.news-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0a2a66;
  margin-bottom: 8px;
  border-left: 5px solid #007bff;
  padding-left: 8px;
  word-break: break-word; /* prevents overflow if very long word */
}

.news-title:hover {
  color: #007bff;
}

/* 🌟 Read More Button */
.news-btn {
  margin-top: auto;
  display: inline-block;
  padding: 10px 20px;
  background: #007bff;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  align-self: flex-start;
  transition: background 0.3s ease, transform 0.2s ease;
}

.news-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* 🌟 No News Message */
.no-news {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-top: 40px;
}

.media-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
}

.news-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
}

.news-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}


/* 🌟 Responsive Tweaks */
@media (max-width: 768px) {
    .media-wrapper,
    .news-image img,
    .news-video {
        height: 200px;
    }
}












/* Blogs or news */

/* #index-blogs {
  width: 100%;
  position: relative;
}

#index-blogs__content {
  width: 75%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-left: 2rem;
  padding-right: 2rem;

}

 #index-blogs__content__option{
  width: 150px;
  align-items: center;

} */

/* News & Content message */
/* #index-blogs__content>p {
  font-size: 3.8rem;
  font-weight: 600;
}

#index-blogs__content>p>span {
  font-weight: 300;
  color: var(--theme-color);
}

#index-blogs__content__items {
  display: flex;
  flex-direction: row;
  gap: 2rem; 
  overflow-x: auto; 
  padding-bottom: 1rem; 
}
#index-blogs__content__items {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 1rem;
  scroll-behavior: smooth;
}

.blog-card {
   flex: 0 0 450px; 
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  min-height: 420px; 
}

.blog-card__image-box {
  position: relative;
  overflow: hidden;
  height: 400px;
  background-color: #eee; 
  padding: 0;       
  margin: 0;  
  width: 100%;
}

.blog-card__image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__content {
  padding: 0;
}

.blog-card__content__date {
  font-size: 0.9rem;
  color: gray;
  padding: 0;
}

.blog-card__content__title {
  font-weight: bold;
  font-size: 1rem;
  padding: 0;
}

.blog-card__button {

  text-align: left;
}

.blog-card__content__bottom {
  display: flex;
  align-items: center;

}

.blog-card__content__bottom__author img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.blog-card__image-box {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.blog-card__image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.blog-card__image-box:hover img {
  transform: scale(1.2); 
}




.button--primary {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.button--primary:hover {
  background-color: #0056b3;
}

.blog-card-wrapper {
  position: relative;
}

.blog-card-group {

  gap: 1rem;
  transition: all 0.3s ease;
}

.blog-card-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
} */





/* ID selectors for single-use elements */
#banner-update {
  position: relative;
  margin-bottom: 350px;
  margin-top: 15rem;
  background-color: beige;
}

#banner-update-background {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#banner-update-overlay {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#banner-update-container {
  text-align: center;
  padding: 10rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5rem;
  position: relative;
  z-index: 2;
}

#banner-update-sub-title {
  color: var(--white-color);
  font-size: 1.4rem;
}

#banner-update-sec-title {
  color: var(--white-color);
  font-size: 3rem;
}

#banner-update-bottom {
  display: flex;
  gap: 1.5rem;
}

/* Get called when window is landscape and its width starts from 0 until 1350px */
@media screen and (max-width: 1100px) {
  .charter__content {
    flex-direction: column;
    width: 70%;
    padding: 1rem;
  }

  .charter__content > div {
    width: 100%;
  }

  .charter__content__left>img {
    width: 100%;
  }

  .charter__content__left__student {
    top: 70%;
    transform: unset;
    right: unset;
    left: 0%;
    width: fit-content;
  }

  .charter__content__right>h1 {
    font-size: 2rem;
    margin-top: 2rem;
  }

  .charter__content__right>p {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .charter__content__right__checklist {
    gap: 2rem;
    width: fit-content;
    margin-top: 2rem;
    overflow: visible;
  }

  .charter__content__right__checklist div {
    font-size: 1rem;
    overflow: visible;
  }

  .charter__content__right__checklist div div {
    height: 2rem;
    width: 2rem;
    overflow: visible;
  }

  #index-blogs__content__items {
    grid-template-columns: 1fr;
  }
}

/*
  Get called when window is landscape and its width starts from 0 until 1180px
*/
@media screen and (max-width: 1180px) {
  .school-description__main {
    align-items: center;
    flex-direction: column;
    gap: 5rem;
  }

  .school-description__main > * {
    width: 100%;
  }

  .school-description__main__content {
    margin-top: unset;
  }
}

@media screen and (max-width: 1600px) {
  .index--section {
    padding: 5rem 2rem;
  }

  .school-description__main__content h3 {
    font-size: 3rem;
    line-height: 3rem;
  }

  #banner-update {
    margin-top: 5rem;
  }
}

@media screen and (orientation: portrait) {
  .welcome-section__content {
    flex-direction: column;
    height: fit-content !important;
    gap: 5rem;
  }

  .welcome-section__content > video {
    width: 100% !important;
  }

  .index--section {
    padding: unset;
  }

  #student-images {
    display: none;
  }

  .welcome-section__background {
    width: 100%;
    height: 200%;
    transform: unset;
    bottom: unset;
    clip-path: rect(5px 5px 160px 145px 20%);
  }

  .welcome-section__content__left__texts__item {
    font-size: 1.5rem;
  }

  .welcome-section__blob {
    display: none;
  }

  .school-description {
    margin-top: 100px;
  }

  .school-description__main {
    flex-direction: column;
    gap: 1rem;
    padding-left: unset;
  }

  .school-description__main__photo {
    width: 100%;
  }

  .school-description__main__content h3 {
    font-size: 2.5rem;
    line-height: 2.5rem;
  }

  .school-description__main__content {
    margin-top: 1rem;
    width: 100%;
  }

  .school-description__main__content> :not(a) {
    margin-bottom: 2rem;
  }

  .school-description__main__content__checkbox__icon {
    width: 25px;
  }

  /* .top-courses__title-box>p {
    font-size: 1rem;
  } */

  .top-courses__title-box>h2 {
    display: flex;
    white-space: nowrap;
    gap: 0.5rem;
    font-size: 1.5rem;
    margin-top: 400px;
  }
  /* .top-courses__title-box{
    background-color: red;
    margin-top: 40px;
  } */

  .top-courses {
    padding: 5rem 1rem;
    gap: 5rem;
  }

  .charter__content {
    flex-direction: column;
    width: 100%;
    padding: 1rem;
  }

  .charter__content > div {
    width: 100%;
  }

  .charter__content__left>img {
    width: 100%;
  }

  .charter__content__left__student {
    top: 70%;
    transform: unset;
    right: unset;
    left: 0%;
    width: fit-content;
  }

  .charter__content__right>h1 {
    font-size: 2rem;
  }

  .charter__content__right>p {
    font-size: 1.2rem;
    line-height: 2rem;
  }

  .charter__content__right__checklist {
    flex-direction: column;
    gap: 0.5rem;
    width: fit-content;
    margin-top: 2rem;
    overflow: visible;
  }

  .charter__content__right__checklist div {
    font-size: 1rem;
    overflow: visible;
  }

  .charter__content__right__checklist div div {
    height: 2rem;
    width: 2rem;
    overflow: visible;
  }

  #index-blogs__content {
    width: 90%;
    padding: unset;
    gap: 4rem;
  }

  #index-blogs__content>p {
    font-size: 2rem;
  }

  #index-blogs__content__items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .swiper-main {
    width: 100%;
  }

  /* .swiper-container .index--section{
    width: 100%;
    background-color: red;
  } */

  .swiper-slide::before {
    font-size: 0.9rem;
    margin: 1rem;
  }

  .blog-card {
    display: flex;
    flex-direction: column;
    place-items: unset;
    gap: 1rem;
    padding: 1rem;
    box-shadow: 0px 0px 3px 0px rgba(3, 3, 3, 0.09);
    text-decoration: none;
    border-radius: 0 !important
    /* height: unset; */
  }
  #index-blogs__content
  .blog-card p {
    text-decoration: none;
  }

  .blog-card__image-box {
    width: 100%;
  }

  /* ID selectors for single-use elements */
  #banner-update {
    margin-top: 5rem;
    margin-bottom: 350px;
  }

  #banner-update-container {
    padding: 1.5rem;
    gap: 4rem;
    text-align: left;
  }

  #banner-update-sub-title {
    font-size: 1.1rem;
  }

  #banner-update-sec-title {
    font-size: 2.3rem;
  }

  #banner-update-bottom {
    gap: 1rem;
  }
}