/* ==========================================================================
   Techonica India - Modern UI, Enhanced Button Shapes & Compact Mobile View
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL TYPOGRAPHY & RESET
   -------------------------------------------------------------------------- */
body, h1, h2, h3, h4, h5, h6, p, span, a, button, input {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* --------------------------------------------------------------------------
   2. GLOBAL BUTTON SHAPES & MODERN COLORS (Desktop & Global)
   -------------------------------------------------------------------------- */
.boxed-btn,
a.boxed-btn,
.main-menu li a.boxed-btn,
button.boxed-btn {
    border-radius: 30px !important;
    background: linear-gradient(135deg, #bc4b17 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 11px 26px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.4px !important;
    text-transform: capitalize !important;
    box-shadow: 0 4px 14px rgba(188, 75, 23, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.boxed-btn:hover,
a.boxed-btn:hover,
.main-menu li a.boxed-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(188, 75, 23, 0.45) !important;
    background: linear-gradient(135deg, #9a3412 0%, #c2410c 100%) !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hero Section Buttons */
.hero-cta-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: center !important;
    margin-top: 24px !important;
}

.hero-boxed-btn,
a.hero-boxed-btn {
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 28px !important;
    border-radius: 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    letter-spacing: 0.3px !important;
    margin-top: 85px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Primary Learn More Button */
.hero-boxed-btn.hero-primary-btn,
.hero-txt a.hero-boxed-btn:not(.hero-wa-btn):not(.hero-contact-btn) {
    background: linear-gradient(135deg, #bc4b17 0%, #ea580c 100%) !important;
    border: 1.5px solid transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(188, 75, 23, 0.45) !important;
}

.hero-boxed-btn.hero-primary-btn:hover,
.hero-txt a.hero-boxed-btn:not(.hero-wa-btn):not(.hero-contact-btn):hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(188, 75, 23, 0.6) !important;
    background: linear-gradient(135deg, #9a3412 0%, #c2410c 100%) !important;
    color: #ffffff !important;
}

/* WhatsApp Hero Button */
.hero-boxed-btn.hero-wa-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    border: 1.5px solid transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4) !important;
}

.hero-boxed-btn.hero-wa-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55) !important;
    color: #ffffff !important;
}

/* Contact Us Hero Button */
.hero-boxed-btn.hero-contact-btn {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
}

.hero-boxed-btn.hero-contact-btn:hover {
    background: #ffffff !important;
    color: #bc4b17 !important;
    border-color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
}

/* Intro Section 'What We Do' Button */
.intro-btn,
a.intro-btn {
    border-radius: 30px !important;
    background: #ffffff !important;
    color: #bc4b17 !important;
    border: none !important;
    padding: 11px 26px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: capitalize !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.intro-btn:hover,
a.intro-btn:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

/* Pricing Table Buttons */
.pricing-btn,
a.pricing-btn {
    border-radius: 30px !important;
    background: linear-gradient(135deg, #bc4b17 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 26px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    box-shadow: 0 4px 14px rgba(188, 75, 23, 0.3) !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    margin-top: 24px !important;
}

.pricing-btn:hover,
a.pricing-btn:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
}

/* Service & Portfolio 'Read More' Buttons */
.readmore,
a.readmore,
.readmore-btn,
a.readmore-btn {
    border-radius: 25px !important;
    padding: 8px 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.3s ease !important;
}

/* Newsletter Submit Button */
.footer-newsletter button[type="submit"] {
    border-radius: 0 25px 25px 0 !important;
    background: linear-gradient(135deg, #bc4b17 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border: none !important;
}

.footer-newsletter input[type="email"] {
    border-radius: 25px 0 0 25px !important;
}

/* --------------------------------------------------------------------------
   3. CARD SHAPES & SLEEK SHADOWS (Desktop & Global)
   -------------------------------------------------------------------------- */
/* Service Category Cards */
.single-category {
    border-radius: 16px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden !important;
}

.single-category:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 36px rgba(188, 75, 23, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(188, 75, 23, 0.25) !important;
}

/* Hero Feature Boxes */
.single-hero-feature {
    border-radius: 14px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

.single-hero-feature:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Intro Section Card */
.intro-txt {
    border-radius: 16px 0 0 16px !important;
    background: linear-gradient(135deg, #bc4b17 0%, #9a3412 100%) !important;
}

.intro-bg {
    border-radius: 0 16px 16px 0 !important;
    overflow: hidden !important;
}

/* Pricing Table */
.single-pricing-table {
    border-radius: 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
}

.single-pricing-table:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Testimonial Cards */
.single-testimonial {
    border-radius: 16px !important;
}

/* --------------------------------------------------------------------------
   4. FLOATING WHATSAPP & CALL WIDGET (Relocated to Bottom-Right)
   -------------------------------------------------------------------------- */
.techonica-floating-cta {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    left: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    z-index: 99999 !important;
}

.techonica-cta-btn {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 24px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
}

.techonica-cta-wa {
    background: #25D366 !important;
    animation: techonica-pulse-wa 2.5s infinite !important;
}

.techonica-cta-phone {
    background: linear-gradient(135deg, #bc4b17 0%, #ea580c 100%) !important;
    box-shadow: 0 4px 16px rgba(188, 75, 23, 0.4) !important;
}
.techonica-cta-phone svg {
    width: 22px !important;
    height: 22px !important;
    fill: #ffffff !important;
    display: block !important;
}

.techonica-cta-btn:hover {
    transform: scale(1.12) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35) !important;
}

.techonica-cta-tooltip {
    position: absolute !important;
    right: 62px !important;
    left: auto !important;
    white-space: nowrap !important;
    background: rgba(15, 23, 42, 0.95) !important;
    color: #ffffff !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(10px) !important;
    transition: all 0.2s ease !important;
}

.techonica-cta-btn:hover .techonica-cta-tooltip {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* --------------------------------------------------------------------------
   5. COMPACT MOBILE VIEW (Font Sizes & Sizing Reductions)
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 768px) {
    /* Hide cluttered top support info bar on mobile to eliminate header overlap */
    .support-bar-area {
        display: none !important;
    }

    /* Clean, compact navbar at top of mobile screen */
    .header-area {
        position: absolute !important;
        top: 85px !important;
        left: 0 !important;
        width: 100% !important;
    }

    .header-navbar {
        padding: 12px 0 !important;
        border-top: none !important;
    }
    
    .logo-wrapper img {
        max-height: 42px !important;
        width: auto !important;
    }

    /* COMPACT HERO SECTION (Zero Overlap, Clean Breathing Room) */
    .hero-txt {
        padding: 85px 0px 40px 0px !important;
        text-align: left !important;
    }
    
    .hero-txt span,
    .hero-txt .hero-badge {
        font-size: 11px !important;
        letter-spacing: 0.8px !important;
        text-transform: uppercase !important;
        font-weight: 700 !important;
        font-style: normal !important;
        margin-bottom: 12px !important;
        display: inline-block !important;
        background: rgba(255, 255, 255, 0.16) !important;
        padding: 4px 12px !important;
        border-radius: 20px !important;
        backdrop-filter: blur(6px) !important;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    }
    
    .hero-txt h1,
    .hero-txt .hero-title {
        font-size: 21px !important;
        line-height: 1.35 !important;
        font-weight: 700 !important;
        margin-bottom: 18px !important;
        max-width: 100% !important;
        letter-spacing: -0.2px !important;
        border-bottom: none !important;
        text-decoration: none !important;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    }
    
    .hero-cta-group {
        margin-top: 16px !important;
        gap: 8px !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }
    
    .hero-boxed-btn,
    a.hero-boxed-btn {
        padding: 9px 16px !important;
        font-size: 12px !important;
        border-radius: 25px !important;
        width: auto !important;
        height: auto !important;
        line-height: normal !important;
        flex: 1 1 auto !important;
        max-width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Compact Hero Features */
    .hero-features {
        margin-top: -20px !important;
    }
    
    .single-hero-feature {
        padding: 12px 14px !important;
        margin-bottom: 8px !important;
        border-radius: 12px !important;
    }
    
    .single-hero-feature .inner-container {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }
    
    .single-hero-feature .icon-wrapper {
        font-size: 18px !important;
        margin-bottom: 0 !important;
        width: 34px !important;
        height: 34px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }
    
    .single-hero-feature h3 {
        font-size: 13px !important;
        line-height: 1.25 !important;
        margin-bottom: 0 !important;
        font-weight: 600 !important;
    }

    /* COMPACT SECTION TITLES & PADDING */
    .intro-section,
    .service-categories,
    .approach-section,
    .statistics-section,
    .case-section,
    .testimonial-section,
    .pricing-section,
    .blog-section,
    .footer-section {
        padding: 38px 0 !important;
    }
    
    span.section-title {
        font-size: 11px !important;
        letter-spacing: 1px !important;
        margin-bottom: 4px !important;
        font-weight: 700 !important;
        font-style: normal !important;
    }
    
    h2.section-summary,
    .section-summary {
        font-size: 19px !important;
        line-height: 1.3 !important;
        margin: 6px 0 20px 0 !important;
        font-weight: 700 !important;
    }

    /* Compact Intro Section */
    .intro-txt {
        padding: 22px 16px !important;
        border-radius: 14px !important;
    }
    
    .intro-txt .section-summary {
        font-size: 18px !important;
        margin-bottom: 14px !important;
    }
    
    .intro-bg {
        border-radius: 14px !important;
        margin-top: 14px !important;
        min-height: 190px !important;
    }
    
    .intro-btn,
    a.intro-btn {
        padding: 9px 20px !important;
        font-size: 12px !important;
    }

    /* Compact Service Categories */
    .single-category {
        padding: 15px 12px !important;
        margin-bottom: 12px !important;
        border-radius: 14px !important;
    }
    
    .single-category .img-wrapper {
        width: 42px !important;
        height: 42px !important;
        margin-bottom: 8px !important;
    }
    
    .single-category .img-wrapper img {
        max-width: 32px !important;
        max-height: 32px !important;
    }
    
    .single-category h4 {
        font-size: 14px !important;
        margin-bottom: 6px !important;
        font-weight: 700 !important;
    }
    
    .single-category p {
        font-size: 12px !important;
        line-height: 1.5 !important;
        margin-bottom: 8px !important;
    }
    
    .single-category .readmore {
        font-size: 11px !important;
        padding: 5px 12px !important;
    }

    /* Compact Approach Lists */
    .approach-lists .single-approach {
        padding: 12px !important;
        margin-bottom: 10px !important;
    }
    
    .approach-text h4 {
        font-size: 14px !important;
    }
    
    .approach-text p {
        font-size: 12px !important;
    }

    /* Compact Pricing Tables */
    .single-pricing-table {
        padding: 18px 14px !important;
        margin-bottom: 15px !important;
        border-radius: 16px !important;
    }
    
    .single-pricing-table .title {
        font-size: 14px !important;
    }
    
    .single-pricing-table .price h1 {
        font-size: 24px !important;
    }
    
    .pricing-btn,
    a.pricing-btn {
        padding: 8px 20px !important;
        font-size: 12px !important;
        margin-top: 14px !important;
    }

    /* Compact Testimonial */
    .single-testimonial {
        padding: 18px 14px !important;
    }
    
    .single-testimonial .comment {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }
    
    .single-testimonial .name {
        font-size: 13px !important;
    }

    /* Floating WhatsApp & Call Buttons (Bottom-Right, Compact) */
    .techonica-floating-cta {
        bottom: 16px !important;
        right: 16px !important;
        left: auto !important;
        gap: 8px !important;
    }
    
    .techonica-cta-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 20px !important;
    }
    
    .techonica-cta-tooltip {
        display: none !important;
    }
}

/* Extra small devices (under 400px width) */
@media only screen and (max-width: 400px) {
    .hero-txt {
        padding: 100px 0px 40px 0px !important;
    }
    
    .hero-txt h1,
    .hero-txt .hero-title {
        font-size: 19px !important;
        line-height: 1.3 !important;
    }
    
    .hero-boxed-btn,
    a.hero-boxed-btn {
        padding: 8px 12px !important;
        font-size: 11px !important;
    }
    
    h2.section-summary,
    .section-summary {
        font-size: 18px !important;
    }
}
