body {
    background-image: url('assets/img/slider/home/01.jpg');
    background-size: cover; /* Cover the entire background */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-attachment: fixed; /* Fixed background */
    margin: 0;
}
        
.portfolio-container {
  width: 90%;
  position: relative;
  left: 5%;
  display: block;
  text-align: center;
}


@media only screen and (max-width: 900px){
  .slide{
    padding-right:0;
  }
  
}
.grid-container {
  display: grid;
  gap: 10px;
  justify-content: center;
}

.section {
  background-color: rgba(2, 2, 2, 0.8);
}

.grid-item {
  margin-bottom: 20px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  width: 100%;
  height: 100%;
  color: white;
  font-weight: bolder;
  position: relative;
}

.grid-item .imageContainer {
  position: relative;
  display: inline-block;
}

.grid-item .clientName {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 5px;
  color: #fff;
  font-size: 15px;
  background-color: rgba(0, 0, 0, 0.7);
}

.grid-item p.title {
  margin-top: 10px; /* Adjust as needed */
  color: #fff;
  font-size: 15px;
}

.grid-item img {
  border-radius: 5%;
}

/* Example of image glow on hover */
.grid-item img:hover {
  box-shadow: 0 0 10px #98fcff, 0 0 20px #00bec5, 0 0 30px #00bec5;
  z-index: 1;
  animation: glow 1s infinite alternate;
}

/* Pseudo-element glow on paragraph hover */
.grid-item p:hover::before {
  width: auto;
  height: auto;
  z-index: 1;
  animation: glow 5s infinite alternate;
}

@keyframes glow {
  0% {
      box-shadow: 0 0 10px #000000, 0 0 20px #00bec5, 0 0 30px #00bec5;
  }
  100% {
      box-shadow: 0 0 20px #ffffff, 0 0 30px #00bec5, 0 0 40px #00bec5;
  }
}

    
    /* Styles for the modal */
    .modal {
      /* -webkit-backface-visibility: hidden; */
      /* backface-visibility: hidden;
      height: 100%;
      left: 0;
      position: fixed;
      top: 0;
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
      width: 100%;
      z-index: 99992; */
      -webkit-backface-visibility: hidden; 
      backface-visibility: hidden;
      top:0;
      display: none;
      position: fixed;
      z-index: 999;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.5);
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
    }
  
    .modal-content {
      position: relative;
      top:0;
      background-color: rgba(0,0,0,0.7);
      margin: 5% auto;
      padding: 20px;
    
      width: 80%;
      height: 80%;
    }
    .modal-content iframe{
      position: relative;
      top: 10%;
      left: 10%;
  
    }
  
  
    /* Additional styling for the page
    .vlt-large-heading {
      margin-bottom: 50px;
    }
    .category-buttons {
        height: min-content;
        padding: 0;
        margin: 0;
        margin-bottom: 20px;
    }
  
    .category-button {
        display: inline-block;
        height: auto;
        width: auto;
        padding: 1%;
        font-size: 16px;
        text-align: center;
        text-decoration: none;
        color: #ffffff;
        background: linear-gradient(to bottom right, #ee3364, #00bec5);
        border: 2px solid transparent;
        border-radius: 5px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }
    
    /* Glow Animation 
    .category-button::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.5s;
        border-radius: 50%;
        z-index: 1;
    }
    
    .category-button:hover::before {
        transform: scale(1.5);
        transition: all 0.5s;
    }
    
    /* Text Shadow 
    .category-button:hover {
        text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff, 0 0 30px #ffffff, 0 0 1px #7388ff, 0 0 70px #3240ff, 0 0 2px #4CAF50, 0 0 10x #4CAF50, 0 0 15px #4CAF50;
        transition: all 0.5s;
    }
    */
    .category-button {
        border: 0;
        padding:0;
        margin:0;
      cursor: pointer;
      background-color: transparent;
    }
    .category-button a span{
        color: black;
        text-size-adjust: 100%;
    }
    .category-buttons .category-button .a .span :hover{
        color: rgb(255, 255, 255) !important;
        margin-left: 10%;
    }
    /* .category-button a span */

    .category-button.active {
      background-color: #ffffff;
    }
    /* Adjust grid layout for mobile devices */
  @media only screen and (max-width: 600px) {
    .grid-container {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive grid layout */
    
    }

  @media only screen and (max-width: 1399px)  {
    .portfolio-container {
      width: 80% ;
      position: relative;
      left: 10% ;
      display: block;
    }
    .category-buttons .category-button{
      
      margin-left: 0;
      text-align: center;
    }
  }
    
  }