* {
    margin: 0;
    padding: 0;
   
    /* box-sizing: border-box; */
  }
  .img-bg {
    width: 100%;
    max-height: 100vh;
    height: max-content;
    margin-right: 20px;
    margin-left: 20px;
    margin-top: 10px;
    /* min-width: 1250px;
    max-height: 625px; */
  }
  .safaris h1 {
    letter-spacing: 1.55px;
    font-size: 25.55px;
    color: white;
  }
  h2{
    text-align: center;
  }
  .safaris {
    background-image: url(https://res.cloudinary.com/douvdvqdh/image/upload/v1757859466/lounge-area-entim-private-camp-masai-mara_jev13y.jpg);
    background-position: center;
    overflow: hidden;
    background-repeat: no-repeat;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  
    background-size: cover;
  }
  .main {
    max-width: 100%;
    min-width: 100vw;
    min-height: 100vh;
    height: 100%;
  }
  .main p{
    text-align: center;
  }
  
  .mat-card {
    margin-left: 20px;
    margin-right: 20px;
    width: calc(100% - 40px);
    max-width: calc(100vw - 40px);
    height: max-content;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  
  .mat-card div:last-child {
    margin-right: 20px;
  }
  
  mat-card-title {
    text-align: center;
    padding: 5.5px;
  }
  .label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgb(232,139,34);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
  }
  .loader {
   
    width: 64px;
    height: 48px;
    position: relative;
    animation: split 1s ease-in infinite alternate;
  }
  .loader::before , .loader::after {
    content: '';
    position: absolute;
    height: 48px;
    width: 48px;
    border-radius: 50%;
    left: 0;
    top: 0;
    transform: translateX(-10px);
    background: #FF3D00;
    opacity: 0.75;
    backdrop-filter: blur(20px);
  }
  
  .loader::after {
    left: auto;
    right: 0;
    background: #FFF;
    transform: translateX(10px);
  }
  
  @keyframes split {
   0% , 25%{ width: 64px }
   100%{ width: 148px }
  }
    
  h1 {
    text-align: center;
  }
  .mat-card div {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
      rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    width: 100%;
    max-width: 100%;
    min-width: 200px;
    min-height: 300px;
    cursor: pointer;
    padding: 10px;
    position: relative;
    display: inline-block;
  }
  h4{
  text-align: center;
  font-weight: bolder;
  text-transform: capitalize;
  }
  .mat-card div img {
    max-width: 100%;
    
    min-height: 200px;
    max-height: 200px;
  }
  .mat-card-content strong,
  .mat-card-content span {
    display: inline;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    white-space: normal;
  }
  
  .mat-card div img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  h1 {
    text-align: center;
    line-height: 1.5;
  }
  
  main {
    display: flex;
    flex-direction: row;
  }
  
  div button {
    background-color: rgb(232, 139, 34);
    color: white;
    gap: 20px;
    margin-top: 10px;
    cursor: pointer;
  }
  p {
    padding: 20px;
    line-height: 1.7;
    letter-spacing: 0.77px;
  }
  mat-card-content {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-height: 1.55;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
  }
  .mat-card div button {
    display: block;
    margin: 10px auto 0 auto; /* auto left-right centers */
  }
  .button-5 {
    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;
    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);
  }
  .spin {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .no-spin {
    display: none;
  }
  /* From Uiverse.io by doniaskima */ 
  /* HTML: <div class="loader"></div> */
  .loader {
    --c1: #673b14;
    --c2: #f8b13b;
    width: 70px;
    height: 200px;
    border-top: 4px solid var(--c1);
    border-bottom: 4px solid var(--c1);
    background: linear-gradient(90deg, var(--c1) 2px, var(--c2) 0 5px,var(--c1) 0) 50%/7px 8px no-repeat;
    display: grid;
    overflow: hidden;
    animation: l5-0 2s infinite linear;
  }
  
  .loader::before,
  .loader::after {
    content: "";
    grid-area: 1/1;
    width: 75%;
    height: calc(50% - 4px);
    margin: 0 auto;
    border: 2px solid var(--c1);
    border-top: 0;
    box-sizing: content-box;
    border-radius: 0 0 40% 40%;
    -webkit-mask: linear-gradient(#000 0 0) bottom/4px 2px no-repeat,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    background: linear-gradient(var(--d,0deg),var(--c2) 50%,#0000 0) bottom /100% 205%,
      linear-gradient(var(--c2) 0 0) center/0 100%;
    background-repeat: no-repeat;
    animation: inherit;
    animation-name: l5-1;
  }
  
  .loader::after {
    transform-origin: 50% calc(100% + 2px);
    transform: scaleY(-1);
    --s: 3px;
    --d: 180deg;
  }
  
  @keyframes l5-0 {
    80% {
      transform: rotate(0)
    }
  
    100% {
      transform: rotate(0.5turn)
    }
  }
  
  @keyframes l5-1 {
    10%,70% {
      background-size: 100% 205%,var(--s,0) 100%
    }
  
    70%,100% {
      background-position: top,center
    }
  }
  
  
  @media (max-width: 768px) {
    .mat-card {
      display: flex;
      flex-direction: column;
      gap: 0px;
      width: 100%;
    }
  .safaris{
  height: 70vh;
  }
    .img-bg {
      height: 45vh;
    }
    /*  */
    mat-card div {
      width: 100%;
      margin-top: 20px;
    }
  }
  