*, *::before, *::after { box-sizing: border-box; }

html {
  min-height: 100%;
  overflow-y: auto;
}

body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  overflow-x: hidden;        
  background: #fff;
}



.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.62) 35%, rgb(255, 255, 255,0.2) 70%);
  z-index: 2;
}

.hero-logo {
  position: absolute;
  top: 25px;
  left: 34px;
  z-index: 4;
}

.hero-logo img {
  height: 81px;
  filter: brightness(1.16) contrast(1);
}

.hero-content {
  position: absolute;
  top: 36%;
  left: 3.4%;
  transform: translateY(-50%);
  z-index: 4;
  color: #fff;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 3.8rem;
  line-height: 1.15;
  color: #fff;
  letter-spacing: 0.3px;
}

.hero-title .highlight {
  font-family: 'Allura', cursive;
  color: #f7d64b;
  font-size: 6.1rem;
  transform: rotate(-3deg);
  position: relative;
  top: 8px;
  text-shadow: 0 2px 0 rgba(0,0,0,0.18);
}

.hero-subtitle {
  position: absolute;
  bottom: 81px;
  left: 3.04%;
  z-index: 6;
  font-size: 4.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #e0e0e0 25%,
    #bfbfbf 50%,
    #f5f5f5 75%,
    #dcdcdc 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.25),
    inset 0 -2px 1px rgba(255, 255, 255, 0.5),
    0 4px 6px rgba(0, 0, 0, 0.35);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
}





  

/* ===== Floating Form Container ===== */
.floating-form-global {
  position: fixed;
  top: 50%;
  right: 1%;
  transform: translateY(-50%);
  width: 450px;
  height: 570px;
  background: #b11b25 !important;
  border-radius: 6px;
  z-index: 5;
  box-shadow: 0 6px 15px #00000059;
  overflow: hidden; /* prevent outer scroll */
  padding: 0;
  display: flex;
  flex-direction: column;
}


/* ===== Form Header ===== */
.form-header {
  background: #fff;
  color: #b11b25 !important;
  font-weight: 800;
  font-size: 1.05rem;
  text-align: center;
  text-transform: uppercase;
  padding: 6px 0 !important;
  margin: 8px auto;
  border-radius: 0;
  letter-spacing: 0.6px;
  width: calc(100% - 40px);
}

/* ===== Inner NPF Form Scroll Area ===== */
.floating-form-global .npf_wgts {
  flex: 1; /* takes remaining height */
  overflow-y: auto !important; /* only this scrolls */
  overflow-x: hidden !important;
  height: auto !important;
  max-height: calc(100% - 60px); /* ensure header height excluded */
}

/* Webkit scrollbar (Chrome, Edge) */
.floating-form-global .npf_wgts::-webkit-scrollbar {
  width: 5px;
}


.floating-form-global .form-header {
  width: calc(52% - 16px);
  margin: 5.2px auto 10px;
  display: block;
  margin-bottom: 10px !important;
}


/* ---------- RESPONSIVE BANNER IMAGE ---------- */
.hero-section picture,
.hero-section .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ===== Bottom Maroon Banner ===== */
.hero-bottom-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #a03442;
  text-align: left;
  padding: 7px 0;
  z-index: 4;
}

.hero-bottom-banner h2 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  margin-left: 61px;
  font-size: 3.8rem;
  letter-spacing: 0.5px;
  text-transform: capitalize;
}

.form-section-mobile {
  display: none;
}

/* ---------- RESPONSIVE LAYOUT FIXES ---------- */
@media (max-width: 992px) {
  .hero-section {
    height: 100vh;
    overflow: hidden;
  }

  .hero-logo {
    top: 16px;
    left: 12px;
  }

  .hero-logo img {
    height: 52px;
  }

  .hero-content {
    top: 34%;
    left: 6%;
    transform: translateY(-52%);
  }

  .hero-title {
    font-size: 2.23rem;
    line-height: 1.2;
  }

  .hero-title .highlight {
    font-size: 1.3rem;
    top: 3px;
  }

    .hero-subtitle {
    font-size: 2.3rem; /* reduced from 5rem */
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap; /* prevents line break */
    text-shadow: 2px 2px 6px #00000000;
    }


  .hero-bottom-banner {
    padding: 5px 0; /* reduce height */
    text-align: center !important; /* center text for smaller view */
  }

  .hero-bottom-banner h2 {
    margin: 0;
    font-size: 1.5rem !important;
    white-space: nowrap;
    font-weight: 600;
  }

  .floating-form-global {
    position: relative !important;
    width: 92%;
    margin: 25px auto;
    height: auto;
    transform: none;
    top: auto;
    right: auto;
  }

  .hero-overlay {
    background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.92) 0%,     /* dark top */
      rgba(0, 0, 0, 0.1) 45%,    /* lighter center */
      rgba(0, 0, 0, 0.92) 100%    /* dark bottom */
    );
  }




    .hero-section .floating-form-global {
        display: none !important;
    }

    /* ===== MOBILE FORM SECTION FIX ===== */
    .form-section-mobile {
    display: block !important;
    position: relative;
    width: 100%;
    min-height: 52vh;
    overflow: hidden;
    margin-top: 0;
    }

    .form-section-mobile .form-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/banner-mobile.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    }

    .form-section-mobile .form-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: brightness(1.08);
    z-index: 2;
    }

    /* ===== Floating Form (Mobile) ===== */
    .form-section-mobile .floating-form-global {
    position: relative !important;
    width: 92%;
    max-width: 400px;
    margin: 21px auto;
    min-height: 600px; /* Increased overall height */
    background: #b11b25 !important;
    z-index: 3;
    transform: none;
    top: auto;
    right: auto;
    padding: 25px 16px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    }

    /* ===== Form Header ===== */
    .form-section-mobile .form-header {
    background: #fff;
    color: #b11b25 !important;
    font-size: 1.35rem;
    font-weight: 800;
    width: auto;
    border-radius: 3px;
    padding: 6px 18px !important;
    margin-top: -10px;
    margin-bottom: 20px;
    }

    /* Make NPF widget fill more space */
    .form-section-mobile .floating-form-global .npf_wgts {
    flex: 1;
    width: 100%;
    height: 100% !important;
    min-height: 100px !important; /* Force taller inner form */
    overflow-y: visible !important;
    background: transparent !important;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    }

    .form-section-mobile .floating-form-global .npf_wgts iframe {
    height: 100% !important;
    min-height: 530px !important; /* Match container height */
    width: 100% !important;
    display: block;
    }

}










