* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  
}

/* NAVBAR */

.logo {
  width: 120px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* LOGO IMAGE */
.logo img {
  width: 120%;
  height: auto;
  object-fit: cover;

}
.logo2 img {
  width: 70%;
  height: auto;
  object-fit: cover;

}
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}
.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/common/RBU');
   overflow: hidden;
  width: 100%;
  height: 640px;
  display: flex;
 
}
/* TEXT POSITION EXACTLY LIKE FIGMA */
.hero-text {
  position: absolute;
  width: 949px;
  height: 615px;
  max-width: 100%;
  top: 113px;
  left: 632px;
  opacity: 1;
  transform: rotate(0deg);
  display: flex;
  align-items: center;
}

.hero-text h1 {
  margin: 0;
  line-height: 1.1;
}

.hero-text .light {
  font-size: 48px;
  font-weight: 400;
  color: #111;
  letter-spacing: 2px;
}

.bold {
    font-size: 58px;
    font-weight: 800;
    position: absolute;
    left: 66px;
    color: #000;
    letter-spacing: 2px;
}


/* 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: 470px;
  position: relative;
  bottom: 15px;
  z-index: 4;
  right: 30px;
  height: 620px;
  background: #ffffff;
  padding: 30px;
  border-radius: 6px;
  border: 1px solid #bf1e2e (17, 82, 110);
}

.hero-right-box {
  position: relative;
  bottom: 30px;
  right: 30px;
  text-align: center;
  padding-top: 10px;
  border-radius: 6px 6px 0px 0px;
  height: 100px;
  width: 470px;
  background-size: cover;
  background-color: #bf1e2e;
}

.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: #bf1e2e;
  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;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-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: #bf1e2e; /* 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 40px;
  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: #bf1e2e;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
}

.tab.active {
  background: #bf1e2e;
  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: #bf1e2e;
  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 {
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 10px;
  }

  .program-tabs::-webkit-scrollbar {
    height: 6px;
  }

  .program-tabs::-webkit-scrollbar-track {
    background: transparent;
  }

  .program-tabs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 999px;
  }

  .program-tabs {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
  }

  .tab {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
    margin-bottom: 0;
  }

  .course-list,
  .specialization-list {
    max-height: 300px;
  }
}

.specialization-list h3 {
  margin-bottom: 10px;
}

.specialization-list h4 {
  margin-top: 18px;
  font-size: 15px;
  color: #000;
}

.specialization-list ul {
  list-style: none;
  margin-top: 5px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 5px;
}

.specialization-list li {
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.2s ease;
}

.specialization-list li:hover {
  padding-left: 15px;
  background: rgba(255,255,255,0.05);
}

/* scrollbar */
.specialization-list ul::-webkit-scrollbar {
  width: 6px;
}

.specialization-list ul::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 10px;
}

.course-list::-webkit-scrollbar {
  width: 6px;
}

.course-list::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 10px;
}

/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width: 992px) {

  .container {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  /* tabs horizontal scroll */
  .program-tabs {
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 10px;
    padding-bottom: 10px;
  }

  .program-tabs::-webkit-scrollbar {
    height: 6px;
  }

  .program-tabs::-webkit-scrollbar-track {
    background: transparent;
  }

  .program-tabs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 999px;
  }

  .program-tabs {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
  }

  .tab {
    min-width: 90px;
    flex: 0 0 auto;
    text-align: center;
    scroll-snap-align: start;
    margin-bottom: 0;
  }

  /* sticky tabs */
  .program-tabs {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fffafa;
     box-shadow: 0 4px 12px rgba(0,0,0,0.1);

  }

  .course-list,
  .specialization-list {
    padding: 15px;
  }

  .specialization-list ul {
    max-height: none;
  }

  .program-heading h2 {
    font-size: 26px;
  }
}

/* ================= SMALL MOBILE ================= */

@media (max-width: 480px) {

  .tab {
    font-size: 13px;
    padding: 10px;
  }

  .course-item {
    font-size: 14px;
  }

  .specialization-list li {
    font-size: 14px;
  }

}

/* Eligibillity section */

