* {
  margin: 0;
  padding: 0;
}


/* General Page Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  overflow-x: hidden;
}

/* College page specific theme styles */
body.dark-mode .college-filters {
    background: var(--dark-surface);
    border-color: #333;
}

body.dark-mode .college-details {
    background: var(--light-card);
    color: #333;
}

body.dark-mode .comparison-table {
    background: var(--light-card);
    color: #333;
}



/* ======================
   CAROUSEL STYLES
======================= */


.carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 80vh;
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay for better text visibility */
.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Ensure carousel controls are visible */
.carousel-control-prev,
.carousel-control-next {
  z-index: 3;
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 15px;
}

.carousel-indicators {
  z-index: 2;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
}

/* Fixed overlay content */
/* .hero-content {
  position: absolute;
  bottom: 88%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 100%;
  padding: 0 20px;
}

.hero-content h3 {
  margin-bottom: 30px;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Responsive Design */
/* @media (max-width: 768px) {
  #homeCarousel,
  .carousel-item {
    height: 60vh;
  }
  
  .hero-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .search-box input {
    width: 300px;
  }
  
  .btn-group {
    margin-right: 0;
    justify-content: center;
  } */

@media (max-width: 576px) {
  #homeCarousel,
  .carousel-item {
    height: 50vh;
  }
  
  .hero-content h3 {
    font-size: 1.4rem;
  }
  
  .search-box input {
    width: 250px;
    font-size: 14px;
  }
  
  .btn-group button {
    padding: 6px 12px;
    font-size: 14px;
  }
}

.search-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-box input {
  padding: 10px 20px;
  border: none;
  outline: none;
  width: 530px;
  font-size: 15px;
  border-radius: 2px;
}

.search-box button {
  padding: 10px 25px;
  border: none;
  background: #e63c3c;
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 2px;
}

.search-box button:hover {
  background: #c53030;
}

.btn-group button {
  background-color: #2f84e6;
  color: white;
  padding: 8px;
  border: none;
  margin-left: 15px;
  border-radius: 2px;
  font-size: 15px;
  border-radius: 3px;
}

.btn-group {
  display: flex;
  gap: 7px;
  margin-right: 27rem;

}


/* Ticker container */
/* Ticker container */
.ticker-container {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  margin-top: 25px;
  /* background: #fff; */
  position: relative;
}

.ticker-title {
  text-align: center;
  margin-bottom: 40px;
}

/* The ticker wrapper */
.ticker {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: scroll-left 25s linear infinite;
}

/* Pause animation on hover */
.ticker-container:hover .ticker {
  animation-play-state: paused;
}

/* Each item (icon + link) */
.ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 40px;
}

.ticker-item img {
  width: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

.ticker-item a {
  text-decoration: none;
  color: #007bff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.ticker-item a:hover {
  text-decoration: underline;
  color: #0056b3;
}

/* Infinite scrolling keyframes */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}



/* Section Titles */
h3 {
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #222;
}

/* City Cards */
.city-container {
  position: relative;
  /* width: 880px; 4 images (200 + 10 margin each side) */
  margin: auto;
  overflow: hidden;
}

.gallery {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.city-image {
  width: 300px;
  height: 200px;
  margin: 5px;
  position: relative;
  flex-shrink: 0;
  border-radius: 50px;
}

.city-image img {
  width: 100%;
  height: 100%;
  border-radius: 2px;
  object-fit: cover;
}

.overlayer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  /* background: rgba(0, 0, 0, 0.6); */
  color: #fff;
  text-align: center;

}

/* Arrow buttons */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 20;
  /* keep arrows always clickable */
  border-radius: 30%;
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}


/* Arrow buttons */
/* .arrow {
  position: absolute; 
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
} */

/* Featured College Cards */
.container {
  max-width: 100%;
  margin: auto;
  overflow: hidden;
}

