﻿

p{
    color:#3d4044!important;
}
section {
    scroll-margin-top: 100px;
}

 /*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 {
  top: 50%;
  left: 1%;
  transform: translateY(-50%);
  text-align: center;
  color: white;
  max-width: 700px;
  padding: 20px;
}

.content h1 {
  font-size: 3.7rem;
  margin-bottom: 20px;
  color:#74cd3c;
}

.content p {
  font-size: 18px;
  margin-bottom: 0px;
}

.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;
}
/* Slides */
.slides {
  height: 100%;
}

/* Left content */
.content-left {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
   text-align: center;
  color: white;
  max-width: 700px;
  padding: 20px;
  z-index: 2;
}

 /*Form Code */
  .form-fixed {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 420px; 
    z-index: 10;
    transition: all 0.3s ease;
  }

  .form-wrapper {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }

  .form-wrapper h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.4rem;
    text-align: center;
  }

  /* Flex Layout for Rows */
  .input-row {
    display: flex;
    gap: 10px; /* Space between side-by-side inputs */
    margin-bottom: 10px;
  }

  .input-row input {
    flex: 1; /* Makes them equal width */
    width: 0; /* Prevents overflow in flexbox */
  }

  /* Standard Inputs & Selects */
  .form-wrapper input,
  .form-wrapper select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box; /* Ensures padding doesn't break width */
  }

  /* Labels and Radio Groups */
  .field-container {
    margin-bottom: 15px;
  }

  .field-container label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
  }

  .radio-group {
    display: flex;
    gap: 20px;
    padding: 5px 0;
  }

  .radio-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
  }

  /* Logic Handling */
  .conditional-field {
    display: none;
    margin-bottom: 10px;
  }

  /* Button Styling */
  .form-wrapper button {
    width: 100%;
    padding: 12px;
    background: #2f7d32; /* Matches your brand green */
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
  }

  .form-wrapper button:hover {
    background: #1b5e20;
  }
  .mobile-fab, .close-btn { display: none; } /* Hide mobile elements on desktop */

.input-row { display: flex; gap: 10px; margin-bottom: 10px; }
.input-row input { flex: 1; padding: 10px; border: 1px solid #ccc; border-radius: 4px; }
.form-wrapper select, .form-wrapper input[type="file"] { width: 100%; padding: 10px; margin-bottom: 10px; }
.form-wrapper button { width: 100%; padding: 12px; background: #30ad35; color: white; border: none; cursor: pointer; border-radius: 4px; }


@media (max-width: 768px) {
    .hero-slider {
  position: relative;
  height: 60vh;
  overflow: hidden;
}

  /* 1. Floating Icon */
 .mobile-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background:#3ca440;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 999;

    animation: blinkGlow 1.3s infinite;
}

/* Glow Animation */
@keyframes blinkGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 255, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
    }
}

  /* 2. Dark Background Overlay */
  .overlay.active {
    display: block !important;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
  }

  /* 3. The Form Modal */
  .form-fixed {
    display: none; /* Hidden by default on mobile */
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
    width: 90% !important;
    max-width: 380px;
    z-index: 10001 !important;
    margin: 0;
  }

  /* 4. Show form when active class is added by JS */
  .form-fixed.active {
    display: block !important;
  }

  .close-btn { display: block !important; }

  .dot {
  height: 8px;
  width: 8px;
  margin: 0 6px;
  background: white;
  display: inline-block;
  border-radius: 50%;
  opacity: 0.5;
  cursor: pointer;
}
}


/*pre-loader*/
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #e8fbdc; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Center Content */
.loader-content {
    text-align: center;
}


/* Logo */
.loader-logo {
    width: 120px;
    animation: logoFade 1.5s ease-in-out;
}

/* Logo Smooth Animation */
@keyframes logoFade {
    from { transform: scale(1); opacity: 0.8; }
    to { transform: scale(1.05); opacity: 1; }
}

/* Company Name */
.loader-content p {
    color: #fff;
    font-size: 18px;
    letter-spacing: 4px;
    margin-top: 20px;
    animation: fadeText 2s ease-in-out infinite;
}

/* Text Fade Animation */
@keyframes fadeText {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}
/* Bars Loader */
.bars-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 25px;
}

.bars-loader span {
    width: 6px;
    height: 25px;
    background: #00c853; /* Green */
    border-radius: 4px;
    animation: barsBounce 1s infinite ease-in-out;
}

/* Delay each bar */
.bars-loader span:nth-child(1) { animation-delay: 0s; }
.bars-loader span:nth-child(2) { animation-delay: 0.1s; }
.bars-loader span:nth-child(3) { animation-delay: 0.2s; }
.bars-loader span:nth-child(4) { animation-delay: 0.3s; }
.bars-loader span:nth-child(5) { animation-delay: 0.4s; }

@keyframes barsBounce {
    0%, 100% {
        height: 20px;
        opacity: 0.5;
    }
    50% {
        height: 50px;
        opacity: 1;
    }
}

.loader-fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

  /*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:20px;
  transition : 0.4s ease;
}

.wrkbtn:hover{
   background: none;
   border:2px solid #222;
   color: #111;
   padding: 8px 18px;
   text-decoration: none;

}
    @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:30px;
     }
      .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;
}

  }

   /*Showcase section*/
    .show-grid{
         display:grid;
         grid-template-columns:repeat(5, 1fr);
         gap:15px;
         grid-auto-rows:35vh
     }
     .show-item img{
         width:100%;
         height:100%;
         transition:all 0.8s ease;
         border-radius:5px;
         display: block;
         object-fit:cover;
     }
     .show-sec{
         text-align:center;
         margin-bottom:30px;
     }
      .show-sec p{
         margin-bottom:60px;
     }
      .show-sec h2{
         margin-top:60px;
     }
      /* Lightbox Background */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

/* Big Image */
.modal-content {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80vh;
    object-fit:contain;
    border-radius: 10px;
    animation: zoomIn 0.3s ease;
}

/* Close Button */
.close-butn {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Zoom Animation */
@keyframes zoomIn {
    from {transform: scale(0.7);}
    to {transform: scale(1);}
}

/* Optional Hover Effect */
.show-item img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.show-item img:hover {
    transform: scale(1.05);
}
      @media(max-width:768px){
          .show-sec .container-fluid {
             width: 100%;
             margin-right: auto;
             margin-left: auto;
             padding-right: 20px;
             padding-left: 20px;
             width: 100%;
}
    .show-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  grid-auto-rows: 13vh;
}

  }

       /*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:#16c2c7;
        font-weight: 600;
        line-height: 1.4;
    }
    .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;
}
.icon{
   filter: brightness(0) invert(1);
   width:400px;
}
 @media(max-width:768px){
     .icon {
  filter: brightness(0) invert(1);
  width: 250px;
}
     .quote-left h1{
  font-size: 2rem;
}
   .quote-content{
      text-align:center;
     }
 }