
.serv:hover {
    background-color: #1b9c85;
    color: white;
  }
  .serv .info p:hover{
      color: white;
  }
  nav {
    background: #4b291c;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
  }
  /* Default style for desktop view */
  .search-icon {
    display: inline-block;
  }
  
  /* Hide the icon on mobile view */
  @media (max-width: 768px) {
    .search-icon {
      display: none;
    }
  }
  
  
  .section.articles .post:hover .text h3 {
    color: #1B9C85; /* Color change on hover */
  }


  /*===============================================================*/

  
  
  .section.features .feat:hover {
   
    border-color: transparent; 
  }
  
  .section.features .feat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: 4px solid transparent;
    border-radius: 10px;
    box-sizing: border-box;
    pointer-events: none; /* Ensure it doesn't interfere with hover interactions */
    transition: border-color 0.3s ease;
    animation: moveBorder 2s linear infinite;
  }
  
  @keyframes moveBorder {
    0% {
      border-color: black transparent transparent transparent;
    }
    25% {
      border-color: transparent black transparent transparent;
    }
    50% {
      border-color: transparent transparent black transparent;
    }
    75% {
      border-color: transparent transparent transparent black;
    }
    100% {
      border-color: black transparent transparent transparent;
    }
  }
  


  /*===================================SERVICES================================*/







.section.services .serv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border: 3px solid transparent;
  border-radius: 10px;
  box-sizing: border-box;
  pointer-events: none; /* Ensure it doesn't interfere with hover interactions */
  transition: border-color 0.3s ease;
  animation: moveBorder 2s linear infinite;
}

@keyframes moveBorder {
  0% {
    border-color: black transparent transparent transparent;
  }
  25% {
    border-color: transparent black transparent transparent;
  }
  50% {
    border-color: transparent transparent black transparent;
  }
  75% {
    border-color: transparent transparent transparent black;
  }
  100% {
    border-color: black transparent transparent transparent;
  }
}



/*=====================LATEST ARTICLES=========================*/

.section.articles .post {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    /* Add margin to separate posts */
  }
  
  .section.articles .post:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
  
  .section.articles .post img {
    transition: transform 0.3s ease;
    width: 100%;
    border-radius: 8px;
    height: auto;
  }
  
  .section.articles .post img:hover {
    transform: scale(1.05);
  }
  
  .section.articles .post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: 2px solid transparent;
    z-index: 0;
    box-sizing: border-box;
    border-radius: 8px;
    pointer-events: none; /* Ensure it doesn't interfere with hover interactions */
  }
  
  .section.articles .post:hover::before {
    animation: movePostBorder 2s linear infinite;
  }
  
  @keyframes movePostBorder {
    0% {
      border-color: #1B9C85 transparent transparent transparent;
    }
    25% {
      border-color: transparent #1B9C85 transparent transparent;
    }
    50% {
      border-color: transparent transparent #1B9C85 transparent;
    }
    75% {
      border-color: transparent transparent transparent #1B9C85;
    }
    100% {
      border-color: #1B9C85 transparent transparent transparent;
    }
  }
  
  .section.articles .text {
    position: relative;
    z-index: 1;
  }
  
  .section.articles .text h3 {
    margin-top: 15px;
    margin-bottom: 10px;
    color: #333;
    position: relative;
    padding: 5px;
    z-index: 1;
    overflow: hidden;
  }
  
  .section.articles .post:hover .text h3 {
    color: #1B9C85;
  }



  /*===============================workflow========================*/
  
  
  
  .section.workflow .step:hover {
    background-color: #00796b;
    transform: translateY(-5px);
  }

  
  
  .section.workflow .step:hover::before {
    border-color: #00796b; /* Darker border color on hover */
    animation: moveBorder 2s linear infinite;
  }
  
  @keyframes moveBorder {
    0% {
      border-color: #00796b transparent transparent transparent;
    }
    25% {
      border-color: transparent #00796b transparent transparent;
    }
    50% {
      border-color: transparent transparent #00796b transparent;
    }
    75% {
      border-color: transparent transparent transparent #00796b;
    }
    100% {
      border-color: #00796b transparent transparent transparent;
    }
  }
  
  

  /*=================================TESTINOMIALS==================================*/
  
  
  
  .section.testimonials {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
  }
  
  .section.testimonials .section-title {
    margin-bottom: 20px;
    font-size: 2em;
    color: #333;
  }
  
  .section.testimonials p {
    margin-bottom: 30px;
    color: #555;
  }
  
  .carousel-container {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  
  .carousel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 500px;
    height: 250px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
  }
  
  .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: 3px solid transparent;
    border-radius: 10px;
    box-sizing: border-box;
    pointer-events: none; /* Ensure it doesn't interfere with hover interactions */
    transition: border-color 0.3s ease;
    animation: moveBorder 2s linear infinite;
  }
  
  @keyframes moveBorder {
    0% {
      border-color: #000  transparent transparent transparent;
    }
    25% {
      border-color: transparent #000  transparent transparent;
    }
    50% {
      border-color: transparent transparent #000 transparent;
    }
    75% {
      border-color: transparent transparent transparent #000 ;
    }
    100% {
      border-color: #000 transparent transparent transparent;
    }
  }
  
  .carousel-item .test {
    width: 100%;
  }
  
  .carousel-item .meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
  }
  
  .carousel-item .meta .image {
    margin-right: 15px;
  }
  
  .carousel-item .meta img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
  }
  
  .carousel-item .quote {
    margin-top: 15px;
  }
  
  


  /*========================footer================*/
  
  footer .footer{
   background-color: #4b291c;
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
/* ================== Gallery Images Border ================== */
.gallery img {
  border: 3px solid #a1887f;
  border-radius: 6px;       
  padding: 2px;              
}