.section-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* left align heading + lines */
  width: 100%;
  margin: 7px 0;
  position: relative;
  padding-left: 2.5px; /* keep heading aligned with why-desc */
}

.section-heading h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 3.0rem;
  color: #000;
  margin: 0 16px;
  white-space: nowrap;
}

.section-heading .line {
  height: 2px;
  background: #7c1a1a;
  flex-grow: 1; /* ensures it stretches fully */
  position: relative;
}

.section-heading .square {
  width: 13px;
  height: 13px;
  background: #7c1a1a;
}

.section-heading .line.right::after {
  content: "";
  position: absolute;
  top: 0;
  /*right: -50vw;
   width: 50vw; to push it to full width */
  height: 100%;
  width: 50vw;
  background: #7c1a1a;
}

.fullwidth-section {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #fff;
  z-index: 1;
}

.fullwidth-section .section-heading,
.fullwidth-section .why-content {
  max-width: 1100px;
  margin-left: 7px; /* push to left */
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.fullwidth-section .why-desc {
  max-width: 73%;
  font-size: 27px;
  text-align: center;
}



.fullwidth-section .why-content {
  max-width: 1900px;
  margin: 0 auto;
  padding-left: 61px;
  padding-right: 420px; /* leaves room for the floating form */
  position: relative;
  z-index: 2;
}

.fullwidth-section .why-image {
  position: relative;
  z-index: 1;
  margin-top: 40px;
}
.fullwidth-section .why-image img {
  width: 73%;
  height: auto;
  display: block;
  box-shadow: 0 6px 15px #ffffff !important;
}

.fullwidth-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  z-index: 0;
}










/* --- WHY ALLIANCE SWIPER FIXES --- */
#why-alliance {
  position: relative;
  z-index: 0; /* Keeps section under the floating form */
  padding-bottom: 120px; /* Adds breathing room below form */
}

/* 2️⃣ Adjust swiper container positioning */
.whyAllianceSwiper {
  width: 71%;
  margin: 0 auto;
  position: relative;
  z-index: 1; /* stays below form but above section background */
  margin-left: 43px !important;
  overflow: hidden !important;
  padding-bottom: 25px !important;
  padding-right: 20px !important;
}

/* 3️⃣ Taller swiper and larger slides */
.whyAllianceSwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 403px; /* increase overall swiper height */

  position: relative;
}

/* Colored design box behind each image */
.whyAllianceSwiper .swiper-slide {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whyAllianceSwiper .swiper-slide::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  right: -18px;
  bottom: -18px;
  border-radius: 34px;
  z-index: -1;
  transition: all 0.4s ease;
}

/* Blue box behind 1st image */
.whyAllianceSwiper .swiper-slide:nth-child(3n+1)::before {
  background: #dfe6ff;
}

/* Mint green box behind 2nd image */
.whyAllianceSwiper .swiper-slide:nth-child(3n+2)::before {
  background: #e1f7e7;
}

/* Light pink box behind 3rd image */
.whyAllianceSwiper .swiper-slide:nth-child(3n+3)::before {
  background: #ffe6e9;
}

/* Subtle hover movement */
.whyAllianceSwiper .swiper-slide:hover::before {
  transform: translateY(-4px);
  filter: brightness(1.03);
}


.whyAllianceSwiper .why-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px !important;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}




/* --- Navigation Button Outside Swiper --- */
.swiper-nav-container {
  position: relative !important;
  width: 23.2%!important;
  max-width: 890px!important;
  margin: 0 auto!important;
}