.eligibility-section {
  padding: 60px 40px;
  background: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
}

.title-line {
  content: "";
  width: 120px;
  height: 3px;
  background: #bf1e2e;
  display: block;
  margin: 14px auto 20px;
}

.eligibility-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.eligibility-card {
  background: #f9fbfc;
  padding: 45px 30px;
  text-align: center;
  border: 2px solid rgba(255, 251, 251, 0.171);
  border-radius: 18px 0 18px 0;
  box-shadow: 0 12px 35px rgba(155, 154, 154, 0.192);
  transition: all 0.35s ease;
}
.eligibility-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.14);
}

.icon-wrap {
  width: 85px;
  height: 85px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f2d1b9, #f2d1b9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrap i {
  font-size: 38px;
  color: #ffffff;
}

.eligibility-card h4 {
  font-size: 18px;
  margin-bottom: 14px;
  color: black;
}

.eligibility-card p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #333;
}

.eligibility-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  color: #000;
}

.eligibility-card span {
  display: block;
  margin-top: 8px;
  font-size: 14.2px;
  color: #666;
}

/* Recognization section*/

.recognition-section {
  padding: 80px 0;
  background: #f8f9fb;
  text-align: center;
}

.recognition-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #2f3a3b;
}

.recognition-slider {
  width: 100%;
  overflow: hidden;
}

.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 15px 50px 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;
}

/* Scholarship section*/
.scholarship-section {
  background: #f5f7fa; /* 🔥 lightest grey */
  padding: 80px 20px;
  font-family: sans-serif;
}

/* GLASS CARD */
.glass-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: center;

  background: rgba(255, 255, 255, 0.6);

  border-radius: 20px;
  padding: 40px;

}
.apply-btn-wrap {
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.apply-btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #d60000, #a4000f);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(214, 0, 0, 0.3);
}

/* 🔥 Hover Effect */
.apply-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(214, 0, 0, 0.4);
  background: linear-gradient(135deg, #ff1a1a, #c40000);
}
/* LEFT */
.sch-left img {
  max-width: 220px;
}

/* CENTER */
.sch-center {
  flex: 1;
}

.buset-logo {
  width: 220px;
  margin-bottom: 15px;
}

.main-title {
  font-size: 36px;
  font-weight: 700;
}

.main-title span {
  color: #d60000;
}

.sub-title {
  color: #d60000;
  margin: 15px 0;
  font-weight: 600;
}

hr {
  margin: 15px 0;
  opacity: 0.3;
}

/* MERIT */
.merit-box h2 {
  color: #2f5597;
  font-size: 34px;
}

.merit-box h2 span {
  color: black;
  font-size: 20px;
}

.merit-box h3 {
  margin-top: 15px;
}

.merit-box li {
  margin-bottom: 8px;
}

.merit-box b {
  color: #2f5597;
}

/* RIGHT */
.sch-right {
  flex: 1;
}

.sch-right h2 {
  color: #2f5597;
  font-size: 34px;
}

.sch-right h2 span {
  color: black;
}

.special-box p {
  margin-top: 15px;
  font-weight: 600;
}

.special-box ul {
  margin: 10px 0;
}

.special-box li {
  margin-bottom: 5px;
}

.special-box b {
  color: #2f5597;
}

.highlight {
  margin-top: 20px;
}

.mt {
  margin-top: 20px;
}

/* 📱 MOBILE */
@media (max-width: 768px) {
  .glass-container {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }

  .sch-left img {
    max-width: 200px;
  }

  .main-title {
    font-size: 26px;
  }

  .merit-box h2,
  .sch-right h2 {
    font-size: 26px;
  }
}

/* Admission section */

.admission-section {
  max-width: 1500px;
  margin: auto;
  background: #f4f8fb;
  padding: 40px 20px;
  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: #888;
}

.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: #bf1e2e;
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.apply-btn:hover {
  background: #c00a1c;
}

/* Talent section*/

.talent-section {
  padding: 80px 40px;
  background: #f5f7fa;
  font-family: Arial, Helvetica, sans-serif;
}

.talent-heading {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #1f2937;
}

