/* Navigation Enhancements */
.navbar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand .logo-img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
}

.brand-text {
    font-weight: 600;
    color: #fff;
    margin-right: 10px;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 5px;
    padding: 8px 15px !important;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    background-color: rgba(69, 197, 247, 0.2);
    color: #45c5f7 !important;
}

.nav-link i {
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.2);
}

.dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.dropdown-item {
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 8px;
    padding: 10px 15px;
}

.dropdown-item:hover {
    background-color: rgba(69, 197, 247, 0.1);
    transform: translateX(5px);
}

.search-form .input-group {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-form .form-control {
    border-radius: 25px 0 0 25px;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.search-form .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(69, 197, 247, 0.25);
    transform: scale(1.02);
}

.search-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.search-form .btn:hover {
    transform: scale(1.05);
}

/* Footer Enhancements */
.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%) !important;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #45c5f7, transparent);
}

.footer-brand img {
    transition: transform 0.3s ease;
    filter: brightness(1.1);
}

.footer-brand:hover img {
    transform: scale(1.05);
}

.footer-links a {
    transition: all 0.3s ease;
    padding: 8px 0;
    display: inline-block;
}

.footer-links a:hover {
    color: #45c5f7 !important;
    transform: translateX(10px);
    text-shadow: 0 0 10px rgba(69, 197, 247, 0.5);
}

.footer-links i {
    transition: transform 0.3s ease;
}

.footer-links a:hover i {
    transform: scale(1.2);
}

.stat-item {
    padding: 15px;
    border-radius: 10px;
    background: rgba(69, 197, 247, 0.1);
    transition: all 0.3s ease;
    margin: 5px;
}

.stat-item:hover {
    background: rgba(69, 197, 247, 0.2);
    transform: translateY(-5px);
}

.btn-social {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-social:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(69, 197, 247, 0.3);
    border-color: #45c5f7;
}

.newsletter .form-control {
    border-radius: 25px 0 0 25px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.newsletter .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #45c5f7;
    box-shadow: 0 0 0 0.2rem rgba(69, 197, 247, 0.25);
}

.newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter .btn {
    border-radius: 0 25px 25px 0;
    transition: all 0.3s ease;
}

.newsletter .btn:hover {
    transform: scale(1.05);
}

.btn-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(69, 197, 247, 0.3);
}

.btn-floating:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(69, 197, 247, 0.5);
}

.btn-floating.show {
    display: flex;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .navbar-brand .brand-text {
        display: none !important;
    }
    
    .search-form {
        margin-top: 15px;
        width: 100%;
    }
    
    .footer .row {
        text-align: center;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-lg-3 {
        margin-bottom: 30px;
    }
    
    .btn-floating {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Pagination Styles (Original) */
.pagination-container nav .justify-between,
.pagination-container nav p {
    display: none;
}

.pagination-container nav svg {
    width: 25px;
    rotate: 180deg;
}

.pagination-info {
    width: 100%;
}

/* Dropdown submenu support */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    position: absolute;
    top: 0;
    right: 100%;
    left: auto;
    margin-top: 0;
    display: none;
    min-width: 12rem;
    border-radius: 12px;
}

/* Show submenu on hover (desktop) */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* Show submenu when toggled (mobile) */
.dropdown-submenu .dropdown-menu.show {
    display: block;
}

/* Improve spacing in submenu items */
.dropdown-submenu .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.me-3 {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}