/* Ensure Swiper arrows visible and use themify icons */
.hero-slider .swiper-button-prev:before,
.hero-slider .swiper-button-next:before {
    font-family: "themify" !important;
    color: #fff;
}

/* If arrows are hidden by style, show them on desktop */
@media (min-width: 992px) {

    .hero-style-1 .swiper-button-next,
    .hero-style-1 .swiper-button-prev {
        display: block !important;
    }
}

/* Service grid icon sizing when using flaticon */
.service-grids .grid i[class^="fi flaticon-"],
.feature-grid i[class^="fi flaticon-"],
.service-grids .grid i[class*=" flaticon-"],
.feature-grid i[class*=" flaticon-"] {
    font-size: 42px;
    line-height: 1;
}

/* Ensure main menu and dropdowns stack above header CTA on desktop */
@media (min-width: 992px) {

    /* Elevate navbar and dropdowns */
    .header-style-1 #navbar {
        position: relative;
        z-index: 1001;
        /* leave room for the CTA container on the right */
        margin-right: 180px;
    }

    .header-style-1 #navbar>ul .sub-menu {
        z-index: 1002;
    }

    /* Keep CTA container below the nav dropdowns */
    .header-style-1 .cart-search-contact {
        z-index: 100;
    }
}

/* Give a bit more room on very wide screens */
@media (min-width: 1200px) {
    .header-style-1 #navbar {
        margin-right: 220px;
    }
}

/* Marquee text animation for topbar */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
    height: 40px;
    display: flex;
    align-items: center;
}

.marquee-text {
    display: inline-block;
    animation: marquee 20s linear infinite;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    padding-left: 100%;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Pause marquee on hover */
.marquee-container:hover .marquee-text {
    animation-play-state: paused;
}

/* Responsive adjustments for marquee */
@media (max-width: 767px) {
    .marquee-text {
        font-size: 12px;
        animation-duration: 15s;
    }
}
/* F.O.R identity: a readable wordmark across the original and sticky headers. */
.header-style-1 .navbar-brand img { max-width: 236px; width: 236px; height: 64px; object-fit: contain; object-position: left center; }
.header-style-1 .navbar-brand { margin-top: 2px; padding-top: 12px; padding-bottom: 12px; }
.for-footer-brand { display: inline-block; margin-bottom: 28px; }
.for-footer-brand img { width: 236px; height: 64px; object-fit: contain; object-position: left center; }
@media (max-width: 1199px) and (min-width: 992px) {
    .header-style-1 .navbar-brand img { width: 205px; max-width: 205px; }
    .header-style-1 #navbar > ul > li > a { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 767px) {
    .header-style-1 .navbar-brand img { width: 210px; max-width: 210px; height: 58px; }
    .header-style-1 .navbar-brand { padding-top: 8px; padding-bottom: 8px; }
    .for-footer-brand { margin-bottom: 20px; }
}
