/*
    Flaticon icon font: Flaticon
    Creation date: 26/06/2018 17:19
    */
@font-face {
  font-family: "Flaticon";
  src: url("./Flaticon.eot");
  src: url("./Flaticon.eot?#iefix") format("embedded-opentype"), url("./Flaticon.woff") format("woff"), url("./Flaticon.ttf") format("truetype"), url("./Flaticon.svg#Flaticon") format("svg");
  font-weight: normal;
  font-style: normal;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  @font-face {
    font-family: "Flaticon";
    src: url("./Flaticon.svg#Flaticon") format("svg");
  }
}

.fi:before {
  display: inline-block;
  font-family: "Flaticon";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  line-height: 1;
  text-decoration: inherit;
  text-rendering: optimizeLegibility;
  text-transform: none;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
}

.flaticon-skyline:before {
  content: "\f100";
}

.flaticon-sketch:before {
  content: "\f101";
}

.flaticon-city:before {
  content: "\f102";
}

/* Default styling for the icon */
.feature_item img.custom-icon {
  width: 50px;  /* Fixed size instead of percentage for better control */
  height: auto; /* Maintain aspect ratio */
  padding-bottom: 10%;
  transition: transform 0.3s ease, filter 0.3s ease; /* Smooth transition for size and color */
}

/* Hover effect: Change the icon color to orange */
.feature_item img.custom-icon:hover {
  filter: brightness(0) saturate(100%) invert(35%) sepia(89%) saturate(7483%) hue-rotate(7deg) brightness(101%) contrast(101%);
}

/* Mobile styling using media query */
@media (max-width: 768px) { /* Target screens smaller than 768px (mobile and tablet) */
  .feature_item img.custom-icon {
    width: 30px;  /* Smaller size on mobile */
    height: auto; /* Maintain aspect ratio */
  }
}
