body {
  background-color: white;
}

#footer img {
    width: 200px;
    height: 60px;
}


.mega-menu {
  border-radius: 10px 10px 10px 10px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}


.dropdown-toggle::after {
  display: none !important;
}



.brand-text {
  font-family: 'Arial Rounded MT Bold', 'Helvetica Rounded', Arial, sans-serif;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 18px;
  color: black !important;
}

.nav-arrow {
  display: inline-block;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}


/*side nav*/


.list-group-item {
  
  border-radius: 15px;
}

/*carousel*/

.carousel-item {
  height: 100vh;
  min-height: 400px;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  filter: brightness(75%);
}

.carousel-caption {
  z-index: 10;
}

.carousel-caption p {
  color: #fff !important;
  font-weight: bold;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.overlayBox {
  pointer-events: none;
  /* don’t block carousel */
}

.overlayBox form,
.overlayBox input,
.overlayBox button {
  pointer-events: auto;
  /* keep form usable */
}

.top-mba-colleges {
  
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* Top colleges*/
.card-img {
  filter: brightness(75%);
}

/*tranding-exam*/
.tranding-exam {
  border-radius: 20px;
}

.top-colleges .card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-colleges .card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.top-colleges .card img {
  transition: transform 0.4s ease;
}

.top-colleges .card:hover img {
  transform: scale(1.1);
}



/* Location cards*/

.course-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.location {
  border-radius: 20px;
}


.course-card {
  padding: 25px;
  border-radius: 5px;
  box-shadow: #2c3968 0px 2px 4px;
  text-align: center;
  transition: background 0.3s;
  height: 90%;


}

.course-card h4 {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}

.course-card p {
  font-size: 10px;
  color: #555;
  margin-top: 5px;
  margin-bottom: 25px;
}



.course-card:hover {
  background: #d1d2d4;
  transform: scale(1.05);
}


.exam-card{
  transition: background 0.3s;
}


.exam-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* Remove dark overlay */
.modal-backdrop {
  display: none !important;
}


/* Responsive centered modal */
.modal-dialog {
  margin-top: 50px;
  width: 90%;               
  max-width: 700px;        
  height: 70vh;             
  display: flex;
  align-items: center;     
  justify-content: center; 
}


/* Adjust modal content to fit the dialog */
.modal-content {
  width: 90%;               
  max-width: 700px;         
  height: auto;             
  overflow: hidden;        
  border-radius: 10px;
  padding: 1rem;
  box-sizing: border-box;
}



/* Floating button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1080;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.whatsapp-float .wa-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: transform .12s ease;
}
.whatsapp-float .wa-btn img { width: 28px; height: 28px; }
.whatsapp-float:hover .wa-btn { transform: scale(1.06); }

/* Chat box */
.wa-chatbox {
  position: fixed;
  right: 20px;
  bottom: 92px;
  width: 340px;
  max-width: calc(100% - 40px);
  z-index: 1080;
  display: none; /* toggled by JS */
}
.wa-chatbox .card { border-radius: 12px; overflow: hidden; }
.wa-chatbox .card-header { background: #25D366; color: #fff; }
.wa-chatbox textarea { resize: none; }


/* Mobile  */
@media (max-width:420px) {
  .whatsapp-float { right: 14px; bottom: 14px; }
  .wa-chatbox { right: 14px; bottom: 70px; width: 300px; }
  .whatsapp-float .wa-btn { width: 48px; height: 48px; }
  .whatsapp-float .wa-btn img { width: 24px; height: 24px; }
}

@media screen and (max-width: 768px) {
  .overlayBox {
    display: none !important;
  }
}