/* ================= RESET ================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, Helvetica, sans-serif;
  scroll-behavior:smooth;
}

*{
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body{
  background:#ffffff;
  color:#222;
  line-height:1.7;
}

body{
  overflow-x:hidden;
}

/* ================= NAVBAR ================= */

header{
  position: fixed;
  width: 100%;
  top: 0;
  background: #fff;
  padding: 8px 24px;
  border-bottom: 1px solid #eee;
  z-index: 1000;
}

/* FIXED CONTAINER */
.container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  max-width:1200px;
  margin:auto;
  padding:0 20px;
}

/* LOGO LEFT */
.logo img{
  height:70px;
}

/* CENTER MENU (FIXED) */
nav{
  flex:1;
  display:flex;
  justify-content:center;
}

nav ul{
  display:flex;
  gap:32px;
  list-style:none;
  align-items: center;
  margin-left: 0;
}

nav ul li a{
  text-decoration:none;
  color:#222;
  font-size:18px;
  font-weight:500;
}

nav ul li a:hover{
  color:#1fa84a;
}

/* RIGHT TEXT FIXED */
.right-nav{
  text-align:right;
  min-width:320px;
  margin-left: 80px;
}

.right-nav h3{
  font-size:17px;
  margin:0;
  color:#1fa84a;
}

.right-nav p{
  font-size:14px;
  margin: 0;
  color: black;
}

/* MOBILE */
#menu-toggle{
  display: none;
  font-size: 22px;
  margin-left: 15px;
  cursor: pointer;
}

@media(max-width:768px){

  header{
    padding: 8px 20px;
  }

  

  nav ul{
    position:absolute;
    top:60px;
    right:0;
    background:#fff;
    flex-direction:column;
    width:200px;
    display:none;
    padding:15px;
  }

  nav ul.active{
    display:flex;
  }

  #menu-toggle{
    display:block;
  }

}

/* ================= HERO SLIDER ================= */
.hero-slider{
  position:relative;
  width:100%;
  height:100vh;
  overflow:hidden;
}

.slide{
  position:absolute;
  width:100%;
  height:100vh;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:opacity 1s;
}

.slide.active{
  opacity:1;
}

.overlay{
  position:absolute;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.55);
}

.content{
  position:absolute;
  top:50%;
  left:8%;
  transform:translateY(-50%);
  color:#fff;
  max-width:700px;
}

.content h1{
  font-size:38px;
  margin-bottom:8px;
  line-height:1.2;
}

.btn{
  display:inline-block;
  margin-top:20px;
  padding:6px 17px;
  background:#1fa84a;
  color:#fff;
  text-decoration:none;
  border-radius:4px;
  transition:0.3s;
}

.btn:hover{
  background:#168a3b;
}

/* arrows */
.prev,.next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(255,255,255,0.7);
  border:none;
  padding:15px;
  cursor:pointer;
}

.prev{left:20px;}
.next{right:20px;}

/* ================= SECTIONS ================= */

/* ABOUT HERO */
.about-hero{
  height:50vh;
  background:url('image/slide2.png') center/cover;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}

.about-overlay{
  position:absolute;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
}

.about-hero-text{
  position:relative;
  color:#fff;
  text-align:center;
}

.about-hero-text h1{
  font-size:40px;
}

.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.about-right img{
  width:100%;
  border-radius:10px;
}

/* STATS */
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
  text-align:center;
}

.stat-box h1{
  font-size:40px;
  color:#1fa84a;
}

/* MISSION */
.mission-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

.mission-box{
  background:#f7f7f7;
  padding:30px;
  border-radius:8px;
}
.section{
  padding:140px 100px;
  background:#fff;
  max-width: 1200px;
  margin: auto;
}

.section:nth-child(even){
  background:#f7f7f7;
}

h2{
  font-size:32px;
  color:#1fa84a;
  margin-bottom:20px;
}

p{
  margin-bottom:15px;
}

/* ================= CARDS ================= */
.card-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
  margin-top:40px;
}

