/* Main Navigation Styles - Dark Rounded Container */
.navbar {
    background: transparent !important;
    padding: 0;
    top: 50px !important;
     width: calc(100% - 0px)!important;
}

.navbar .container-xxl {
    background: #2c3e50;
    border-radius: 50px;
    padding: 12px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
 }

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav {
    margin: 0 auto;
    gap: 5px;
}

.nav-link {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px !important;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}
.nav-link:visited,
.nav-link:focus {color: #fff!important}

.nav-link:hover {
    color: #fff!important;
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown Menu Styles */
.nav-item.has-dropdown {
    position: relative;
}

.dropdown-menu-custom {
    position: absolute;
    background: #2c3e50;
    min-width: 220px;
    top: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 10px;
    z-index: 1000;
    margin-top: 8px;
}

.nav-item.has-dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-custom .dropdown-item {
    color: #ffffff!important;
    padding: 10px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: transparent;
    border-radius: 10px;
    font-weight: 500;
}

.dropdown-menu-custom .dropdown-item:visited,
.dropdown-menu-custom .dropdown-item:focus {
    color: #ffffff!important;
}

.dropdown-menu-custom .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    left: 0;
    width: 100vw;
    top: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
}

.nav-item.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    background: #2c3e50;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    max-width: 1140px;
    margin: 0 auto;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
}

.mega-menu-row {
    display: flex;
    gap: 40px;
}

.mega-menu-col {
    flex: 1;
}

.mega-menu-col.with-image {
    flex: 0 0 280px;
}

.mega-menu-col img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
}

.mega-menu-header {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mega-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-links li {
    margin-bottom: 4px;
}

.mega-menu-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    display: block;
    padding: 8px 12px;
    transition: all 0.3s ease;
    border-radius: 10px;
    font-weight: 500;
}

.mega-menu-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding-left: 16px;
}

/* Button Styles - Matching Your Image */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
}

.btn-login {
    background: #ffffff;
    border: none;
    color: #2c3e50 !important;
    padding: 10px 28px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 15px;
}

.btn-login:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.btn-primary {
    background: #e85d75;
    border: none;
    color: white !important;
    padding: 10px 28px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 15px;
}

.btn-primary:hover {
    background: #d94d65;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 93, 117, 0.4);
}

/* Mobile Menu Styles */
.navbar-toggler {
    border: 2px solid rgba(255,255,255,0.3);
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.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, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.chevron-icon {
    font-size: 11px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

@media (max-width: 991px) {
    .navbar {
        top: 20px !important;
    }

    .navbar .container-xxl {
        border-radius: 20px;
        padding: 15px 20px;
    }

    .navbar-collapse {
        background: #34495e;
        padding: 20px;
        margin-top: 15px;
        border-radius: 20px;
    }

    .navbar-nav {
        margin: 0;
        gap: 0;
    }

    .nav-link {
        padding: 14px 16px !important;
        margin-bottom: 4px;
        border-radius: 12px;
    }

    /* Mobile Dropdown */
    .dropdown-menu-custom {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: none;
        margin-left: 16px;
        margin-top: 4px;
        border: none;
        background: #34495e;
    }

    .nav-item.has-dropdown.show .dropdown-menu-custom {
        max-height: 500px;
    }

    /* Mobile Mega Menu */
    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 0;
    }

    .nav-item.has-mega.show .mega-menu {
        max-height: 1200px;
    }

    .mega-menu-content {
        padding: 20px;
        box-shadow: none;
        background: #34495e;
        border: none;
        border-radius: 16px;
        margin-top: 8px;
    }

    .mega-menu-row {
        flex-direction: column;
        gap: 24px;
    }

    .mega-menu-col.with-image {
        flex: 1;
    }

    .nav-buttons {
        margin-top: 16px;
        margin-left: 0;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .nav-buttons a {
        width: 100%;
        text-align: center;
    }

    .mobile-menu-toggle {
        background: none;
        border: none;
        color: #ffffff;
        width: 100%;
        text-align: left;
        padding: 14px 16px;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        border-radius: 12px;
        margin-bottom: 4px;
    }

    .mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-toggle i {
        float: right;
        transition: transform 0.3s ease;
    }

    .nav-item.show .mobile-menu-toggle i {
        transform: rotate(180deg);
    }

    .desktop-item {
        display: none;
    }
}

@media (min-width: 992px) {
    .mobile-item {
        display: none;
    }
}

/* Demo content */
.demo-section {
    padding: 50px 0;
    max-width: 900px;
    margin: 0 auto;
}

.demo-section h1 {
    color: #2c3e50;
    margin-bottom: 30px;
}

.demo-section ul {
    line-height: 1.8;
}
