.section-title {
  max-width: 73%;
}
.section-title h2 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  width: 100%;
  text-align: center;
  line-height: 1.3;
  font-weight: 700;
  font-size: 3rem;
  color: #111;
  gap: 12px;
}
.section-title h2::before,
.section-title h2::after {
  content: "";
  height: 2px;
  background: #a12f41;
  width: 100%;
}
.section-title h2 span {
  grid-column: 2;
  position: relative;
  display: inline-block;
  padding: 0 18px;
}
.section-title h2 span::before,
.section-title h2 span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #a12f41;
  transform: translateY(-50%);
}
.section-title h2 span::before {
  left: -9px;
}
.section-title h2 span::after {
  right: -9px;
}
@media (max-width: 576px) {
  .section-title {
    max-width: 100%;
  }
  .section-title h2 {
    font-size: 1.8rem;
    gap: 10px;
  }
  .section-title h2 span {
    max-width: 300px;  
    width: 100%;
    padding: 0 12px;
    word-wrap: break-word;
    text-align: center;
  }
  .section-title h2 span::before,
  .section-title h2 span::after {
    width: 8px;
    height: 8px;
  }
  .section-title h2 span::before {
    left: -6px;
  }
  .section-title h2 span::after {
    right: -6px;
  }
}
@media (max-width: 991px) {
  .mobile-form-wrapper {
    text-align: center !important;
    z-index: 2;
    position: relative;
    margin-top: 21%;
    margin-left: 12px;
    margin-right: 12px;
    background-color: rgba(102, 0, 0, 0.7);
  }
  .mobile-form-wrapper .reg {
    font-size: 1rem;
    color: #fff;
    padding: 9px 0;
  }
  .mobile_head_text{
	font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.15;
    color: #fff;
    letter-spacing: 0.3px;
	text-align: center !important;
    z-index: 2;
    position: relative;
	margin-top: 1%;
	min-height: 118px;
  }
  .mobile_head_text span{
    font-family: 'Allura', cursive;
    color: #f7d64b;
    font-size: 1.8rem;
    transform: rotate(-3deg);
    position: relative;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
	}
  .hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-logo img {
    max-width: 80%;  
    height: auto;
  }
  .hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto !important;
 }

  .hero-subtitle {
    font-size: 3.2rem;
  }

.hero-subtitle {
  font-size: 7.7rem; 
  font-weight: 700;
  line-height: 1.1;
}
}

@media (max-width: 1900px) {
  .hero-subtitle {
    font-size: 6.2rem;
  }
  .footer-title {
    font-size: 6rem;
  }
}

@media (min-width: 1367px) and (max-width: 1600px) {
  .hero-subtitle {
    font-size: 4.7rem;
    line-height: 1.3; /*AMI*/
  }
  .footer-title {
    font-size: 4.9rem !important; 
  }
  .admission-footer {
      height: 520px;
  }

  .swiper-button-next {
    right: -214px !important;
    top: 50% !important;
    transform: translateY(-430%) !important;
  }

}

/* ↓ For screens up to 1366px */
@media (max-width: 1366px) {
  .hero-subtitle {
    font-size: 4.2rem;
  }

  .footer-title {
    font-size: 4.2rem;
  }
}

  .campus-life-section{
    height:770px !important;
  }

/* ↓ For mobile screens (≤575px) */
@media (max-width: 575px) {
  .hero-subtitle {
    font-size: 2.5rem;
  }

  .footer-title {
    font-size: 2.5rem;
  }
}

.footer-title {
  font-size: 7.5rem; 
  font-weight: 700;
  line-height: 1.1;
}

/*AMI*/
@media (min-width: 1025px) and (max-width: 1360px) {
  .footer-title {
    font-size: 4.2rem;
  }

  .hero-title {
      font-size: 3.4rem;
      line-height: 0.92;
  }

  .hero-title .highlight {
    font-size: 5.2rem;
  }

  .fullwidth-section .why-desc {
    max-width: 70%;
    font-size: 23.2px;
  }

  .fullwidth-section .why-image img {
    width: 70%;
  }

    .whyAllianceSwiper {
      width: 65.7% !important;
    }

    .whyAllianceSwiper .swiper-slide {
      height: 270px !important; 
    }

    .whyAllianceSwiper .swiper-slide::before {
        top: 10px;         
        left: 10px;
        right: -10px;
        bottom: -10px;
        border-radius: 20px;  
        opacity: 0.9;         
    }

    .swiper-button-next {
      right: -115px !important;
      transform: translateY(-322%) !important;
      width: 43px !important;
      height: 43px !important;
    }

    .section-title h2 {
      font-size: 2.5rem;
    }

    #transdisciplinary {
      height: 700px;
    }

    #transdisciplinary .trans-title {
      font-size: 4.3rem;
    }

    .text-overlay h2 {
      font-size: 4.7rem;
    }

    .campus-content .title {
      font-size: 4.7rem;
    }

    .campus-life-section {
      height: 67vh;
    }

    .admission-footer {
      height: 520px;
    }
  }

@media screen and (min-width: 992px) and (max-width: 1024px) {
  .mobile-form-wrapper,
  .mobile_head_text {
    display: none !important;
  }

  .hero-content.d-none.d-lg-block {
    display: block !important;
    top: 40% !important;
    left: 3% !important;
  }
  
  .hero-subtitle {
    font-size: 3.7rem;
    margin-bottom: -10px;
  }

  .logo-img {
    height: 48px !important;
  }
  .custom-navbar.scrolled .logo-img {
    height: 38px !important;
  }

  .apply-btn1 {
    padding: 4px 10px !important;
    font-size: 0.75rem !important;
  }

  .program-highlights-section {
    padding: 50px 0 !important;
    margin-top: 50px !important;
  }

  .highlights-title {
    font-size: 1.8rem !important;
    text-align: center !important;
    display: block !important;
  }

  .highlights-title::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 50% !important;
    background: linear-gradient(to right, transparent, #f7d64b, transparent) !important;
  }

  .program-highlights-section .col-md-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .highlight-card {
    padding: 20px !important;
  }

  .highlight-card h4 {
    font-size: 1.2rem !important;
    text-align: center !important;
  }

  .specializations-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .ca-single-column {
    grid-template-columns: 1fr !important;
  }

  .specializations-grid span {
    font-size: 0.8rem !important;
    padding: 10px 12px !important;
    border-radius: 20px !important;
  }
  #programmes {
    margin-top: 30px !important;
  }
  #programmes .container-fluid {
    padding: 0 !important;
  }
  #programmes .section-title {
    max-width: calc(100% - 295px) !important;
    margin: 0 auto !important;
  }
  #programmes .section-title h2 {
    font-size: 1.8rem !important;
  }
  #programmes .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  #programmes .program-card {
    padding: 16px !important;
  }
  #programmes .program-title {
    font-size: 1rem !important;
  }
  #programmes .program-school {
    font-size: 0.72rem !important;
  }
  #programmes .program-desc {
    font-size: 0.78rem !important;
  }
  #programmes .program-duration {
    font-size: 0.75rem !important;
    padding: 5px 8px !important;
  }
  .section-title h2 {
    font-size: 2rem !important;
  }
  .ecosystem-title {
    font-size: 1.8rem !important;
  }

  .trans-title {
    font-size: 3rem !important;
  }
  .global-section h2 {
    font-size: 2.5rem;
  }
  .programmes h2 {
    font-size: 2.1rem;
  }
  .text-dark {
    font-size: 0.9rem;
  }
  .admission-footer {
    height: 400px;
  }
  .footer-title {
    font-size: 2.8rem !important;
  }
}