/* Title */
.title {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Scrolling wrapper */
.scroll-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Scrolling content */
.scroll-content {
  display: flex;
  gap: 15px;
  width: max-content;
  animation: scroll-left 5s linear infinite;
}


/* Pause on hover */
.scroll-container:hover .scroll-content {
  animation-play-state: paused;
}

/* Card */
.card {
  border: 1px solid rgb(170, 170, 170);
  border-radius: 5px;
  width: 270px;
  background: #fff;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.college-img img {
  width: 100%;
  height: auto;
  display: block;
}

.college-info {
  text-align: left;
  /* align all text to left */
  padding: 10px;
}

.college-name {
  font-size: 13px;
  /* margin: 5px 0 2px; */
}

.college-location {
  font-size: 12px;
  color: rgb(120, 120, 120);
  margin: 0;
}

/* Floating Logo */
.college-logo {
  position: absolute;
  top: 140px !important;
  right: 20px !important;
  left: auto !important;
  height: 50px;
  width: 50px;
  z-index: 30;
}



.college-logo img {
  height: 50px;
  width: auto;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.19);
}






/* ✅ Animation */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}





/* button index */
.tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 20px;
  margin: 0 5px;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 600;
}

.tab-btn.active {
  background: #e6f0ff;
  color: #0056b3;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .carousel-caption {
    bottom: 10%;
  }

  .carousel-caption h2 {
    font-size: 20px;
  }

  .carousel-caption input {
    width: 100% !important;
    margin-bottom: 10px;
  }

}

/* topcollege */
.main-body {
  background-color: rgb(203, 203, 203);
  padding: 25px;
}

.main {
  background-color: #f9f9f9;
  padding: 50px;
  border-radius: 3px;
  max-width: 1200px;
  margin-top: 20px
}

/* Flexbox for college section */
/* Container */
.container {
  max-width: 60%;
  margin: auto;
  overflow: hidden;
  margin-left: -10px;
}

/* Title */
.title {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Scrolling wrapper */
.scroll-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Scrolling content */
.scroll-content {
  display: flex;
  gap: 15px;
  animation: scroll-left 30s linear infinite;
}

/* Pause on hover */
.scroll-container:hover .scroll-content {
  animation-play-state: paused;
}

/* Card */
.card {
  border: 1px solid rgb(170, 170, 170);
  border-radius: 5px;
  width: 240px;
  background: #fff;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.college-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* crops and fills the box */
  display: block;
}

.college-img {
  width: 100%;
  height: 160px;
  /* fixed height */
  overflow: hidden;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.college-info {
  padding: 5px;
}

.college-name {
  font-size: 13px;
  margin: 5px 0 2px;
}

.college-location {
  font-size: 12px;
  color: rgb(120, 120, 120);
  margin: 0;
}

/* Floating Logo */
.college-logo {
  position: absolute;
  top: 150px;
  left: 20px;
  height: 50px;
  width: 50px;
  z-index: 30;
}

.college-logo img {
  height: 50px;
  width: auto;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.19);
}

/* ✅ Animation */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}




/* college cards index */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 30px;
  justify-items: center;
}

.course-card {
  background: #fff;
  border-radius: 5px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  width: 175px;
 
}

.course-card:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);

}

.course-card i {
  font-size: 30px;
  color: #0056b3;
  /* blue icon */
  margin-bottom: 10px;
}

.course-card h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.course-card p {
  margin: 5px 0 0;
  color: #777;
  font-size: 14px;
}


/* topCourse style */
------------------------------------ ----------------------- .main-body {
  background-color: rgb(255, 255, 255);
  padding: 25px;
}

.parent {
  max-width: 90%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  /* ✅ allow wrapping */
  gap: 40px;
  /* space between boxes */
  justify-content: center;
  /* center boxes in row */
}

.title-box {
  display: flex;
  /* side by side */
  align-items: center;
  /* vertical alignment */
  gap: 10px;
  /* space between logo and text */
}

