.navbar {
	background: linear-gradient(135deg, #094586 0%, #0D5DB1 100%) !important;
	padding: 0.5rem 0;
	transition: all 0.3s ease;
}

.navbar-brand {
	font-weight: 800;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.nav-link {
	font-weight: 500;
	border-radius: 0.375rem;
	transition: all 0.2s ease;
	margin: 0 0.1rem;
}

.nav-link:hover, .nav-link:focus {
	background-color: rgba(255, 255, 255, 0.15);
	transform: translateY(-1px);
}

.dropdown-menu {
	border: none;
	border-radius: 0.5rem;
	margin-top: 0.5rem;
}

.dropdown-item {
	transition: all 0.2s ease;
}

.dropdown-item:hover {
	background-color: #f8f9fa;
	padding-left: 1.5rem;
}

.navbar-toggler {
	border: none;
	padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

@media (max-width: 991.98px) {
	.navbar-collapse {
		padding: 1rem 0;
	}
	
	.nav-link {
		margin: 0.2rem 0;
	}
	
	.dropdown-menu {
		margin-left: 1rem;
		width: calc(100% - 2rem);
	}
}

/* Hero section css */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/assets/imgs/section_bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: blur(2px);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.30) 0%, rgba(111, 66, 193, 0.30) 100%);
  z-index: -1;
}

.hero-content {
  padding: 3rem 0;
}

.min-vh-75 {
  min-height: 75vh;
}

/* Animation classes */
.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

.delay-3 {
  animation-delay: 0.9s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-content {
    padding: 4rem 0;
  }

  .display-3 {
    font-size: 2.5rem;
  }

  .hero-visual {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .hero::before {
    background-attachment: scroll;
  }

  .display-3 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.25rem !important;
  }
}
/* End Hero section css */

.hover-primary:hover {
    color: var(--bs-primary) !important;
}

.hover-dark:hover {
    color: var(--bs-dark) !important;
}

.footbar {
    background-color: #111827;
    color: #ffffff;
    padding: 1rem;
}

.hprofile {
    transition: transform 0.3s ease;
}

.hprofile:hover {
    transform: scale(1.10);
}

.hover-primary:hover {
  color: #0d6efd !important; /* Bootstrap primary blue */
}

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

/* Ensure consistent card layout */
.card {
  display: flex;
  flex-direction: column;
}

/* Fixed height for image area */
.card-img-wrapper {
  height: 200px;
}

/* Fade-in animation for images */
.lazy-img {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.lazy-img.loaded {
  opacity: 1;
}

/* Optional: Smooth hover effect */
.news-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}