.loader {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    border: 4px solid #0000;
    border-radius: 50%;
    border-right-color: var(--theme-color);
    animation: l15 1s infinite linear;
  }

  .loader::before,
  .loader::after {
    content: "";
    grid-area: 1/1;
    margin: 2px;
    border: inherit;
    border-radius: 50%;
    animation: l15 2s infinite;
  }

  .loader::after {
    margin: 8px;
    animation-duration: 3s;
  }

  @keyframes l15 {
    100% {
      transform: rotate(1turn);
    }
  }


  /* Carousel */
  .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  @media (min-width: 576px) {
    .carousel-item img {
      height: 300px;
    }
  }

  @media (min-width: 768px) {
    .carousel-item img {
      height: 300px;
    }
  }

  @media (min-width: 992px) {
    .carousel-item img {
      height: 400px;
    }
  }

  @media (min-width: 1200px) {
    .carousel-item img {
      height: 450px;
    }
  }

  /* Project Gallery */

  .projects-section {
    background-color: rgb(245, 247, 251);
    padding: 60px 0;
  }
  .projects-section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
  }
  .projects-section p {
    text-align: center;
    margin-bottom: 30px;
    color: #bfbfbf;
  }
  .projects-filter {
    text-align: center;
    margin-bottom: 20px;
  }
  .projects-filter button {
    background-color: var(--theme-color);
    border: none;
    padding: 10px 20px;
    color: #fff;
    margin: 5px;
    border-radius: 30px;
    cursor: pointer;
  }
  .projects-filter .btn-secondary {
    background-color: #333;
  }
  .projects-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .project-item {
    display: none;
  }
  .project-item.show {
    display: block;
  }

  /* Swiper container spacing */
  .swiper {
    padding: 10px 0;
  }
  
  .swiper-slide {
    width: 100%;
    height: auto;
  }
  
  .swiper-slide .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s;
  }
  
  .swiper-slide .card:hover {
    transform: scale(1.02);
  }
  
  
  .swiper-slide .card-img {
    height: 350px;
    object-fit: cover;
  }
  
  
  .card-img-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
    padding: 1rem;
    color: white;
    border-radius: 0;
  }
  
  
  .card-img-overlay .badge {
    font-size: 0.75rem;
    padding: 0.35em 0.6em;
    background-color: #b9fbc0;
    color: #333;
    border-radius: 12px;
    width: fit-content;
  }
  
  
  .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
  }
  
  
  .swiper-button-next,
  .swiper-button-prev {
    color: #000;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    width: 40px;
    height: 40px;
  }
  
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 22px !important;
  }