/* BloomForte Icon and Layout Emergency Fix */

/* 1. FORCE HIDE ALL marquee text outside services section */
.marqueeText {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    z-index: -1 !important;
}

/* Only show marquee text in services section */
.serviceSection03 .marqueeText {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    z-index: 1 !important;
}

/* 2. Fix icon fonts - ensure proper loading */
@font-face {
  font-family: 'icomoon';
  src: url('../fonts/icomoon.eot?8lyjj2');
  src: url('../fonts/icomoon.eot?8lyjj2#iefix') format('embedded-opentype'),
       url('../fonts/icomoon.woff?8lyjj2') format('woff'),
       url('../fonts/icomoon.ttf?8lyjj2') format('truetype'),
       url('../fonts/icomoon.svg?8lyjj2#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Ensure icon classes work properly */
[class^="icon-"], [class*=" icon-"] {
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
}

/* Specific icon fixes for services */
.icon_box_09 .ib_box i {
    font-family: 'icomoon' !important;
    font-size: 48px !important;
    color: #ed1b24 !important;
    display: inline-block !important;
}

/* Force icon visibility */
.icon-local_1:before,
.icon-local_3-1:before,
.icon-local_1-1:before,
.icon-local_2:before,
.icon-local_4:before {
    font-family: 'icomoon' !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
}

/* 3. Aggressive marquee hiding for slider sections */
.slider_03 .marqueeText,
.slider_03 + .marqueeText,
.aboutSection03 + .marqueeText,
.rev_slider .marqueeText,
body .marqueeText:not(.serviceSection03 .marqueeText) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    z-index: -999 !important;
}

/* 4. Ensure services section layout works properly */
.serviceSection03 {
    position: relative;
    overflow: hidden;
}

/* 5. Fix background images */
.companySec01,
.chooseSection03 {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.companySec01 .comCon {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 6. Mobile responsive fixes */
@media (max-width: 768px) {
    .companySec01 .comCon {
        margin: 15px;
        padding: 30px 20px;
    }
    
    .icon_box_09 .ib_box i {
        font-size: 36px !important;
    }
}
