/** @format */

:root {
  --deep-blue: #1a3b6d;
  --light-blue: #394090;
  --charcoal-gray: #33333;
  --tertiary: #f8f9fa;
}
body {
  background: var(--tertiary);
}
.comic-neue-light {
  font-family: "Comic Neue", cursive;
  font-weight: 300;
  font-style: normal;
}
.comic-neue-regular {
  font-family: "Comic Neue", cursive;
  font-weight: 500;
  font-style: normal;
}

.comic-neue-bold {
  font-family: "Comic Neue", cursive;
  font-weight: 700;
  font-style: normal;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}
.caption-parent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #f8f9fa;
  padding: 0.5rem;
  background-color: rgba(0, 0, 0, 0.2);
}

.navbar.scrolled {
  background-color: #fff !important;
}

.navbar.scrolled .nav-link,
.navbar.scrolled .navbar-brand,
.navbar.scrolled .navbar-toggler-icon,
.navbar.scrolled .navbar-brand span {
  color: #000 !important; /* Dark text */
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar.scrolled .nav-link:hover {
  color: #007bff !important; /* Optional hover color */
}
.dropdown-menu {
  transition: all 0.4s ease-in-out;
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
/* moving admission text */
.marquee-wrapper {
  white-space: nowrap;
  position: relative;

}

.marquee-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Optional: Pause on hover */
.marquee-text:hover {
  animation-play-state: paused;
}

.social-media-section {
  background: var(--light-blue);
}

/* Prevent overlay div from blocking content */
.carousel-item .overlay {
  z-index: 1;
}
.carousel-caption {
  z-index: 2;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
}

.object-fit-cover {
  object-fit: cover;
}
.smooth-hover-link {
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.3s ease;
  text-decoration: 0.3s ease;
}
.blue {
  color: var(--light-blue);
}
.icon-color-green {
  color: #22bb33;
}
.form-control:focus {
  border-color: var();
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.smooth-hover-link:hover {
  color: #6610f2; /* Bootstrap purple */
  text-decoration: underline;
}
.btn-apply {
  background-color: #ffc107;
  color: #000;
  border: none;
}
.btn-apply:hover {
  background-color: #e0a800;
  color: #fff;
}

.btn:hover {
  background: var(--light-blue);
}
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

footer {
  background-color: var(--tertiary);
}




@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 2rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
  .director-img {
    border-radius: 50% !important; /* Circle shape */
    max-width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    display: block;
  }
}
/* Show dropdown on hover for large screens */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}