.title-box img {
  width: 50px;
  /* adjust size */
  height: 50px;
  object-fit: contain;
  /* keeps proportions */
  cursor: pointer;
  /* pointer on hover */
}


.box {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  height: auto;
  box-sizing: border-box;
  flex: 1 1 calc(30% - 40px);
  /* ✅ 2 boxes per row */
  max-width: 400px;
}

/* .box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
} */

/* 📱 Mobile: stack vertically */
@media (max-width: 768px) {
  .box {
    flex: 1 1 100%;
    /* full width on small screens */
    max-width: 100%;
  }
}

.courseName {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 columns */
  gap: 12px;
  /* space between items */
  margin-top: 15px;
}

.courseName a {
  display: flex;
  /* use flex for centering */
  justify-content: center;
  align-items: center;
  height: 40px;
  /* equal height */
  border: 1px solid rgb(195, 189, 189);
  border-radius: 2px;
  text-decoration: none;
  color: #4197f4;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 14px;
}


.courseName a:hover {
  background-color: #539ceb;
  color: white;
}

.view {
  text-decoration: none;
  color: rgb(240, 53, 53);
  text-align: center;
}

.parent {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.box {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 15px;
  width: 250px;
  text-align: center;
}

#more-courses {
  display: none;
  /* hidden initially */
}

.text-center {
  margin-bottom: 20px;
}


/* news index page */
.news-buttons {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  /* enable horizontal scroll */
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* hide scrollbar (Firefox) */
}

.news-buttons::-webkit-scrollbar {
  display: none;
  /* hide scrollbar (Chrome/Safari) */
}

.news {
  border: none;
  background-color: white;
  font-size: 14px;
  cursor: pointer;
  /* padding: 8px 14px; */
  white-space: nowrap;
  /* prevent text break */
}

.news.active {
  border-bottom: 2px solid orange;
}

/* Arrow buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #ccc;
  cursor: pointer;
  padding: 5px 10px;
  font-size: 18px;
  z-index: 2;
}

.scroll-btn.left {
  left: 0;
}

.scroll-btn.right {
  right: 0;
}

.news-buttons {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px;
  border-bottom: 1px solid #333;
}

.news-buttons::-webkit-scrollbar {
  display: none;
  /* hide scrollbar */
}

.news-buttons button {
  padding: 8px 15px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.news-buttons button.active {
  border-bottom: 2px solid orange;
  font-weight: bold;
  color: orange;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  /* allows wrapping when screen is small */

}

/* Columns */
.column {
  flex: 1;
  min-width: 280px;
  /* prevents collapsing */
  box-sizing: border-box;
  /* display: flex; */
}

.newsbody-head {
  background: #d3d3d3;
  padding: 6px 10px;
  font-weight: bold;
  margin-bottom: 10px;
  width: 100%;
  text-align: center;
  border-radius: 4px;
}

.news-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
  /* allows wrapping when space is small */
  width: 100%;
  /* stay inside container */
  box-sizing: border-box;
}

.news-item img {
  width: 90px;
  height: 60px;
  object-fit: cover;
  flex-shrink: 0;
}

.news-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  /* allow line breaks */
  flex: 1;
  min-width: 0;
  /* important: prevents text pushing out */
  box-sizing: border-box;
}



/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .tab-content.active {
    flex-direction: column;
    /* stack Recent + Popular */
  }

  .column {
    width: 100%;
  }

  .newsbody-head {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  .news-buttons {
    gap: 5px;
  }

  .news-item {
    align-items: flex-start;
  }

  .news-buttons button {
    font-size: 12px;
    padding: 6px 10px;
  }

  .news-item img {
    width: 65px;
    height: 45px;
  }

  .news-item p {
    font-size: 13px;
  }
}


/* trending exam index page */

.container {
  max-width: 1200px;
  margin: 0 auto;
  /* text-align: center; */
  padding-top: 20px;
}

