﻿

p{
    color:#3d4044!important;
}

 /*Hero section*/
  .hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
   pointer-events: none; 
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide p{
    color:#fff!important;
}

/* Zoom Animation */
.slide.active img {
  animation: zoomEffect 6s ease-in-out forwards;
}

@keyframes zoomEffect {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}


.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  top: 0;
  left: 0;
  display:block;
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 20px;
}

.content h1 {
  font-size: 3.7rem;
  margin-bottom: 20px;
  color:#74cd3c;
}

.content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.content button {
  padding: 12px 30px;
  background: white;
  color: black;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 5px;
}

.content button:hover {
  background: black;
  color: white;
}

/* Dots */
.dots {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background: white;
  display: inline-block;
  border-radius: 50%;
  opacity: 0.5;
  cursor: pointer;
}

.dot.active {
  opacity: 1;
}

@media(max-width:768px){
   .hero-slider {
  position: relative;
  height: 40vh;
  overflow: hidden;
}
   .content {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
  color: white;
  padding: 20px;
}
  
.content button {
  padding:7px 14px;
  background: white;
  color: black;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 5px;
  font-size: 15px;
}
.content h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.content p {
  font-size: 16px;
  margin-bottom: 10px;

}
.dot {
  height: 7px;
  width: 7px;
}
.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}
}

  /*Cards scroll section*/
  .features{
      background:#b3d1a2;
  }
  .features-wrapper{
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      padding: 40px 1%;
    }
    .feature-item h5{
        font-size:1.2rem;
        margin-top:10px;
        margin-bottom: 5px;
    }
       .feature-item p{
        font-size:0.9rem;
        margin-bottom: 0px;
    }
    .feature-item i{
        font-size:3rem;
    }
      .feature-item {
          background: #fff;
          border: 1px solid #ddd;
          border-radius: 16px;
          text-align: center;
          padding: 15px 15px;
          transition: all 0.3s ease;
        }

      .feature-item:hover{
       transform: translateY(-5px);
       box-shadow: 0 6px 15px rgba(0,0,0,0.1);
      }

          .arrow{
            display:none;
          }
        @media (max-width: 768px) {

          .features {
            position: relative !important;
            overflow: hidden !important;
          }
         .features  .container-fluid {
             width: 100%;
             margin-right: auto;
             margin-left: auto;
             padding-right: 0px;
             padding-left: 0px;
             width: 100%;
}

          .features-wrapper {
            display: flex !important;
            transition: transform 0.3s ease-in-out !important;
            background:transparent;
            padding: 20px 10px;

          }

          .feature-item {
            flex: 0 0 100% !important;   /* take full width */
            max-width: 100% !important;
            margin: 0 !important;        /* remove extra gap */
            text-align: center !important;
            box-sizing: border-box !important;
            border: 1px solid #ddd;
            scroll-snap-align: center!important;
          }
       
          .arrow {
            display:block;
            position: absolute !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            background:#fff !important;
            color: #666 !important;
            padding: 5px 13px !important;
            cursor: pointer !important;
            border-radius: 50% !important;
            font-size: 18px !important;
            z-index: 20 !important;
    border-left-style: none !important;
    border-left-color: inherit !important;
    border-left-width: medium;
    border-right-style: none !important;
    border-right-color: inherit !important;
    border-right-width: medium;
    border-top-style: none !important;
    border-top-color: inherit !important;
    border-top-width: medium;
    border-bottom-style: none !important;
    border-bottom-color: inherit !important;
    border-bottom-width: medium;
}

          .arrow.left {
            left: 5px !important;        /* move just outside */
          }

          .arrow.right {
            right: 5px !important;
          }
        }

  /*About section*/
    .about-content img{
       width:100%;
       height:57vh;
       object-fit:cover;
       border-radius:5px;
    }
     .about-content p{
       margin-bottom:2rem;
         
    }
     .abt-video{
      width: 100%;
      height:85vh;
      object-fit:cover;
      border-radius:5px;
      text-align:center;
    }

 @media(max-width:768px){
  .about-content img {
  width: 100%;
  height: 32vh;
  object-fit: cover;
  border-radius: 5px;
}
  .row {
  gap: 20px!important;
}
  .abt-video {
  width: 90%;
  height: 50vh;
}
  .vid{
      text-align:center;
  }
 }

  /*works section*/
     .work-grid{
         display:grid;
         grid-template-columns:repeat(4, 1fr);
         gap:15px;
         grid-auto-rows:66vh
     }
     .work-item img{
         width:100%;
         height:100%;
         transition:all 0.8s ease;
         border-radius:5px;
     }
      .work-item img:hover{
        filter:brightness(60%);
        
     }
     .ourwork-sec{
         text-align:center;
         padding-top:20px;           
     }
      .ourwork-sec p{
         padding-bottom:60px;         
     }
      .work-item{
          position:relative;
          overflow:hidden;
      }
    .work-item:hover img {
    transform: scale(1.08);
}

