.section-title {
  max-width: 73%;

}
/* GRID keeps lines & text aligned in one row */
.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;
}

/* Left and right lines */
.section-title h2::before,
.section-title h2::after {
  content: "";
  height: 2px;
  background: #a12f41;
  width: 100%;
}

/* Title text and dots */
.section-title h2 span {
  grid-column: 2;
  position: relative;
  display: inline-block;
  padding: 0 18px;
}

/* Dots */
.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;
}

/* 🔹 Mobile view adjustments */
@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;  /* ✅ limits text width */
    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;
  }
}
/* --- OWL hardens --- */
.no-js .owl-carousel { display: block; }

.owl-carousel { 
  display: block !important;        /* ensure visible before/after init */
  width: 100%;
}

.owl-carousel.owl-loaded {
  display: block !important;        /* prevent other rules from hiding it */
  visibility: visible !important;
}

.owl-carousel .owl-stage-outer { overflow: hidden; width: 100%; }
.owl-carousel .owl-stage { width: 100%; }
.owl-carousel .item { width: 100%; }

/* Avoid layout quirks from earlier rules */
.carousel-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  left: 0;
  transform: none;
}

@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;
  }

  .footer-title {
    font-size: 3.3rem;
  }
}

/* --- Footer CTA (Mobile Only) --- */
.footer-cta {
  position: fixed;
  bottom: -100%;                /* hidden by default */
  left: 0;
  width: 100%;
  background-color: #7c1a1a;    /* Alliance red tone */
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  transition: bottom 0.4s ease;
  z-index: 9999;
}

.footer-cta.visible {
  bottom: 0;                    /* slides up when visible */
}

.footer-cta h1 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.footer-cta .btn-apply-now {
  display: inline-block;
  background-color: #fff;
  color: #7c1a1a;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-cta .btn-apply-now:hover {
  background-color: #f5f5f5;
}

/* --- Show only on mobile --- */
@media (min-width: 769px) {
  .footer-cta {
    display: none;
  }
}

.hero-subtitle {
  font-size: 7.7rem; /* Default for large screens (≥1900px) */
  font-weight: 700;
  line-height: 1.1;
}

/* ↓ For screens up to 1900px */
@media (max-width: 1900px) {
  .hero-subtitle {
    font-size: 6.2rem;
  }

  .footer-title {
    font-size: 6rem;
  }
}

/* ↓ For screens up to 1600px */
@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; /*  Confirmed ideal at 1600px */
  }

/*AMI*/
  .award-wide-wrapper {
    margin-top: -300px!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;
  }
}


/* -- sampath --- */
@media screen and (min-width: 992px) and (max-width: 1024px) {
  .hero-subtitle {
    font-size: 3.7rem; /* or try 0.9rem depending on how small you want it */
    margin-bottom:-10px;
  }

  .hero-bottom-banner h2{
    font-size:2.5rem;
    margin-left: 34px;
  }

  .why-alliance h2{
      font-size: 1.8rem;
  }

  .fullwidth-section .why-desc {
    max-width: 63%;
    font-size: 17px;
  }

  .why-image img{
    max-width:63%;  
  }
   
  .whyAllianceSwiper {
    width: 58.5% !important;
    margin-left: 30px !important;
    padding-right:110px !important;
  }
 
  .whyAllianceSwiper .swiper-slide {
    height: 215px !important; 
  }
 
  .whyAllianceSwiper .swiper-slide::before {
    top: 10px !important;        
    left: 10px !important;
    right: -9px !important;
    bottom: -7px !important;
  }
   
  .swiper-button-next{
    right:-20px !important;
    transform: translateY(-270%) !important;
  }
  
  .awards h2 {
    font-size: 1.2rem !important;
  }

  .award-img1 {
    height: 360px !important;     
    min-width: 10px !important; 
  }

  .award-img {
    height: 150px !important;     
    min-width: 100px !important;  
  }

  .awards-gallery {
    gap: 12px !important;         
    margin-left: -340px !important; 
  }

  .award-img-wide {
    height: 200px !important;
    margin-top: 160px;
    margin-left: -100px;
  }

  .trans-title{
      font-size: 3rem !important;
    }
  .offset-md-1{
    margin-left: 3.333333% !important;
  }
  .global-section h2{
    font-size: 2.5rem;

  }
  .faculty-section h2{
    font-size: 2.2rem;}

    .faculty-info p {
  font-size: 0.55rem;
    }
    .faculty-info h5 {
  font-size: 0.7rem;
    }
  .faculty-section .col-lg-8{
    padding-right:50px;
  }
  .programmes h2{
    font-size:2.1rem;
  }
  .text-dark{
    font-size:0.9rem;
  }
  .infra-text h2{
    font-size:2.3rem !important;
  }
  .transdisciplinary{
    height:500px !important;
  }
  .top-recruiters h2{
    font-size:2.0rem !important;
  }
  .top-recruiters .col-md-8{
    padding-right:69px;

  }
  .custom-next{
    display:none;
          }

  .campus-life-section{
    height:600px;

  }
  .campus-life-section .title{
    font-size:2.8rem

  }
  .admission-footer{
    height:400px;
  }
  .footer-title {
    font-size:2.8rem !important;
  }
}

  .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; /* Default for very large screens (≥1900px) */
  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;
    }

    .hero-bottom-banner h2 {
      margin-left: 43px;
      font-size: 3.4rem;
    }
    .award-img1 {
      min-width: 180px;
    }

    .award-img {
      height: 250px;
      width: auto;
      min-width: 160px;
    }

    #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;
    }
  }


.floating-form-global {
    width: 350px;
	height: auto !important;
}


