/* HERO SECTION */
.banner {
  height: 80vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    var(--banner-img) no-repeat center center;
  background-size: cover;
  position: relative;
  background-position: center;
}

/* .banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
  color: #f8f9fa;
  z-index: 20;
  padding-top: 150px;
} */
@media (min-width: 768px) {
  .banner {
    min-height: 800px;
  }
}

.banner h1 {
  font-family: "Kanit";
  color: RGBA(255, 255, 255, 0);
  font-size: 600%;
  text-shadow: 0px 1px 3px RGBA(0, 0, 0, 0);
  line-height: 0.8;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  text-align: inherit;
  letter-spacing: 10px;
  word-spacing: normal;
  text-transform: uppercase;
  font-weight: 500;
  -webkit-text-stroke-width: 2px;
  stroke-width: 2px;
  -webkit-text-stroke-color: #ffffff;
  stroke: #ffffff;
  margin-bottom: 30px;
}

.banner p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.6;
}

/* DESCRIPTION SECTION */
.hero-description {
  padding: 50px 0 10px 0px;
  background: #f7f7f7;
}

.hero-description p {
  margin: 50px auto 30px;
  padding: 0 20px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.trip-filter {
  display: flex;
  justify-content: flex-end;
}

.trip-filter select {
  width: 230px;
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  cursor: pointer;
}
/* Responsive Adjustments */
@media (max-width: 1199px) {
  .banner h1 {
    font-size: 500%;
  }
}

@media (max-width: 991px) {
  .banner h1 {
    font-size: 400%;
    letter-spacing: 8px;
  }

  .banner p {
    font-size: 1.3rem;
  }
}
@media (max-width: 768px) {
  .banner {
    height: 70vh;
  }
  .banner h1 {
    font-size: 300%;
    letter-spacing: 5px;
    line-height: 30px;
  }

  .banner p {
    font-size: 1.2rem;
  }
}
@media (max-width: 576px) {
  .banner h1 {
    font-size: 250%;
    letter-spacing: 3px;
  }

  .banner p {
    font-size: 1.1rem;
  }
}

@media (max-width: 400px) {
  .banner h1 {
    font-size: 200%;
  }

  .banner p {
    font-size: 1rem;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-description p {
    font-size: 16px;
    padding: 0 15px;
  }
  .hero-banner .hero-overlay {
    width: 100%;
  }

  .trip-filter {
    display: flex;
    justify-content: flex-end;
  }

  .trip-filter select {
    width: 210px;
    font-size: 14px;
  }
}
.trip-status-soldout {
    background-color: #dc3545; /* Red */
    color: white;
}

.trip-status-almostfull {
    background-color: #ff9800; /* Orange */
    color: white;
}

.trip-status-available {
    background-color: #28a745; /* Green */
    color: white;
}

.trip-status-confirmed {
    background-color: #007bff; /* Blue */
    color: white;
}

.trip-status-complete {
    background-color: #6c757d; /* Gray */
    color: white;
}

 .safari-container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        /* Section header */
        .safari-section-header {
            text-align: left;
            margin: 60px 0;
        }
        
        .safari-section-subtitle {
            color: #8a8a8a;
            font-size: 12px;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 15px;
            font-weight: 500;
        }
        
        .safari-section-title {
            color: #000;
            font-size: 34px;
            font-weight: 300;
            margin-bottom: 25px;
            line-height: 1.2;
            font-family: Georgia, 'Times New Roman', Times, serif;
        }
        
        .safari-section-intro {
            color: #666;
            max-width: 800px;
            margin: 0 auto;
            font-size: 17px;
            line-height: 1.6;
            font-weight: 300;
        }
        
        /* Card container */
        .safari-card-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
        }
        
        @media (max-width: 768px) {
            .safari-card-container {
                grid-template-columns: 1fr;
            }
        }
        
        /* Card styling - matching the reference exactly */
        .safari-card-item {
            position: relative;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            height: 450px;
            overflow: hidden;
        }
        
        .safari-card-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        /* White border effect from the reference */
        .safari-card-item:after {
            content: "";
            position: absolute;
            top: 1.5rem;
            left: 1.5rem;
            width: calc(100% - 3rem);
            height: calc(100% - 3rem);
            z-index: 1;
            border: 1px solid rgba(255, 255, 255, 0.8);
            pointer-events: none;
            transition: all 0.4s ease;
        }
        
        .safari-card-item:hover:after {
            border-color: rgba(255, 255, 255, 0.95);
            top: 1.2rem;
            left: 1.2rem;
            width: calc(100% - 2.4rem);
            height: calc(100% - 2.4rem);
        }
        
        /* Image container */
        .safari-card-image-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        .safari-card-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s ease;
        }
        
        .safari-card-item:hover .safari-card-image {
            transform: scale(1.08);
        }
        
        /* Overlay gradient */
        .safari-card-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60%;
            background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
            z-index: 2;
            opacity: 0.9;
        }
        
        /* Card content - simplified */
        .safari-card-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 30px;
            color: white;
            z-index: 3;
        }
        
        /* Title at bottom center */
        .safari-card-title {
            font-size: 22px;
            font-weight: 400;
            margin-bottom: 20px;
            line-height: 1.3;
            text-align: center;
            font-family: Georgia, 'Times New Roman', Times, serif;
        }
        .safari-card-title a{color:#f1f1f1; text-decoration: none;}
        .safari-card-title a:hover{color:#fff; text-decoration: none;}
        
        /* Info row at the very bottom */
        .safari-card-bottom-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .safari-card-price {
            font-size: 20px;
            font-weight: 600;
            color: #ffffff;
        }
        
        .safari-card-price span {
            font-size: 12px;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.8);
            margin-left: 5px;
            letter-spacing: 0.5px;
        }
        
        .safari-card-departure {
            font-size: 14px;
            font-weight: 500;
            text-align: right;
        }
        
        .safari-card-departure-label {
            display: block;
            font-size: 11px;
            color: rgba(255, 255, 255, 0.7);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 3px;
        }
        
        /* Duration badge - positioned above title */
        .safari-card-duration {
            position: absolute;
            top: -25px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #d4af37;
            color: #000;
            padding: 8px 20px;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            z-index: 4;
            border-radius: 2px;
            white-space: nowrap;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        /* Card tags - positioned top right with proper margin */
        .safari-card-tag {
            position: absolute;
            top: 30px;
            right: 30px;
            background-color: rgba(255, 255, 255, 0.95);
            color: #000;
            padding: 8px 16px;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            z-index: 4;
            border-radius: 1px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        /* Footer */
        .safari-footer-note {
            text-align: center;
            padding-top: 40px;
            border-top: 1px solid #eee;
            color: #666;
            font-size: 14px;
            margin: 60px 0;

        }
        
        .safari-view-all-btn {
            background-color: transparent;
            color: #000;
            border: 1px solid #000;
            padding: 12px 35px;
            font-size: 13px;
            font-weight: 500;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-top: 20px;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }
        
        .safari-view-all-btn:hover {
            background-color: #000;
            color: white;
            text-decoration: none;
        }
        
        /* Hover effect enhancement */
        .safari-card-item:hover .safari-card-duration {
            background-color: #ffffff;
            color: #000;
        }
        
        .safari-card-item:hover .safari-card-tag {
            background-color: #000;
            color: #ffffff;
        }
        
        /* Responsive adjustments */
        @media (max-width: 992px) {
            .safari-card-title {
                font-size: 20px;
            }
            
            .safari-card-price {
                font-size: 18px;
            }
        }
        
        @media (max-width: 576px) {
            .safari-card-container {
                gap: 25px;
            }
            
            .safari-card-item {
                height: 400px;
            }
            
            .safari-card-title {
                font-size: 18px;
                margin-bottom: 15px;
            }
            
            .safari-card-content {
                padding: 20px;
            }
            
            .safari-card-duration {
                font-size: 11px;
                padding: 6px 15px;
                top: -20px;
            }
            
            .safari-card-tag {
                top: 20px;
                right: 20px;
                padding: 6px 12px;
            }
        }
        .trip-col a{text-decoration: none!important;}