.talent-heading::after {
 content: "";
  width: 120px;
  height: 3px;
  background: #bf1e2e;
  display: block;
  margin: 14px auto 0;
}

/* GRID LAYOUT */
.talent-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* CARD DESIGN */
.talent-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 24px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.talent-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

/* IMAGE */
.talent-photo {
  width: 230px;
  height: 300px;
  border-radius: 5px;
  overflow: hidden;
  background: #e5e7eb;
  margin-bottom: 18px;
}

.talent-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TEXT */
.talent-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 6px 0 10px;
  color: #111827;
}

.talent-info .meta {
  font-size: 14px;
  color: #bf1e2e;
  line-height: 1.6;
  font-weight: 600;
  max-width: 260px;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .talent-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .talent-photo {
    width: 210px;
    height: 270px;
  }
}

@media (max-width: 600px) {
  .talent-grid {
    grid-template-columns: 1fr;
  }

  .talent-photo {
    width: 220px;
    height: 290px;
  }
}


/*-----vibrant student life---------*/
/* SECTION */
.skill-section {
  background: #f5f5f5;
  padding: 25px 15px;
}

/* CONTAINER */
.skill-container {
  max-width: 1200px;
  margin: auto;
  background: #2f353c;
  border-radius: 20px;
  padding: 30px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #fff;
  overflow: hidden;
}

/* LEFT SIDE */
.skill-left {
  flex: 1;
}

.tag {
  background: #3e454d;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 12px;
}

.skill-left h1 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.skill-left h1 span {
  font-weight: 400;
}

.skill-left p {
  font-size: 14px;
  line-height: 1.5;
  color: #dcdcdc;
  margin: 10px 0;
}

/* STATS */
.stats {
  display: flex;
  gap: 30px;
  margin: 12px 0;
}

.stats h2 {
  font-size: 28px;
  margin-bottom: 2px;
}

.stats span {
  font-size: 12px;
  color: #ccc;
}

/* BUTTON */
.cta-btn {
  display: inline-block;
  background: #bf1e2e;
  padding: 10px 22px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  margin-top: 8px;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #ff2d2d;
  transform: translateY(-2px);
}

/* RIGHT SIDE */
.skill-right {
  flex: 1;
  position: relative;
}

/* MAIN IMAGE */
.main-img {
  width: 100%;
  display: block;

}

/* FLOATING IMAGE */
.floating-img {
  position: absolute;
  top: 50px;
  left: -60px;
  padding: 6px;
  z-index: 2;
}

.floating-img img {
  width: 100px;
  display: block;
  border-radius: 8px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .skill-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 15px;
  }

  .skill-left h1 {
    font-size: 24px;
  }

  .skill-left p {
    font-size: 13px;
  }

  .stats {
    justify-content: center;
    gap: 20px;
  }

  .stats h2 {
    font-size: 22px;
  }

  .cta-btn {
    margin-top: 10px;
  }

  /* IMAGE FIX */
  .main-img {
    border-radius: 15px;
  }

  /* FLOATING IMAGE RESET */
  .floating-img {
    display: none;
  }

  
}

/* ----our star alumni-------*/

.star-alumni-section {
  padding: 80px 80px;
  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 {
  max-width: 700px;
  font-size: 17px;
  line-height: 1.6;
  color: #333;
}

/* NAV BUTTONS */
.nav-buttons {
  display: flex;
  gap: 12px;
}

.nav-buttons button {
  width: 46px;
  height: 46px;
  background: #0a1d56;
  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: url('images/bg.jpg'); ;
  color: #d6d6d6;
  font-family: Arial, sans-serif;
}

.footer-top {
  padding: 60px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;

  color: #ffffff;
}

.footer-about {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  max-width: 800px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: contain;
}
.footer-logo img{
  padding-right: 0px;
  position: relative;
  top:20%;
  width: 200px;
}

/* ALIGN BOTH TOGETHER HERE */
.footer-about-text {
  display: flex;
  flex-direction: column;
  margin-left: 25%;
  margin-top: -4%;
}

/* DESCRIPTION */
.footer-desc {
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 20px;
  color: #d6e2ea;
}

/* CONTACT */
.footer-contact {
  display: flex;
  gap: 40px;
  font-size: 14px;
  color: #c8d7df;
}

.footer-contact span {
  display: flex;
  align-items: end;
  gap: 40px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 16px;
  color: #9fbec3;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 14px;
   position: relative;
  padding-left: 18px;   
  display: block;
  transition: color 0.3s ease;
}
.footer-col a.highlight::before {
  color: #ff2b2b;
}
.footer-col a::before {
  content: "\f054"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;

  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  font-size: 11px;
  color: #ffffff;
  opacity: 0.9;
}

.footer-col a:hover {
  color: #29b0b2;
}

.footer-col .highlight {
  color: #bf1e2e;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 40px;
  text-align: center;
  background: #061526;
}

.footer-policy {
  margin-bottom: 10px;
}

.footer-policy a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
}

