/* NSSCSM Responsive Stylesheet */

@media (max-width: 1200px) {
    .floating-info-card.card-1 { left: -10px; }
    .floating-info-card.card-2 { right: -10px; }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 50px 0;
        text-align: center;
    }
    
    .hero-img-container {
        margin-top: 50px;
    }
    
    .floating-info-card {
        display: none !important; /* Hide floating items on small viewports to avoid clutter */
    }
    
    .trust-strip {
        padding: 15px 0;
    }
    
    .trust-item {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .trust-item:last-child {
        margin-bottom: 0;
    }
    
    .navbar-collapse {
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
        border: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-link {
        padding: 8px 10px !important;
    }

    .navbar-btn {
        width: 100% !important;
        margin-top: 5px;
    }
    
    .navbar-collapse .d-flex {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        width: 100%;
    }
    
    .step-indicator {
        margin-bottom: 30px;
    }
    
    .step-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 50px 0 !important;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .filter-tabs {
        gap: 6px;
    }
    
    .filter-tab {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    
    /* Make tables stack or scroll horizontally */
    .responsive-table-container {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .step-dot .step-label {
        display: none; /* Hide label texts on extremely small viewports */
    }
    
    .step-dot.active::after {
        content: attr(data-step-name);
        position: absolute;
        top: 36px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--primary-navy);
        white-space: nowrap;
        background-color: var(--white);
        padding: 2px 8px;
        border-radius: 4px;
        box-shadow: var(--shadow-sm);
        border: 1px solid rgba(20,43,114,0.1);
        z-index: 10;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand-text {
        font-size: 1.1rem;
    }
    
    .navbar-brand-subtitle {
        font-size: 0.55rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn-premium, .btn-accent {
        padding: 8px 18px;
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .btn-premium:last-child, .btn-accent:last-child {
        margin-bottom: 0;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
}
