/* Split Header Design - White Left, Black Right */

.split-header {
    display: flex;
    width: 100%;
    min-height: 80px;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-logo-section {
    background-color: #ffffff !important;
    width: 25%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px 30px;
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    min-height: 80px;
}

.header-nav-section {
    background-color: #000000;
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.navbar-brand {
    margin: 0;
    padding: 0;
}

.navbar-brand img,
.logo-img,
.header-logo-section img {
    max-height: 50px !important;
    max-width: 200px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: all 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    filter: none !important; /* Override dark theme filter */
}

.navbar-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.header-logo-section {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 80px;
}

.header-logo-section img,
.header-logo-section .logo-img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: 50px !important;
    max-width: 200px !important;
}

.navbar-dark .navbar-nav {
    flex-direction: row;
    align-items: center;
}

.navbar-dark .navbar-nav .nav-link {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 15px !important;
    margin: 0 5px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--dark-accent, #00d4ff);
    transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--dark-accent, #00d4ff) !important;
}

.navbar-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 8px 12px;
}

.navbar-dark .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.navbar-dark .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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
    background-color: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-item {
    color: #ffffff !important;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--dark-accent, #00d4ff) !important;
}

.btn-primary {
    background-color: var(--dark-accent, #00d4ff) !important;
    border-color: var(--dark-accent, #00d4ff) !important;
    color: #000000 !important;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    background-color: #00b8e6 !important;
    border-color: #00b8e6 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .split-header {
        flex-direction: column;
        min-height: auto;
    }

    .header-logo-section {
        width: 100%;
        padding: 15px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .header-nav-section {
        width: 100%;
        padding: 15px 20px;
    }

    .navbar-brand img,
    .logo-img {
        max-height: 40px !important;
    }

    .navbar-dark .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 15px;
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: 12px 0 !important;
        margin: 0;
        width: 100%;
    }

    .btn-primary {
        margin-top: 15px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar-brand img,
    .logo-img {
        max-height: 35px !important;
    }

    .header-logo-section {
        padding: 12px 15px;
    }

    .header-nav-section {
        padding: 12px 15px;
    }
}

/* Sticky Header (if needed) */
.split-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.split-header.sticky .navbar-brand img,
.split-header.sticky .logo-img {
    max-height: 40px !important;
}

