/* FIX FULL WIDTH ISSUE */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

.testimonial-title,
.placement-title,
.why-title,
.about-content h2 {
  font-size: 32px !important;
}




/* FULL WIDTH TOP BAR */
.top-bar {
  background: #5a2a6e;
  height: 42px;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: fixed;

  left: 0;
  right: 0;
  white-space: nowrap;
  z-index: 9999;
}

.bar-text1{
    color: #ffc107 !important;
}

/* MARQUEE */
.marquee {
  position: absolute;
  white-space: nowrap;
  animation: bounceText 15s linear infinite alternate;
}

/* TEXT */
.marquee span {
  color: #ffc107;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding-left: 100%;
}

/* LEFT ⇄ RIGHT SMOOTH */
@keyframes bounceText {
  0% {
    transform: translateX(150%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 576px) {
  .marquee {
    position: static;        /* remove absolute */
    animation: none;         /* stop animation */
    width: 100%;
    text-align: center;      /* center text */
  }

  .marquee span {
    padding-left: 0;         /* remove sliding space */
    display: inline-block;
    font-size: 13px;
  }
}


/* ================= NAVBAR ================= */
.main-navbar {
  position: fixed;
  top: 42px; /* below top bar */
  left: 0;
  width: 100%;
  background: #ffffff;
  z-index: 999;

  border-bottom: 1px solid #eee;
}

/* CONTAINER */
.nav-container {
  max-width: 1400px;
  margin: auto;
  padding: 10px 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo img {
  height: 55px;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #5a2a6e;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

/* HOVER */
.nav-links a:hover {
  color: #ffc107;
}

/* TOGGLE BUTTON (HIDDEN DESKTOP) */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #5a2a6e;
  cursor: pointer;
  z-index: 10000;
}

/* MOBILE STYLE */
@media (max-width: 992px) {

  .nav-container {
    padding: 10px 20px;
  }

  /* SHOW TOGGLE */
  .menu-toggle {
    display: block;
  }

  /* HIDE MENU */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;

    flex-direction: column;
    align-items: center;
    gap: 15px;

    padding: 20px 0;
    display: none;

    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  /* SHOW MENU */
  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 16px;
  }
}






/* HERO */
.hero-section {
  padding-top: 110px;
  margin: 60px; 
}

/* LEFT SIDE */
.hero-left {
  position: relative;
  height: 520px;   /* SAME AS IMAGE */
  overflow: hidden; /* prevents overflow */
}

/* IMAGE */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 10px; */
  position: relative;
  z-index: 0;
  display: block;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  top: 50px;
  left: 1px;
  width: 80%;

  background: rgba(0,0,0,0.7);
  padding: 30px;
  color: #fff;
  border-radius: 15px;
  z-index: 2;
}

/* OVERLAY */
.hero-left::before {
  content: "";
  position: absolute;
  inset: 0; 

  background: linear-gradient(180deg, #1f014acf, hsla(0, 0%, 100%, .262));

  z-index: 1;
}


/* TEXT */
.hero-overlay h1 {
  font-size: 32px;
  font-weight: 700;
}

.hero-overlay h1 span {
  color: #ffc107;
}

.hero-overlay h3 {
  color: #ffc107;
  margin: 15px 0;
  font-weight: 700;
}

.hero-overlay p {
  font-size: 20px;
  font-weight: 400;
}

/* FORM */
.form-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-card h2 {
  color: #5a2a6e;      /* same purple as your theme */
  font-weight: 600;    /* semi-bold */
  font-size: 28px;     /* clean size */
  margin-bottom: 20px;
  text-align: center;  /* matches your design */
}

.custom-input .input-group-text {
  background: #f3f3f3;
  border: none;
  color: #5a2a6e;
  font-size: 18px;
  width: 45px;
  justify-content: center;
}

.custom-input .form-control {
  border-left: none;
  height: 45px;
  box-shadow: none;
}

.custom-input .form-control:focus {
  box-shadow: none;
  border-color: #ccc;
}

/* BUTTON */
.submit-btn {
  width: 100%;
  background: #5a2a6e;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 6px;
}

/* ================= HERO RESPONSIVE ================= */

/* DESKTOP - KEEP SAME */
.hero-section {
  padding-top: 110px;
  margin: 40px;
}

/* TABLET */
@media (max-width: 992px) {

  .hero-section {
    margin: 20px;
    padding-top: 100px;
  }

  .hero-left {
    height: 350px;
  }

  .hero-overlay {
    top: 20px;
    left: 15px;
    width: 90%;
    padding: 20px;

  }

  .hero-overlay h1 {
    font-size: 22px;
  }

  .hero-overlay h3 {
    font-size: 18px;
  }

  /* FORM BELOW IMAGE */
  .form-card {
    margin-top: 25px;
  }
}
@media (max-width: 576px) {

  .hero-section {
    margin: 10px;
  }

  .hero-left {
    height: auto;
  }

  .hero-img {
    height: 280px;
    object-fit: cover;
  }

  .hero-overlay {
    top: 9px;
    left: 9px;
    width: 75%;
    padding: 10px;
    border-radius: 10px;
    margin-top: 15px;
    margin-left: -8px;
  }

  .hero-overlay h1 {
    font-size: 18px;
    line-height: 1.3;
  }

  .hero-overlay h3 {
    font-size: 14px;
  }

  .hero-overlay p {
    font-size: 13px;
    margin-bottom: 1px;
  }

  /* FORM FULL WIDTH */
  .form-card {
    margin-top: 20px;
    padding: 20px;
  }
}







/* SECTION */
.rank-section {
  background: #d6d6d6;
  padding: 60px 0;
}

/* WRAPPER */
.rank-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* IMAGE CARD */
.rank-item {
  border-radius: 14px;
  width: 220px;
  height: 220px;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* IMAGE */
/* .rank-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
} */

.rank-item img {
  width: 220px;
  height: 220px;
  object-fit: cover;        /* important for perfect fill */
  border-radius: 16px;      /* this gives rounded image */
}

/* DIVIDER */
.divider {
  width: 2px;
  height: 100px;
  background: #ffc107;
}

@media (max-width: 992px) {
  .rank-wrapper {
    flex-wrap: wrap;
    gap: 20px;
  }

  .divider {
    display: none;
  }
}

/* MOBILE */
@media (max-width: 576px) {
  .rank-section{
    padding: 20px 0;
    padding-left: 10px;
  }

  .rank-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns in one row */
    gap: 10px;
  }

  .divider {
    display: none; /* remove lines on mobile */
  }

  .rank-item {
    width: 70px;
    height: 70px;
  }

  .rank-item img {
    width: 70px;
    height: 70px;
  }
}






.about-section {
  background: #ffffff;
  padding: 70px 0;
}

/* FORCE SAME HEIGHT */
.about-row {
  min-height: 320px;
}

/* VIDEO BOX */
.video-box {
  position: relative;
  width: 100%;
  height: 320px;   /* EXACT HEIGHT MATCH */
  border-radius: 8px;
  overflow: hidden;

  background: #000;
}

/* THUMBNAIL */
.video-thumbnail {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* PLAY BUTTON */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ff0000;
  color: #fff;
  font-size: 30px;
  padding: 18px 22px;
  border-radius: 50%;
}

/* IFRAME */
.video-box iframe {
  width: 100%;
  height: 100%;
  display: none;
  /* border: none; */
}

/* TEXT */
.about-content {
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* PERFECT VERTICAL ALIGN */
}

/* HEADING */
.about-content h2 {
  font-size: 34px;
  font-weight: 600;
  color: #4b2a63;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* YELLOW TEXT */
.highlight1 {
  color: #ffc107;
}

/* PARAGRAPH */
.about-content p {
  font-size: 18px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 18px;
  line-height: 27px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .video-box {
    height: 220px;
  }

  .about-content {
    padding-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 992px) {

  .about-section {
    padding: 50px 20px;
  }

  /* STACK NICELY */
  .about-section .row {
    flex-direction: column;
  }

  /* VIDEO */
  .video-box {
    height: 260px;
  }

  /* TEXT */
  .about-content {
    padding-left: 0;
    margin-top: 25px;
  }

  .about-content h2 {
    font-size: 20px;
  }

  .about-content p {
    font-size: 16px;
    line-height: 26px;
  }

}







/* SECTION */
.why-section {
  background: #f8f8f8;
  padding: 50px 0;
  text-align: center;
}

/* TITLE */
.why-title {
  /* font-size: 34px; */
  font-weight: 600;
  color: #333;
  margin-bottom: 40px;
}

/* LIST */
.why-list {
  list-style: none;
  padding: 0;
  max-width: 850px;
  margin: auto;
  text-align: left;
}

/* ITEM */
.why-list li {
  display: flex;
  align-items: flex-start;
  font-size: 18px;
  color: #444;
  margin-bottom: 20px;
  line-height: 24px;
  word-break: keep-all;       
  overflow-wrap: break-word;
}

/* CHECK ICON */
.check {
  min-width: 20px;
  height: 20px;
  background: #0a7c1c;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 16px;
}

/* FIX ICON ALIGNMENT */
.why-item {
  display: flex;
  align-items: flex-start; /* important */
}





/* SECTION */
.placement-section {
  background: #ffffff;
  padding: 50px 0;
}

/* TITLE */
.placement-title {
  /* font-size: 36px; */
  font-weight: 600;
  color: #333;
}

.placement-sub {
  color: #777;
  margin-bottom: 20px;
}

/* TEXT WITH LEFT BORDER */
.placement-text {
  border-left: 4px solid #ffc107;
  padding-left: 20px;
  margin-bottom: 20px;
  line-height: 30px;
  font-size: 20px;
}

/* COMPANIES */
.companies {
  text-align: center;
  margin: 30px 0;
  font-weight: 500;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
}

/* STATS */
.stats h3 {
  font-size: 32px;
  font-weight: 600;
  color: #6c757d;
}

.stats span {
  font-size: 20px;
  color: #6c757d;
}

.highlight {
  color: #ffc107;
  font-weight: 600;
  font-size: 28px;
  white-space: nowrap;
}

/* RIGHT SIDE WRAPPER */
.placement-right {
  display: flex;
  justify-content: center;
  height: 100%;
}

/* CARD */
.student-card {
  position: relative;
  border: 6px solid #ffc107;
  padding: 10px;
  max-width: 320px;   /* FIX SIZE */
  margin: auto;
}

/* IMAGE */
.student-card img {
  width: 100%;
  height: 320px;      /* CONTROL HEIGHT */
  object-fit: contain; /* NO ZOOM CUT */
  filter: grayscale(100%);
  background: #eee;
}

/* NAME TAG */
.student-info {
  position: absolute;
  bottom: 20px;
  left: 0;
  background: #ffc107;
  padding: 10px 16px;
  font-size: 15px;
}

/* DOTS EXACT POSITION */
.custom-dots {
  position: relative;
  margin-top: 15px;
}

/* DOT STYLE */
/* .custom-dots button {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #bbb;
  border: none;
  margin: 0 5px;
} */
/* RESET BOOTSTRAP DEFAULT */
.custom-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #c4c4c4;
  border: none;
  margin: 0 4px;

  opacity: 1;              /* remove bootstrap fade */
  transform: none;         /* prevent scaling */
}
/* ACTIVE DOT */
.custom-dots .active {
  background-color: #333;
  width: 8px;
  height: 8px;
}

/* REMOVE BOOTSTRAP BIG STYLE */
.carousel-indicators [data-bs-target] {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50%;
  margin: 0 4px;
}

/* MAKE BOTH SIDES SAME HEIGHT */
.placement-section .row {
  align-items: stretch;
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 992px) {

  /* STACK */
  .placement-section .row {
    flex-direction: column;
  }

  /* TEXT */
  .placement-text {
    font-size: 16px;
    line-height: 26px;
  }

  /* STATS */
  .stats .col-md-4 {
    margin-bottom: 20px;
  }

  .stats h3 {
    font-size: 26px;
  }

  .highlight {
    font-size: 20px;
  }

  /* RIGHT CARD CENTER */
  .placement-right {
    margin-top: 30px;
  }

  .student-card {
    max-width: 260px;
  }

  .student-card img {
    height: 260px;
  }

}







/* SECTION */
.partners-section {
  background: #ffffff;
  padding: 50px 0;
  text-align: center;
}

/* TITLE */
.partners-title {
  /* font-size: 34px; */
  font-weight: 600;
  margin-bottom: 50px;
  color: #333;
}

/* GRID */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 40px; /* row-gap column-gap */
  align-items: center;
  justify-items: center;
}

/* LOGOS */
.partners-grid img {
  max-width: 160px;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(0%);
  transition: 0.3s ease;
}

/* HOVER EFFECT (optional but nice) */
.partners-grid img:hover {
  transform: scale(1.1);
}

/* TABLET */
@media (max-width: 992px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

/* MOBILE */
@media (max-width: 576px) {

  .partners-section{
    padding: 30px 0;
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .partners-grid img {
    max-width: 100px;
  }
}






/* SECTION */
.testimonial-section {
  background: #f3f3f3;
  padding: 60px 0;
  text-align: center;
}

/* TITLE */
.testimonial-title {
  /* font-size: 32px; */
  font-weight: 600;
  margin-bottom: 60px;
  color: #333;
}

/* WRAPPER */
.testimonial-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
}

/* CARD */
.testimonial-card {
  position: relative;
  background: #fff;
  border-radius: 20px;

  width: 480px;              /* increased width */
  min-height: 220px;         /* increased height */

  padding: 70px 35px 50px;   /* more breathing space */

  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}


/* AVATAR */
.avatar {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* NAME */
.testimonial-card h3 {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  line-height: 24px;
}

/* TEXT */
.testimonial-card p {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin-top: 10px;
  line-height: 24px;
}

/* QUOTES */
.quote-left,
.quote-right {
  position: absolute;
  font-size: 30px;
  color: #ffc107;
  font-weight: bold;
}

.quote-left {
  top: 20px;
  left: 20px;
}

.quote-right {
  bottom: 20px;
  right: 20px;
}

@media (max-width: 992px) {

  .testimonial-wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  .testimonial-card {
    width: 45%;
    max-width: 400px;
  }

}

@media (max-width: 576px) {

  .testimonial-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    width: 100%;
    max-width: 100%;
    padding: 60px 20px 40px;
  }

  .testimonial-card h3 {
    font-size: 18px;
  }

  .testimonial-card p {
    font-size: 14px;
    line-height: 22px;
  }

  /* Avatar adjust */
  .avatar {
    width: 60px;
    height: 60px;
    top: -30px;
  }

  /* Quotes smaller */
  .quote-left,
  .quote-right {
    font-size: 24px;
  }

}






/* CTA BAR */
.cta-bar {
  background: #5a2a6e;
  padding: 18px 0;
}

/* FULL WIDTH CONTROL */
.cta-container {
  width: 100%;
  max-width: 1400px;
  margin: auto;
  padding: 0 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* TEXT */
.cta-text h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  font-size: 19px;
  margin: 0;
}

.cta-text p {
  color: #fff;
  font-size: 16px;
  margin: 4px 0 0;
}

/* BUTTON (EXACT STYLE) */
.cta-btn {
  background: #fff;
  color: #ffd001;
  cursor: pointer;

  border-radius: 25px;

  font-size: 25px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 5px #0003;

  padding: 10px 20px;
  transition: 0.3s ease;
  border: none;
}    


/* HOVER */
.cta-btn:hover {
  background: #e6e6e6
}







/* LOGO SECTION */
.footer-logo {
  background: #ffffff;
  padding: 25px 0 25px;
  text-align: center;
}

.footer-logo img {
  height: 55px;
}

/* DIVIDER LINE */
.footer-bottom {
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  padding: 15px 0;
}

/* FLEX CONTAINER */
.footer-bottom-container {
  max-width: 1400px;
  margin: auto;
  padding: 0 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* TEXT */
.footer-bottom p {
  margin: 0;
  color: #777;
  font-size: 14px;
}

/* LINKS */
.footer-links a {
  color: #777;
  text-decoration: none;
  margin-left: 25px;
  font-size: 14px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #000;
}




@media (max-width: 768px) {

  .cta-container {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .cta-btn {
    font-size: 18px;
    padding: 8px 20px;
  }

  .footer-bottom-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-links a {
    margin: 0 10px;
  }

  .footer-logo img {
    height: 40px;   /* reduced from 55px */
  }

}







/* OVERLAY */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);

  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* CARD */
.popup-card {
  background: #fff;
  width: 360px;
  max-width: 90%;
  padding: 25px;
  border-radius: 12px;
  position: relative;
  text-align: center;
}

/* CLOSE */
.close-btn {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 22px;
  cursor: pointer;
}

/* TITLE */
.popup-card h3 {
  color: #5a2a6e;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 700;
}

/* INPUT */
.input-group-text {
  background: #f3f3f3;
  border: none;
}

.form-control {
  border-left: none;
  box-shadow: none;
}

/* BUTTON */
.submit-btn {
  width: 100%;
  background: #5a2a6e;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
}
