/**
 * Vyaplin Business Solutions - Responsive Stylesheet
 * Tested Viewports: 360px, 375px, 390px, 414px, 768px, 1024px, 1280px, 1440px, 1920px
 */

/* ==========================================================================
   Small Mobile Devices (360px - 414px)
   ========================================================================== */
@media (max-width: 389.98px) {
    .navbar-logo {
        max-width: 130px !important;
        height: auto !important;
    }
    .btn-sm.btn-vyaplin-pill {
        padding: 0.4rem 0.85rem !important;
        font-size: 0.82rem !important;
    }
    .hero-title {
        font-size: 1.95rem !important;
    }
}

@media (max-width: 575.98px) {
    .section-hero {
        padding: 2.25rem 0 3.5rem;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 0.35rem 0.85rem;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-title {
        font-size: 2.15rem;
        margin-bottom: 1.15rem;
    }

    .hero-subtitle {
        font-size: 0.98rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem !important;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Stats Counter: 2x2 Grid with clean borders */
    .section-stats-bar {
        margin-top: 0;
        padding-top: 1.5rem;
    }

    .stats-card-container {
        padding: 1.25rem 1rem;
    }

    .stat-divider {
        border-right: none !important;
    }

    .stat-item {
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid var(--border-color);
    }

    .stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Services & Pillars */
    .pillar-card,
    .service-card,
    .process-step-card,
    .pricing-card {
        padding: 1.75rem 1.25rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .section-description {
        font-size: 0.95rem;
    }

    .services-filter-nav {
        gap: 0.35rem;
    }

    .services-filter-btn {
        font-size: 0.82rem;
        padding: 0.45rem 1rem;
    }

    /* Floating Action Buttons */
    .floating-whatsapp-widget {
        bottom: 16px;
        right: 16px;
        width: 46px;
        height: 46px;
        font-size: 1.4rem;
    }

    .btn-back-to-top {
        bottom: 16px;
        right: 70px;
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    /* Form Panel */
    .contact-form-panel {
        padding: 2rem 1.25rem;
    }

    .contact-info-panel {
        padding: 2rem 1.25rem;
    }

    /* PDF Exact Design Mobile Adjustments */
    .section-pdf-hero {
        padding: 2rem 0;
        text-align: left;
    }

    .pdf-hero-title {
        font-size: 2.15rem !important;
        line-height: 1.16;
    }

    .pdf-hero-sub {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .pdf-hero-img {
        margin-top: 1.5rem;
    }

    .stats-pdf-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem 0.75rem !important;
    }

    .stat-pdf-item {
        justify-content: flex-start !important;
        padding: 0.25rem !important;
        gap: 0.75rem !important;
    }

    .stat-pdf-icon-wrap {
        width: 44px !important;
        height: 44px !important;
    }

    .stat-pdf-icon-img {
        width: 42px !important;
        height: 42px !important;
    }

    .stat-pdf-num {
        font-size: 1.5rem !important;
    }

    .stat-pdf-label {
        font-size: 0.78rem !important;
    }
}

/* ==========================================================================
   Tablets & Medium Screens (576px - 991px)
   ========================================================================== */
@media (min-width: 576px) and (max-width: 991.98px) {
    .stats-pdf-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    .section-hero {
        padding: 3rem 0 4rem;
    }

    .hero-title {
        font-size: 2.85rem;
    }

    .stats-card-container {
        padding: 1.5rem;
    }

    .stat-divider {
        border-right: none;
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid var(--border-color);
    }

    .stat-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--border-color);
    }
}

/* ==========================================================================
   Laptops & Desktops (992px - 1439px)
   ========================================================================== */
@media (min-width: 992px) {
    .hero-visual-wrapper {
        padding-left: 2rem;
    }
}

/* ==========================================================================
   Large Desktops & 4K (1440px - 1920px)
   ========================================================================== */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }

    .hero-title {
        font-size: 4.2rem;
    }

    .section-hero {
        padding: 4.5rem 0 6rem;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1440px;
    }

    body {
        font-size: 17px;
    }
}