.card{
  background:#fff;
  padding:30px;
  border-radius:8px;
  border:1px solid #e5e5e5;
  transition:0.3s;
}

.card:hover{
  transform:translateY(-8px);
  border-color:#1fa84a;
}

.card h3{
  color:#1fa84a;
}

/* ================= FORM ================= */
form{
  max-width:420px;
  display:flex;
  flex-direction:column;
  gap:15px;
  margin-top:20px;
}

input,textarea{
  padding:12px;
  border:1px solid #ccc;
  border-radius:5px;
}

input:focus,textarea:focus{
  outline:none;
  border-color:#1fa84a;
}


button{
  background:#1fa84a;
  color:#fff;
  border:none;
  padding:12px;
  border-radius:5px;
  cursor:pointer;
}

button:hover{
  background:#168a3b;
}
/* ================= MOBILE ================= */
@media(max-width:768px){

  header{
    padding:15px 20px;
  }

  nav ul{
    position:absolute;
    top:70px;
    right:0;
    background:#fff;
    flex-direction:column;
    width:220px;
    display:none;
    padding:20px;
  }

  nav ul.active{
    display:flex;
  }

  #menu-toggle{
    display:block;
  }

  .section{
    padding:120px 20px;
  }

  .content h1{
    font-size:26px;
  }

}

/* SLIDER BORDER FRAME */
.content-box{
  position:absolute;
  top:50%;
  left:8%;
  transform:translateY(-50%);
  color:#fff;
  padding:40px 45px;
  border:4px solid #ffffff;
  max-width:650px;
}

.content-box h1{
  font-size:34px;
  margin-bottom:8px;
}

/* ================= ABOUT LAYOUT LIKE SCREENSHOT ================= */

.about{
  padding:120px 100px;
}

.about-wrapper{
  display:flex;
  gap:60px;
  align-items:flex-start;
}

.about-left{
  flex:1;
}

.small-heading{
  color:#888;
  font-size:14px;
}

.about-left h2{
  font-size:36px;
  margin:10px 0;
  color:#1fa84a;
}

.underline{
  width:70px;
  height:3px;
  background:#1fa84a;
  margin:15px 0 25px 0;
}

.read-btn{
  display:inline-block;
  margin-top:20px;
  padding:10px 25px;
  background: #1fa84a;
  color:#fff;
  text-decoration:none;
}

.counter-box{
  display:flex;
  margin-top:40px;
  background:#f3f3f3;
}

.counter-item{
  flex:1;
  text-align:center;
  padding:25px;
  border-right:1px solid #ddd;
}

.counter-item:last-child{
  border-right:none;
}

.counter-item h1{
  font-size:34px;
  color:#1fa84a;
}

.about-right{
  flex:1;
}

.about-img-large{
  width:100%;
  margin-bottom:20px;
}

.about-img-small{
  width:100%;
}

/* ===== IMAGE CLICK EFFECT ===== */

/* ===== ABOUT IMAGE CLICK ANIMATION ===== */

/* ===== IMAGE HOVER WHITE ANIMATION ===== */

.about-right{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:20px;
}

.img-box{
  position:relative;
  overflow:hidden;
  cursor:pointer;
  border-radius:6px;
}

/* image */
.img-box img{
  width:100%;
  display:block;
  transition:0.4s ease;
}

/* white overlay */
.img-overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:white;
  opacity:0;
  transition:0.4s ease;
}

/* HOVER EFFECT */
.img-box:hover .img-overlay{
  opacity:0.5;
}

.img-box:hover img{
  transform:scale(1.05);
}

/* ================= SERVICES SECTION ================= */

.service-main{
  /* background:whitesmoke; */
  padding:120px 80px;
  color:#1fa84a;
}

.service-container{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:50px;
}

.service-text span{
  opacity:0.8;
}

.service-text h1{
  font-size:42px;
  margin:10px 0;
}

