.hero-section {
  background: url("../hotels/hero_section.avif") center/cover no-repeat;
  position: relative;
  max-height: 50vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  font-size: 1.2rem;
}

/* Search Group */
.search-group {
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.search-group .form-control {
  flex: 1;
  border: none;
  border-radius: 0;
}

.search-group .btn {
  border-radius: 0;
}

.exploration-bar {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideUp 0.8s ease-out;
}

.exploration-bar .form-select,
.exploration-bar .form-control {
  padding: 12px 16px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.exploration-bar .form-select:focus,
.exploration-bar .form-control:focus {
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  border-color: #667eea;
  background: #fff;
}

.hover-badge {
  transition: all 0.3s ease;
}

.hover-badge:hover {
  background: #f48711 !important;
  color: white !important;
  transform: translateY(-1px);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Enhanced Cards */
.section-fade-in {
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.hover-elevate {
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.hover-elevate:hover {
  transform: translateY(-3px);
}

.hover-card {
  transition: all 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-5px);
}

/* Country section hover effects */
.hover-card:hover .icon-box {
  background-color: #f48711 !important;
  color: white !important;
  transition: all 0.3s ease;
}

/* Category section hover effects */
.bg-light .hover-card:hover .icon-box {
  background-color: #f48711 !important;
  color: white !important;
  transition: all 0.3s ease;
}

.card-hover-effect {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card-hover-effect:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

.bg-gradient-dark {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0) 100%);
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  max-height: 4.5em;
  text-align: justify;
}

/* Standards-based fallback for modern browsers */
@supports (line-clamp: 3) {
  .line-clamp-3 {
    display: block;
    line-clamp: 3;
  }
}

.short-bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(5px);
  }

  60% {
    transform: translateY(3px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    max-height: none;
  }

  .hero-title {
    font-size: 2.5rem !important;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem !important;
  }

  .exploration-bar {
    margin: 0 1rem;
    padding: 1.5rem !important;
  }

  .quick-links {
    justify-content: center !important;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem !important;
  }

  .exploration-bar {
    padding: 1rem !important;
  }
}

/* Icon boxes */
.icon-box.country-icon,
.icon-box.category-icon {
  width: 70px;
  height: 70px;
  color: #F48711;
}

/* Package images */
.package-img {
  height: 240px;
  object-fit: cover;
}

.package-placeholder {
  height: 240px;
  background-color: #f0f0f0;
}

.starting-from-text {
  font-size: 0.8rem;
}

/* Country Cards with Images */
.country-card {
  height: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.country-card-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.3s ease;
}

.country-card:hover .country-card-image {
  transform: scale(1.05);
}

.country-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.1) 100%);
  transition: background 0.3s ease;
}

.country-card:hover .country-card-overlay {
  background: linear-gradient(to top,
      rgba(244, 135, 17, 0.8) 0%,
      rgba(244, 135, 17, 0.4) 50%,
      rgba(0, 0, 0, 0.1) 100%);
}

.country-card-content {
  z-index: 1;
}

.country-card-icon {
  transition: transform 0.3s ease;
}

.country-card:hover .country-card-icon {
  transform: translateX(5px);
}

/* Category Cards with Images */
.category-card {
  height: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.category-card-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.3s ease;
}

.category-card:hover .category-card-image {
  transform: scale(1.05);
}

.category-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.4) 60%,
      rgba(0, 0, 0, 0.2) 100%);
  transition: background 0.3s ease;
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(to top,
      rgba(244, 135, 17, 0.85) 0%,
      rgba(244, 135, 17, 0.5) 60%,
      rgba(0, 0, 0, 0.2) 100%);
}

.category-card-content {
  z-index: 1;
}

.category-icon-box {
  width: 50px;
  height: 50px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.category-card:hover .category-icon-box {
  background: rgba(255, 255, 255, 0.4) !important;
  transform: scale(1.1);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  max-height: 2.8em;
}

/* Featured Package Cards */
.featured-package-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.package-image-wrapper {
  overflow: hidden;
}

.package-image-wrapper img {
  transition: transform 0.4s ease;
}

.featured-package-card:hover .package-image-wrapper img {
  transform: scale(1.08);
}

.wishlist-btn {
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
  background: #f48711 !important;
  color: white !important;
  transform: scale(1.1);
}

.wishlist-btn:hover i::before {
  content: "\f5a5";
  /* bi-heart-fill */
}

.package-arrow-icon {
  transition: transform 0.3s ease;
}

.featured-package-card:hover .package-arrow-icon {
  transform: translateX(5px);
}

.bg-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Backdrop blur utility */
.backdrop-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Responsive adjustments */
@media (max-width: 768px) {

  .country-card,
  .category-card {
    height: 180px;
  }

  .hero-section {
    max-height: none;
  }
}

@media (max-width: 576px) {

  .country-card,
  .category-card {
    height: 160px;
  }
}