/* =============================================
   Parimaar — Enhanced Animations & UX Layer
   ============================================= */

/* -----------------------------------------------
   1. Counter Cards (stats section)
----------------------------------------------- */
.counter-card {
    padding: 32px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(99,102,241, 0.06) 0%, transparent 100%);
    border: 1px solid rgba(99,102,241, 0.12);
    transition: transform .3s ease, box-shadow .3s ease;
}
.counter-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
}
.counter-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--theme-color, #6366f1);
    margin-bottom: 8px;
    line-height: 1;
}
.counter-label {
    font-size: 14px;
    font-weight: 500;
    opacity: .7;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* -----------------------------------------------
   2. Feature Box hover lift + left accent
----------------------------------------------- */
.feature-box {
    position: relative;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,.12);
}
.feature-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: var(--theme-color, #6366f1);
    border-radius: 3px 0 0 3px;
    transition: height .4s ease;
}
.feature-box:hover::before {
    height: 100%;
}

/* -----------------------------------------------
   3. Price Card hover scale
----------------------------------------------- */
.price-card {
    transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease;
}
.price-card:not(.active):hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 28px 56px rgba(0,0,0,.15);
}

/* -----------------------------------------------
   4. FAQ / Feature detail card hover
----------------------------------------------- */
.faq-card {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.faq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,.1);
    border-color: var(--theme-color, #6366f1);
}

/* -----------------------------------------------
   5. Service Box 2 hover
----------------------------------------------- */
.service-box2 {
    transition: transform .3s ease, box-shadow .3s ease;
}
.service-box2:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

/* -----------------------------------------------
   6. Hero social proof line
----------------------------------------------- */
.hero-social-proof strong {
    color: var(--theme-color, #6366f1);
}

/* -----------------------------------------------
   7. Sticky header shrink on scroll
----------------------------------------------- */
.th-header.sticky {
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.th-header.sticky .menu-area {
    padding-top: 10px;
    padding-bottom: 10px;
    transition: padding .3s ease;
}

/* -----------------------------------------------
   8. Hero gradient orb background animation
----------------------------------------------- */
@keyframes orbFloat {
    0%   { transform: translateY(0) scale(1); opacity: .35; }
    50%  { transform: translateY(-30px) scale(1.08); opacity: .5; }
    100% { transform: translateY(0) scale(1); opacity: .35; }
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(99,102,241,.35) 0%, transparent 70%);
    top: -80px;
    right: -60px;
    animation-delay: 0s;
}
.hero-orb-2 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(16,185,129,.25) 0%, transparent 70%);
    bottom: 20px;
    left: 30px;
    animation-delay: -4s;
}

/* -----------------------------------------------
   9. Process card number glow on hover
----------------------------------------------- */
.process-card {
    transition: transform .3s ease, box-shadow .3s ease;
}
.process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
}
.process-card .number {
    transition: color .3s ease, text-shadow .3s ease;
}
.process-card:hover .number {
    color: var(--theme-color, #6366f1);
    text-shadow: 0 0 20px rgba(99,102,241,.4);
}

/* -----------------------------------------------
   10. Process line scan animation
----------------------------------------------- */
hr.process-line {
    position: relative;
    overflow: visible;
}

/* -----------------------------------------------
   11. Integration icon hover
----------------------------------------------- */
.integration-icon {
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.integration-icon:hover {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

/* -----------------------------------------------
   12. Button shimmer on hover
----------------------------------------------- */
.th-btn2,
.th-btn {
    position: relative;
    overflow: hidden;
}
.th-btn2::after,
.th-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.2) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left .5s ease;
}
.th-btn2:hover::after,
.th-btn:hover::after {
    left: 150%;
}

/* -----------------------------------------------
   13. Brand logo carousel item hover
----------------------------------------------- */
.brand-item {
    transition: opacity .3s ease, transform .3s ease;
    opacity: .65;
}
.brand-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* -----------------------------------------------
   14. WhatsApp Float Button
----------------------------------------------- */
.wa-float-btn {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 9998;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.5);
    text-decoration: none;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.wa-float-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 32px rgba(37,211,102,.6);
}
.wa-float-btn i {
    font-size: 26px;
    color: #fff;
    line-height: 1;
}
.wa-float-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: .5;
    animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
    0%   { transform: scale(1);   opacity: .5; }
    70%  { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* -----------------------------------------------
   15. Testimonial box hover
----------------------------------------------- */
.testi-box {
    transition: transform .3s ease, box-shadow .3s ease;
}
.testi-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
}

/* -----------------------------------------------
   16. Service box image zoom on hover
----------------------------------------------- */
.service-box .box-img img {
    transition: transform .5s ease;
}
.service-box:hover .box-img img {
    transform: scale(1.05);
}

/* -----------------------------------------------
   17. Mobile responsive adjustments
----------------------------------------------- */
@media (max-width: 768px) {
    .hero-orb-1 { width: 200px; height: 200px; }
    .hero-orb-2 { width: 150px; height: 150px; }
    .wa-float-btn { bottom: 70px; right: 16px; width: 48px; height: 48px; }
    .wa-float-btn i { font-size: 22px; }
    .counter-number { font-size: 1.75rem; }
}