.swiper-button-next {
  position: absolute!important;
  right: -240px!important; /* push it outside the swiper */
  top: 50%!important;
  transform: translateY(-430%)!important;
  width: 45px !important;
  height: 45px !important;
  background: #7c1a1a!important;
  color: #fff!important;
  border-radius: 50% !important;
  border: 6px solid #fff;
  display: flex!important;
  align-items: center!important;
  justify-content: center!important;
  cursor: pointer!important;
  transition: all 0.3s ease!important;
  z-index: 10!important;
}

.swiper-button-next::after {
  content: '›'; /* thick arrow */
  font-size: 34px !important;
  font-weight: bolder !important;
  color: #fff!important;

  text-shadow: 0 0 2px #fff, 0 0 3px #fff; 
}

.swiper-button-next:hover {
  background: #103754!important;
}

/* Hide previous arrow */
.swiper-button-prev {
  display: none !important;
}

.swiper-button-next:after, .swiper-button-prev:after {
    margin-top: -9px;
}







@media (max-width: 992px) {
  /* Center heading and show squares */
  .section-heading {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: 0;
    gap: 0px;
    flex-wrap: nowrap;
  }

  .section-heading h2 {
    font-size: 1.4rem !important;
    margin: 0 7px;
    white-space: nowrap;
  }

  .section-heading .line {
    flex-grow: 1;
    height: 0.16px;
    background: #7c1a1a;
  }

  /* ✅ Show squares and keep them aligned with the lines */
  .section-heading .square {
    display: inline-block !important;
    width: 5px;
    height: 5px;
    margin-top: 1px;
    background: #7c1a1a;
  }

  /* Remove long right line overlay to avoid overflow */
  .section-heading .line.right::after {
    display: none;
  }

  /* Adjust description text */
  .fullwidth-section .why-desc {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
  }

  /* Mobile image visible, desktop hidden */
  .why-image-mobile {
    display: block !important;
    text-align: center;
  }

  .why-image-mobile img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 10px #ffffff !important;
  }

  .why-image {
    display: none !important;
  }

    .swiper-button-next,
    .swiper-button-prev,
    .swiper-nav-container {
        display: none !important;
    }


    /* ===== Swiper styling for mobile ===== */
    .whyAllianceSwiper {
        width: 100% !important;
        margin-left: 7px !important;
        margin-right: 5px !important;
        margin-top: 16px !important;
        padding-bottom: 9px !important;
    }

    /* Reduce the overall height of each slide */
    .whyAllianceSwiper .swiper-slide {
        height: 250px !important; /* ↓ shorter height than desktop (360px) */
    }

    /* Reduce pastel background container size */
    .whyAllianceSwiper .swiper-slide::before {
        top: 10px;         /* less padding around */
        left: 10px;
        right: -7px;
        bottom: -7px;
        border-radius: 20px;  /* smaller curve */
        opacity: 0.9;         /* keep pastel look softer */
    }

    /* Adjust images to fit nicely in the reduced container */
    .whyAllianceSwiper .why-slide-img {
        border-radius: 20px !important;
        box-shadow: 0 6px 15px #00000020;
        object-fit: cover;
    }

}









/* ===== Awards Section ===== */
#awards .section-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* left align heading + lines */
  width: 100%;
  margin-top: -100px;
  position: relative;
  padding-left: 2.5px; /* keep heading aligned with why-desc */
  margin-bottom: 25px !important;
} 

#awards .section-heading .line.right::after {
  content: "";
  position: absolute;
  top: 0;
  /*right: -50vw;
   width: 50vw; to push heading line to full width */
  height: 100%;
  width: 7vw;
  background: #7c1a1a;
}

#awards .section-heading .line.right::after {
  content: "";
  position: absolute;
  top: 0;
  /*right: -50vw;
   width: 50vw; to push heading line to full width */
  height: 100%;
  width: 21vw;
  background: #7c1a1a;
}

#awards .section-heading h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 2.5rem;
  color: #000;
  margin: 0 16px;
  white-space: nowrap;
  text-transform: uppercase;
}



/* ===== Awards Gallery Alignment Fix ===== */
.awards-gallery {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* ensures top edges align */
  flex-wrap: nowrap;
  gap: 30px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-left: -610px;
}
.awards-gallery::-webkit-scrollbar {
  display: none;
}

.award-img {
  height: 250px;
  width: auto;
  min-width: 180px;
  flex-shrink: 0;
  border-radius: 0;
  box-shadow: 0 6px 15px #0000001a;
  transition: transform .3s ease, box-shadow .3s ease;
  object-fit: contain;
  align-self: flex-start;
  transform: scaleX(1); /* ⬅️ Doubles visual width */
  transform-origin: center; /* keeps centered */
}

.award-img1 {
  height: 640px;
  width: auto;
  min-width: 210px;
  flex-shrink: 0;
  border-radius: 0;
  box-shadow: 0 6px 15px #0000001a;
  transition: transform .3s ease, box-shadow .3s ease;
  object-fit: contain;
  align-self: flex-start;
  transform: scaleX(1); /* ⬅️ Doubles visual width */
  transform-origin: center;
}


