/**
 * Reporting Services Block Styles
 */

.frv-reporting-services {
  padding: 60px 0;
  background: #ffffff;
}

.frv-reporting-services h2.blue-gradient {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  background: -webkit-linear-gradient(to top, rgb(0, 112, 158), rgb(0, 132, 201));
  background: linear-gradient(to top, rgb(0, 112, 158), rgb(0, 132, 201));
  background: -o-linear-gradient(to top, rgb(0, 112, 158), rgb(0, 132, 201));
  background: -moz-linear-gradient(to top, rgb(0, 112, 158), rgb(0, 132, 201));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Icon Boxes */
.enh_icon_boxes {
  margin-bottom: 0;
}

.frv-animation-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-in-out;
}

.frv-animation-wrapper.active {
  opacity: 1;
  transform: translateY(0);
}

.frv-animation-wrapper > div {
  flex: 0 0 auto;
  margin: 0 15px;
}

.enh_icon_box {
  text-align: center;
  padding: 30px 40px;
  margin-bottom: 0;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
  min-width: 250px;
  white-space: nowrap;
}

.enh_icon_box:hover {
  transform: translateY(-10px);
}

.enh_icon_box img.service-icon {
  width: auto;
  height: 48px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease;
}

.enh_icon_box:hover img.service-icon {
  transform: scale(1.1);
}

.enh_icon_box_content h4 {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  white-space: nowrap;
}

/* Browser/Report Image Section */
.enh_browsers {
  text-align: center;
  padding: 0;
  overflow: visible;
  margin-top: -30px; /* Adjust as needed */
}

#enh_animation_block {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-in-out;
}

#enh_animation_block.active {
  opacity: 1;
  transform: translateY(0);
}

.enh_browser_img {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  min-height: 500px;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center top;
  overflow: visible;
}

/* Tablet Styles */
@media (max-width: 991px) {
  .frv-reporting-services h2.blue-gradient {
    font-size: 30px;
    margin-bottom: 40px;
  }
  
  .enh_icon_box {
    padding: 25px 30px;
    min-width: 220px;
  }
  
  .enh_icon_box img.service-icon {
    height: 40px;
  }
  
  .enh_icon_box_content h4 {
    font-size: 18px;
  }
  
  .enh_browser_img {
    height: 400px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .frv-reporting-services {
    padding: 40px 0;
  }
  
  .frv-reporting-services h2.blue-gradient {
    font-size: 26px;
    margin-bottom: 30px;
  }
  
  .enh_icon_boxes {
    margin-bottom: 40px;
  }
  
  .frv-animation-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .frv-animation-wrapper > div {
    margin: 10px 0;
    width: 100%;
    max-width: 400px;
  }

  .enh_icon_box {
    margin-bottom: 20px;
    padding: 25px 20px;
    min-width: auto;
    white-space: normal;
  }
  
  .enh_icon_box img.service-icon {
    height: 36px;
  }
  
  .enh_icon_box_content h4 {
    font-size: 16px;
    white-space: normal;
  }
  
  .enh_browser_img {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .enh_browser_img {
    height: 200px;
  }
}

