.media-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    border:2px solid #cccccc;
  }
  .media-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border:2px solid #e67a21;
  }
  .media-item img {
    border-radius: 8px;
    width: 100%;
    height: 240px;
    object-fit: cover;
  }
  .video-box {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  }
  .btn-view-all {
    background-color: #e67a21;
    color: white;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
    border: none;
  }
  .btn-view-all:hover {
    background-color: #d56c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: white;
  }
  .btn-view-all i {
    margin-left: 8px;
  }
  /* Updated hero section styling */
#hero-media {
  width: 100%;
  height: 60vh;
  background: url("../img/slide/Extruder 7.webp") no-repeat center center;
  background-size: cover;
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9); /* Stronger text shadow */
}

/* Add a semi-transparent overlay */
#hero-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)); /* Dark gradient overlay */
  z-index: 1;
}

/* Make sure text stays on top of the overlay */
#hero-media .container {
  position: relative;
  z-index: 2;
}

/* Text styling */
#hero-media h1, 
#hero-media .lead {
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-block;
  margin: 5px 0;
}

/* Button styling - targeting the exact button in your HTML */
#hero-media .btn-outline-light {
  background-color: #e67a21; /* Orange background */
  color: white;
  border: 2px solid white; /* White border for contrast */
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-shadow: none; /* Remove text shadow from button text */
  transition: all 0.3s ease;
}

#hero-media .btn-outline-light:hover {
  background-color: #ec8932; /* Slightly lighter orange on hover */
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}
  .section-title h2 {
    position: relative;
    padding-bottom: 15px;
  }
  .section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: #e67a21; /* Changed to match button color */
    bottom: 0;
    left: calc(50% - 25px);
  }

  #abp-contact-section {
    padding: 10px 0;
  }