/* Hero section styling */

.hero-section {
    position: relative;
    background: url(../assets/images/hero-section.jpg) center center/cover no-repeat;
    height: 350px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(24, 75, 157, 0.6);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: #fff;
}
/* Hover effect for navbar and quick links */
.navbar-nav .nav-link:hover,
.navbar-nav .dropdown-item:hover,
.bg-light a.text-dark:hover, .quick-links:hover {
    color: #00fc19ff !important;
    transition: color 0.2s;
}

/* Responsive image height */
#jcaCarousel .carousel-item img {
    height: 350px;
    object-fit: cover;
    transition: transform 6s ease;
    /* Smooth zoom */
}

#jcaCarousel .carousel-item.active img {
    transform: scale(1.1);
    /* Zoom effect */
}

@media (min-width: 768px) {
    #jcaCarousel .carousel-item img {
        height: 500px;
    }
}

/* Overlay for better readability */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    z-index: 1;
}

/* Caption animation base */
.carousel-caption {
    z-index: 2;
}

/* Typing effect */
.typing {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #fff;
    animation: typing 3s steps(30, end), blink 0.7s step-end infinite alternate;
}


@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Fade in text */
.fade-in-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 2s ease forwards;
    animation-delay: 1s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Text styling */
.carousel-caption h5 {
    font-size: 2rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.carousel-caption p {
    font-size: 1.1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* <!-- Neon Pulse Animation --> */

.neon-pulse {
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.7), 0 0 30px rgba(0, 255, 0, 0.4);
  animation: pulseGlow 2s infinite alternate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.neon-pulse:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.9), 0 0 50px rgba(0, 255, 0, 0.5);
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.4), 0 0 20px rgba(0, 255, 0, 0.2);
  }
  100% {
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.8), 0 0 50px rgba(0, 255, 0, 0.5);
  }
}

/* Sparkles container */
#sparkles {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 50px;
    pointer-events: none;
    z-index: 9;
}

/* Individual sparkle */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: sparkleAnim 1s infinite;
}

/* Sparkle animation: fade in/out and move slightly */
@keyframes sparkleAnim {
    0% { opacity: 0; transform: translate(0,0) scale(0.5); }
    50% { opacity: 1; transform: translate(var(--x), var(--y)) scale(1); }
    100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(0.5); }
}

/* <!-- Hover zoom CSS --> */
.gallery-item {
    transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}
/* Navbar font style */
.navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff; /* keeps it readable on dark navbar */
    transition: color 0.3s ease, transform 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffd700; /* golden hover effect */
    transform: scale(1.05); /* subtle zoom on hover */
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.1); /* zoom logo slightly on hover */
}