.work-item h4{
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    transition: 0.5s ease;
    padding: 20px;
    text-align:start;
    transform:translateY(110%);  
    font-weight:600;
    font-size:1.6rem;  
    border-left:2px solid red; 
    margin-left:10px;  
}

.work-item:hover h4{
    opacity: 1;
    transform:translateY(0)
}

.work-overlay h4 {
    font-size: 18px;
    margin: 0;
}
.wrkbtn{
   background: black;
  color: #fff;
  padding: 8px 18px;
  border:2px solid #222;
  cursor: pointer;
  border-radius:5px;
  margin-top:40px;
  transition : 0.4s ease;
}

.wrkbtn:hover{
   background: none;
   border:2px solid #222;
   color: #111;
   padding: 8px 18px;

}
    @media(max-width:768px){
      .ourwork-sec .container-fluid {
         width: 100%;
         margin-right: auto;
         margin-left: auto;
         padding-right: 20px;
         padding-left: 20px;
         width: 100%;
}
   .work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  grid-auto-rows: 30vh;
}
   .work-item h4 {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  transition: 0.5s ease;
  padding: 10px;
  text-align: start;
  transform: translateY(110%);
  font-weight: 600;
  font-size: 1rem;
  border-left: 2px solid red;
  margin-left: 10px;
}
   }



  /*testimonials section*/
    .testimonials-grid{
         display:grid;
         grid-template-columns:repeat(8, 1fr);
         gap:15px;
         grid-auto-rows:40vh
     }
     .testimonials-item video{
         width:100%;
         height:100%;
         transition:all 0.8s ease;
         border-radius:5px;
         display: block;
         object-fit:cover;
     }
     .testimonials-sec{
         text-align:center;
         margin-bottom:90px;
     }
      .testimonials-sec p{
         margin-bottom:60px;
     }
      .testimonials-sec h2{
         margin-top:60px;
     }
      @media(max-width:768px){
          .testimonials-sec .container-fluid {
             width: 100%;
             margin-right: auto;
             margin-left: auto;
             padding-right: 20px;
             padding-left: 20px;
             width: 100%;
}
    .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  grid-auto-rows: 19vh;
}

  }

       /*quote section*/
    .quote-sec{
        background:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url("../img/slide2.jpg")no-repeat center/cover;
    }
    .quote-sec h1{
        color:#7fcc4e;
        font-weight: 600;
    }
    .quote-sec p{
        color:#fff!important;
        margin-top:10px;
        font-size:17px;
    }
    .quot-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
}

.quot-form input {
    width: 100%;
    padding: 12px 15px 12px 15px;
    margin-bottom: 15px;
    border-radius:5px;
    background: #fff;
    border: 1px solid #999;
    color: #222;
    font-size:15px;
   
}

.quot-form input::placeholder {
    color: #aaa;
}

.quot-form .quote-btn {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    border: 1px solid #fff;
    cursor: pointer;
    border-radius: 10px;
    transition: 0.3s ease;
}

.quote-btn:hover {
    background: #464545;
    color: #fff;
}
.quote-left{
    display:flex;
    justify-content:center;
    flex-direction:column;
}
 