/* ─── Interactive Enhancements ──────────────────────────────────────── */

/* ─── Hero slider ─── */
.hero-10{
    margin-top: 10px !important;
}
#hero .hero-style10 {
    padding: 160px 0 220px 0 !important;
}
#hero .hero-title {
    font-size: 100px !important;
    line-height: 1.05 !important;
    margin-bottom: 16px !important;
        margin-top: 100px;
}
#hero .hero-subtitle {
    font-size: 18px !important;
    margin-bottom: 12px !important;
}
#hero .hero-desc {
    font-size: 16px !important;
    margin-bottom: 28px !important;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    #hero .hero-style10 { padding: 120px 0 170px 0 !important; }
    #hero .hero-title   { font-size: 72px !important; }
}
@media (max-width: 991px) {
    #hero .hero-style10 { padding: 100px 0 140px 0 !important; }
    #hero .hero-title   { font-size: 54px !important; }
}
@media (max-width: 767px) {
    #hero .hero-style10 { padding: 70px 0 100px 0 !important; }
    #hero .hero-title   { font-size: 36px !important; line-height: 1.15 !important; }
    #hero .hero-desc    { font-size: 14px !important; }
}

/* Scroll-reveal base */
.ir-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .6s ease, transform .6s ease;
}
.ir-reveal.ir-visible {
    opacity: 1;
    transform: translateY(0);
}
.ir-reveal.ir-delay-1 { transition-delay: .1s; }
.ir-reveal.ir-delay-2 { transition-delay: .2s; }
.ir-reveal.ir-delay-3 { transition-delay: .3s; }
.ir-reveal.ir-delay-4 { transition-delay: .4s; }
.ir-reveal.ir-delay-5 { transition-delay: .5s; }
.ir-reveal.ir-delay-6 { transition-delay: .6s; }

/* ─── Typed cursor ─── */
.typed-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: currentColor;
    margin-left: 3px;
    vertical-align: middle;
    animation: ir-blink .7s step-end infinite;
}
@keyframes ir-blink { 50% { opacity: 0; } }

/* ─── 3D Tilt cards ─── */
.ir-tilt {
    transform-style: preserve-3d;
    transition: box-shadow .35s ease;
}
.ir-tilt:hover {
    box-shadow: 0 25px 50px rgba(11,89,219,.18);
    z-index: 2;
}
.ir-tilt .ir-tilt-inner {
    transition: transform .35s ease;
    will-change: transform;
}

/* ─── Service card enhanced hover ─── */
.service-box.service-style-1 {
    transition: transform .35s ease, box-shadow .35s ease;
    position: relative;
    overflow: hidden;
}
.service-box.service-style-1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,89,219,.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 0;
    pointer-events: none;
}
.service-box.service-style-1:hover { transform: translateY(-10px); }
.service-box.service-style-1:hover::before { opacity: 1; }
.service-box.service-style-1 .service-icon i {
    transition: transform .4s cubic-bezier(.34,1.56,.64,1), color .3s;
}
.service-box.service-style-1:hover .service-icon i {
    transform: rotateY(180deg) scale(1.1);
    color: var(--theme-color, #0B59DB);
}

/* ─── Feature card style2 enhanced hover ─── */
.feature-card.style2 {
    transition: transform .3s ease, box-shadow .3s ease, background .3s;
    position: relative;
    overflow: hidden;
}
.feature-card.style2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--theme-color, #0B59DB);
    transition: width .4s ease;
}
.feature-card.style2:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(11,89,219,.14); }
.feature-card.style2:hover::after { width: 100%; }
.feature-card.style2 .feature-card_icon i {
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
    display: inline-block;
}
.feature-card.style2:hover .feature-card_icon i { transform: scale(1.3) rotate(-10deg); }