.line{
  width:60px;
  height:3px;
  background:#1fa84a;
  margin-top:20px;
}

.service-desc{
  width:50%;
}

.service-desc p{
  line-height:1.8;
}

.arrows{
  margin-top:20px;
}

.arrows button{
  background:transparent;
  border:1px solid #1fa84a;
  color:#1fa84a;
  padding:10px 16px;
  margin-right:10px;
  cursor:pointer;
}

/* slider */
.service-slider{
  position:relative;
  width:100%;
  overflow:hidden;
}

.service-track{
  display:flex;
  gap:30px;
  transition:transform 0.6s ease;
  will-change:transform;
}

.service-track img{
  width:32%;
  height:260px;
  object-fit:cover;
}

/* ================= SERVICE CARD HOVER EFFECT ================= */

/* ===== PREMIUM SERVICE CARD ===== */

.service-card{
  min-width:300px;
  flex-shrink:0;
  text-align:center;
  background:#fff;
  border-radius:8px;
  overflow:hidden;
  position:relative;
  transition:0.4s ease;
  box-shadow:0 4px 15px rgba(0,0,0,0.08);
}

/* GREEN SLIDE BACKGROUND EFFECT */
.service-card::before{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:0%;
  background:#1fa84a;
  z-index:0;
  transition:0.4s ease;
}

.service-card:hover::before{
  height:100%;
}

/* CARD LIFT */
.service-card:hover{
  transform:translateY(-10px);
  box-shadow:0 20px 40px rgba(31,168,74,0.3);
}

/* IMAGE */
.img-wrap{
  position:relative;
  width:100%;
  height:220px;
  overflow:hidden;
  z-index:1;
}

.img-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.4s ease;
}

.service-card:hover img{
  transform:scale(1.1);
}

/* TEXT */
.service-card h3{
  padding:18px;
  font-size:17px;
  color:#1fa84a;
  position:relative;
  z-index:1;
  transition:0.4s ease;
}

/* TEXT COLOR CHANGE */
.service-card:hover h3{
  color:#fff;
}




.footer {
    background: #2f343a;
    color: #ccc;
    width: 100%;
} 
.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    width: 100%;
}

/* HEADINGS */
.footer h3,
.footer h4 {
    color: #fff;
    margin-bottom: 20px;
    /* margin-left: 200px; */
}

/* COLUMN 1 */
.footer-col p {
    font-size: 14px;
    line-height: 1.7;
   
}

.social a {
    display: inline-block;
    margin-top: 15px;
    margin-right: 10px;
    background: #3a3f45;
    padding: 10px;
    color: #f9a825;
    text-decoration: none;
}


/* ===== INDUSTRY SECTION ===== */

.industry-section{
  padding:120px 80px;
  /* background:#f7f7f7; */
  text-align:center;
}

.industry-header span{
  color:#1fa84a;
  font-weight:600;
}

.industry-header h2{
  font-size:36px;
  margin:10px 0;
}

.line{
  width:60px;
  height:3px;
  background:#1fa84a;
  margin:20px auto 50px;
}

.industry-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
}

.industry-card{
  background:#fff;
  padding:35px 25px;
  border-radius:10px;
  transition:0.4s;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
  text-decoration: none;
}

.industry-card-pro a{
  text-decoration: none;
  color: inherit;
}
.industry-card:hover{
  transform:translateY(-10px);
  background:#1fa84a;
  color:#fff;
}

.industry-card .icon{
  font-size:40px;
  margin-bottom:15px;
}

.industry-card:hover h3,
.industry-card:hover p{
  color:#fff;
}
/* LINKS */
.footer-col ul {
    list-style: none ;
    padding: 0;
   
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
    list-style: disc;
     /* margin-left: 200px; */

}

/* BOTTOM */
.footer-bottom {
  background: #ffffff;
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  width: 100%;
}

.footer-bottom span {
    color: #1fa84a;
}

.industry-card{
  opacity:0;
  transform:translateY(40px);
}

