.card-img-top {
    height: 160px;
    object-fit: cover;
  }

  .tag {
    font-size: 12px;
    background-color: #e0d8f9;
    color: #6b46c1;
    padding: 5px 10px;
    border-radius: 15px;
  }

  .card-footer-icons i {
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s;
  }

  .card-footer-icons i:hover {
    color: #000;
  }

  .filter-sort {
    display: flex;
    gap: 10px;
    justify-content: end;
  }

  .footer {
    background-color: #040130;
  }

  #heart {
    
    color: black;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  #heart:hover {
    color: red;
  }

  #heart:hover::before {
    content: "\f415"; /* Unicode for 'bi-heart-fill' */
  }
  #save {
    color: rgb(92, 89, 89); /* Default outline color */
    cursor: pointer;
    transition: color 0.3s ease;
  }

  #save:hover {
    color: blue; /* Changes the color to blue on hover */
  }

  #share {
    color: black; /* Default color */
    cursor: pointer;
    transition: color 0.3s ease;
  }

  #share:hover {
    color: blue; /* Color on hover */
  }

  .footer {
    background-color: #040130;
  }

.nav-link {
  position: relative;
  display: inline-block;
  color: white;
  transition: color 0.3s ease;
  font-weight: 500;
  padding-bottom: 5px;
}

/* Unique underline animation */
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #ff6a00, #ee0979); /* Orange to Pink gradient */
  transition: width 0.4s ease-in-out;
  border-radius: 2px;
}

.nav-link:hover {
  color: #ff6a00; /* Orange on hover */
}

.nav-link:hover::after {
  width: 100%;
}

#nav-item {
  font-size: 21px;
  padding-left: 6px;
  padding-right: 9px;
}


.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-hover img {
  transition: transform 0.3s ease;
}

.card-hover:hover img {
  transform: scale(1.05);
}

.icon-email:hover {
  color: #0d6efd; /* Bootstrap primary color */
}

.icon-phone:hover {
  color: #198754; /* Bootstrap success color */
}

.icon-location:hover {
  color: #dc3545; /* Bootstrap danger color */
}

.social-icon {
  color: white;
  transition: color 0.3s ease;
}

.social-twitter:hover {
  color: #1DA1F2; /* Twitter Blue */
}

.social-linkedin:hover {
  color: #0077B5; /* LinkedIn Blue */
}

.social-facebook:hover {
  color: #1877F2; /* Facebook Blue */
}

.social-instagram:hover {
  color: #E1306C; /* Instagram Pink */
}

.quick-link {
  transition: color 0.3s ease;
}

.quick-link:hover {
  color: #0d6efd !important; /* Bootstrap primary blue */
}


button.subscribe-btn {
  background-color: #f39c12;
  color: #fff;
  border: 2px solid transparent;
  padding: 6px 0px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: px;
  transition: all 0.3s ease-in-out;
}

button.subscribe-btn:hover {
  background-color: #e67e22;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-color: #e67e22;
  transform: translateY(-5px);
}

button.subscribe-btn:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(255, 159, 28, 0.6);
}

button.subscribe-btn:active {
  transform: translateY(2px);
}

.navbar-collapse {
  transition: transform 0.5s ease-in-out;
  transform: translateX(100%);
  position: fixed;
  top: 0;
  right: 0;
  width: 87%;
  height: 100%;
  background-color: #932fd0;
  z-index: 1050;
  padding: 1rem;
}

.navbar-collapse.show {
  transform: translateX(0%);
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-nav .nav-link {
  padding: 1.5rem 1rem;
  font-size: 1.6rem;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #FFD700;
}

.navbar-collapse.closing {
  transform: translateX(100%) !important;
  transition: transform 0.6s ease-in-out;
}

#closeNavBtn {
  font-size: 30px;
}


@media (min-width: 992px) {
  .navbar-collapse {
    transform: translateX(0) !important;
    position: static;
    width: auto;
    height: auto;
    background: none;
    padding: 0;
  }
}

.clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Show up to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
