* {
  margin: 0;
  padding: 0;
  top:0px;
  scroll-behavior: smooth;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* NAVBAR */

.logo {
  width: 200px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* LOGO IMAGE */
.logo img {
  width: 110%;
  height: auto;
  object-fit: cover;

}
.navbar{
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: transparent;   /* transparent */

  z-index: 100;
}

.navbar nav a {
  margin-left: 25px;
  position: relative;
  top: 3px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: large;
}

.hero {
  background-image: url('./images/auimg.jpg');
   overflow: hidden;
  width: 100%;
  height: 640px;
  display: flex;
 
}

/* LEFT */
.hero-left {
  flex: 1;
}

.hero-left h1 {
  font-size: 25px;

  margin-bottom: 40px;
}

.hero-left span {
  font-weight: 500;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.stat h2 {
  font-size: 30px;
}

/* RIGHT FORM */
.hero-right {
      width: 393px;
    position: relative;
    bottom: -52px;
    z-index: 4;
    right: 39px;
    height: 620px;
    background: #ffffff;
    padding: 4px;
    border-radius: 6px;
    border: 1px solid radial-gradient(circle at top, #0c2a2a, #051616);
}

.hero-right-box {
     position: relative;
    bottom: 30px;
    right: 3px;
    text-align: center;
    padding-top: 10px;
    border-radius: 6px 6px 0px 0px;
    height: 100px;
    width: 390px;
    background-size: cover;
    background-color: #0c2a2a;
}

.hero-right-box h2 {
  color: #ffffff;
  font-size: 20px;
  margin-top: 20px;
}

.hero-right-box p {
  margin-top: 8px;
  color: white;
}

/* INFO BAR */
/* STATS SLIDER SECTION */
.stats-slider-section {
  background: #7d4900;
  color: white;
  padding: 19px 0;
  overflow: hidden;
  width: 100%;
  margin: -20px 0 0;
  position: relative;
  z-index: 2;
}
.stats-slider-container {
  width: 100%;
  overflow: hidden;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
    mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.stats-track {
  display: flex;
  gap: 100px;
  width: max-content;
  align-items: center;
  padding: 0 50px;
 
}

.stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 10px;
  min-width: 220px;
  flex-shrink: 0;
}

.stats-item i {
  font-size: 24px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.stats-item h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.stats-item p {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.9;
}

.degrees-section {
  padding: 120px 60px;
  text-align: center;
}

/* PROGRAM SECTION */
.program-heading {
  text-align: center;
  margin-bottom: 40px;
}

.program-heading h2 {
  font-size: 32px;
  font-weight: 700;
  color: #000; /* black text */
  letter-spacing: 1px;
}

.program-heading .underline {
  display: block;
  width: 120px;
  height: 3px;
  background: #7d4900; /* red line */
  margin: 10px auto 0;
  border-radius: 2px;
}

:root {
  --primary: #f8f9fb;
  --light-bg: #fff;
  --dark-text: black;
  --white: black;
}

/* PROGRAMS */
.program-explorer {
  padding: 60px 60px;
  background: linear-gradient(135deg,#eef2ff,#f8fafc);
  font-family: 'Poppins', sans-serif;
}

/* GRID */
.container {
  display: grid;
  grid-template-columns: 200px 300px 1fr;
  gap: 20px;
  height: 500px; /* SAME HEIGHT FIX */
}

/* COMMON BOX STYLE */
.program-tabs,
.course-list,
.specialization-list {
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* LEFT */
.program-tabs {
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.tab {
  padding: 14px;
  margin-bottom: 8px;
  border: none;
  background: transparent;
  color: #7d4900;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
}

.tab.active {
  background: #7d4900;
  color: #fff;
  transform: scale(1.05);
}

/* MIDDLE */
.course-list {
  padding: 15px;
  overflow-y: auto;
}

.course-item {
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: 0.3s;
  opacity: 0;
  transform: translateX(-15px);
  animation: slideIn 0.4s forwards;
}

.course-item:hover {
  background: #eef2ff;
}

.course-item.active {
  background: #7d4900;
  color: #fff;
}

/* RIGHT */
.specialization-list {
  padding: 20px;
  overflow-y: auto;
  transition: 0.4s;
}

.specialization-list h3 {
  margin-bottom: 15px;
  color: #0c2a2a;
}

.specialization-list li {
  margin-bottom: 10px;
  transition: 0.3s;
}

.specialization-list li:hover {
  transform: translateX(5px);
  color: #0c2a2a;
}

/* ANIMATION */
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 🔥 MOBILE IMPROVEMENT */
@media(max-width: 900px) {

  .container {
    grid-template-columns: 1fr;
    height: auto;
  }

  .program-tabs {
    flex-direction: row;
    overflow-x: auto;
    gap: 10px;
  }

  .tab {
    flex: 1;
    white-space: nowrap;
  }

  .course-list,
  .specialization-list {
    max-height: 300px;
  }
}

/* Eligibillity section */
.scholarship-section {
  padding: 80px 20px;
  background: linear-gradient(to right,#f4f6f9,#e9eef4);
  font-family: 'Poppins', sans-serif;
}

.scholarship-container {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* LEFT */
.title-wrap {
  display: flex;
  align-items: center;
  gap: 25px;
}

.big {
  font-size: 90px;
  font-weight: 800;
  color:#bf1e2e;
  line-height: 1;
}

.title-text {
  font-size: 48px;
  font-weight: 700;
  color: #333;
  position: relative;
}

.title-text .line {
  width: 60px;
  height: 4px;
  background: #072222;
  display: block;
  margin-top: 10px;
}

.buset-img {
  width: 180px;
  margin: 25px 0;
}

/* CRITERIA */
.criteria-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  overflow: hidden;
}

.criteria-box h3 {
  background: radial-gradient(circle at top, #0c2a2a, #051616);
  color: #fff;
  padding: 15px;
  font-size: 16px;
}

.criteria-box ul {
  padding: 18px;
}

.criteria-box li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 15px;
}

/* TEXT */
.merit {
  margin-top: 20px;
  font-size: 15px;
}

/* RIGHT PANEL */
.right-panel h2 {
  font-size: 32px;
  margin-bottom: 25px;
}

/* GRID (FIXED — NO COMPACT ISSUE) */
.edge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* CARDS */
.edge-card {
  background: #fff;
  border-radius: 14px;
  padding: 25px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.edge-card:hover {
  transform: translateY(-5px);
}

/* PERCENT */
.percent {
  background: radial-gradient(circle at top, #0c2a2a, #051616);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  padding: 20px;
  height: 50px;
  min-width: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-align: center;
}

/* Optional smaller variant */
.percent.small {
  font-size: 22px;
  height: 70px;
  padding: 14px 18px;
}

/* Optional larger variant */
.percent.large {
  font-size: 32px;
  height: 110px;
  padding: 24px 28px;
}

/* TEXT */
.edge-card p {
  font-size: 14px;
  color: #333;
}

/* MOBILE */
@media(max-width: 900px) {
  .scholarship-container {
    grid-template-columns: 1fr;
  }

  .title-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .big {
    font-size: 60px;
  }

  .title-text {
    font-size: 30px;
  }

  .edge-grid {
    grid-template-columns: 1fr;
  }
}
/* Ranking strip section*/

.ranking-strip {
  background: radial-gradient(circle at top, #0c2a2a, #051616);
  padding: 35px 20px;
  font-family: 'Poppins', sans-serif;
}

/* CENTER EVERYTHING PROPERLY */
.ranking-container {
  max-width: 900px; /* 🔥 controls spacing */
  margin: auto;

  display: flex;
  justify-content: center; /* center both items */
  align-items: center;
  gap: 80px; /* 🔥 controlled spacing */
}

/* ITEM */
.rank-item {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
}

/* NUMBER */
.rank-item h2 {
  font-size: 60px;
  font-weight: 800;
  margin: 0;
}

/* TEXT */
.rank-item p {
  font-size: 15px;
  line-height: 1.4;
  margin: 0;
}

.rank-item span {
  font-weight: 600;
}

/* DIVIDER (CLEAN CENTER LINE) */
.rank-item:first-child {
  padding-right: 40px;
  border-right: 1px solid rgba(255,255,255,0.4);
}

/* MOBILE */
@media(max-width: 768px) {

  .ranking-container {
    flex-direction: column;
    gap: 25px;
  }

  .rank-item:first-child {
    border-right: none;
    padding-right: 0;
  }

  .rank-item h2 {
    font-size: 46px;
  }

  .rank-item p {
    font-size: 14px;
  }
}

/* Recognization section*/

.recognition-section {
  padding: 80px 0;
  background: #f8f9fb;
  text-align: center;
}

.recognition-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #000000;

}
.recognition-title .underline {
  display: block;
  width: 120px;
  height: 3px;
  background: #0c2a2a; /* red line */
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Collaborations section */
.alpha-global-v2 {
  padding: 80px 0;
  text-align: center;
}


.recognition-track {
  display: flex;
  gap: 30px;
  width: max-content;
  align-items: center;
}

.logo-card {
  min-width: 240px;
  height: 110px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  flex-shrink: 0;
}

.logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* international collaborations section */

.alpha-global-v2 {
  position: relative;
  padding: 100px 20px;
  background: url('your-bg-image.jpg') center/cover no-repeat;
  font-family: 'Poppins', sans-serif;
}



/* DARK OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85);

}

/* CONTAINER */
.alpha-container {
  position: relative;
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}

/* LEFT */
.alpha-left {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.alpha-logo {
  width: 280px;
}

.alpha-sub {
  font-size: 13px;
  letter-spacing: 2px;
  color: #000000;
}

/* LOGOS */
.collab-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.collab-logos img {
  width: 90px;

}

.collab-logos img:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.1);
}

/* MOU COUNTER */
.mou {
  display: flex;
  align-items: center;
  gap: 10px;
}

.num {
  font-size: 90px;
  font-weight: 800;
  color: #2d4fa3;
}

.text {
  font-size: 60px;
  font-weight: 800;
  color: #bf1e2e;
}
.tex {
  font-size: 60px;
  font-weight: 800;
  color: #0c2a2a;
}

.mou-desc {
  font-size: 14px;
}

/* RIGHT */
.alpha-right h1 {
  font-size: 70px;
  font-weight: 800;
  line-height: 1.1;
}


/* TEXT */
.desc {
  margin: 25px 0;
  color: #444;
  max-width: 500px;
}

.uni-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  justify-items: center; /* centers smaller items */
}

.uni-grid img {
  width: 55%;
}


/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */
@media(max-width: 900px) {
  .alpha-container {
    grid-template-columns: 1fr;
  }

  .alpha-right h1 {
    font-size: 42px;
  }

  .num {
    font-size: 60px;
  }

  .text {
    font-size: 40px;
  }

  .uni-grid {
    grid-template-columns: 1fr;
  }
}

/* Admission section */

.admission-section {
  max-width: 1500px;
  margin: auto;
  background: #f4f8fb;
  padding: 10px 10px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 24px;
  color: #666;
  margin-bottom: 25px;
}

.admission-section h2 {
  font-size: 44px;
  font-weight: 400;
  color: #1f2937;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 70px;
}

.track-wrapper {
  position: relative;
  width: 100%;
  height: 360px;
}

.track {
  width: 100%;
  height: 200px;
}

.step {
  position: absolute;
  width: 240px;
  text-align: center;
}

.step span {
  font-size: 14px;
  color: #9c8686;
}

.step h4 {
  font-size: 20px;
  margin: 10px 0;
  color: #1f2937;
}

.step p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.5;
}

.icon {
  width: 60px;
  height: 60px;
  background: #bf1e2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: white;
  margin: 0 auto 10px;
}
.ico {
  width: 60px;
  height: 60px;
  background: #18b58a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  color: white;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 10px;
}
.ic {
  width: 60px;
  height: 60px;
  background: #f19048;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: white;
  margin: 0 auto 10px;
}
.i {
  width: 60px;
  height: 60px;
  background: #00b2b2;
  border-radius: 50%;
  display: flex;
  color: white;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 10px;
}

.step1 {
  left: 2%;
  top: 55px;
}

.step2 {
  left: 30%;
  top: 95px;
}

.step3 {
  left: 58%;
  top: 80px;
}

.step4 {
  left: 82%;
  top: 80px;
}

.apply-btn {
  margin-top: 40px;
  background: #7d4900;
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.apply-btn:hover {
  background: #573300;
}


/* ---- Banner ------- */
.admission-banner {
  position: relative;
  height: 550px;
  overflow: hidden;
}

/* BACKGROUND IMAGE */
.banner-image {
  position: absolute;
  inset: 0;
  padding: 0px 20px;
  background:  url('images/BU-CTA-design.webp'); /* replace */
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* CONTENT LEFT SIDE */
.banner-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 148px 60px;
  margin-left: 70px;
  font-family: sans-serif;
  color: #ffffff;
}

/* BADGE */
.ad-badge {
  display: inline-block;
  background: #d9d9d9a6;
  color: #000;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 20px;
}

/* HEADING */
.banner-content h1 {
  font-size: 30px;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 600;
}

/* SUBTEXT */
.ad-sub {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 15px;
  margin-bottom: 25px;
}

/* BUTTON */
.ad-btn {
  display: inline-block;
  background: #a86800;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.ad-btn:hover {
  background: #c27a00;
  transform: translateY(-2px);
}
/* RESPONSIVE */
@media (max-width: 768px) {
  .banner-content{
    display: none;
  }
  .banner-image{
    display:none;
  }
  .admission-banner{
    display: none;
  }
}

/* ----our star alumni-------*/

.star-alumni-section {
  padding: 80px 2px;
  background: #ffffff;
  overflow: hidden;
}

/* HEADER */
.star-alumni-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.star-alumni-header h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
}

.star-alumni-header p {
 
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #6e6d6d;
}

/* NAV BUTTONS */
.nav-buttons {
  display: flex;
  gap: 12px;
}

.nav-buttons button {
  width: 46px;
  height: 46px;
  background: #7d4900;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 20px;
  cursor: pointer;
}

/* CAROUSEL */
.carousel-wrapper {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 30px;
  pointer-events: none;
  cursor: grab;
}

.alumni-card {
  width: 480px;
  height: 350px;
  border-radius: 0px;
  overflow: hidden;
  flex: 0 0 auto;
}

.alumni-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*industrial collab  section*/

.collab-section {
  padding: 90px 70px;
  background: #f8f9fb;
  overflow: hidden;
}

.collab-subtitle {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 12px;
  font-weight: 500;
}

.collab-title {
  font-size: 32px;
  font-weight: 700;
  color: black;
  line-height: 1.2;
  margin-bottom: 60px;
}

.collab-slider {
  width: 190%;
  position: relative;
  right: 68px;
}

.collab-row-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 26px;
}

.collab-row {
  display: flex;
  gap: 0px;
  width: max-content;
  will-change: transform;
}

.collab-card {
  width: calc((100vw - 140px) / 7); /* EXACT 7 per row */
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 1px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease;
}

.collab-card:nth-child(even) {
  background: #f3f4f6;
}

.collab-card img {
  max-width: 85%;
  max-height: 70%;
  object-fit: contain;
  display: block;
}

#rowRight .collab-card:nth-child(even) {
  background: #ffffff;
}

#rowLeft .collab-card:nth-child(even) {
  background: #ffffff;
}

/*-----footer---------*/

.rbpu-footer {
  background: #2f3a3d;
  color: #d6d6d6;
  font-family: Arial, sans-serif;
}


.footer-about {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  max-width: 800px;
}

.footer-logo {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  object-fit: contain;
}
.footer-logo img{
  padding-right: 0px;
  position: relative;
  right:-10px;
  top: 25px;
  width: 110px;
}


/* BACK TO TOP BUTTON */

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at top, #0c2a2a, #051616);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#backToTop:hover {
  background: #7d4900;
  transform: translateY(-3px);
}

#backToTop {
  max-width: 48px;
  max-height: 48px;
  box-sizing: content-box; /* prevent overflow contributions */
}

/* ===============================
   GLOBAL MOBILE SAFETY
================================ */
@media (max-width: 1024px) {
  body {
    overflow-x: hidden;
  }
}

/* ===============================
   NAVBAR
================================ */
@media (max-width: 900px) {
    .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
  }


.logo {
    position: relative;
    width: 140px;      /* customize */
    height: auto;
    right: 0;
  }

  .logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .navbar nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1px;
  }

  .navbar nav a {
    margin: 8px 12px;
    top: 0;
    font-size: 15px;
  }
}

/* ===============================
   HERO + REGISTRATION FORM (KEY FIX)
================================ */
 
/* Update mobile hero styles for better image compression and hero-right fitting */
@media (max-width: 900px) {
  .hero {
    background-position: center; /* Center the image */
    background-size: cover; /* Compress/fit the image to cover the area without distortion */
    background-repeat: no-repeat;
    min-height: 70vh;
    margin-bottom: 0px;
    padding-top: 140px;
    display: flex;
    flex-direction: column; /* Stack elements vertically for better mobile layout */
    align-items: center; /* Center align content */
    justify-content: flex-start; /* Align to top */
  }

  .hero-right {
            width: 100%;
        max-width: 430px;
        height: 95%;
        position: relative;
        right: auto;
        top: -120px;
        margin: 21px 73px;
        padding: 6px;
        border-radius: 14px;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  }

  .hero-right-box {
    position: static;
    width: 100%;
    height: auto;
    padding: 18px;
    margin-bottom: 20px;
    border-radius: 10px;
  }
  

  .stats {
    align-items: center;
    gap: 20px;
  }

}



/* ===============================
   GRIDS (UNIFORM PREMIUM STACKING)
================================ */
@media (max-width: 1024px) {
  .programs-grid,
  .eligibility-grid,
  .scholarship-container,
  .talent-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scholarship-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .programs-grid,
  .eligibility-grid,
  .scholarship-container,
  .talent-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .scholarship-card.wide {
    grid-column: span 1;
  }
}

/* ===============================
   ADMISSION STEPS
================================ */
@media (max-width: 900px) {
  .track-wrapper {
    height: auto;
  }

  .step {
    position: static;
    width: 100%;
    margin-bottom: 36px;
  }
}

/* ===============================
   STAR ALUMNI
================================ */
@media (max-width: 768px) {
  .star-alumni-header {
    flex-direction: column;
    gap: 20px;
  }

  .alumni-card {
    width: 300px;
    height: 220px;
  }
}

/* ===============================
   FOOTER
================================ */
@media (max-width: 1024px) {
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-top {
    padding: 58px 18px;
  }

  .footer-about {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-about-text {
    margin: 0;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-logo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: contain;
}
.footer-logo img{
  padding-right: 0px;
  position: relative;
  right: 0px;
  top: -40px;
  width: 90px;
}

}



/* NAV LINKS – DESKTOP */
.nav-menu {
  display: flex;
  gap: 28px;
}

.nav-menu a {
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  color: #1f2937;
  position: relative;
  padding-bottom: 6px;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0;
  height: 2px;
  background: #7d4900;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* ===============================
   HAMBURGER
================================ */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #1f2937;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* Animate to close */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===============================
   MOBILE MENU
================================ */

@media (max-width: 900px) {
  .navbar {
    padding: 14px 20px;
  }

  /* Logo LEFT, hamburger RIGHT automatically via space-between */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
   top: 64px;
    left: 30%;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 26px 0;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
  }

  .nav-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu a {
    font-size: 17px;
  }
}

/* ===============================
   FAQ SECTION
================================ */
.faq-section {
  padding: 80px 40px;
  background: #f9fafb;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
}

.faq-divider {
  width: 120px;
  height: 3px;
  background: #7d4900;
  margin: 0 auto 50px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: #1f2937;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f3f4f6;
}

.faq-question i {
  font-size: 14px;
  color: #0c2a2a;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 22px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
}

/* FAQ Mobile Responsive */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 20px;
  }

  .faq-title {
    font-size: 28px;
  }

  .faq-question {
    font-size: 15px;
    padding: 18px 20px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 18px;
  }
}

@media (max-width: 768px) {

  .hero {
    height: 100vh;
  }

  .hero-text {
    width: 100%;
    height: auto;
    top: 24%;
    left: 51%;
    transform: translate(-50%, -50%);
    padding: 0 20px;
    text-align: center;
    display: block;
  }

  .hero-text .light {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .bold {
    position: static;   /* remove absolute for mobile */
    display: block;
    font-size: 22px;
    margin-top: 1px;
    margin-left: 100px;
    letter-spacing: 1px;
  }

}


.university-name{
  color: #7d4900;
  font-size: 44px;
  font-weight: 500;
}


.premium-footer {
  background: radial-gradient(circle at top, #0c2a2a, #051616);
  color: #dcdcdc;
  font-family: 'Poppins', sans-serif;
}

/* TOP */
.footer-top {
  display: flex;
  gap: 30px;
  padding: 60px 6%;
}

.footer-logo img {
  width: 90px;
}

.footer-content {
  flex: 1;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
}

/* CONTACT */
.footer-contact {
    display: flex;
    gap: 210px;
    margin-top: 15px;
    font-size: 14px;
    align-content: flex-start;
    justify-content: flex-start;
    line-height: 25px;
}

/* SOCIAL */
.footer-social {
     position: relative;
    left: 950px;
    top: -40px;
}

.footer-social a {
  margin-right: 10px;
  color: #fff;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  transition: 0.3s;
}

.footer-social a:hover {
  color: #bf1e2e;
}

/* GRID */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  padding: 10px 6%;
}

.footer-grid h4 {
  font-size: 13px;
  color: #8f8f8f;
}

.footer-grid a {
  display: block;
  font-size: 13px;
  margin: 8px 0;
  color: #e5e5e5;
  text-decoration: none;
}

.footer-grid a:hover {
  color: #00e0c6;
}

/* APPROVAL */
.approval {
  color: #ffd700;
  margin-top: 10px;
}

/* LEGAL LINKS */
.footer-legal-links {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 13px;
}

.footer-legal-links a {
  color: #ddd;
  text-decoration: none;
  margin: 0 5px;
}

.footer-legal-links a:hover {
  color: #00e0c6;
}

/* COPYRIGHT STRIP */
.footer-copy-bar {
  background: #252c2f;
  text-align: center;
  padding: 12px;
  font-size: 13px;
  color: #fff;
}

/* MOBILE */
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
  }

  .footer-contact {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-social {
     position: relative;
    left: 0px;
    top: 40px;
}
}




.rb-uni-sec {
  background: #f5f5f5;
  padding: 80px 20px;
  text-align: center;
  font-family: 'Georgia', serif;
}

.rb-uni-wrap {
  max-width: 1200px;
  margin: auto;
}

/* TAGLINE */
.rb-uni-tag {
  letter-spacing: 3px;
  font-size: 14px;
  color: #333;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  display: inline-block;
  padding-bottom: 10px;
}

/* HEADING */
.rb-uni-heading {
  font-size: 42px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  margin-bottom: 60px;
}

.rb-green {
  color: #0b5d2a;
}

.rb-red {
  color: #8b1e1e;
}

.rb-sub {
  font-size: 20px;
  color: #333;
  letter-spacing: 2px;
}

/* FLEX */
.rb-uni-flex {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* CARD */
.rb-card {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

/* BADGE */
.rb-badge {
  width: 140px;
  height: 140px;
  border: 3px solid #0b5d2a;
  border-radius: 50%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #0b5d2a;
  transition: 0.3s;
}

.rb-badge h3 {
  font-size: 40px;
  margin: 0;
  color: #8b1e1e;
}

.rb-small {
  font-size: 14px;
  color: #333;
}

/* CENTER SPECIAL */
.rb-center .rb-badge {
  border-color: #8b1e1e;
  color: #8b1e1e;
}

.rb-center h4 {
  font-size: 18px;
  margin: 0;
}

.rb-center span {
  font-size: 14px;
}

/* TEXT */
.rb-card p {
  margin-top: 20px;
  font-size: 16px;
  color: #222;
  line-height: 1.6;
}

/* HOVER */
.rb-badge:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* RESPONSIVE */
@media(max-width: 768px) {
  .rb-uni-heading {
    font-size: 28px;
  }

  .rb-uni-flex {
    flex-direction: column;
    gap: 30px;
  }
}
