.offcanvas {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    width: 60% !important;
    z-index: 2000;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.offcanvas-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.btn-close {
    box-shadow: none;
    opacity: 0.8;
}

.btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(8, 145, 178, 0.25);
    opacity: 1;
}

/* Offcanvas Links */
.offcanvas-body {
    padding: 20px 0;
}

.offcanvas-body .nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.offcanvas-body .nav-link:hover,
.offcanvas-body .nav-link.active {
    background-color: rgba(8, 145, 178, 0.05);
    color: var(--accent-color) !important;
}

/* Offcanvas Footer Area */
.offcanvas-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.offcanvas-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.offcanvas-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.offcanvas-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Responsive adjustments for offcanvas */
@media (max-width: 991.98px) {
    .navbar-collapse {
        display: none !important;
        /* Hide old collapse if present styling persists */
    }

    .logo-img {
        max-height: 40px;
        /* Adjust logo size in offcanvas if visible */
    }
}