.award-img:hover,
.award-img1:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px #00000026;
}

/* Prevent images from being hidden under floating form */
#awards {
  z-index: 2; /* higher than background elements */
  position: relative;
  padding-right: 4px; /* same as your .why-content padding */
}







/* ===== Wide image below gallery ===== */
.award-wide-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -350px !important; /* space below 5 awards */
  margin-left: -160px;
  position: relative;
  z-index: 3; /* ensures it's above background but below floating form */
}

.award-img-wide {
  width: 80%; /* wide but not edge-to-edge */
  max-width: 1000px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 15px #ffffff;
  object-fit: contain;
  transition: transform .3s ease, box-shadow .3s ease;
}








/* === Desktop Zoom Handling (Fix for Cropping & Scaling on Zoom) === */
@media screen and (min-width: 993px) {
  .awards-gallery,
  .award-wide-wrapper {
    transition: margin-left 0.4s ease, transform 0.4s ease;
  }
  .award-img,
  .award-img1 {
    transition: all 0.4s ease;
  }
}

/* Slight zoom-in (≈110%) */
@media screen and (max-width: 1750px) and (min-width: 1540px) {
  .awards-gallery {
    margin-left: -430px !important;
    padding-bottom: 100px;
  }
  .award-wide-wrapper {
    margin-left: -120px !important;
  }
  .award-img {
    height: 230px !important;
  }
  .award-img1 {
    height: 580px !important;
  }
  .award-img-wide {
    height: 250px !important;
    margin-top: -70px;
  }
}

/* Moderate zoom-in (≈120–125%) */
@media screen and (max-width: 1539px) and (min-width: 993px) {
  .awards-gallery {
    margin-left: -340px !important;
    gap: 10px !important;

  }
  .award-wide-wrapper {
    margin-left: -100px !important;
  }
  .award-img {
    height: 180px !important;
  }
  .award-img1 {
    height: 420px !important;
  }
    .award-img-wide {
    height: 200px !important;
    margin-top: 160px;
  }
}












@media (max-width: 992px) {
  #awards {
    padding-right: 0;
    text-align: center;
  }

  #awards .section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0px;
    flex-wrap: nowrap;
    width: 100%;
    margin-bottom: 25px !important;
    padding: 0 0px;
  }

  #awards .section-heading h2 {
    font-size: 1.6rem !important;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0 0px;
    white-space: normal !important;
  }

  /* ✅ Make lines visible and full-width */
  #awards .section-heading .line {
    flex-grow: 1;
    height: 0.16px; /* visible thickness */
    background: #7c1a1a;
    display: block !important;
    min-width: 34px;
  }

  #awards .section-heading .square {
    display: inline-block !important;
    width: 5px;
    height: 5px;
    margin-top: 1px;
    background: #7c1a1a;
  }

  #awards .section-heading .line.right::after {
    display: none;
  }

  /* existing mobile image layout */
  .awards-mobile {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .award-img-top {
    width: 95%;
    height: auto;
    border-radius: 1.6px;
    box-shadow: 0 1px 5px #00000070;
  }

  .awards-mobile-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    width: 100%;
  }

  .award-mob-img {
    width: 24%;
    height: auto;
    border-radius: 1.6px;
    box-shadow: 0 1px 5px #00000070;
  }

  .award-img-wide-mobile {
    width: 95%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 15px #fff;
  }
}























/* ===== Transdisciplinary Learning Section ===== */
#transdisciplinary {
  position: relative;
  width: 100%;
  height: 920px; /* adjust as needed */
  background: url("../images/learning.webp") center center/cover no-repeat;
  z-index: 1; /* keeps it under the floating form */
  margin-top: -20px; /* adjust overlap with previous section if needed */
}

#transdisciplinary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* subtle overlay for better text visibility */
}

#transdisciplinary {
  filter: brightness(1.15) contrast(1.05);
}

#transdisciplinary .overlay-content {
  position: absolute;
  bottom: 40px;
  left: 60px;
  color: #fff;
  z-index: 2;
}

#transdisciplinary .trans-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 4.8rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  letter-spacing: 1px;
}

/* ===== Responsive Fixes ===== */
@media (max-width: 992px) {
  #transdisciplinary {
    height: 300px;
  }
  #transdisciplinary .overlay-content {
    bottom: 20px;
    left: 20px;
  }
  #transdisciplinary .trans-title {
    font-size: 1.8rem;
  }
}





/* === INTERNATIONAL LINKAGES === */
#international-linkages .section-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 61%;
  position: relative;
  padding-left: 2.5px;
  margin-bottom: 25px !important;
}

#international-linkages .section-heading h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 2.5rem;
  color: #000;
  margin: 0 16px;
  white-space: nowrap;
  text-transform: uppercase;
}

#international-linkages .section-heading .line.right::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 21vw;
  background: #7c1a1a;
}