.container h4 {
  margin-bottom: 30px;
}

.exam-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; 
  gap: 10px;
  margin-bottom: 40px;

}

.exam-buttons button {
  border: 1px solid #ff4d4d;
  background-color: #f8f8f8;
  color: #000000;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.exam-buttons button:hover {
  background-color: #ff4d4d;
  color: white;
}

.ex-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-content: center;
  margin-bottom: 100px;
  padding-bottom: 100px;
}

.exam-card {
  background: #fff;
  padding: 15px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  font-weight: bold;
}

.exam-card a {
  text-decoration: none;
  color: black;
}

.exam-card:hover {
  transform: translateY(-5px);
}


/* mega links in header */


/* topcollege */




.main-body {
  background-color: rgb(203, 203, 203);
  padding: 25px;
  justify-items: center;

}

/* .main {
  background-color: #f9f9f9;
  padding: 50px;
  border-radius: 3px;
  max-width: 1200px;
  margin-top: 20px
} */

/* Flexbox for college section */
.college-container {
  display: flex;
  gap: 20px;
  /* space between columns */
  margin-top: 20px;
  max-width: 1200px;
}

/* .college-place {
  background-color: #f9f9f9;
  padding: 20px;
  width: 300px;
  height: 3000px;
  border-radius: 5px;
} */



.filter-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 250px;
}

.options-list {
  max-height: 150px;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 4px;
}

.options-list label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.college-details div {
  margin: 10px 0;
}






/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .college-container {
    flex-direction: column;
  }

  .college-place,
  .college-info {
    width: 100%;
    height: auto;
  }
}


/* Buttons row */
.exam-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 30px;
}

.exam-buttons button {
  border: 1px solid #b71c1c;
  background: none;
  color: #b71c1c;
  padding: 8px 18px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.exam-buttons button:hover,
.exam-buttons button.active {
  background: #b71c1c;
  color: #fff;
}

/* Card grid */
h2 {
  margin-bottom: 20px;
}

/* Buttons row */
.exam-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.exam-buttons button {
  border: 1px solid #b71c1c;
  background: none;
  color: #b71c1c;
  padding: 8px 18px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s ease;
}

.exam-buttons button:hover,
.exam-buttons button.active {
  background: #b71c1c;
  color: #fff;
}

/* Card grid */
.exam-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  padding: 10px;
}

.exam-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px 10px;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: none;
  /* hidden by default */
}

/* Make links fill card & center text */
.exam-card a {
  text-decoration: none;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
}

.exam-card.show {
  display: block;
  /* only visible when filter matches */
}

.exam-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/*------------------------------clat csss -----------------------------------------------------*/
body {
  background-color: rgb(211, 209, 209);
  margin: 0;
  font-family: Arial, sans-serif;
}

