dialog {
    width: 60%;
    height: 75%;
    margin: auto;
    background-color: transparent;
    border: 1px solid transparent;
    animation: fade-out 0.3s ease-out;
  }
  dialog::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
  }
  dialog[open] {
    animation: fade-in 0.3s ease-out;
  }
  
  dialog[open]::backdrop {
    animation: backdrop-fade-in 0.7s ease-out forwards;
  }
  dialog:-internal-dialog-in-top-layer::backdrop {
    position: fixed;
    inset: 0px;
    background: rgb(0, 0, 0, 0.8) !important;
  }
  .app-modal-content {
    position: relative;
    height: calc(100% - 30px);
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
  }
  .portfolio-image-modal {
    height: 100%;
    width: 100%;
  }
  .banner-image-modal {
    width: 70%;
    aspect-ratio: 1/1;
  }
  @media (max-width: 767px) {
    dialog {
      width: 90%;
      height: 100%;
      margin-top: 0;
      display: flex;
      align-items: center;
    }
    .portfolio-image-modal {
      height: auto;
    }
    .banner-image-modal {
      width: 100%;
      height: auto;
    }
  }
  .app-modal-content .close-btn {
    position: absolute;
    right: 0;
    top: -28px;
    z-index: 10;
    color: white;
    font-size: 20px;
    cursor: pointer;
  }
  
  /* Animation keyframes */
  
  @keyframes fade-in {
    0% {
      opacity: 0;
      transform: scaleY(0);
      display: none;
    }
  
    100% {
      opacity: 1;
      transform: scaleY(1);
      display: block;
    }
  }
  
  @keyframes fade-out {
    0% {
      opacity: 1;
      transform: scaleY(1);
      display: block;
    }
  
    100% {
      opacity: 0;
      transform: scaleY(0);
      display: none;
    }
  }
  
  @keyframes backdrop-fade-in {
    0% {
      background-color: rgb(0 0 0 / 0%);
    }
  
    100% {
      background-color: rgb(0 0 0 / 25%);
    }
  }
  
  /* Toast styling */
  #custom-toast {
    display: none;
    position: sticky;
    top: 20px;
    z-index: 100;
    width: fit-content;
    margin-left: 70%;
    background-color: var(--warning);
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }
  @media (max-width: 767px) {
    #custom-toast {
      margin-left: 10%;
    }
  }
  
  .portfolio-tab-button {
    background-color: transparent;
    border: 1px solid transparent;
    margin: 0 10px;
    padding: 5px;
    color: var(--primary);
  }
  
  .desktop-view-only {
    display: block;
  }
  .mobile-view-only {
    display: none;
  }
  @media (max-width: 767px) {
    .desktop-view-only {
      display: none;
    }
    .mobile-view-only {
      display: block;
    }
  }
  
  .home-about-button {
    display: block;
  }
  @media (max-width: 767px) {
    .home-about-button {
      display: flex;
      justify-content: center;
    }
  }
  
  /* ----------------------------- */
  /* MASONRY LAYOUT START */
  /* ----------------------------- */
  .masonry-layout {
    columns: 3 200px;
    column-gap: 30px;
    margin: 0 auto;
  }
  
  .masonry-layout figure {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
  }
  
  .masonry-layout figure img {
    max-width: 100%;
    display: block;
    cursor: pointer;
  }
  /* ----------------------------- */
  /* MASONRY LAYOUT END */
  /* ----------------------------- */
  
  .portfolio-image-folder-tab-button {
    font-weight: 400;
    padding: 15px 30px;
    color: var(--green);
    border: 1px solid var(--secondary);
    border-radius: 25%;
  }
  .portfolio-image-folder-tab-button:hover {
    color: var(--white);
    background-color: var(--secondary);
  }
  /* ----------------------------- */
  /* CUSTOM NAVBAR START */
  /* ----------------------------- */
  
  .navbar-mobile-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: var(--primary);
    display: none;
    z-index: 999;
  }
  .navbar-mobile-wrapper ul {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    text-align: center;
  }
  .navbar-mobile-wrapper ul li {
    margin: 15px 0;
  }
  .navbar-mobile-wrapper ul li a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 35px;
    font-weight: 600;
    padding: 5px 50px;
    position: relative;
  }
  @media (max-width: 767px) {
    .navbar-mobile-wrapper ul li {
      margin: 15px 0;
    }
    .navbar-mobile-wrapper ul li a {
      font-size: 32px;
      color: white;
    }
  }
  @media (min-width: 780px) {
    .navbar-mobile-wrapper ul li a:after {
      content: "";
      position: absolute;
      width: 100%;
      height: 50px;
      background-color: var(--light-orange);
      border-radius: 50px;
      transform: scaleY(0);
      transition: all 0.3s ease-in-out;
      left: 0;
      clip-path: circle(25px at calc(100% - 45px), 45px);
      transition: all 0.3s ease-in-out;
    }
  
    .navbar-mobile-wrapper ul li a:hover:after {
      transform: scaleY(1);
      color: var(--secondary);
      content: attr(data-text);
    }
  
    .navbar-mobile-wrapper ul li a:hover {
      color: white;
    }
  }
  #portfolio-image-container .swiper-slide{
    width: auto  !important;
  }


  /* #portfolio-image-container .swiper-slide {
    width: auto; /* Remove !important unless absolutely necessary */
}

/* .swiper-wrapper {
    transition-timing-function: ease; /* Let Swiper handle this, avoid linear */
} */ */
  /* ----------------------------- */
  /* CUSTOM NAVBAR END */
  /* ----------------------------- */
  