/* === MOBILE VIEW === */
@media (max-width: 992px) {
  #international-linkages {
    padding-right: 0;
    text-align: center;
  }

  #international-linkages .section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0;
    flex-wrap: nowrap;
    width: 100%;
    margin-bottom: 25px !important;
    padding: 0;
  }

  #international-linkages .section-heading h2 {
    font-size: 1.6rem !important;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0;
    white-space: normal !important;
  }

  #international-linkages .section-heading .line {
    flex-grow: 1;
    height: 0.16px;
    background: #7c1a1a;
    display: block !important;
    min-width: 34px;
  }

  #international-linkages .section-heading .square {
    display: inline-block !important;
    width: 5px;
    height: 5px;
    margin-top: 1px;
    background: #7c1a1a;
  }

  #international-linkages .section-heading .line.right::after {
    display: none;
  }
}


/*programm offerd*/
      .programs-section {
        background-image: url('../images/programmes-d.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width:95%;
        height:290vh;
		margin-left: 18px;

      }

      @media screen and (max-width: 768px) {
        .programs-section {
                background-image: url('../images/programmes-mobile.webp');
 margin-top:30px ;
 margin-left:0px;
 height:300vh;

        }
      }
      @media (max-width: 992px) {
  #programs-section .section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0;
    flex-wrap: nowrap;
    width: 100%;
    margin-bottom: 25px !important;
    padding: 0;
  }

  #programs-section .section-heading h2 {
    font-size: 1.4rem !important;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 3;
    white-space: normal !important;
  }

  #programs-section .section-heading .line {
    flex-grow: 1;
    height: 0.16px;
    background: #7c1a1a;
    display: block !important;
    min-width: 34px;
  }

  #programs-section .section-heading .square {
    display: inline-block !important;
    width: 5px;
    height: 5px;
    margin-top: 1px;
    background: #7c1a1a;
  }

  #programs-section .section-heading .line.right::after {
    display: none;
  }
}

      @media screen and (max-width: 768px) {
        .programs-section {
          background-image: url('../images/programmes-mobile.webp') ;
 
            margin-top:30px ;
        }
         .programs-section {
       
        margin-left:-10px;
      }
      }
/*programm offered*/

/*global-section*/
    .global-section {
      position: relative;
      background-image: url('../images/global-outlook.jpg'); /* Replace with your image */
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
      height: 95vh;
      color: white;
      display: flex;
      align-items: flex-end; /* Align text to bottom */
      padding: 40px;
    }

    .text-overlay {
      padding: 20px 30px;
      border-radius: 8px;
      max-width: 400px;
    }

      /* .text-overlay {
font-size: 4.5rem;

      } */

    .text-overlay h2 {
      font-size: 5.5rem;
      font-weight: 700;
      margin: 0;
    }

    @media (max-width: 768px) {
      .global-section {
        height: 300px;
        padding: 20px;
      }

      .text-overlay h2 {
        font-size: 1.5rem;
      }
    }


/* ---------- Section Title ---------- */
#faculty-section .section-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* left align heading + lines */
  width: 61%;
  margin-top: -10px;
  position: relative;
  padding-left: 2.5px; /* keep heading aligned with why-desc */
  margin-bottom: 25px !important;
} 

#faculty-section .section-heading .line.right::after {
  content: "";
  position: absolute;
  top: 0;
  /*right: -50vw;
   width: 50vw; to push heading line to full width */
  height: 100%;
  width: 7vw;
  background: #7c1a1a;
}

#faculty-section .section-heading .line.right::after {
  content: "";
  position: absolute;
  top: 0;
  /*right: -50vw;
   width: 50vw; to push heading line to full width */
  height: 100%;
  width: 21vw;
  background: #7c1a1a;
}

#faculty-section .section-heading h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 2.5rem;
  color: #000;
  margin: 0 16px;
  white-space: nowrap;
  text-transform: uppercase;
}

/* ---------- Faculty Cards ---------- */
.faculty-card {
  display: flex;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.faculty-card:hover {
  /*transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);*/
  transform: translateY(-7px);
}
.faculty-card img {
  width: 100px;
  height: 120px;
  object-fit: cover;
  margin-right: 10px;
  border-radius: 4px;
}
.faculty-info h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 6px;
}
.faculty-info p {
  font-size: 0.85rem;
  color: #222;
  line-height: 1.4;
  margin: 0;
}

/* ---------- Register Box ---------- */
.register-box {
  background: #c41e3a;
  padding: 25px 20px;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}
.register-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 15px;
  color: #fff;
}
.register-box input,
.register-box select {
  width: 100%;
  padding: 10px;
  border: none;
  margin-bottom: 10px;
  border-radius: 4px;
  font-size: 0.9rem;
}
.register-box .checkbox {
  display: flex;
  align-items: start;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.8rem;
}
.register-box .register-btn {
  width: 100%;
  background: #fff;
  color: #a00000;
  font-weight: 700;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}
.register-box .register-btn:hover {
  background: #f5f5f5;
}
.register-box a {
  display: block;
  text-align: center;
  color: #fff;
  margin-top: 8px;
  text-decoration: underline;
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .register-box {
    display: none;
  }
}

