/* Custom Navbar Styles */


/* Add a background color with transparency and a blur effect */
.navbar-blur {
  position: sticky;
  top: 0;
  background-color: rgba(39, 39, 39, 0.315); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Apply blur effect to content behind */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  z-index: 999;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar-blur .navbar-brand img {
  max-height: 40px; /* Adjust logo size as needed */
}

.navbar-nav .nav-link, .navbar-nav .btn {
  color: #333; /* Text color */
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover, .navbar-nav .btn:hover {
  color: #007bff; /* Hover color */
}

/* Optional: Add some shadow effects for a more polished look */
.navbar-blur {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}







.custom-navbar {
  background-color: rgba(44, 62, 80, 0.8); /* Semi-transparent dark background */
  backdrop-filter: blur(8px); /* Apply blur effect */
  position: fixed; /* Fixed navbar at the top */
  width: 100%; /* Full width */
  z-index: 1000; /* Ensure navbar is above other elements */
}

/* Glowing Circle Decoration */
.custom-navbar::before {
  content: '';
  position: absolute;
  top: -150px; /* Position the circle above the navbar */
  left: 50%;
  transform: translateX(-50%); /* Center the circle horizontally */
  width: 400px; /* Size of the circle */
  height: 400px; /* Size of the circle */
  background-color: rgba(255, 35, 35, 0.5); /* Red color with transparency */
  border-radius: 50%; /* Make it a circle */
  box-shadow: 0 0 30px rgba(255, 35, 35, 1), 0 0 60px rgba(255, 35, 35, 0.7); /* Glowing effect */
  z-index: -1; /* Place behind the navbar */
  animation: glowing 2s infinite ease-in-out; /* Glowing animation */
}

/* Animation for the glow */
@keyframes glowing {
  0% {
    box-shadow: 0 0 30px rgba(255, 35, 35, 1), 0 0 60px rgba(255, 35, 35, 0.7);
  }
  50% {
    box-shadow: 0 0 60px rgba(255, 35, 35, 1), 0 0 90px rgba(255, 35, 35, 0.8);
  }
  100% {
    box-shadow: 0 0 30px rgba(255, 35, 35, 1), 0 0 60px rgba(255, 35, 35, 0.7);
  }
}

/* Optional Navbar Styles */
.navbar-nav .nav-link {
  color: #fff; /* White text for navbar links */
  font-weight: bold;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #E74C3C; /* Hover effect for links */
}

/* Optional Button Styles */
.navbar-nav .btn-outline-primary {
  border-color: #E74C3C;
  color: #E74C3C;
  transition: background-color 0.3s, color 0.3s;
}

.navbar-nav .btn-outline-primary:hover {
  background-color: #E74C3C;
  color: white;
}
/* Container for the custom card */
.custom-card {
  position: relative;
  background: rgb(255, 0, 0);
  backdrop-filter: blur(0px);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 20px rgb(255, 0, 0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect to scale up the card */
.custom-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.3);
}

/* Image hover effect */
.card-img-top {
  position: relative;
  overflow: hidden;
}

.card-img-top img {
  border-radius: 10px 10px 0 0;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.card-img-top:hover img {
  transform: scale(1.1);
  filter: brightness(0.8);
}

/* Badge styles */
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 20px;
  color: white;
  font-size: 0.8rem;
}

/* Card body styles */
.card-body {
    color: white;
  text-align: center;
}

.card-title {
  font-size: 1rem;
  margin-bottom: 0;
}

.info {
  margin-bottom: 10px;
  text-align: center;
}

/* Button hover effect */
.hover-button-wrapper {
  margin-bottom: 0;
  overflow: hidden;
  height: 0;
  transition: height 0.3s ease, margin-bottom 0.3s ease;
}

.custom-card:hover .hover-button-wrapper {
  height: 40px; /* Adjust height for button */
  margin-bottom: 0px;
}

.hover-button {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-card:hover .hover-button {
  opacity: 1;
  transform: translateY(0);
}

/* Glow effect at the bottom of the card */
.glow-effect {
  position: absolute;
  bottom: -15px; /* Increased distance to make it more visible */
  left: 50%;
  transform: translateX(-50%);
  width: 20%;
  height: 40px; /* Increased height for more pronounced glow */
  background: radial-gradient(circle, rgb(255, 50, 50), rgba(255, 50, 50, 0.705));
  filter: blur(20px); /* Increased blur for smoother glow */
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.custom-card:hover .glow-effect {
  opacity: 1; /* Ensure it’s fully visible on hover */
  filter: blur(30px); /* Increased blur on hover */
}

/* Glow effect on left and right sides of the screen */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  width: 450px; /* Widened for more presence */
  height: 100%;
  background: radial-gradient(circle, rgba(255, 50, 50, 0.185), rgba(255, 50, 50, 0.2));
  filter: blur(240px); /* Increased blur for stronger glow */
  z-index: -1;
}

body::before {
  left: 0;
}

body::after {
  right: 0;
}

/* Button styling with gradient glow effect */
button.btn {
  background: linear-gradient(135deg, rgba(255, 50, 50, 1), rgba(255, 120, 120, 1));
  border: none;
  color: white;
  padding: 5px 15px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button.btn:hover {
  transform: scale(1.1);
  box-shadow: 0px 8px 20px rgba(255, 50, 50, 0.4);
}