/* Navbar */
.navbar {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: var(--navbar-height);
    padding: 0.5rem 0 !important;
    z-index: 1050;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand .logo {
    height: 40px;
    margin-right: 10px;
    object-fit: contain;
}

.navbar-brand .brand-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav {
    height: 100%;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 8px;
    transition: color 0.3s;
    padding: 0.4rem 0 !important;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.btn-donate {
    background: linear-gradient(135deg, var(--accent-color), #38d9a9);
    border: none;
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.85rem;
    white-space: nowrap;
    margin-left: 10px;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 233, 123, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: var(--sidebar-width);
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1060;
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.sidebar-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s;
}

.sidebar-close:hover {
    transform: rotate(90deg);
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav-item {
    display: block;
    padding: 15px 25px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.sidebar-nav-item:hover, .sidebar-nav-item.active {
    background: rgba(102, 126, 234, 0.05);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 30px;
}

.sidebar-nav-item i {
    width: 25px;
    margin-right: 10px;
    color: var(--primary-color);
}

.sidebar-donate {
    margin: 20px;
    text-align: center;
}

.sidebar-donate .btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

/* Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1055;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    color: white;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand img {
    height: 40px;
    margin-right: 10px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a i {
    margin-right: 8px;
    font-size: 0.8rem;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* Responsive adjustments for components */
@media (max-width: 575px) {
    .navbar {
        padding: 0.75rem 0 !important;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .navbar-nav {
        display: none;
    }
    
    .footer {
        padding: 40px 0 15px;
    }
}