/* ==========================================================================
   RESPONSIVE STYLES - Bharat Compliance
   ========================================================================== */

/* Max Width Container */
@media (min-width:1400px) {
    .container {
        max-width: 1300px;
    }
}

/* Large Desktops */
@media (max-width:1199.98px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

/* Tablets & Small Desktops */
@media (max-width:991.98px) {
    .announcement-bar {
        display: none;
    }

    section {
        padding: 54px 0 !important;
    }

    .section-padding {
        padding: 3.2rem 0 !important;
    }

    /* Navbar */
    .navbar-collapse {
        display: none !important;
    }



    /* Hero */
    .hero-section {
        height: auto;
        min-height: 420px;
    }

    .hero-content {
        padding: 1.75rem;
        max-width: 100%;
        margin: 0 15px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    /* Timeline */
    .timeline-wrapper::before {
        left: 22px;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        padding-right: 0;
        padding-left: 55px;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 55px;
        padding-right: 0;
    }

    .timeline-dot {
        left: 11px !important;
        right: auto !important;
        top: 14px;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: 11px !important;
        right: auto !important;
    }

    /* Footer */
    .footer-policy-grid {
        display: block;
    }

    .footer-top .row>[class*="col-"] {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-top .row>[class*="col-"]:not(:first-child) {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* Chatbot window */
    .chatbot-window {
        right: 8px;
        bottom: 62px;
        width: 310px;
        height: 400px;
    }

    /* Contact form */
    .contact-form-wrapper {
        margin-top: 2rem;
    }

    /* Solution card */
    .solution-card {
        margin-top: 1.5rem;
    }
}

/* Tablets Portrait */
@media (max-width:767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: .97rem;
    }

    .hero-content {
        background: rgba(0, 0, 0, .45);
    }

    .section-title {
        font-size: 1.95rem;
    }

    .trust-image-wrapper {
        margin-bottom: 2rem;
    }

    .service-card {
        margin-bottom: 0;
    }

    .stat-card {
        margin-bottom: 1rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .trust-badge {
        display: none;
    }

    .page-header {
        padding: 60px 0 48px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .post-detail-header {
        padding: 70px 0;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .chatbot-float {
        bottom: 88px;
    }
}

/* Small Phones */
@media (max-width:575.98px) {
    .hero-content {
        margin: 0 8px;
        padding: 1.25rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .col-md-6 {
        margin-bottom: 8px;
    }

    .chatbot-window {
        width: calc(100vw - 32px);
        right: 16px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 24px;
        bottom: 20px;
        right: 16px;
    }

    .chatbot-float {
        right: 16px;
        bottom: 84px;
    }

    .chatbot-trigger {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .timeline-item {
        padding-left: 42px;
    }

    .timeline-wrapper::before {
        left: 14px;
    }

    .timeline-dot {
        left: 3px !important;
    }
}

/* Touch optimization */
@media (hover:none) and (pointer:coarse) {

    .nav-link,
    .btn,
    .footer-links a,
    .accordion-button {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="search"],
    input[type="tel"],
    input[type="url"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px;
    }
}

/* No horizontal scroll anywhere */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}