





/* New CSS */

.portfolio-header{
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    
}

@media (max-width:995px){
  .portfolio-header{
    width: 100%;
    align-items: center;
  }
}


.portfolio-header h4:hover{
    cursor: pointer;
    background-color: #fbd91b;
    color: black;
}
.portfolio-header h4{
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    padding-bottom: 5px;
    transition: color 0.3s ease;
    border: 1px solid #fbd91b;
    border-radius: 5px;
    padding: 3px 20px;
    background-color: white;
}


.portfolio-row{
    justify-content: space-between;
    /* background-image: url('../images/background/panel.png'); */
    /* border-radius: 20px; */
}



.each-content{
    height: 25rem;
}



.all {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex-direction: row;
  animation: fadeInRight 0.6s ease 0.2s both;
  justify-content: center;
  align-items: center;
}

.all video {
  width: 20rem !important;       /* your desired size */
  height: 15rem !important;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translate3d(10%, 0, 0);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}


.all img {
  width: 20rem !important;       /* your desired size */
  height: 15rem !important;
  border-radius: 10px;
  object-fit: cover;
  display: block;                /* remove spacing issue */
}

.all video:hover,
.all img:hover {
  cursor: pointer;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}


.motion {
  display: none;
  flex-wrap: wrap;
  gap: 5px;
  flex-direction: row;
  animation: fadeInRight 0.6s ease 0.2s both;
  justify-content: center;
  align-items: center;
}

.motion video {
  width: 20rem !important;       /* your desired size */
  height: 15rem !important;
  border-radius: 10px;
  object-fit: cover;
  display: block;                /* remove spacing issue */
}

.motion video:hover{
    cursor: pointer;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.graphics {
  display: none;
  flex-wrap: wrap;
  gap: 5px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.6s ease 0.2s both;

}

.graphics img {
  width: 20rem !important;       /* your desired size */
  height: 15rem !important;
  border-radius: 10px;
  object-fit: cover;
  display: block;             /* remove spacing issue */
}

.graphics img:hover{
    cursor: pointer;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}


.vid {
  display: none;
  flex-wrap: wrap;
  gap: 5px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.6s ease 0.2s both;
}

.vid img {
  width: 20rem !important;       /* your desired size */
  height: 15rem !important;
  border-radius: 10px;
  object-fit: cover;
  display: block;                /* remove spacing issue */
}

.vid img:hover{
    cursor: pointer;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}



.services-dv1{
  border-radius: 50px;
}

.services-dv1:hover{
  transform: translateY(-15px) scale(1.02) !important;
            box-shadow: 0 25px 50px rgba(0,0,0,0.3) !important;
            border-color: #FFD700 !important;
}


#modalImage {
      height: auto;
      width: auto;
      cursor: pointer;
      border-radius: 10px;
    }

    /* Modal Background */
    .modal {
      display: none;
      position: fixed;
      z-index: 9999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.8);
      justify-content: center;
      align-items: center;
    }

    /* Full-size content */
    .modal-content {
      max-width: 90%;
      max-height: 90%;
  
      
    }

    /* Close Button */
    .modal-close {
      position: absolute;
      top: 20px;
      right: 30px;
      color: white;
      font-size: 30px;
      cursor: pointer;
    }



.videomodal {
      display: none;
      position: fixed;
      z-index: 9999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.8);
      justify-content: center;
      align-items: center;
      
    }

    /* Full-size content */
    #modalVideoPlayer{
      border-radius: 10px;
      width: auto;
      height: 432px;
    }
    /* Close Button */
  

    .services-dv1{
      background-color: black !important;
    }

    .services-dv1 h4{
      color: gold !important;
    }

    .services-dv1 p{
      color: white;
    }

    .services-dv1 i{
      color: #fbd91b !important;
    }


    .services-img{
      display: flex; 
      justify-content: space-around; 
      width: 100%;
      animation: spin 3s infinite;
    }

    @keyframes spin {
      from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
    }