body {
    font-family: Arial, sans-serif;
    scrollbar-width: thin;
    scrollbar-color: #0a8695 #f1f1f1;
}
.nav-link {
    padding-left: 1rem !important; /* Bootstrap asosiy menyularga */
}
.navbar-brand {
    font-weight: bold;
}
.header-section {
    padding: 1rem 1rem;
    background: #fff;
    border-bottom: 1px solid #ddd;
}
.card-article {
    margin-bottom: 1.5rem;
}
footer {
    background: #343a40;
    color: #ccc;
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}
.custom-tabs .nav-link {
    position: relative;
    border: none;
    background: transparent;
    color: #333;
    font-weight: 500;
    margin-right: 20px;
    padding-bottom: 10px;
    transition: all 0.3s ease;
}
.custom-tabs .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #0a8695, #00c3c3);
    transition: width 0.3s ease;
    border-radius: 2px;
}
.custom-tabs .nav-link:hover::after,
.custom-tabs .nav-link.active::after {
    width: 100%;
}
.custom-tabs .nav-link.active {
    color: #0a8695;
}
.tab-pane {
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .header-section .container,
    .d-flex.justify-content-between {
        flex-direction: column !important;
        align-items: start !important;
    }
    .d-flex.align-items-center.flex-wrap.gap-4 {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .text-end {
        text-align: start !important;
        margin-top: 1rem;
    }
    .nav.custom-tabs {
        flex-wrap: wrap;
        overflow-x: auto;
    }
}
a {
    position: relative;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px; /* ingichka chiziq */
    background: linear-gradient(90deg, #0a8695, #00c3c3);
    border-radius: 1px;
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* orqa fon */
}

::-webkit-scrollbar-thumb {
    background: #08545d;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #087a86;
}
#sticky-info {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #0a8695;
    display: none; /* default kompyuterda yashirin */
}

@media (max-width: 767.98px) {
    #sticky-info {
        display: block !important; /* mobilda doim ko‘rinadi */
    }
}

/* Kompyuterda scroll qilinganda qo‘shiladigan klass */
body.scrolled #sticky-info {
    display: block;
}
/* Submenu asosiy joylashuvi */
.dropdown-menu-custom {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    border-radius: 0;
    background: #fff;
    border: 1px solid #ddd;
    z-index: 1050;
    padding: 0.5rem 0;
}

/* Submenu itemlar */
.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: #6c757d;
    font-size: 0.95rem;
    text-decoration: none;
}

.dropdown-item:hover {
    /*background-color: #f8f9fa;*/
    color: #0a8695;
}

/* Agar aktiv bo'lsa submenu ko‘rsatiladi */
.dropdown-parent.show > .dropdown-menu-custom {
    display: block;
}
.offcanvas-custom-wide {
    width: 600px !important;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1; /* Hamma bo'sh joyni oladi */
}

footer {
    background: #343a40;
    color: #ccc;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}