.industry-card.show{
  opacity:1;
  transform:translateY(0);
  transition:0.6s ease;
}

/* ===== PRODUCT SECTION ===== */

.product-section{
  padding:120px 80px;
  background:#ffffff;
  text-align:center;
}

.product-header span{
  color:#1fa84a;
  font-weight:600;
}

.product-header h2{
  font-size:36px;
  margin:10px 0;
}

.line{
  width:60px;
  height:3px;
  background:#1fa84a;
  margin:20px auto 50px;
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

.product-card{
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 5px 25px rgba(0,0,0,0.08);
  transition:0.4s;
}

.product-card:hover{
  transform:translateY(-10px);
}

.product-img{
  overflow:hidden;
}

.product-img img{
  width:100%;
  height:220px;
  object-fit:cover;
  transition:0.5s;
}

.product-card:hover img{
  transform:scale(1.1);
}

.product-card h3{
  margin:20px 0 10px;
  color:#1fa84a;
}

.product-card p{
  padding:0 20px 25px;
  font-size:14px;
}

.product-card{
  opacity:0;
  transform:translateY(40px);
}

.product-card.show{
  opacity:1;
  transform:translateY(0);
  transition:0.6s ease;
}






/* Different About Page  */

.about-hero{
  height: 60vh;
  background: url('image/aboutmain1.png') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark overlay for professional look */
.about-overlay{
  position:absolute;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.65);
}

.about-hero-text{
  position:relative;
  color:#fff;
  text-align:center;
}

.about-section{
  padding:120px 80px;
}

.about-wrapper{
  display:flex;
  gap:60px;
  align-items:center;
}

.about-right img{
  width:100%;
  border-radius:8px;
  margin-bottom:20px;
}

.counter-section{
  background:#f7f7f7;
  padding:80px 60px;
}

.counter-box{
  display:flex;
  justify-content:space-around;
}

.counter-item h1{
  font-size:40px;
  color:#1fa84a;
}

.why-section{
  padding:120px 80px;
  text-align:center;
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
  margin-top:40px;
}

.why-card{
  padding:30px;
  background:#fff;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
  transition:0.3s;
}

.why-card:hover{
  transform:translateY(-10px);
}

/* ACTIVE NAV LINK */
#nav-links li a.active{
  color: #1fa84a;
  font-weight: 600;
}

/* ================= MISSION & VISION ================= */

.mission-vision{
  padding:120px 80px;
  background:#f7f7f7;
}

.mv-container{
  display:flex;
  flex-direction:column;
  gap:80px;
}

.mv-card{
  display:flex;
  align-items:center;
  gap:60px;
}

.mv-card.reverse{
  flex-direction:row-reverse;
}

.mv-img{
  flex:1;
  overflow:hidden;
  border-radius:10px;
}

.mv-img img{
  width:100%;
  display:block;
  transition:0.5s ease;
}

.mv-img:hover img{
  transform:scale(1.08);
}

.mv-content{
  flex:1;
}

.mv-content h2{
  font-size:34px;
  color:#1fa84a;
  margin-bottom:15px;
}

.mv-content p{
  line-height:1.8;
  margin-bottom:15px;
}

/* Responsive */
@media(max-width:768px){
  .mv-card,
  .mv-card.reverse{
    flex-direction:column;
  }
}



/* ================= SERVICES HERO ================= */

.services-hero{
  position: relative;
  height: 400px;
  background: url('image/service.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding-left: 80px;
  color: #fff;
}

.services-overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0,40,70,0.85),
    rgba(0,0,0,0.4)
  );
  top: 0;
  left: 0;
}

.services-hero-content{
  position: relative;
  z-index: 2;
}

.services-hero-content h1{
  font-size: 52px;
  font-weight: 600;
  margin-bottom: 15px;
}

.services-hero-content p{
  font-size: 16px;
  color: #ddd;
}

.services-hero-content span{
  color: #1fa84a;
  font-weight: 500;
}



/* ================= SERVICES INTRO ================= */

