* {
  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 FIX */
.hero {
  position: relative; /* IMPORTANT */
  background-image: url('./images/common/RBU');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 640px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* TEXT CONTAINER (CENTERED) */
.hero-text {
  position: absolute;
  top: 45%;
  left: 40%;
  transform: translate(-60%, -50%); /* shift left slightly because form is on right */
  z-index: 2;
  width: 80%;
  max-width: 900px;
}

/* INNER TEXT */
.hero-text-inner {
  text-align: left;
}

/* TOP LINE */
.hero-text h4 {
      font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 11px;
}

/* RED BOX */
.highlight {
  display: inline-block;
  padding: 10px 20px;
  font-size: 40px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
}

.highlight.red {
  background: #bf1e2e;
}

/* PURPLE BOX */
.highlight.purple {
  background: #3c3c78;
}
/* =========================
   MOBILE HERO FIX
========================= */
@media (max-width: 768px){

  .hero{
    position: relative;
    height: 500px;
    overflow: hidden;
  }

  /* TEXT WRAPPER */
  .hero-text{
    position: absolute;
    top: 40px;
    left: 20px;

    width: 90%;

    transform: none;
    z-index: 999;
  }

  .hero-text-inner{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  /* TOP TEXT */
  .hero-text h4{
                 position: relative;
        display: block;
        font-size: 14px !important;
        font-weight: 700;
        line-height: 15px;
        color: black;
        margin-top: -30px;
        z-index: 1000;
        text-align: center;
  }

  /* BOXES */
  .highlight{
    position: relative;

    display: inline-block;

    padding: 7px 24px;

    font-size: 14px !important;
    font-weight: 700;
    line-height: 18px;

    color: #fff;
    margin-left: 40px;
    margin-bottom: -18px;

    z-index: 1;
  }

  .highlight.red{
    background: #bf1e2e;
  }

  .highlight.purple{
    background: #3c3c78;
  }

}
/* 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;
}



/* ================= WHY COURSE SECTION ================= */
.why-course {
  padding: 80px 20px;
  background: #f7f7f7;
  font-family: "Poppins", sans-serif;
}

.why-course .container {
  max-width: 1200px;
  margin: auto;
}

/* ================= TAG ================= */
.why-course .tag {
  display: inline-block;
  background: #efe4e4;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  transition: 0.3s ease;
}

/* 🔥 HOVER = YELLOW */
.why-course .tag:hover {
  background: #dc6666;
  color: #ffffff;
}

/* ================= HEADING ================= */
.why-course .main-heading {
  font-size: 42px;
  font-weight: 600;
  color: #2f3a3d;
  line-height: 1.3;
  margin-bottom: 50px;
}

/* ================= CARDS ================= */
.why-course .features {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
/* TEXT COLOR ON HOVER */
.why-course .feature-card:hover p {
  color: #ffffff;
}

/* OPTIONAL: make icon darker for contrast */
.why-course .feature-card:hover .icon {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
}

/* OPTIONAL: make SVG inside icon white */
.why-course .feature-card:hover .icon svg {
  stroke: #ffffff;
}

/* ALL WHITE DEFAULT */
.why-course .feature-card {
  flex: 1;
  min-width: 220px;
  background: #ffffff; /* ✅ always white */
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

/* 🔥 HOVER = YELLOW */
.why-course .feature-card:hover {
  background: #e22437;
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ICON */
.why-course .icon {
  width: 70px;
  height: 70px;
  background: #eef0f3;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 30px;
  transition: 0.3s ease;
}

/* ICON HOVER EFFECT */
.why-course .feature-card:hover .icon {
  background: #fff;
}

/* TEXT */
.why-course .feature-card p {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

/* ================= MOBILE ================= */
/* ================= MOBILE PREMIUM ================= */
@media (max-width: 768px) {

  /* Heading */
  .why-course .main-heading {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 25px;
  }

  /* Cards container */
  .why-course .features {
    gap: 12px; /* tighter spacing */
  }

  /* Cards */
  .why-course .feature-card {
    min-width: 100%;
    padding: 16px 14px; /* reduced padding */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left; /* looks more premium */
  }

  /* ❌ REMOVE ICONS ON MOBILE */
  .why-course .icon {
    display: none;
  }

  /* Text */
  .why-course .feature-card p {
    font-size: 14px;
    margin: 0;
  }

  /* Hover fix (mobile doesn't need lift) */
  .why-course .feature-card:hover {
    transform: none;
    box-shadow: none;
  }
}


/* PROGRAM SECTION */

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* SECTION */
.programs {
  padding: 70px 0;
}

/* TITLE */
.main-title {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* LAYOUT */
.program-layout {
  display: flex;
  gap: 60px;
  justify-content: center;
}

/* LEFT */
.program-left {
  width: 320px;
  position: sticky;
  top: 100px;
}

.program-left h3 {
  font-size: 22px;
  margin: 25px 0 12px;
}

/* ITEMS */
.program-item {
  padding: 14px 16px;
  background: #f1f2f4;
  margin-bottom: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.25s;
  position: relative;
}

.program-item:hover {
  transform: translateX(3px);
}

.program-item.active {
  background: #fff;
  font-weight: 600;
  transform: translateX(5px);
}

/* ACTIVE BAR */
.program-item.active::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 20%;
  height: 60%;
  width: 4px;
  background: #c62828;
  border-radius: 6px;
}

/* RIGHT PANEL */
.program-right {
  flex: 1;
  max-width: 750px;
  background: #fff;
  padding: 35px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);

  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s ease;
}

.program-right.show {
  opacity: 1;
  transform: translateY(0);
}

/* TEXT */
.program-right h2 {
  font-size: 26px;
  margin-bottom: 15px;
}

.section-label {
  display: inline-block;
  background: #0d1b3d;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin: 18px 0 8px;
}

.program-right p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

/* APPLY BUTTON */
.apply-btn {
  margin-top: 25px;
  display: inline-block;
  background: #0d1b3d;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.25s;
}

.apply-btn:hover {
  background: #142a5c;
}

.apply-btn:active {
  transform: scale(0.96);
}

/* MOBILE */
/* =========================
   MOBILE PREMIUM VERSION
========================= */
@media(max-width:768px){

  .program-layout {
    flex-direction: column;
    gap: 20px;
  }

  /* LEFT → HORIZONTAL SCROLL */
  .program-left {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
    width: 100%;
  }

  /* HIDE HEADINGS ON MOBILE */
  .program-left h3 {
    display: none;
  }

  /* ITEMS → PILLS */
  .program-item {
    min-width: max-content;
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 13px;
    background: #f1f2f4;
    white-space: nowrap;
  }

  /* ACTIVE */
  .program-item.active {
    background: #0d1b3d;
    color: #fff;
  }

  .program-item.active::before {
    display: none;
  }

  /* RIGHT PANEL → CARD */
  .program-right {
    width: 100%;
    padding: 20px;
    border-radius: 12px;
   
  }

  /* TITLE */
  .program-right h2 {
    font-size: 20px;
  }

  /* TEXT */
  .program-right p {
    font-size: 14px;
  }

  /* BUTTON */
  .apply-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  /* SCROLLBAR HIDE */
  .program-left::-webkit-scrollbar {
    display: none;
  }
}

/* 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;
}

.iconn {
  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;
  }
 .logo2 img {
  width: 50%;
  height: auto;
  object-fit: cover;

}
  
}

/* ----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)
================================ */
/* 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: auto;
    position: static; /* Remove absolute positioning for proper stacking */
    bottom: auto;
    right: auto;
    margin: 20px auto; /* Center and add spacing */
    padding: 20px; /* Increase padding for better fit */
    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;
  }
}

/* Additional adjustments for smaller screens */
@media (max-width: 768px) {
  .hero {
    height: auto; /* Allow height to adjust based on content */
    min-height: 100vh; /* Ensure full viewport height if needed */
    padding-top: 120px; /* Adjust for navbar */
  }

  /* Keep headline block above registration form on mobile */
  .hero > .hero-left {
    order: 1;
    width: 100%;
  }

  .hero > .hero-right {
    order: 2;
  }

  .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;
  }


 

  .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;
  }
}
