html, body {
  overflow-x: hidden;
  height: 100%;
}
body {
  font-family: 'Segoe UI', sans-serif;
}
  
.navbar {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link {
  color: #000 !important;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover{
  color: red !important;
  text-decoration: underline;
}
  /* .nav-link.active {
    background-color: #f0ad4e; 
    color: white !important;
    border-radius: 5px;
  } */

.position-relative.text-white.text-center h1,
.position-relative.text-white.text-center p {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s ease, color 0.4s ease;
}

.position-relative.text-white.text-center:hover h1,
.position-relative.text-white.text-center:hover p {
  transform: scale(1.05);
  color: #ffd700;
}

.position-relative::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,71,161,0.7) 20%, rgba(13,71,161,0.9) 80%);
  z-index: 0;
}

.card {
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.profile-img {
  width: 100%;
  border-radius: 15px 0 0 15px;
  object-fit: cover;
  height: 100%;
}

.title-text {
  color: #0d47a1;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.message {
  background-color: #e0f7ff;;
  padding: 20px;
  border-radius: 10px;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #333;
  box-shadow: inset 0 0 10px #cce0ff;
}

section h2 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #0d47a1;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.bg-sky-blue {
  background-color: #e0f7ff;
}


.card.shadow-sm {
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card.shadow-sm:hover {
  transform: scale(1.07);
  box-shadow: 0 10px 30px rgba(13, 71, 161, 0.3);
}

.carousel-item img {
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
}

footer {
  background: linear-gradient(45deg, #1976d2, #0d47a1);
  color: #fff;
  font-weight: 600;
  letter-spacing: 1.1px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
@media (max-width: 768px) {
  .card {
    flex-direction: column !important;
  }
  .profile-img {
    border-radius: 15px 15px 0 0 !important;
  }
}
