/* Navbar background and links hover effect */
.custom-navbar {
  background: linear-gradient(45deg, #1f4037, #99f2c8);
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  position: sticky; /* Makes the navbar sticky */
  top: 0; /* Sticks the navbar to the top */
  z-index: 1000; /* Ensures the navbar stays on top of other content */
}

/* Nav link styling */
.custom-navbar .nav-link {
  color: white;
  font-weight: bold;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

/* Hover effect for nav links */
.custom-navbar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  color: #f2f2f2;
  transform: scale(1.05);
}

/* Active link effect */
.custom-navbar .nav-link.active {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

/* Search button styling */
.custom-btn {
  color: white;
  border-color: #28a745;
  transition: all 0.3s ease;
}

/* Search button hover effect */
.custom-btn:hover {
  background-color: #28a745;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.7);
  color: white;
}

/* Search input styling */
.form-control {
  border-radius: 20px;
  border: 2px solid #28a745;
  box-shadow: inset 0 0 10px rgba(40, 167, 69, 0.3);
}

.form-control:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.7);
}

/* Navbar Brand Logo */
.navbar-brand img {
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* Logo hover effect */
.navbar-brand img:hover {
  transform: rotate(360deg);
}

/* Navbar background shine effect */
.custom-navbar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s;
  opacity: 0;
}

.custom-navbar:hover::after {
  left: 150%;
  opacity: 1;
}
/* navbar end */

 /* carousel start */
/* General Carousel Styling */
.carousel-inner img {
  width: 100%;
  height: 80vh;
  object-fit: contain; /* Changed to 'contain' to avoid cutting images */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background-color: #09aa74;
}

.carousel {
  margin-top: 20px;
}

.carousel-indicators [data-bs-target] {
  background-color: #7c4dff;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.carousel-indicators .active {
  background-color: #ffd700;
  width: 12px;
  height: 12px;
}

/* Controls Styling */
.carousel-control-prev, 
.carousel-control-next {
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.carousel-control-prev:hover, 
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon, 
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px;
  border-radius: 50%;
}

/* Media Queries for Mobile */
@media only screen and (max-width: 768px) {
  .carousel-inner img {
      height: 60vh; /* Slightly reduce height on tablets */
  }
}

@media only screen and (max-width: 480px) {
  .carousel-inner img {
      height: 50vh; /* Further reduce height on mobile phones */
  }
}
/* carsoule end */
/* grid section start */

body {
  background-color: #f9f9f9;
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card-img-top {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid #ddd;
}

.card-title {
  font-weight: bold;
  margin-top: 10px;
  color: #333;
}

.arrow {
  font-size: 1.5rem;
  color: #007bff;
  font-weight: bold;
}

.gold-coin {
  width: 100px;
  height: 100px;
  animation: shine 2s infinite;
  display: block;
  margin: 0 auto;
}

@keyframes shine {
  0% {
      box-shadow: 0 0 5px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.2);
  }
  50% {
      box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.5);
  }
  100% {
      box-shadow: 0 0 5px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.2);
  }
}
/* grid section end */



/* footer start */
/* Make footer full-width and add a shine effect */
.container-fluid.p-0 {
  width: 100%;
  padding: 0;
}

footer {
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), transparent);
  transition: all 1.5s ease;
  opacity: 0;
}

footer:hover::before {
  left: 150%;
  opacity: 1;
}

/* Footer content styling */
footer h6 {
  font-size: 16px;
  font-weight: bold;
}

footer p, footer a {
  font-size: 14px;
  color: #333;
}

footer a:hover {
  color: #7c4dff;
  text-decoration: none;
}

footer .fab {
  font-size: 20px;
  animation: blink 1.5s infinite; /* Blink animation for social icons */
}

footer .fab:hover {
  color: #7c4dff;
}

/* Blink animation */
@keyframes blink {
  0%, 100% {
      opacity: 1;
  }
  50% {
      opacity: 0.5; /* Make icons semi-transparent */
  }
}

footer .btn {
  animation: blink-button 1.5s infinite; /* Blink animation for subscribe button */
}

footer .btn:hover {
  color: #7c4dff; /* Change color on hover */
}

/* Blink button animation */
@keyframes blink-button {
  0%, 100% {
      background-color: #007bff; /* Original background color */
      color: white; /* Original text color */
  }
  50% {
      background-color: #0056b3; /* Change background color on blink */
      color: #e0e0e0; /* Change text color on blink */
  }
}

/* Adjust padding for footer sections */
footer .container {
  max-width: 100%;
  padding: 30px;
}

.blog-post {
  margin-bottom: 20px; /* Space between blog posts */
}

.blog-post img {
  max-width: 100%; /* Responsive blog image */
  height: auto; /* Maintain aspect ratio */
}

.blog-post p {
  margin: 5px 0; /* Space between title and date */
}

.footer-logo {
  max-width: 150px; /* Adjust logo size */
}

.blog-post {
  margin-bottom: 20px; /* Space between blog posts */
}

.blog-post img {
  max-width: 100%; /* Responsive blog image */
  height: auto; /* Maintain aspect ratio */
}

.blog-post p {
  margin: 5px 0; /* Space between title and date */
}
