/* =====================================================
   BLOOMSERVE RESPONSIVE V1 (CLEAN & OPTIMIZED)
===================================================== */

/* =====================================
   DESKTOP DEFAULT HIDE (Mobile Elements Desktop Par Hide Rahenge)
===================================== */
.mobile-only {
    display: none !important;
}

/* =====================================
   LARGE LAPTOPS
===================================== */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
    }

    .hero h1 {
        font-size: 64px;
    }
}

/* =====================================
   LAPTOP
===================================== */
@media (max-width: 1200px) {
    .container {
        width: 92%;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-features {
        justify-items: center;
    }

    .dashboard-window {
        max-width: 700px;
        margin: auto;
    }

    .section-title {
        font-size: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =====================================
   TABLET
===================================== */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .why-grid,
    .services-grid,
    .process-grid,
    .industry-grid,
    .downloads-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero {
        padding: 70px 0 90px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .section {
        padding: 90px 0;
    }
}

/* =====================================================
   MOBILE MENU DRAWER & OVERLAY
===================================================== */
.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #0f172a;
    padding: 6px;
}

.mobile-menu {
    position: fixed !important;
    top: 0 !important;
    right: -320px !important;
    left: auto !important;
    width: 280px !important;
    height: 100vh !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 80px 24px 30px !important;
    box-shadow: -8px 0 25px rgba(0, 0, 0, 0.15) !important;
    transition: right 0.35s ease !important;
    transform: none !important;
    z-index: 99999 !important;
    visibility: hidden;
}

.mobile-menu.active {
    right: 0 !important;
    left: auto !important;
    visibility: visible !important;
}

.mobile-menu a {
    display: block;
    width: 100%;
    font-size: 19px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    padding: 8px 0;
}

.mobile-menu .mobile-btn {
    width: 100%;
    margin-top: 15px;
    padding: 14px 18px;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #6366f1 100%) !important;
    color: #ffffff !important;
    text-align: center;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px !important;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35) !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.menu-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease !important;
    z-index: 99998 !important;
}

.menu-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* =====================================================
   UTILITIES
===================================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* =====================================
   CLEAN & NEAT MOBILE VIEW (<= 768px)
===================================== */
@media (max-width: 768px) {

    body {
        padding-bottom: 75px !important;
        background: #f8fafc !important;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .header, .navbar {
        height: 65px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #eef2f6 !important;
    }

    .logo img {
        height: 34px;
    }

    /* 1. Hero Minimal Backdrop */
    .hero {
        padding: 30px 16px 25px !important;
        text-align: center !important;
        background: radial-gradient(circle at 50% 0%, #f0f7ff 0%, #ffffff 75%) !important;
    }

    .hero-center {
        text-align: center !important;
        padding: 0 !important;
    }

    /* 2. Focused Hero Badge */
    .hero-tag,
    .hero-badge {
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        background: #eff6ff !important;
        border: 1px solid #dbeafe !important;
        color: #0b86d5 !important;
        padding: 5px 12px;
        border-radius: 99px;
        font-size: 11.5px;
        font-weight: 700;
        margin-bottom: 14px;
    }

    .pulse-dot {
        width: 6px;
        height: 6px;
        background-color: #22c55e;
        border-radius: 50%;
    }

    /* 3. Balanced Heading */
    .hero h1 {
        font-size: 26px !important;
        line-height: 1.22 !important;
        letter-spacing: -0.6px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        margin: 0 0 12px 0 !important;
        text-align: center !important;
    }

    .hero h1 br {
        display: block !important;
    }

    .hero h1 .highlight {
        color: #0b86d5 !important;
        background: none !important;
        -webkit-text-fill-color: initial !important;
    }

    /* 4. Subtitle */
    .hero-description,
    .hero p {
        font-size: 14px !important;
        line-height: 1.5 !important;
        color: #64748b !important;
        margin: 0 auto 18px !important;
        max-width: 92% !important;
        text-align: center !important;
    }

    /* 5. Desktop-Matched Vibrant Action Button (Mobile) */
    .hero-actions {
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 18px !important;
    }

    .hero-actions .btn,
    .hero-actions .hero-main-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 280px;
        padding: 14px 28px !important;
        font-size: 15.5px !important;
        font-weight: 700 !important;
        letter-spacing: -0.2px !important;
        border-radius: 16px !important;
        background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #6366f1 100%) !important;
        color: #ffffff !important;
        box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35) !important;
        border: none !important;
        text-align: center !important;
        text-decoration: none !important;
    }

    /* 6. Minimal Trust Chips */
    .hero-trust-chips {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px 12px !important;
        margin-bottom: 20px !important;
    }

    .hero-trust-chips span {
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #475569 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .hero-trust-chips span i {
        color: #16a34a;
        font-size: 11px;
    }

    /* 7. Hide Confusing Extra Graphic on Mobile */
    .mobile-hero-graphic {
        display: none !important;
    }

    /* 8. Neat 2-Column Service Tiles */
    .trust-grid.hero-five-services,
    .hero-five-services {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }

    .hero-five-services .trust-item {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;
        padding: 14px 12px !important;
        min-height: auto !important;
        text-align: left !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
        position: relative;
    }

    .hero-five-services .trust-item::before {
        display: none !important;
    }

    .hero-five-services .trust-item h3 {
        font-size: 13.5px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        line-height: 1.25 !important;
        margin-bottom: 3px !important;
    }

    .hero-five-services .trust-item small {
        font-size: 11px !important;
        line-height: 1.35 !important;
        color: #64748b !important;
        font-weight: 500 !important;
        display: block !important;
    }

    .hero-five-services .trust-item:last-child {
        grid-column: span 2 !important;
        text-align: center !important;
    }

    /* Buttons across all Cards */
    .download-card .btn,
    .cta-buttons .btn,
    .btn-primary,
    .btn-outline {
        border-radius: 12px !important;
        padding: 12px 24px !important;
        font-weight: 600 !important;
        font-size: 14.5px !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .download-card .btn {
        width: 100% !important;
        max-width: 200px;
    }

    /* Section & Content Layout */
    section,
    .section {
        padding: 36px 0 !important;
    }

    .section-title {
        font-size: 24px !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
        text-align: center !important;
    }

    .section-description {
        font-size: 14px !important;
        line-height: 1.55 !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    /* Single Column Layouts */
    .why-grid,
    .services-grid,
    .process-grid,
    .industry-grid,
    .downloads-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .why-card,
    .service-card,
    .process-card,
    .industry-card,
    .download-card,
    .testimonial-card {
        padding: 20px 18px !important;
        border-radius: 16px !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
    }

    .cta-box {
        padding: 35px 20px !important;
        border-radius: 20px !important;
    }

    .cta-box h2 {
        font-size: 26px !important;
    }

    .cta-buttons {
        flex-direction: column !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center !important;
    }
}

/* =====================================
   MOBILE BOTTOM STICKY CTA (EDGE-TO-EDGE)
===================================== */
/* =====================================
   MOBILE BOTTOM STICKY CTA (EDGE-TO-EDGE)
===================================== */
.mobile-bottom-cta {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-cta {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        height: 64px !important;
        margin: 0 !important;
        padding: 8px 14px !important;
        background: rgba(255, 255, 255, 0.92) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08) !important;
        gap: 10px !important;
        z-index: 9999 !important;
        box-sizing: border-box !important;
    }

    .mobile-bottom-cta .sticky-btn {
        flex: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        text-decoration: none !important;
        border-radius: 14px !important;
        font-size: 14.5px !important;
        font-weight: 700 !important;
        letter-spacing: -0.2px !important;
        cursor: pointer !important;
        border: none !important;
        height: 100% !important;
        font-family: inherit !important;
        transition: all 0.2s ease !important;
    }

    .mobile-bottom-cta .sticky-whatsapp {
        background-color: #ffffff !important;
        color: #16a34a !important;
        border: 1.5px solid rgba(34, 197, 94, 0.4) !important;
        box-shadow: 0 4px 12px rgba(34, 197, 94, 0.12) !important;
    }

    .mobile-bottom-cta .sticky-whatsapp i {
        font-size: 17px;
        color: #16a34a !important;
    }

    .mobile-bottom-cta .sticky-email {
        background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #6366f1 100%) !important;
        color: #ffffff !important;
        border: none !important;
        box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35) !important;
    }

    .mobile-bottom-cta .sticky-email i {
        font-size: 15px;
        color: #ffffff !important;
    }
}

/* =====================================
   SMALL MOBILES
===================================== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 25px !important;
    }

    .hero-description,
    .hero p {
        font-size: 13.5px !important;
    }

    .mobile-menu {
        width: 275px !important;
        padding: 70px 20px 20px !important;
    }
}

/* =====================================
   LARGE SCREENS
===================================== */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }

    .hero h1 {
        font-size: 78px;
    }

    .section-title {
        font-size: 60px;
    }
}