/* ─── Feature card (industry) hover ─── */
.feature-card:not(.style2) {
    transition: transform .3s ease, box-shadow .3s ease;
    border-radius: 12px;
    padding: 24px 12px;
}
.feature-card:not(.style2):hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(11,89,219,.12);
    background: #fff;
}
.feature-card:not(.style2) .feature-card_icon {
    transition: background .3s, transform .3s;
}
.feature-card:not(.style2):hover .feature-card_icon {
    background: var(--theme-color, #0B59DB);
    transform: scale(1.1);
}
.feature-card:not(.style2):hover .feature-card_icon i {
    color: #fff !important;
}

/* ─── Service box style2 (featured services) ─── */
.service-box.service-style-2 {
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
}
.service-box.service-style-2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11,89,219,.12);
}
.service-box.service-style-2 .service-icon-wrap i {
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
    display: inline-block;
}
.service-box.service-style-2:hover .service-icon-wrap i { transform: scale(1.2) rotate(15deg); }

/* ─── Ripple effect on buttons ─── */
.th-btn { position: relative; overflow: hidden; }
.ir-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
    transform: scale(0);
    animation: ir-ripple-anim .55s linear;
    pointer-events: none;
}
@keyframes ir-ripple-anim {
    to { transform: scale(4); opacity: 0; }
}

/* ─── Magnetic button wrapper ─── */
.ir-magnetic { display: inline-block; }

/* ─── Counter card pulse ─── */
.counter-card.style3 {
    transition: transform .3s ease, box-shadow .3s ease;
}
.counter-card.style3:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(0,0,0,.25);
}

/* ─── Particles canvas (stats section) ─── */
#ir-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.counter-sec2 { position: relative; }
.counter-sec2 .container { position: relative; z-index: 1; }

/* ─── AI product stats animated rings ─── */
.ir-ring-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ir-ring-svg { transform: rotate(-90deg); }
.ir-ring-track { fill: none; stroke: rgba(1,180,228,.15); stroke-width: 6; }
.ir-ring-progress {
    fill: none;
    stroke: #01B4E4;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.4s cubic-bezier(.4,0,.2,1);
}
.ir-ring-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #01B4E4;
    margin-top: 8px;
}
.ir-ring-sublabel {
    font-size: .75rem;
    color: rgba(255,255,255,.7);
    margin-top: 2px;
}

/* ─── Floating animation (about badge) ─── */
.about-award-box {
    animation: ir-float 3s ease-in-out infinite;
}
@keyframes ir-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* ─── CTA gradient animation ─── */
.cta-sec6.theme-bg {
    background-size: 200% 200%;
    animation: ir-gradient 6s ease infinite;
}
@keyframes ir-gradient {
    0%   { background-position: 0% 50%;   }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%;   }
}

/* ─── Hero mouse-parallax layer ─── */
.ir-parallax-layer {
    will-change: transform;
    transition: transform .08s linear;
}

/* ─── Scroll-to-top button pulse ─── */
.scroll-top.show {
    animation: ir-pulse-ring 2s ease infinite;
}
@keyframes ir-pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(11,89,219,.4); }
    70%  { box-shadow: 0 0 0 12px rgba(11,89,219,0); }
    100% { box-shadow: 0 0 0 0 rgba(11,89,219,0); }
}

/* ─── Brand box — fix theme's absolute-positioned img ─── */
.brand-area .brand-box {
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    transition: transform .3s ease, box-shadow .3s ease, background .3s;
}
.brand-area .brand-box img {
    position: static !important;
    max-height: 50px !important;
    max-width: 140px !important;
    width: auto !important;
    object-fit: contain;
    /* theme already applies grayscale on .brand-box — no inline needed */
    opacity: .75;
    transition: opacity .3s;
}
.brand-area .brand-box:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    background: rgba(255,255,255,.08);
}
.brand-area .brand-box:hover img {
    opacity: 1;
}
.brand-area .brand-name {
    font-weight: 600;
    opacity: .7;
    transition: opacity .3s;
}
.brand-area .brand-box:hover .brand-name { opacity: 1; }