.services-intro-section{
  padding:120px 100px;
  background:#f9f9f9;
  text-align:center;
}

.intro-center{
  max-width:900px;
  margin:0 auto 60px auto;
}

.mini-logo img{
  width:40px;
  margin-bottom:15px;
  opacity:0.8;
}

.intro-center h4{
  font-size:18px;
  color:#888;
  margin-bottom:25px;
  font-weight:500;
}

.intro-center p{
  font-size:18px;
  line-height:1.8;
  color:#333;
}



/* ================= SERVICES DETAIL ================= */

.services-detail-section{
  padding:120px 100px;
  background:#f4f4f4;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:50px;
}



/* IMAGE */
.detail-image{
  position:relative;
  overflow:hidden;
  border-radius:8px;
  cursor:pointer;
}

.detail-image img{
  width:100%;
  height:350px;
  object-fit:cover;
  transition:0.5s ease;
}

/* Hover zoom */
.service-detail-card:hover .detail-image img{
  transform:scale(1.05);
}

/* Overlay effect */
.image-overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:#1fa84a;
  opacity:0;
  transition:0.4s ease;
}

.detail-image:hover .image-overlay{
  opacity:0.2;
}

/* CLICK ANIMATION */
.detail-image.active img{
  transform:scale(1.1);
}

.detail-image.active .image-overlay{
  opacity:0.4;
}

/* CONTENT CARD */
.detail-content{
  background:#fff;
  padding:40px;
  border-radius:12px;
  width:85%;
  margin:-80px auto 0 auto;
  box-shadow:0 15px 40px rgba(0,0,0,0.1);
  position:relative;
  z-index:2;
}

.detail-content h2{
  font-size:26px;
  color:#1fa84a;
  margin-bottom:10px;
}

.underline{
  width:50px;
  height:3px;
  background:#1fa84a;
  margin:15px 0 25px 0;
}

.sub-text{
  font-weight:600;
  margin-bottom:15px;
}

/* Bullet style */
.detail-content ul{
  list-style:none;
  padding:0;
}

.detail-content ul li{
  margin-bottom:12px;
  padding-left:22px;
  position:relative;
  text-align: left;
}

.detail-content ul li::before{
  content:"»";
  position:absolute;
  left:0;
  color:#1fa84a;
  font-weight:bold;
}

/* RESPONSIVE */
@media(max-width:768px){

  .services-detail-section{
    padding:80px 20px;
  }

  .service-detail-card{
    grid-template-columns: 1fr;
  }

  .detail-content{
    width:95%;
  }

}

.service-link{
  text-decoration:none;
  color:inherit;
}




.footer service.html{
  width: 100%;
  margin: 0;
  padding: 0;
}

