* {

  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;

    text-transform: capitalize;
  
}



body{
  text-transform: capitalize;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}


.main-our {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  background: url('https://source.unsplash.com/1600x900/?cyberpunk,technology') no-repeat center center/cover;
  /* background-image: url(../img/bigstock-Manufacturing-Of-Petroleum-Ind-252424798.jpg); */
  flex-direction: column;
  padding: 20px;
  margin-bottom:-20px;
  position: relative;
  overflow: hidden;
}
.main-our::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(48, 104, 75);
  background: linear-gradient(90deg, rgb(18, 66, 41) 0%, rgb(18, 60, 37) 55%, rgba(7, 55, 27, 0.916) 69%);
  z-index: -1;
}
.our-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
}
.card {
  background: linear-gradient(145deg, #466b46, #118f3b);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  width: 340px;
  text-align: center;
  transition: transform 0.4s ease-in-out, box-shadow 0.4s, background 0.4s;
  position: relative;
  overflow: hidden;
  color: white;
  border: 2px solid rgba(0, 255, 100, 0.5);
  transform: perspective(1200px); /* Increased Perspective for stronger 3D effect */
  z-index: 1;
}
.card:hover {
  transform: translateY(-20px) scale(1.1) rotateY(10deg); /* Slight zoom and tilt */
 
  z-index: 2;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 255, 100, 0.1);
  transform: scale(0);
  transition: transform 0.4s;
}
.card:hover::before {
  transform: scale(1);
}
h2 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 24px;
  position: relative;
  transition: font-size 0.3s, color 0.3s;
}
.card p{  color: #d4f8d4;
  font-size: 16px;
  position: relative;
  transition: color 0.3s;
}
.card i {
  font-size: 50px;
  margin-bottom: 20px;
  color: #fff;
  transition: transform 0.4s ease, scale 0.4s ease-in-out, filter 0.4s, rotate 0.4s;
}
.card:hover i {
  transform: scale(1.3) rotate(360deg); /* Rotate and enlarge icon on hover */
  filter: drop-shadow(0 0 10px rgba(0, 255, 100, 0.7)); /* Soft glow around icon */
}
.card:hover h2, .card:hover p {
  color: #fff;
  background: linear-gradient(45deg, #fff, #fff); /* Gradient text on hover */
  -webkit-background-clip: text;
  color: transparent;
}
.card:hover {
  box-shadow: 0px 0px 30px 10px rgba(0, 255, 100, 0.8); /* Enhanced shadow */
}
@media (max-width: 768px) {
  .container {
      flex-direction: column;
      align-items: center;
  }
  .card:hover {
    transform: translateY(-5px) scale(1) rotateY(10deg); /* Slight zoom and tilt */
   
    z-index: 2;
  }
  .card {
    background: linear-gradient(145deg, #004d00, #00cc44);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    width: 300px;
    text-align: center;
    transition: transform 0.4s ease-in-out, box-shadow 0.4s, background 0.4s;
    position: relative;
    overflow: hidden;
    color: white;
    border: 2px solid rgba(0, 255, 100, 0.5);
    transform: perspective(1200px); /* Increased Perspective for stronger 3D effect */
    z-index: 1;

  }
  
}