.footer-policy span {
  margin: 0 8px;
  color: #aaa;
}

.footer-copy {
  font-size: 13px;
  color: #ccc;
  text-align: center;
}
/* BACK TO TOP BUTTON */

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #bf1e2e;
  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: #9f1624;
  transform: translateY(-3px);
}




/* ===============================
   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)
================================ */
@media (max-width: 900px) {
    .hero {
    background-position: top;   /* RESET */
    background-size: contain;             /* SHOW FULL IMAGE */
    background-repeat: no-repeat;
    min-height: 70vh;       
    margin-bottom: 0px;             /* adjust if needed */
    padding-top: 140px;                   /* space for navbar */
  }

  .hero-left h1 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 30px;
  }

  .stats {
    align-items: center;
    gap: 20px;
  }

  /* FORM CONTAINER */
  .hero-right {
    width: 100%;
    max-width: 430px;
    height: auto;
    bottom: 0;
    margin: 8px auto 5px;
    padding: 5px;
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  }

  /* FORM HEADER */
  .hero-right-box {
    position: static;
    width: 100%;
    height: auto;
    padding: 18px;
    margin-bottom: 20px;
    border-radius: 10px;
  }

  .hero-right-box h2 {
    font-size: 18px;
    margin-top: 0;
  }

  /* INPUTS (IMPORTANT) */
  .hero-right input,
  .hero-right select,
  .hero-right textarea {
    width: 100%;
    font-size: 15px;
    padding: 14px 14px;
    margin-bottom: 14px;
    border-radius: 8px;
  }

  /* SUBMIT BUTTON */
  .hero-right button {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border-radius: 10px;
  }
}



/* ===============================
   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;
top:-32px;
  width: 100px;
}

}
/* 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: #bf1e2e;
  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;
  }
}


@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;
  }

}




/* ---- Banner ------- */
.admission-banner {
  position: relative;
  height: 550px;
  margin-bottom: 50px;
  overflow: hidden;
}

/* BACKGROUND IMAGE */
.banner-image {
  position: absolute;
  inset: 0;
  background:  url('images/RBU-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: #bf1e2e;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.ad-btn:hover {
  background: #ff2b2b;
  transform: translateY(-2px);
}
/* RESPONSIVE */
@media (max-width: 768px) {
  .banner-content{
    display: none;
  }
  .banner-image{
    display:none;
  }
  .admission-banner{
    display: none;
  }
}



.ranking-strip {
  background-color: #bf1e2e;
  color: #fff;
  height: 165px;
  display: flex;
  align-items: center; /* vertical center */
}

.ranking-strip .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center; /* vertical center */
  width: 100%;
}

.ranking-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* horizontal center */
  text-align: center;
}

.ranking-item h2 {
  font-size: 52px;
  font-weight: 700;
  margin: 0;
  line-height: 1;
}

.ranking-item p {
  font-size: 14px;
  line-height: 1.4;
  margin-top: 6px;
}

/* 🔽 Mobile */
@media (max-width: 768px) {
  .ranking-strip {
    height: auto;
    padding: 20px 0;
  }

  .ranking-strip .container {
    flex-direction: column;
    gap: 15px;
  }

  .ranking-item h2 {
    font-size: 42px;
  }
}