/* logo section */
.logo-container {
  background-color: white;
  max-width: 90%;
  margin: auto;
  margin-top: 70px;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-img {
  max-width: 9%;
  height: auto;
  object-fit: cover;
}

.logo-text {
  font-size: 24px;
}

/* button row */
.button-row {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.btn-download {
  text-decoration: none;
  border: 1px solid red;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 5%;
  color: red;
  background-color: #fff;
  padding: 5px 10px;
  width: 150px;
  height: 22px;
  font-size: 13px;
}

.download-icon {
  padding: 5px;
  height: 20px;
}

.btn-alert {
  border: 1px solid red;
  background-color: rgb(255, 57, 57);
  color: white;
  font-size: 13px;
  height: 35px;
  width: 150px;
  border-radius: 3px;
  margin-right: 20px;
  margin-bottom: 20px;
  cursor: pointer;
}

/* popup */
.popup {
  background-color: #fff;
  width: 700px;
  max-width: 95%;
  height: 450px;
  position: fixed;
  border-radius: 6px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  text-align: center;
  transition: transform 0.4s, visibility 0.4s;
  visibility: hidden;
  z-index: 1000;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.open-popup {
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.popup-logo {
  max-width: 20%;
  display: flex;
  justify-content: flex-start;
}

.popup-img {
  width: 200px;
}

.popup-title {
  color: black;
  font-size: 20px;
}

.popup-ok {
  width: 50%;
  padding: 10px 0;
  background-color: rgb(59, 219, 44);
  border: 0;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  color: white;
  margin-top: 10px;
}

/* nav row */
.nav-container {
  background-color: white;
  max-width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  margin-top: 20px;
  font-size: 14px;
  color: grey;
  gap: 5px;
}

.outer-ul {
  list-style: none;
  padding: 10px;
  margin: 0;
  display: flex;
  gap: 5px;
  white-space: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  flex: 1;
}

.outer-ul::-webkit-scrollbar {
  display: none;
}

li {
  padding: 0px 10px;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

li:hover {
  background: #ddd;
}

/* dropdown */
.dropDown {
  display: none;
  position: absolute;
}

.outer-ul li:hover .dropDown {
  display: block;
  position: absolute;
  background-color: rgb(255, 255, 255);
  justify-content: center;
  align-items: center;
  border-radius: 3px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.dropDown ul {
  margin: 0;
  padding: 0;
}

.dropDown ul a {
  text-decoration: none;
  color: grey;
}

.dropDown ul li {
  display: block;
  padding: 8px 12px;
  white-space: nowrap;
}

/* arrows */
.nav-arrow {
  background: #f1f1f1;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-arrow:hover {
  background: #ddd;
}

.clatBody {
  max-width: 90%;
  margin: auto;
  background-color: red;
  margin-top: 20px;
  display: flex;
  gap: 20%;
}

.clatBody-left {
  background-color: white;
  max-width: 60%;
  /* display: flex;
      justify-content: flex-start; */
  padding: 20px;
}

.clatBody-right {

  max-width: 20%;
  max-height: 20%;
}


/* Previous CSS remains the same */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

th,
td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

/* Vertical separator column */
.vertical-separator {
  width: 2px;
  padding: 0;
  background-color: #3498db;
}

th {
  background-color: #3498db;
  color: white;
  font-weight: 600;
}

.table-container {
  margin-top: 10px;
}


/* Breadcrumb */
.breadcrumb {

  margin-top: 35px;
}

.breadcrumb a {
  color: #007BFF;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.college-card {
  background-color: white;
  font-size: 15px;

}

.rating {
  color: white;
}


/* course table in course page */
.course-table th {
  border: 1px solid #d7d8d9;
  padding: 12px;
  background-color: #f3f6f8;
  font-weight: bold;
  color: #333;
}

.course-table td {
  border: 1px solid #d7d8d9;
  padding: 12px;
}

/* Style for content */
.content {
  overflow: hidden;
  max-height: 250px;
  /* visible height before clicking Show More */
  transition: max-height 0.5s ease;
}

.content.show {
  max-height: 2000px;
  /* enough to show all content */
}

/* Button styling */
.show-button {
  display: block;
  margin: 15px auto;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.show-button:hover {
  background-color: #0056b3;
}

/* Table Styling (optional for nice look) */
.course-table {
  width: 97%;
  margin: 10px auto;
  border-collapse: collapse;
  text-align: center;
}

.course-table th,
.course-table td {
  border: 1px solid #ccc;
  padding: 8px;
}

.course-table th {
  background-color: #f3f3f3;
  font-weight: bold;
}

.course-box {
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 25px 30px;
  max-width: 100%;
  margin: auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.course-box h2 {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.search-bar {
  position: relative;
  margin-bottom: 25px;
}

.search-bar input {
  width: 100%;
  padding: 10px 40px 10px 35px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
}

.search-bar input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.search-bar i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #888;
  font-size: 17px;
}

.trending-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.trending-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trending-courses a {
  text-decoration: none;
  border: 1px solid #c5c5c5;
  padding: 5px 15px;
  border-radius: 5px;
  color: #0a58ca;
  font-weight: 500;
  background-color: #fff;
  transition: 0.3s;
}

.trending-courses a:hover {
  background-color: #e9f1ff;
  border-color: #007bff;
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: white;
  border: 3px solid #0066cc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

#scrollTopBtn:hover {
  transform: scale(1.1);
  background-color: #e6f0ff;
}

#scrollTopBtn svg {
  width: 24px;
  height: 24px;
  fill: #0066cc;
}

/* Visible State */
#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#college-table {
  border: 1px solid rgb(179, 179, 179);
}

#table2 a {
  text-decoration: none;
}

.stats-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  /* margin: auto; */
  gap: 40px;
  /* background-color: red; */
  /* margin-top:20px; */
  margin-left: 150px;
  margin-bottom: 20px;
  margin-top: 50px;
  /* background-color: rgb(182, 182, 182); */
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 5px;
  flex: 1;
  /* margin-left: 180px; */

}

.card {
  /* background: #fff; */
  color: #333;
  /* width: 150px; */
  text-align: center;
  /* padding: 15px 10px; */
  /* adjust padding for smaller card */
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  justify-content: center;
  /* center content vertically inside the card */
  align-items: center;
  /* center content horizontally inside the card */
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(110, 142, 251, 0.15);
  transform: skewX(-20deg);
  transition: left 0.5s ease;

}

.card:hover::before {
  left: 200%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.icon {
  font-size: 25px;
  color: #6e8efb;
  margin-bottom: 10px;
  display: block;
  max-width: 20px;
}

.card h3 {
  font-size: 15px;
  margin: 5px 0;
  max-width: 50%;
}

.number {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.right-side {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 4s ease-in-out infinite;
}

.right-side img {
  width: 500px;
  border-radius: 10px;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@media (max-width: 900px) {
  .stats-section {
    flex-direction: column;
  }

  .right-side img {
    width: 250px;
  }
}


 /* Floating Chat Icon */
    #chat-icon {
      position: fixed;
      bottom: 25px;
      right: 25px;
      background-color: none;
      color: white;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 30px;
      cursor: pointer;
      /* box-shadow: 0 4px 8px rgba(0,0,0,0.3); */
      z-index: 1000;
       animation: slideUp 0.3s ease;
    }
     @keyframes slideUp {
      from { transform: translateY(50px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    /* Chatbox */
    #chatbox {
      position: fixed;
      bottom: 100px;
      right: 25px;
      width: 320px;
      height: 420px;
      background: white;
      border-radius: 12px;
      box-shadow: 0 0 15px rgba(0,0,0,0.2);
      display: none;
      flex-direction: column;
      overflow: hidden;
      z-index: 999;
      animation: slideUp 0.3s ease;
    }

    @keyframes slideUp {
      from { transform: translateY(50px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    #chat-header {
      background: #0078ff;
      color: white;
      padding: 12px;
      text-align: center;
      font-weight: bold;
    }

    #chat-messages {
      flex: 1;
      padding: 10px;
      overflow-y: auto;
      font-size: 14px;
    }

    .bot-msg {
      background: #e9f0ff;
      color: #000;
      margin: 8px 0;
      padding: 8px 10px;
      border-radius: 8px;
      max-width: 80%;
    }

    .user-msg {
      background: #0078ff;
      color: white;
      margin: 8px 0 8px auto;
      padding: 8px 10px;
      border-radius: 8px;
      max-width: 80%;
    }

    #chat-input {
      display: flex;
      border-top: 1px solid #ccc;
    }

    #chat-input input {
      flex: 1;
      border: none;
      padding: 10px;
      outline: none;
    }

    #chat-input button {
      border: none;
      background: #0078ff;
      color: white;
      padding: 10px 15px;
      cursor: pointer;
    }