@media (max-width: 768px) {
  .faculty-card {
    flex-direction: row;
  }

  .faculty-card img {
    width: 90px;
    height: 110px;
  }

  .faculty-info h5 {
    font-size: 0.9rem;
	text-align: left;
  }

  .faculty-info p {
    font-size: 0.75rem;
    line-height: 1.3;
	text-align: left;
  }

  .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}


@media (max-width: 992px) {
  #faculty-section {
    padding-right: 0;
    text-align: center;
  }

  #faculty-section .section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0;
    flex-wrap: nowrap;
    width: 100%;
    margin-bottom: 25px !important;
    padding: 0;
  }

  #faculty-section .section-heading h2 {
    font-size: 1.6rem !important;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0;
    white-space: normal !important;
  }

  /* ✅ Lines (same red thin lines as Awards) */
  #faculty-section .section-heading .line {
    flex-grow: 1;
    height: 0.16px;
    background: #7c1a1a;
    display: block !important;
    min-width: 25px;
  }

  /* ✅ Small red squares (same as Awards) */
  #faculty-section .section-heading .square {
    display: inline-block !important;
    width: 5px;
    height: 5px;
    margin-top: 1px;
    background: #7c1a1a;
  }

  /* ✅ Hide extra desktop line effect */
  #faculty-section .section-heading .line.right::after {
    display: none;
  }
}

