/* Container */
.container-safaris {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .btn-wrapper {
    display: flex;
    justify-content: center; /* centers horizontally */
    margin-top: 15px; /* optional spacing */
  }
  
  
  /* Grid */
  .card-grid-safaris {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .btn{
  display: grid;
  width: 100%;
  place-content: center;
  }
  .button-5 {
    max-width: 150px;
    align-items: center;
    background-clip: padding-box;
    background-color: #e88b22;
    border: 1px solid transparent;
    border-radius: .25rem;
    box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    margin: 0;
    min-height: 3rem;
    padding: calc(.875rem - 1px) calc(1.5rem - 1px);
    position: relative;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    margin-top: 15px;
    vertical-align: baseline;
    width: auto;
  }
  
  .button-5:hover,
  .button-5:focus {
    background-color: #e88b22;
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
  }
  
  .button-5:hover {
    transform: translateY(-1px);
  }
  
  .button-5:active {
    background-color: #e88b22;
    box-shadow: rgba(0, 0, 0, .06) 0 2px 4px;
    transform: translateY(0);
  }
  @media (min-width: 768px) {
    .card-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 1024px) {
    .card-grid-safaris{
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  /* Card */
  .card-safaris {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 0.5rem;
    cursor: pointer;
  
    /* NEW: flex layout to push footer to bottom */
    display: flex;
    flex-direction: column;
    height: 100%; /* ensures equal height in grid */
  }
  
  .card-safaris:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  }
  
  /* Image */
  .card-img {
    width: 100%;
    height: 13rem;
    object-fit: cover;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
  }
  
  /* Title */
  .card-title-safaris {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
  }
  
  /* Description */
  .card-desc-safaris {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    flex-grow: 1; /* NEW: fills space so footer stays aligned */
  }
  
  /* Footer */
  .card-footer-safaris {
    margin-top: auto; /* NEW: pushes footer to bottom */
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Price */
  .card-price {
    font-size: 0.875rem;
   
    font-weight: 500;
    color: #374151;
  }
  
  .price-highlight {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    padding-left: 5px;
   
    margin-top: 0.25rem;
  }
  
  /* Link */
  .card-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .card:hover .card-link {
    color: #a37c5c;
  }
  
  .card-link:hover {
    text-decoration: underline;
  }
  