/* Reveal on scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.reveal-left {
    transform: translateX(-30px);
}
.reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Mobile menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.mobile-menu-overlay.is-open {
    display: flex;
}
.mobile-menu-container { text-align: center; padding: 2rem; }
.mobile-menu-close {
    display: block; color: #fff; background: none; border: none;
    font-size: 3rem; cursor: pointer; margin-bottom: 2rem; line-height: 1;
}
.mobile-menu-list { list-style: none; padding: 0; margin: 0; }
.mobile-menu-list li { margin-bottom: 1.5rem; }
.mobile-menu-list a { color: #fff; font-size: 1.8rem; text-decoration: none; font-weight: 600; letter-spacing: 0.05em; }
.mobile-menu-list a:hover { color: #000F9F; }

/* Scroll to top — floating blue circle bottom-right */
#scroll-top,
.scroll-top {
    display: none;
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 44px !important;
    height: 44px !important;
    background: #000F9F !important;
    color: #fff !important;
    border-radius: 50% !important;
    border: none !important;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    z-index: 1200 !important;
    text-decoration: none !important;
    transition: background 0.2s;
    box-shadow: 0 3px 12px rgba(0,15,159,0.4);
}
#scroll-top:hover,
.scroll-top:hover { background: #0014cc !important; }
#scroll-top.is-visible,
.scroll-top.is-visible { display: flex !important; }
#scroll-top i,
.scroll-top i { display: none; }
#scroll-top::after,
.scroll-top::after { content: '↑'; font-size: 1.8rem; line-height: 1; color: #fff; }

/* Loading overlay — not needed in WP */
.loading-overlay { display: none !important; }

/* React opacity/flex overrides */
.page-wrapper {
    opacity: 1 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body { display: block !important; padding: 0 !important; }

/* Sticky header — dark background when fixed */
.sticky-content.fixed {
    background: #222 !important;
    color: #fff !important;
}
.sticky-content.fixed .main-nav .menu > li > a,
.sticky-content.fixed .logo,
.sticky-content.fixed .call {
    color: #fff !important;
}

/* Hero text — fade-in-up on page load */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-animate {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}
.hero-animate-1 { animation-delay: 0.7s; }
.hero-animate-2 { animation-delay: 1.0s; }

/* Hero section — ensure full height and left-aligned text */
.intro-section { position: relative; }
.intro-section > div[style] {
    left: calc(var(--container-offset, 2rem)) !important;
}

/* Industry carousel — uniform height, anchor to bottom to keep baked-in text labels visible */
.brand-wrap-home {
    height: 220px !important;
    overflow: hidden;
    display: flex !important;
    align-items: flex-end;
    justify-content: center;
    padding: 0 !important;
    background: #111 !important;
    border-radius: 0 !important;
}
.brand-wrap-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

/* Owl Carousel — smoother slide transition */
.owl-carousel .owl-stage {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Product cards — compact two-up layout matching live site */
.product-wrapper .owl-carousel {
    max-width: 700px;
    margin: 0 auto;
}
.product-wrap.product-three {
    max-width: 300px;
    margin: 0 auto;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: #fff;
}
.product-wrap.product-three .product-media {
    background: #f0f2f5 !important;
    padding: 2rem 2rem 1.5rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 0 !important;
}
.product-wrap.product-three .product-media img {
    max-width: 190px;
    height: auto;
    display: block;
}
.product-wrap.product-three .product-details {
    background: #000F9F !important;
    padding: 0.8rem 1.2rem !important;
    text-align: center;
}
.product-wrap.product-three .product-name {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}
.product-wrap.product-three .product-desc {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin: 0.3rem 0 0;
    line-height: 1.4;
}
