
    * {
      box-sizing: border-box;
    }

    .carousel-container {
      position: relative;
      max-width: 100%;
      overflow: hidden;
      margin: 0 auto;
    }

    .carousel-track {
      display: flex;
      transition: transform 0.5s ease-in-out;
      will-change: transform;
    }

    .carousel-slide {
      min-width: 100%;
      transition: opacity 0.5s ease-in-out;
      flex-shrink: 0;
    }

    /* proportionaly change image size */
    .carousel-slide img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
      }

      .aspect-ratio-box {
        position: relative;
        width: 100%;
        padding-top: 56.25%; /* 16:9 aspect ratio */
        overflow: hidden;
      }
      
      .aspect-ratio-box img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

    .carousel-buttons {
      position: absolute;
      top: 50%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      padding: 0 1rem;
      pointer-events: none;
    }

    .carousel-buttons button {
      background: rgba(0, 0, 0, 0.6);
      border: none;
      color: white;
      font-size: 2rem;
      cursor: pointer;
      padding: 0.5rem 1rem;
      pointer-events: auto;
      border-radius: 4px;
    }

    @media (max-width: 600px) {
      .carousel-buttons button {
        font-size: 1.5rem;
      }
    }

    /* for carousel at project detail page */
    .carousel-item img {
      height: 500px;
      object-fit: cover;
    }
    .video-card {
      margin-top: 20px;
    }
    .project-description {
      margin-top: 15px;
      line-height: 1.8;
    }
