body {
  font-family: 'Poppins', sans-serif;
  background: #f7f9fc;
  scroll-behavior: smooth;
}

.navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.mega-menu {
  position: static;
}

.mega-menu-content {
  width: 100%;
  left: 0;
  right: 0;
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mega-menu-content h6 {
  margin-bottom: 10px;
}

.mega-menu-content .dropdown-item {
  padding: 5px 0;
  font-size: 14px;
}

.mega-menu-content .dropdown-item:hover {
  color: #0d6efd;
  background: none;
}

.hero {
  background: linear-gradient(135deg, #1a1c3a, #1b5e20);
  color: white;
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
}

.search-box {
  background: white;
  border-radius: 50px;
  padding: 8px;
  max-width: 600px;
  margin: auto;
}

.search-box form {
  display: flex;
  align-items: center;
}

.search-box input {
  border: none;
  flex: 1;
  padding: 12px 20px;
  outline: none;
  border-radius: 50px;
}

.search-box button {
  border-radius: 50px;
  padding: 10px 25px;
}

.stats {
  padding: 60px 0;
  background: white;
}

.stat-box {
  text-align: center;
}

.stat-box h2 {
  font-weight: 700;
}

.section-title {
  font-weight: 700;
  margin-bottom: 40px;
}

.college-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.college-card:hover {
  transform: translateY(-8px);
}

.college-card img {
  height: 200px;
  object-fit: cover;
}

.course-box {
  padding: 30px;
  background: white;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
}

.course-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* CARD */
.country-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.country-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.4s;
}

/* OVERLAY */
.country-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  color: white;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

/* HOVER EFFECT */
.country-card:hover img {
  transform: scale(1.1);
}

.country-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* TEXT */
.overlay h5 {
  margin: 0;
  font-weight: 600;
}

.overlay p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

/* Testimonials */

.testimonial-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.testimonial-card p {
  font-size: 14px;
  color: #555;
}

.stars {
  color: #ffc107;
  margin: 10px 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #0d6efd;
  border-radius: 50%;
  padding: 10px;
}

.cta {
  background: linear-gradient(90deg, #5f2c82, #49a09d);
  color: white;
  padding: 80px;
  border-radius: 20px;
  text-align: center;
}

.footer {
  background: #081229;
  color: white;
  padding: 60px 0;
}

.footer a {
  color: #cfd6e6;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}


body {
  font-family: 'Segoe UI', sans-serif;
}

.modal-content {
  border-radius: 15px;
  padding: 20px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.popup-title {
  font-weight: 700;
  color: #2c3e50;
}

.popup-title span {
  color: #007bff;
}

.form-control {
  border-radius: 8px;
  height: 45px;
}

.submit-btn {
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}

.submit-btn:hover {
  transform: scale(1.05);
}

.feature-box {
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  background: #f7f9fc;
  margin-bottom: 10px;
}

.feature-box h6 {
  margin-top: 8px;
  font-size: 14px;
}

@media(max-width:768px) {

  .popup-title {
    font-size: 20px;
    text-align: center;
  }

}


.college-slider {
  scroll-behavior: smooth;
  gap: 16px;
  padding: 10px;
  overflow-x: auto;
}

/* Default (Desktop) */
.college-card-wrapper {
  flex: 0 0 20%;
  /* 5 cards */
  max-width: 20%;
}

/* Tablet */
@media (max-width: 992px) {
  .college-card-wrapper {
    flex: 0 0 33.33%;
    /* 3 cards */
    max-width: 33.33%;
  }
}

/* Small Tablet */
@media (max-width: 768px) {
  .college-card-wrapper {
    flex: 0 0 50%;
    /* 2 cards */
    max-width: 50%;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .college-card-wrapper {
    flex: 0 0 80%;
    /* 1 card focus */
    max-width: 80%;
  }
}

/* Card Hover */
.college-card {
  transition: 0.3s;
}

.college-card:hover {
  transform: translateY(-5px);
}

/* Arrows */
.slider-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 10;
}

/* Hide arrows on mobile */
@media (max-width: 768px) {
  .slider-btn {
    display: none;
  }
}

.left-btn {
  left: -10px;
}

.right-btn {
  right: -10px;
}

.slider-btn:hover {
  background: #007bff;
  color: #fff;
}

/* Exam Cards */
.exam-card {
  background: #fff;
  border-radius: 15px;
  padding: 20px 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  cursor: pointer;
}

.exam-card i {
  font-size: 28px;
  margin-bottom: 10px;
  color: #0d6efd;
}

.exam-card h6 {
  margin: 0;
  font-weight: 600;
}

/* HOVER */
.exam-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #0d6efd, #6f42c1);
  color: white;
}

.exam-card:hover i {
  color: white;
}