span,h1{
color: black;
}
  :where([class^="ri-"])::before {
    content: "\f3c2";
    }
    :root {
    --primary-color: #e88b22;
    --secondary-color: #e88b22;
    }
  
    .section-card{
    margin-top: 0.625rem;
    margin-bottom: 0.625rem;
    }
    .section-card h1{
    text-align: center;
    font-size: x-large;
    font-weight: bold;
    }
    .container-safaris {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    }
    .grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    }
    @media (min-width: 768px) {
    .grid-container {
    grid-template-columns: repeat(2, 1fr);
    }
    }
    @media (min-width: 1024px) {
    .grid-container {
    grid-template-columns: repeat(4, 1fr);
    }
    }
    .card-packages {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    }
    .card-packages:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    .icon-container {
    width: 5rem;
    height: 5rem;
    background-color: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    }
    .icon-container i {
    font-size: 1.875rem;
    color: #e88b22;
    }
    .card-packages h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    }
    .card-packages p {
    font-size: 0.875rem;
    color: #6b7280;
    }
    .feature-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    }
    .feature-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    }
    .feature-content {
    display: flex;
    flex-direction: column;
    }
    @media (min-width: 768px) {
    .feature-content {
    flex-direction: row;
    }
    }
    .feature-text {
    padding: 2.5rem;
    flex: 1;
    }
    .feature-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    }
    .feature-text p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
    }
    .feature-list {
    margin-bottom: 2rem;
    }
    .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    }
    .feature-item i {
    color: #e88b22;
    margin-right: 0.75rem;
    }
    .btn {
    background-color: #e88b22;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    }
    .btn:hover {
    background-color: #d67d1f;
    }
    .feature-image {
    flex: 1.5;
    position: relative;
    min-height: 400px;
    border-radius: 32px;
    overflow: hidden;
    background: white;
    }
    .feature-image img {
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    object-fit: cover;
    border-radius: 24px;
    position: absolute;
    top: 12px;
    left: 12px;
  
    transition: all 0.4s ease;
   
    padding: 12px;
    }
    span{
    padding-left: 5px;
    }
    .feature-image img:hover {
    transform: scale(1.02);
    }
    @media (max-width: 767px) {
    .feature-image {
    min-height: 300px;
    }
    .feature-image img {
    border-radius: 16px;
    }
    }
  h1, p {
    padding: 15px;
    line-height: 1.55;
  }
  mat-card-header button {
    background-color: rgb(232,139,34);
    color: white;
    cursor: pointer;
  }
  .transport-means {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .transport-means div {
    height: max-content;
    min-height: 30px;
    margin-left: 20px;
    cursor: pointer;
  }
  .transport-means div img {
    height: 100%;
    min-height: 65px;
    min-width: 65px;
  }
 
  .button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
  }
  .safaris-main {
    margin-left: 30px;
    margin-right: 30px;
    max-width: 100vw;
    min-width: 100%;
    min-height: 100vh;
    margin-bottom: 1rem;
    height: max-content;
    display: flex;
    flex-direction: column;
  }
  .cont {
    min-width: 100vw;
    max-width: 100%;
    overflow-x: hidden;
  }
  mat-list-item {
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  span {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
  }
  .safaris-main mat-card {
    width: 100%;
    height: fit-content;
  }
  .grid-see {
    margin-top: 5px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
  }
  .grid-see div {
    width: 400px;
    min-height: 350px;
    max-height: 500px;
    height: 100%;
    width: 32.22%;
    margin-top: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    padding-left: 15px;
    padding-right: 15px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .grid-see div h1, .grid-see div p {
    padding-left: 5.55px;
  }
  .safaris {
    background-image: url(https://res.cloudinary.com/dasrniwpk/image/upload/v1756228808/ma_fn6qct.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;
  }
  mat-card-content mat-icon {
    color: rgb(21, 181, 21);
  }
  .safaris h1 {
    letter-spacing: 1.55px;
    font-size: 25.55px;
    color: white;
  }
  .grid-see div img {
    width: 100%;
    padding: 5px;
    max-width: 500px;
    height: 200px;
  }
  h5, h2 {
    text-align: center;
  }
  .spin {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .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
    }
  }
  .no-spin {
    display: none;
  }
  mat-card-header, mat-card-content {
    height: max-content;
    display: block;
  }
  mat-card mat-card-content {
    display: grid;
    margin-top: 20px;
    place-content: center;
  }
  mat-list mat-list-item {
    height: fit-content;
  }
  @media(max-width:768px) {
    .safaris-main {
      flex-direction: column;
      flex-wrap: wrap;
      max-height: 100%;
      margin: 0;
    }
    .safaris {
      min-height: 75vh;
    }
    .safaris-main mat-card {
      width: 100%;
      margin-top: 10px;
    }
    .grid-see {
      display: grid;
      grid-template-columns: 1fr;
    }
    .grid-see div {
      width: 100%;
      margin-top: 10px;
    }
    mat-card mat-card-content {
      margin: 0;
    }
  }
  @media(min-width:801px) and (max-width:1024px) {
    .safaris-main {
      flex-direction: row-reverse;
      flex-wrap: wrap;
      max-height: 100%;
      margin: 0;
    }
    .safaris {
      min-height: 75vh;
    }
    .safaris-main mat-card {
      width: 100%;
      margin-top: 10px;
    }
    mat-card mat-card-content {
      margin: 0;
    }
  }