﻿ 


/* ===== DESKTOP NAVBAR (Your Perfect Design) ===== */
/* Apply gap only on desktop/larger screens */
@media (min-width: 992px) {
    .navbar-nav {
        gap: 2rem; /* This will only apply on screens 992px and wider */
    }

        /* Remove margin-right from nav-links on desktop when using gap */
        .navbar-nav .nav-link {
            margin-right: 0;
        }
}
.navbar-nav .nav-link {
    font-weight: 500;
    text-transform: uppercase;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: color 0.3s ease, border-color 0.3s ease, font-size 0.3s ease;
    border-bottom: 2px solid transparent;
    letter-spacing: 0.5px;
    margin-right: 1.5rem;
}

   

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        color: #007bff;
        border-bottom: 2px solid var(--bs-primary-color);
        text-decoration: none;
    }

    .navbar-nav .nav-link.active {
        color: #0056b3;
        border-bottom: 2px solid #0056b3;
    }

/* ===== NAVBAR STATES ===== */
.transition-navbar {
    transition: all 0.4s ease-in-out;
    padding: 1rem 0;
}

.navbar-transparent {
    background-color: transparent !important;
    color: white;
}

.navbar-white {
    background-color: white !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

    .navbar-white .nav-link,
    .navbar-white .navbar-brand {
        color: #000 !important;
    }

.navbar-transparent .nav-link,
.navbar-transparent .navbar-brand {
    color: white !important;
}

.navbar-shrinked {
    padding: 0.5rem 0 !important;
    font-size: 0.9rem;
}

    .navbar-shrinked .navbar-nav .nav-link {
        font-size: 0.85rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

/* ===== TOGGLER ICONS ===== */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.7)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22' /%3e%3c/svg%3e");
}

.white-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.7)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22' /%3e%3c/svg%3e");
}

/* ===== MOBILE REDESIGN (Tablet & Phone) ===== */
@media (max-width: 991.98px) {

    /* === MOBILE TOGGLER ENHANCEMENT === */
    .navbar-toggler {
        border: 2px solid rgba(0,0,0,0.1);
        border-radius: 8px;
        padding: 8px 12px;
        transition: all 0.3s ease;
    }

        .navbar-toggler:hover {
            background-color: rgba(0,0,0,0.05);
            border-color: rgba(0,0,0,0.2);
        }

    .navbar-transparent .navbar-toggler {
        border-color: rgba(255,255,255,0.3);
    }

        .navbar-transparent .navbar-toggler:hover {
            background-color: rgba(255,255,255,0.1);
            border-color: rgba(255,255,255,0.5);
        }

    /* === MOBILE MENU CONTAINER === */
    .navbar-collapse {
        background-color: #fff;
        border-radius: 12px;
        margin-top: 1rem;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        border: 1px solid rgba(0,0,0,0.05);
        overflow: hidden;
    }

    .navbar-transparent .navbar-collapse {
        background-color: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
    }

    /* === MOBILE NAV ITEMS RESET === */
    .navbar-nav {
        padding: 0;
        margin: 0;
    }

        .navbar-nav .nav-item {
            margin: 0;
            border-bottom: 1px solid rgba(0,0,0,0.08);
        }

            .navbar-nav .nav-item:last-child {
                border-bottom: none;
            }

        /* === MOBILE NAV LINKS - CLEAN DESIGN === */
        .navbar-nav .nav-link {
            /* Reset desktop styles */
            margin-right: 0;
            border-bottom: none !important;
            text-transform: none;
            letter-spacing: normal;
            /* Mobile-optimized styling */
            padding: 1rem 1.5rem;
            font-size: 1.1rem;
            font-weight: 500;
            color: #333 !important;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
            position: relative;
        }

            /* Remove those pesky dots/bullets */
            .navbar-nav .nav-link::before {
                display: none !important;
            }

            /* Mobile hover effects */
            .navbar-nav .nav-link:hover,
            .navbar-nav .nav-link:focus {
                background-color: #f8f9fa;
                color: #007bff !important;
                transform: translateX(5px);
                border-bottom: none;
            }

            /* Active state for mobile */
            .navbar-nav .nav-link.active {
                background-color: #007bff;
                color: white !important;
                border-bottom: none;
            }

                .navbar-nav .nav-link.active::after {
                    content: '';
                    position: absolute;
                    right: 1.5rem;
                    width: 6px;
                    height: 6px;
                    background-color: white;
                    border-radius: 50%;
                }

        /* === MOBILE MENU SECTIONS === */
        .navbar-nav + .navbar-nav {
            border-top: 2px solid #f0f0f0;
            margin-top: 0.5rem;
            padding-top: 0.5rem;
        }

        /* Admin/User sections styling */
        .navbar-nav:last-child .nav-link {
            font-size: 1rem;
            padding: 0.75rem 1.5rem;
            color: #666 !important;
        }

            .navbar-nav:last-child .nav-link:hover {
                background-color: #e9ecef;
                color: #333 !important;
            }
}

/* ===== MOBILE PHONE SPECIFIC (Very Small Screens) ===== */
@media (max-width: 575.98px) {
    .navbar-collapse {
        margin-top: 0.75rem;
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
        b