#international-linkages .section-heading  {
    margin-top: 43px;
  }
  
      .linkages-section {
        min-height: 950px;
        display: flex;
        align-items: stretch;
      }

      .linkages-left {
        position: relative;
        background-size: cover;
        background-position: center;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 10px 30px;
      }

      .linkages-header {
        text-align: center;
        color: #1a1a1a;
        height:180%;
      }



      .programs-text {
        font-size: 2rem;
        font-weight: 500;
        color: #1a1a1a;
        text-align: center;
        line-height: 1.6;

        
      }

      .linkages-badge {


        color: #131212ff;
        padding: 20px 30px;
        border-radius: 6px;
        text-align: center;
        align-self: flex-end;
      }

      .linkages-badge h3 {
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: 1px;
        margin: 0;
        line-height: 1.2;
      }

      .linkages-right {
        background-color: #ffffffff;
        padding: 40px 30px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
.linkages-left {
  overflow: visible; /* allow text to show even if it moves up */
}

     

      @media (max-width: 992px) {
        .linkages-section {
          flex-direction: column;
          min-height: auto;
          margin-top: 30px;
        }

        .linkages-left {
          min-height: 400px;
          padding: 30px 20px;
        }

        .linkages-right {
          min-height: auto;
          padding: 30px 20px;
        }

        .section-title {
          font-size: 22px;
        }

        .section-title::before,
        .section-title::after {
          width: 20px;
          left: -40px;
          right: -40px;
        }

        .programs-text {
          font-size: 1.9rem;
        }
      }




      @media (max-width: 768px) {
        .linkages-left {
          min-height: 350px;
          padding: 20px 15px;
        }

        .linkages-right {
          padding: 20px 15px;
        }

        .section-title {
          font-size: 18px;
        }

        .section-title::before,
        .section-title::after {
          display: none;
        }

       
        .register-form {
          max-width: 100%;
        }

        .linkages-badge h3 {
          font-size: 16px;
        }
      
      }
   
      .linkages-section img{
        max-height: 170%;

      }
      .section-divider {
        color: #650a03;
        font-weight: 500;
        height: 2px; /* Increased thickness */
        border: none; /* Ensure no border interferes */
        background-color: #650a03; /* Set background color */
        opacity: 1; /* Ensure full opacity */
      }
      @media (max-width: 768px) {
  .programs-text {
    font-size: 1rem;
    margin-top: -50px; /* Move upward */
  }

  .linkages-header {
    margin-bottom: 70px !important;
  }
  .linkages-badge{
    margin-top: 20px; /* Move upward */
  }
 
}

@media (max-width: 768px) {
        .linkages-badge {
          margin-top: 60px !important; /* Increased margin to move badge downward */
          position: relative;
          bottom: -30px; /* Additional downward push */
        }
      }
	  
.infrastructure-section {
      position: relative;
      width: 100%;
      height: 570px;
      background: url('../images/infra-alliance.webp') center center/cover no-repeat;
      display: flex;
      align-items: flex-end;
      justify-content: flex-start;
    }

    .infra-text {
      position: absolute;
      bottom: 30px;
      left: 60px;
      z-index: 2;
    }

    .infra-text h2 {
      color: #fff;
      font-weight: 800;
      font-size: 3.5rem;
      line-height: 1.2;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin: 0;
    }

    @media screen and (max-width: 768px) {
      .infrastructure-section {
        background: url('../images/infrastructure-mobile.webp') center center/cover no-repeat;
        height:400px;
      }

      .infra-text h2 {
        color: #fff;
        font-weight: 800;
        font-size: 1.7rem;
        line-height: 1.2;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin: 0;
        text-align: left; 
        margin-right:30px;
      }
      .section-divider{
        display:none;
      }
      
      .art-text {
        white-space: nowrap;
        margin 
      }

      .infra-text {
        position: absolute;
        bottom: 50px;
        left: 40px; /* Changed from right:80px to left:20px */
        z-index: 2;
      }
    }
	
	
	
	
	
.top-recruiters {
      padding: 20px ;
      background: url("../images/recruitment-bg.jpg") no-repeat center;
      background-size: cover;
    }

    .decorated-heading {
      text-align: center;
      margin-bottom: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .decorated-heading h2 {
      margin: 0;
      font-size: 20px;
      font-weight: 600;
      color: #333;
      white-space: nowrap;
    }

    .decorated-heading .line {
      height: 2px;
      width: 40px;
      background-color: #999;
    }

    .decorated-heading .square {
      width: 8px;
      height: 8px;
      background-color: #999;
      margin-left: -10px;
      margin-right: -10px;
    }

    .carousel-wrapper {
      position: relative;
      max-width: 100%;
    }

    .recruiter-logo {
      background: #fff;
      border: 1px solid #999;
      padding: 20px 10px;
      text-align: center;
      border-radius: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 120px;
      transition: all 0.3s ease;
    }

    .recruiter-logo img {
      max-height: 90px;
      max-width: 100%;
      width: auto;
      height: auto;
      object-fit: contain;
    }

    .recruiter-logo:hover {
      transform: scale(1.02);
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .owl-carousel .item {
      padding: 0;
    }

  .carousel-wrapper {
  position: relative;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  transform: none;
  left: 0;
}

/* Next Button Styling */
.custom-next {
  position: absolute;
  top: 50%;
  right: -90px; /* pushes it clearly OUTSIDE the carousel */
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #595959;
  color: #fff;
  font-size: 30px;
  line-height: 60px;
  text-align: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.custom-next:hover {
  background: #404040;
}

/* Responsive fix */
=


    .custom-next:hover {
      background: #404040;
    }

    /* Mobile specific */
    @media screen and (max-width: 768px) {
      .top-recruiters {
      }
      .decorated-heading h2 {
        font-size: 18px;
      }

      .recruiter-logo {
        min-height: 100px;
        
      }

      .recruiter-logo img {
        max-height: 50px;
      }

      .custom-next {
        right: -25px;
        width: 40px;
        height: 40px;
        font-size: 24px;
        line-height: 40px;
      }

      .owl-carousel .item .row {
        margin: 0 !important;
      }

      .owl-carousel .item .col-4 {
        padding: 1px !important;
      }
      .custom-next{
        display:none;
      }
    }

    @media (min-width: 769px) {
  .carousel-wrapper {
    position: relative;
    width: 120%;           /* widen carousel inside col-md-8 */
    left: 50%;
    transform: translateX(-50%);
  }

  .custom-next {
    right: -60px;
  }

}

/* For mobile screens */
@media (max-width: 768px) {
  .carousel-wrapper {
    width: 100%;
    left: 0;
    transform: none;
  }

  .custom-next {
    right: -25px;
  }
}


.carousel-wrapper{
    margin-left: 0;
     transform: translateX(0);
      left: 78px;
}

@media screen and (max-width:768px) {
  .carousel-wrapper{

     transform: translateX(50);
      left: 10px;
}
}


@media screen and (max-width:468px) {
  .custom-next{
    display: none;
  } 
}


@media (max-width: 992px) {
  #top-recruiters {
    text-align: center;
  }

  #top-recruiters .section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0;
    flex-wrap: nowrap;
    width: 100%;
    margin-bottom: 25px !important;
    padding: 0;
  }

  #top-recruiters .section-heading h2 {
    font-size: 1.6rem !important;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0;
    white-space: normal !important;
  }

  #top-recruiters .section-heading .line {
    flex-grow: 1;
    height: 0.16px;
    background: #7c1a1a;
    display: block !important;
    min-width: 34px;
  }

  #top-recruiters .section-heading .square {
    display: inline-block !important;
    width: 5px;
    height: 5px;
    margin-top: 1px;
    background: #7c1a1a;
  }

  #top-recruiters .section-heading .line.right::after {
    display: none;
  }
}

    .admission-footer {
      position: relative;
      background-image: url('../images/footer-banner-final-7.jpg');
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
      padding: 80px 60px !important;
      margin-top: auto !important;
      overflow: hidden;
      height: 700px;
      display: flex;
      justify-content: flex-start;
    }

    .admission-footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 1;
      background: linear-gradient(135deg, rgba(2, 7, 14, 0.5), rgba(18, 37, 73, 0.92));
    }

    .footer-content {
      position: relative;
      z-index: 2;
      max-width: 100%;
      text-align: left;
    }

    .footer-title, .footer-subtitle, .footer-year {
      text-transform: uppercase;
      background: linear-gradient(to bottom, #ffffff 0%, #eaeaea 35%, #b5b5b5 60%, #ffffff 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-shadow: 0 2px 8px rgba(228, 223, 223, 0.4);
    }

    .footer-title {
      font-size: 6.9rem;
      font-weight: 800;
    }
    .footer-subtitle {
      font-size: 3.2rem;
      font-weight: 900;
    }
    .footer-year {
      font-size: 4.9rem;
      font-weight: 900;
    }
    .footer-year::after {
      content: '';
      display: block;
      width: 120px;
      height: 3px;
      background: linear-gradient(to right, #ffffff, #a0a0a0);
      margin: 20px 0 0 0;
    }

    @media (max-width: 768px) {
      .footer-year::after {
      display: none;
      }
    }

    .apply-btn {
      background: linear-gradient(145deg, #dc3545 0%, #c82333 100%);
      color: #ffffff;
      font-size: 2.29rem;
      font-weight: 700;
      text-transform: uppercase;
      padding: 18px 50px;
      border: none;
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
      margin-top: 30px;
    }

    .apply-btn:hover {
      background: linear-gradient(145deg, #e84d5f 0%, #d63447 100%);
    }

    @media (max-width: 768px) {
      .apply-btn {
        position: fixed;
        left: 10%;
        bottom: 20px;
        font-size: 1.0rem;
        padding: 14px 30px;
        margin-left:70px;
      }
      .admission-footer {
        padding: 60px 30px !important;
        background-image: url('../images/footer-mobile.webp');
        justify-content: center !important;
        align-items: center;
        height:400px;
      }
      .footer-title, .footer-subtitle, .footer-year {
        text-align: center;
      }
       .footer-title {
        font-size: 4.1rem;
      }
       .footer-subtitle{

        font-size:2rem;
      }
      .footer-year{
        font-size: 3.1rem;
      }
    }

    @media (max-width: 480px) {
     
      .apply-btn {
        font-size: 1rem;
        padding: 12px 35px;
      }
      .footer-year{
        font-size:3rem;
      }
      .footer-subtitle{

        font-size:2rem;
      }
     
      

    }

    @media (min-width: 769px) {
      .admission-footer {
        justify-content: flex-start !important;
        align-items: center !important;
        text-align: left !important;
      }
      .footer-content {
        margin-left: 60px !important;
      }
   
    }

   @media (max-width: 768px) {
    .apply-btn {
      position: fixed;
      left: 10%;
      bottom: 20px; /* Changed from 20px to 120px to push it higher */
 /* Make button wider on mobile */
      font-size: 1.3rem;
      padding: 14px 30px;
      z-index: 1000; /* Ensure button stays on top */


    }
    .admission-footer{
      height:400px;
    }
   }
   
   .campus-life-section {
      position: relative;
      width: 100%;
      height: 60vh;
      background: url('../images/student.webp') no-repeat center center/cover;
      margin: 0;
      padding: 0;
      z-index: 1;
    }
    .campus-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.35);
      display: flex;
      align-items: flex-end;   /* pushes content to bottom */
      justify-content: flex-start; /* pushes content to left */
      padding: 60px 80px; /* space from bottom & left edges */
      z-index: 2;
    }

    .campus-content {
      position: relative;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 2px;
      z-index: 3;
      text-align: left;
    }


    .campus-content .subtitle {
      font-size: 2.2rem;
      border-top: 2px solid #b51d1d;
      border-bottom: 2px solid #b51d1d;
      display: inline-block;
      padding: 5px 15px;
      margin-bottom: 20px;
    }

    .campus-content .title {
      font-size: 5.5rem;
      font-weight: 800;
    }
    .decorated-heading {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      margin: 60px 0;
      position: relative;
      left: -60px; /* moves entire group slightly left without padding */
    }

    .decorated-heading h2 {
      font-family: 'Poppins', sans-serif;
      font-weight: 700;
      font-size: 2.75rem;
      text-transform: uppercase;
      color: #000;
      margin: 0 10px;
      position: relative;
    }

    /* Lines */
    .decorated-heading .line {
      height: 2px;
      background: #7c1a1a;
      position: relative;
    }

    /* Left line shorter, right line longer */
    .decorated-heading .line.left {
      width: 390px;
    }

    .decorated-heading .line.right {
      flex: 1;
    }

    /* Squares touching the lines */
    .decorated-heading .square {
      width: 13px;
      height: 13px;
      background: #7c1a1a;
    }

    /* Subtle fade on the far right */
    .decorated-heading .line.right::after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      width: 80px;
      height: 100%;
      background: linear-gradient(to right, rgba(124,26,26,0.6), rgba(255,255,255,0));
    }


    @media screen and (max-width: 768px) {
      .campus-life-section {
        background: url('../images/campus-life-mobile.webp') no-repeat center center/cover;
        margin-top: 3px;
      }
      .campus-content .title {
          font-size: 2.5rem;
          font-weight: 800;
        }
    }


@media (max-width: 992px) {
  #students-life {
    display: none !important;
    visibility: hidden !important;
  }
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 111px;
  right: 6px;
  width: 45px;
  height: 45px;
  font-size: 22px;
  font-weight: bold;
  line-height: 1;
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#backToTop.show {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

#backToTop.hide {
  opacity: 0;
  transform: scale(0.9);
}
.why-desc{color: #000;}

