*{margin:0;padding:0;box-sizing:border-box;font-family:'Poppins',sans-serif;}
body{
  background-image: url(solar_stat.png);
  background-attachment: fixed;
  color:#2E2E2E;
  scroll-behavior:smooth;
}

/* ===== HEADER ===== */
header{
  background:#555555b2;
  padding:15px 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:fixed;
  width:100%;
  z-index:1000;
  top:0;
}
.logo img{height:45px;}
nav{display:flex;gap:30px;align-items:center;}
nav a{color:#fff;text-decoration:none;font-weight:500;padding:5px 0;transition:0.3s;}
nav a:hover{color:#1ABC9C;}
.call-btn{background:#1ABC9C;color:#000;padding:10px 22px;border-radius:25px;text-decoration:none;font-weight:600;transition:0.3s;}
.call-btn:hover{background:#16a085;transform:scale(1.05);}
.dropdown{position:relative;}
.dropbtn{color:#fff;cursor:pointer;font-weight:500;display:flex;align-items:center;gap:5px;}
.dropdown-content{position:absolute;top:35px;left:0;background:#121212;min-width:180px;display:none;flex-direction:column;border-radius:2px;box-shadow:0 10px 25px rgba(0,0,0,0.4);z-index:1000;}
.dropdown-content a{padding:12px 18px;color:#fff;text-decoration:none;font-size:0.95rem;transition:0.3s;}
.dropdown-content a:hover{background:#1ABC9C;color:#000;}
.dropdown:hover .dropdown-content{display:flex;}
.hamburger{display:none;font-size:1.8rem;color:#fff;cursor:pointer;}
@media(max-width:992px){
  nav{position:fixed;top:70px;right:-100%;width:250px;height:100%;background:#121212;flex-direction:column;gap:20px;padding:20px;transition:0.3s;}
  nav.active{right:0;}
  .hamburger{display:block;}
  .dropdown-content{position:relative;top:0;box-shadow:none;}
}

/* ===== HERO ===== */
.hero{
  position:relative;
  height:90vh;
  background:url('service3_banner.png') center/cover no-repeat;
  background-attachment: fixed;
  display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(18, 18, 18, 0.349);
}
.hero h1{
  font-size:3rem;
  background:rgba(0, 0, 0, 0);
  color:#00ffcc;
  padding:20px 40px;
  border-radius:10px;
}

/* ===== SERVICE DETAILS ===== */
.service-details{
  max-width:100%;
  font-size: 1.5rem;
  margin:auto;
  background-color: #fff;
  padding:80px 20px;
}
.process-row{
  display:flex;
  align-items:center;
  gap:40px;
  margin-bottom:80px;
  flex-wrap:wrap;
}
.process-row.reverse{
  flex-direction:row-reverse;
}
.process-text{
  flex:1;
  min-width:300px;
}
.process-text h3{font-size:1.8rem;margin-bottom:15px;color:#121212;}
.process-text p{font-size:1rem;color:#2E2E2E;line-height:1.6;}

.process-carousel{
  flex:1.5;
  border: 5px solid #1ABC9C;
  min-width:350px;
  overflow:hidden;
  background:#b6b5b5;
  padding:10px;
}
.carousel-wrapper{
  display:flex;
  gap:20px;
  width:max-content;
  animation:scrollInfinite1 12s linear infinite;
}
.carousel-wrapper img{
  width:600px;
  height:350px;
  object-fit:cover;
  border-radius:10px;
  transition:0.3s;
}
.carousel-wrapper img:hover{transform:scale(1.05);}

@keyframes scrollInfinite1{
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(-50%);
  }
}



/* Scroll animation keyframes */
@keyframes scrollCarousel1{
  0%{transform:translateX(0);}
  33%{transform:translateX(-33.33%);}
  66%{transform:translateX(-66.66%);}
  100%{transform:translateX(0);}
}
@keyframes scrollCarousel2{
  0%{transform:translateX(0);}
  33%{transform:translateX(-33.33%);}
  66%{transform:translateX(-66.66%);}
  100%{transform:translateX(0);}
}
@keyframes scrollCarousel3{
  0%{transform:translateX(0);}
  33%{transform:translateX(-33.33%);}
  66%{transform:translateX(-66.66%);}
  100%{transform:translateX(0);}
}

/* Responsive */
/* ===== MOBILE VIEW FIX ===== */
@media (max-width: 768px){

  .service-details{
    padding:50px 15px;
  }

  .process-row{
    flex-direction:column;
    gap:25px;
    margin-bottom:60px;
  }

  .process-text{
    text-align:center;
  }

  .process-text h3{
    font-size:1.5rem;
  }

  .process-text p{
    font-size:0.95rem;
    line-height:1.5;
  }

  .process-carousel{
    width:100%;
    min-width:100%;
    padding:8px;
    border-width:3px;
  }

  .carousel-wrapper{
    gap:15px;
    animation-duration:12s;
  }

  .carousel-wrapper img{
    width:85vw;   /* mobile screen ke hisaab se */
    height:200px;
    border-radius:8px;
  }
}

/* ===== TOOLS ===== */

.tools{padding:30px 40px;text-align:center;background:#fff;}
.tools h2{
    margin-bottom: 50px;
    font-size: 2rem;
}
.tools-grid{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:30px;
}
.tool-box{
  background:#16a084ad;
  padding:5px;
  border-radius:5px;
}

.tool-box img {
    width:70%;
    border-radius:5px; 
    height:120px; 
    object-fit:cover;
}

.tool-box h4{
    margin-bottom:10px;
    color:#F9F9F9;
    font-size: 1.5rem;
}
.tool-box p{
    color:#000000;
    margin-bottom:10px;
    font-size: 1.1rem;
}

/* ===== GALLERY ===== */
.gallery{padding:80px 40px;background:#F9F9F9;}
.gallery-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}
.gallery-grid img{width:100%;border-radius:10px;}

/* ===== ASK ===== */
.ask{
  padding:100px;
  text-align:center;
  background:#e0dfdf;
}
.ask a{
  display:inline-block;margin-top:20px;
  background:#1ABC9C;color:#000;
  padding:14px 30px;border-radius:30px;
  text-decoration:none;font-weight:600;
}

/* ================= STATS ================= */
.stats-section{
  background:#121212d7;
  padding:80px 20px;
}

.stats-container{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:30px;
  text-align:center;
}

.stat-box h2{
  color:#1ABC9C;
  font-size:3rem;
  transition:0.3s;
}

.stat-box h4{
  color:#fff;
  margin:10px 0;
}

.stat-box p{
  color:#CFCFCF;
  font-size:.95rem;
}

/* ===== FOOTER ===== */
footer{
  background:#121212;color:#fff;
  padding:20px 40px;
  display:flex;justify-content:space-between;
}
.social a{color:#fff;margin-left:15px;}
