/* ==========================================================================
   VISHWANETRA INTEGRATED SOLUTION PVT. LTD.
   Responsive Adjustments & Breakpoint Rules
   ========================================================================== */

/* Large Desktops and Monitors (up to 1200px) */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.75rem;
    }
    .stepper-horizontal::before {
        left: 20px;
        right: 20px;
    }
}

/* Tablets and Medium Devices (up to 991px) */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 4.5rem 0 3.5rem;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

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

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

    .navbar-corporate .navbar-collapse {
        background-color: #ffffff;
        padding: 1.25rem;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        margin-top: 0.75rem;
    }

    .navbar-corporate .nav-link.active::after {
        display: none;
    }

    .navbar-corporate .nav-link {
        padding: 0.75rem 0.5rem !important;
        border-bottom: 1px solid #F1F5F9;
    }

    .navbar-corporate .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        background-color: #F8FAFC;
    }

    /* Convert horizontal stepper to stacked responsive timeline on tablet & mobile */
    .stepper-horizontal {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .stepper-horizontal::before {
        display: none;
    }

    .stepper-step {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 1.25rem;
        padding: 1.25rem;
        background: #ffffff;
        border-radius: 10px;
        border: 1px solid var(--border-color);
        box-shadow: var(--card-shadow);
    }

    .step-circle {
        margin: 0;
        flex-shrink: 0;
    }

    /* Vertical Timeline full-width on tablet & mobile */
    .timeline-vertical::before {
        left: 25px;
    }

    .timeline-badge {
        left: 25px;
    }

    .timeline-panel {
        width: calc(100% - 65px);
        float: right !important;
        margin-left: 65px;
    }

    .top-bar {
        display: none;
    }

    .cta-banner {
        padding: 3rem 1.5rem;
        text-align: center;
    }

    .cta-banner .d-flex {
        justify-content: center !important;
    }
}

/* Smartphones and Small Devices (up to 767px) */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.25;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .page-banner {
        padding: 3.5rem 0 2.5rem;
    }

    .page-banner-title {
        font-size: 2rem;
    }

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

    .form-card {
        padding: 1.5rem;
    }

    .navbar-logo-only {
        height: 64px;
        max-width: 190px;
    }

    .floating-enquiry-btn {
        bottom: 20px;
        left: 20px;
        font-size: 0.78rem;
        padding: 0.55rem 0.95rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .process-flow-ribbon {
        flex-direction: column;
        align-items: stretch;
    }

    .process-arrow-icon {
        transform: rotate(90deg);
        text-align: center;
        margin: 0.25rem 0;
    }

    .footer-corporate {
        text-align: left;
        padding-top: 3.5rem;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 0.5rem;
    }
}

/* Extra small devices (up to 480px) */
@media (max-width: 480px) {
    .btn-corp-primary, .btn-corp-outline, .btn-corp-white, .btn-corp-sky {
        width: 100%;
        justify-content: center;
    }

    .hero-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .client-logo-card {
        height: 90px;
        padding: 0.75rem 0.5rem;
    }

    .client-logo-img {
        max-height: 46px;
        max-width: 110px;
    }
}