.footer-container service.html{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li::marker {
  content: "";
}


.industry-section-pro{
  padding:100px 100px;
  background:#f7f7f7;
  text-align:center;
}

.industry-top{
  max-width:800px;
  margin:0 auto 60px auto;
}

.mini-logo{
  display: flex;
  justify-content: center;
  align-items: center;
}

.mini-logo img{
  width: 50px; /* adjust size if needed */
}

.industry-top h4{
  color:#1fa84a;
  margin-bottom:20px;
}

.industry-top p{
  font-size:15px;
  line-height:1.7;
}

.industry-grid-pro{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

.industry-card-pro{
  background:#fff;
  padding:40px 20px;
  position:relative;
  border:1px solid #e5e5e5;
  transition:0.4s;
}



.industry-card-pro{
  scroll-margin-top:120px;
}

.industry-card-inner{
  border:2px dashed #1fa84a;
  padding:30px;
}

.industry-card-inner h3{
  margin-bottom:15px;
  color:#1fa84a;
}

.industry-card-inner p{
  font-size:14px;
}

.industry-btn{
  display:inline-block;
  margin-top:20px;
  padding:10px 20px;
  background:#1fa84a;
  color:#fff;
  text-decoration:none;
  font-size:14px;
  transition:0.3s;
}

.industry-btn:hover{
  background:#0f7a34;
}

.industry-card-pro:hover{
  transform:translateY(-8px);
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

@media(max-width:992px){
  .industry-grid-pro{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:768px){
  .industry-grid-pro{
    grid-template-columns:1fr;
  }

  .industry-section-pro{
    padding:60px 20px;
  }
}



.industry-hero{
  position:relative;
  height:55vh;
  background:url("image/industry.jfif") center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  text-align: left;
}

.industry-overlay{
  position:absolute;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.65);
  top:0;
  left:0;
}

.industry-hero-content{
  position:relative;
  color:#fff;
  text-align:center;
  z-index:2;
}

.industry-hero-content h1{
  font-size:48px;
  margin-bottom:15px;
  letter-spacing:1px;
}

.industry-hero-content p{
  font-size:16px;
}

.industry-hero-content span{
  color:#1fa84a;
  font-weight:600;
}



/* error in hero section */
.slide {
  pointer-events: none;
}

.slide.active{
  pointer-events: auto;
}

/*  end of error.; */



/* INDUSTRY MINI LOGO */


/* INDUSTRY MINI LOGO FIX */
.mini-logo1{
  width:60px !important;
  height:auto !important;
  display:block !important;
  margin:0 auto 15px auto !important;
}


/* ================= HOME PRODUCT SECTION ================= */

.home-product-section{
  padding:100px 80px;
  background:#f9f9f9;
  text-align:center;
}

.section-title h2{
  font-size:32px;
  color:#1f8a70;
  margin-bottom:10px;
}

.title-line{
  width:60px;
  height:3px;
  background:#1f8a70;
  margin:15px auto 50px;
}

/* GRID */
.home-product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:40px;
}

/* CARD */
.home-product-card{
  background:#fff;
  border-radius:12px;
  padding:25px;
  box-shadow:0 8px 25px rgba(0,0,0,0.08);
  transition:all 0.4s ease;
  transform:translateY(30px);
  opacity:0;
  animation:fadeUp 0.8s forwards;
}

.home-product-card:hover{
  transform:translateY(-10px);
  box-shadow:0 20px 40px rgba(31,138,112,0.25);
}

/* IMAGE */
.home-product-img{
  height:200px;
  overflow:hidden;
  margin-bottom:20px;
}

.home-product-img img{
  width:100%;
  height:100%;
  object-fit:contain;
  transition:0.4s ease;
}

.home-product-card:hover img{
  transform:scale(1.08);
}

/* TEXT */
.home-product-card h3{
  color:#1f8a70;
  font-size:16px;
  margin-bottom:10px;
}

/* BUTTON */
.view-btn{
  margin-top:10px;
  padding:8px 18px;
  border:none;
  background:#1f8a70;
  color:#fff;
  border-radius:5px;
  cursor:pointer;
  transition:0.3s ease;
}

.view-btn:hover{
  background:#166d58;
}

/* HIDDEN DESCRIPTION */
.product-extra{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.5s ease, opacity 0.4s ease;
  opacity:0;
  margin-top:10px;
}

.product-extra p{
  font-size:14px;
  color:#444;
}

/* ACTIVE STATE */
.home-product-card.active .product-extra{
  max-height:150px;
  opacity:1;
}

/* ANIMATION */
@keyframes fadeUp{
  to{
    transform:translateY(0);
    opacity:1;
  }
}

/* RESPONSIVE */
@media(max-width:768px){
  .home-product-section{
    padding:60px 20px;
  }
}


/* PRODUCT TOP INTRO */
.product-top{
  text-align:center;
  margin-bottom:60px;
}

.product-mini-logo{
  width:60px;
  display:block;
  margin:0 auto 15px auto;
}

.product-top h4{
  color:#888;
  font-weight:500;
  margin-bottom:10px;
}

.product-top h2{
  font-size:32px;
  color:#1f8a70;
}

.title-line{
  width:60px;
  height:3px;
  background:#1f8a70;
  margin:15px auto 0;
}

/* ================= PRODUCT HERO ================= */

.product-hero{
  position:relative;
  height:50vh;
  background:url("image/product1bg.webp") center/cover no-repeat;
  display:flex;
  align-items:center;
  padding-left:80px;
  color:#fff;
  margin-top:90px; /* adjust based on navbar height */
}

.product-overlay{
  position:absolute;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.65);
  top:0;
  left:0;
}

.product-hero-content{
  position:relative;
  z-index:2;
}

.product-hero-content h1{
  font-size:52px;
  font-weight:600;
  margin-bottom:15px;
}

.product-hero-content span{
  color:#1f8a70;
  font-weight:600;
}

.product-hero-content p{
  font-size:16px;
  color:#ddd;
}

/* Responsive */
@media(max-width:768px){
  .product-hero{
    height:40vh;
    padding-left:20px;
  }

  .product-hero-content h1{
    font-size:36px;
  }
}

.brand-title{
  font-weight:600;
  margin-top:10px;
  margin-bottom:8px;
  color:#1f8a70;
}

.brand-list{
  list-style:none;
  padding:0;
}

.brand-list li{
  font-size:14px;
  margin-bottom:6px;
  padding-left:18px;
  position:relative;
}

.brand-list li::before{
  content:"▸";
  position:absolute;
  left:0;
  color:#1f8a70;
  font-weight:bold;
}
.home-product-card.active .product-extra{
  max-height:600px;
  opacity:1;
}


@media (max-width:768px){

  .container{
      padding:10px;
  }

  .grid{
      flex-direction:column;
  }

}

/* ================= MOBILE FIX (ADD AT END) ================= */

@media (max-width:768px){

/* container fix */
.container{
  max-width:100%;
  padding:0 15px;
}

/* remove big margin in navbar */
nav ul{
  margin-left:0;
}

/* right nav text hide for small screens */
.right-nav{
  display:none;
}

/* sections padding reduce */
.section,
.about,
.service-main,
.services-intro-section,
.services-detail-section,
.product-section,
.home-product-section,
.industry-section,
.industry-section-pro,
.why-section,
.mission-vision{
  padding:60px 20px;
}

/* grids become single column */
.about-grid,
.mission-grid,
.services-detail-section,
.about-wrapper,
.mv-card,
.service-container{
  grid-template-columns:1fr;
  flex-direction:column;
}

/* stats responsive */
.stats-grid{
  grid-template-columns:1fr 1fr;
}

/* footer responsive */
.footer-container{
  grid-template-columns:1fr;
  text-align:center;
}

/* service images responsive */
.service-track img{
  width:100%;
  height:200px;
}

/* hero text responsive */
.content{
  left:20px;
  right:20px;
  max-width:100%;
}

.content h1{
  font-size:26px;
}

/* hero content box */
.content-box{
  left:20px;
  right:20px;
  padding:25px;
  max-width:100%;
}

/* services hero */
.services-hero{
  padding-left:20px;
}

.services-hero-content h1{
  font-size:32px;
}

/* product hero */
.product-hero{
  padding-left:20px;
}

.product-hero-content h1{
  font-size:34px;
}

/* industry grid */
.industry-grid-pro{
  grid-template-columns:1fr;
}

/* product grid */
.product-grid{
  grid-template-columns:1fr;
}

/* cards */
.card-container{
  grid-template-columns:1fr;
}

.home-product-grid{
  grid-template-columns:1fr;
}

/* images always responsive */
img{
  max-width:100%;
  height:auto;
}

}

@media (max-width:768px){

nav ul{
  margin-left:0;
}

.section,
.service-main,
.services-intro-section,
.product-section,
.industry-section{
  padding:60px 20px;
}

.container{
  flex-wrap:wrap;
}

}

@media (max-width:768px){

.industry-grid{
  grid-template-columns:1fr;
}

.industry-section{
  padding:60px 20px;
}

}