.navbar {
    font-family:
        system-ui,
        -apple-system,
        "Inter",
        sans-serif;
}

.navbar-brand {
    letter-spacing: -0.4px;
}

.search-bar {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    min-width: 280px;
    cursor: pointer;
}

.search-bar:hover {
    background-color: #f3f4f6;
}

.btn-dark {
    border-radius: 10px;
}

.nav-link {
    font-size: 1rem;
}

.sidebar {
    width: 250px;
    height: 85vh; /* 🔥 key fix */
    flex-shrink: 0; /* prevents flex resize */
    background-color: #ffffff;
    font-family:
        system-ui,
        -apple-system,
        "Inter",
        sans-serif;
    position: sticky; /* optional but recommended */
    top: 0;
}

@media (max-width: 767px) {
    .sidebar {
        width: 80px;
    }

    .sidebar .nav-link {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }
}
.sidebar .nav-link {
    color: #374151;
    font-size: 1rem;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.sidebar .nav-link:hover {
    background-color: #f3f4f6;
}

.sidebar .nav-link.active {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

.saas-navbar {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid #f1f1f1;
    transition: all 0.3s ease;
}

.saas-navbar .nav-link {
    font-weight: 500;
    color: #555;
    transition: all 0.25s ease;
    position: relative;
}

.saas-navbar .nav-link:hover {
    color: #000;
    transform: translateY(-2px);
}

.saas-navbar .nav-link.active {
    color: #000 !important;
    font-weight: 600;
}

.saas-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 10%;
    width: 90%;
    height: 3px;
    background: linear-gradient(90deg, #000, #444);
    border-radius: 50px;
}

.saas-search {
    background: #f8f9fa;
    transition: 0.3s ease;
}

.saas-search:hover {
    background: #e9ecef;
    transform: scale(1.03);
}

.saas-btn {
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 500;
    transition: 0.3s ease;
}

.saas-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.profile-img-modern {
    height: 42px;
    width: 42px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #eee;
    transition: 0.3s ease;
}

.profile-img-modern:hover {
    transform: scale(1.08);
    border-color: #000;
}




.mySwiper {
    width: 100%;
    overflow: hidden;
}

.mySwiper .swiper-slide {
    width: auto !important; /* KEY FOR RESPONSIVENESS */
}

.mySwiper a.btn {
    white-space: nowrap; /* Prevent text break */
    font-size: 14px;
}

@media (max-width: 576px) {
    .mySwiper a.btn {
        font-size: 13px;
        padding: 6px 12px;
    }
}