/* Top Bar Styles */
.top-bar {
    background-color: #5b5b98;
    padding: 8px 0;
    border-bottom: 1px solid #6c757d;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: #e9ecef;
}

.top-bar .social-links a {
    font-size: 16px;
}

/* Main Navigation Styles */
.navbar-area-two {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-area-two .navbar-nav .nav-link {
    color: #130947;
    font-weight: 500;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.navbar-area-two .navbar-nav .nav-link:hover,
.navbar-area-two .navbar-nav .nav-link.active {
    color: #5b5b98;
}

.navbar-area-two .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    background-color: #ffffff;
}

.navbar-area-two .dropdown-item {
    color: #130947;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.navbar-area-two .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #5b5b98;
}

/* Sticky Navigation */
.navbar-area-two.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease;
}

.navbar-area-two.sticky .navbar-nav .nav-link {
    color: #130947;
}

.navbar-area-two.sticky .navbar-nav .nav-link:hover,
.navbar-area-two.sticky .navbar-nav .nav-link.active {
    color: #5b5b98;
}

.navbar-area-two.sticky .dropdown-menu {
    background-color: #ffffff;
}

.navbar-area-two.sticky .dropdown-item {
    color: #130947;
}

.navbar-area-two.sticky .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #5b5b98;
}

/* Search Button Styles */
.search-btn {
    color: #130947;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: #5b5b98;
}

/* Others Options */
.others-options {
    margin-left: 20px;
}

.option-item {
    color: #130947;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.option-item:hover {
    color: #5b5b98;
}

/* Mobile Menu Styles */
@media (max-width: 991px) {
    /* .exto-responsive-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 10px 0;
    } */
    .exto-responsive-menu .logo {
        position: relative;
        left: 10%;
        transform: translateX(-1%);
        z-index: 2;
    }
    .navbar-toggler {
        z-index: 3;
        background: #fff;
        border-radius: 50%;
        margin: 0 5px;
        box-shadow: 0 2px 8px rgba(91,91,152,0.08);
    }
    .offcanvas-body {
        overflow-y: auto;
        max-height: calc(100vh - 60px);
        padding-bottom: 30px;
        padding-top: 20px;
    }
    .offcanvas {
        z-index: 2000;
    }
    .navbar-area-two {
        box-shadow: 0 4px 24px rgba(91,91,152,0.10);
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(8px);
    }
}

/* Modern sticky nav effect */
.navbar-area-two.sticky {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 4px 24px rgba(91,91,152,0.10);
    backdrop-filter: blur(8px);
}

/* Cool hover effect for nav links */
.navbar-area-two .nav-link {
    transition: color 0.2s, background 0.2s;
}
.navbar-area-two .nav-link:hover, .navbar-area-two .nav-link.active {
    color: #fff;
    background: #5b5b98;
    border-radius: 5px;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-box {
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
}

.search-form {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    border: none;
    border-radius: 30px;
    background-color: #ffffff;
    font-size: 16px;
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #5b5b98;
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
}

/* .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
} */

/* Top Bar Styles */
.top-bar {
    background: #5b5b98;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #6c757d;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: #ffffff;
    opacity: 0.8;
}

.top-bar-info i {
    margin-right: 5px;
    color: #ffffff;
}

.social-links a {
    font-size: 16px;
    color: #ffffff;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Main Navigation Styles */
.navbar-area-two {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-area-two .navbar {
    padding: 15px 0;
}

.navbar-area-two .navbar-brand img {
    max-height: 50px;
}

.navbar-area-two .nav-link {
    color: #5b5b98;
    font-weight: 500;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.navbar-area-two .nav-link:hover {
    color: #5b5b98;
    opacity: 0.8;
}

.navbar-area-two .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    background: #5b5b98;
}

.navbar-area-two .dropdown-item {
    padding: 8px 20px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.navbar-area-two .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-box {
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
}

.search-form {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    border: none;
    border-radius: 30px;
    background: #fff;
    font-size: 16px;
}

.search-button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 50px;
    border: none;
    background: #0d6efd;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-button:hover {
    background: #0b5ed7;
}

/* .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
} */

/* Mobile Styles */
@media (max-width: 991px) {
    .top-bar {
        display: none;
    }

    .navbar-area-two .navbar-brand {
        margin: 0 auto;
    }

    .navbar-area-two .navbar-toggler {
        margin-left: auto;
        border-color: #5b5b98;
    }

    .navbar-area-two .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(91, 91, 152, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-area-two .navbar-collapse {
        background: #5b5b98;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar-area-two .nav-link {
        color: #ffffff;
    }

    .navbar-area-two .nav-link:hover {
        color: #ffffff;
        opacity: 0.8;
    }

    .navbar-area-two .dropdown-menu {
        background: #5b5b98;
    }

    .navbar-area-two .dropdown-item {
        color: #ffffff;
    }

    .navbar-area-two .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }

    .offcanvas {
        background: #5b5b98;
        width: 280px;
    }

    .offcanvas-start {
        left: 0;
    }

    .offcanvas-end {
        right: 0;
    }

    .offcanvas-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem;
    }

    .offcanvas-title {
        color: #ffffff;
        font-size: 1.25rem;
    }

    .btn-close {
        filter: brightness(0) invert(1);
    }

    .offcanvas-body {
        padding: 1rem;
    }

    .mobile-contact-info {
        padding: 20px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        margin-top: 1rem;
    }

    .mobile-contact-info h6 {
        color: #ffffff;
        margin-bottom: 15px;
    }

    .mobile-contact-info p {
        margin-bottom: 10px;
        color: #ffffff;
    }

    .mobile-contact-info i {
        color: #ffffff;
        margin-right: 10px;
    }

    .mobile-social-links {
        text-align: center;
        margin-top: 1rem;
    }

    .mobile-social-links a {
        font-size: 20px;
        color: #ffffff;
        transition: color 0.3s ease;
        margin: 0 10px;
    }

    .mobile-social-links a:hover {
        color: #ffffff;
        opacity: 0.8;
    }

    /* Mobile Menu Layout */
    /* .exto-responsive-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
    } */

    .exto-responsive-menu .logo {
        position: absolute;
        left: 10%;
        transform: translateX(-1%);
    }

    .exto-responsive-menu .logo img {
        max-height: 70px;
    }

    .navbar-toggler {
        position: relative;
        z-index: 1;
    }

    /* Show both menus on mobile */
    .exto-responsive-nav {
        display: block;
    }

    .exto-nav {
        display: block;
    }
}

/* Animation for dropdown menus */
.dropdown-menu {
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sticky Navigation Effect */
.navbar-area-two.sticky {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Hover Effects */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #5b5b98;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Active State */
.nav-link.active {
    color: #5b5b98;
}

.nav-link.active::after {
    width: 100%;
    background: #5b5b98;
}

/* Top Navigation Styles */
.exto-nav {
    padding: 5px 0;
}

.container {
    max-width: 98%;
    padding-left: 5px;
    padding-right: 5px;
}

.navbar-brand img {
    transition: all 0.3s ease;
    width: 170px !important;
    height: 60px !important;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-item {
    margin: 0 3px;
    position: relative;
}

.navbar-nav .nav-link {
    color: #130947;
    font-weight: 500;
    padding: 5px 8px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 13px;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: #ffffff;
    opacity: 0.8;
}

.navbar-nav .nav-link.active {
    color: #ffffff;
    opacity: 0.8;
}

.navbar-nav .nav-link i {
    font-size: 10px;
    margin-left: 2px;
    color: #ffffff;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 5px 0;
    min-width: 180px;
    background: #5b5b98;
}

.dropdown-menu .nav-link {
    padding: 5px 12px;
    color: #ffffff;
    font-size: 12px;
}

.dropdown-menu .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    opacity: 0.8;
}

.others-options {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    flex-wrap: nowrap;
}

.option-item {
    display: inline-flex;
    align-items: center;
}

.sidebar-menu-icon {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
}

.saas-nav-btn {
    background: #ffffff;
    color: #5b5b98;
    padding: 4px 12px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 13px;
}

.saas-nav-btn:hover {
    background: #ffffff;
    color: #5b5b98;
    opacity: 0.8;
    transform: translateY(-2px);
}

.language-list .select-box {
    position: relative;
}

.language-list select {
    border: none;
    background: transparent;
    padding: 3px 6px;
    cursor: pointer;
    outline: none;
    font-size: 13px;
    color: #ffffff;
}

.language-list select option {
    background: #5b5b98;
    color: #ffffff;
}

/* .search-btn, .close-btn {
    cursor: pointer;
    color: #ffffff;
    transition: color 0.3s ease;
    font-size: 20px;
} */

/* .search-btn:hover, .close-btn:hover {
    color: #e9ecef;
} */

.search-overlay {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: none;
}

.search-form {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    font-size: 13px;
    background: #fff;
    color: #333;
}

.search-input::placeholder {
    color: #999;
}

.search-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    font-size: 13px;
}

.sidebar-menu-icon img {
    width: 25px;
    height: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    /*filter: brightness(0) invert(0.4);*/
}

.sidebar-menu-icon img:hover {
    transform: rotate(90deg);
    opacity: 0.8;
}

/* Desktop view - white icon */
@media (min-width: 992px) {
    .sidebar-menu-icon img {
        filter: brightness(0) invert(1);
    }
}

/* Mobile view - purple icon */
@media (max-width: 991px) {
    .sidebar-menu-icon img {
        filter: brightness(0) invert(0.4);
    }
}

/* Responsive Styles */
/* @media (max-width: 767px) {
    .exto-responsive-nav {
        padding: 5px 0;
    }
    
    .exto-responsive-menu .logo img {
        max-width: 48px;
    }

    .navbar-toggler {
        padding: 4px 8px;
    }
} */

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Mobile Fullscreen Menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    z-index: 3000;
    top: 0; left: 0; right: 0; bottom: 0;
    background: transparent;
    color: #fff;
    transition: opacity 0.3s;
    flex-direction: column;
}
.mobile-menu-overlay.active {
    display: flex;
}
.mobile-menu-backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(40,40,70,0.92);
    backdrop-filter: blur(8px);
    z-index: 1;
}
.mobile-menu-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    background: rgba(40,40,70,0.98);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 0 20px;
}
.mobile-menu-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mobile-menu-logo img {
    max-height: 44px;
}
.mobile-menu-close {
    position: absolute;
    right: 20px;
    top: 16px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}
.mobile-menu-scroll {
    position: absolute;
    top: 64px;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 30px;
}
.mobile-menu-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 24px 20px 0 20px;
}
.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.mobile-menu-list li {
    margin-bottom: 18px;
}
.mobile-menu-list a {
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    padding: 10px 12px;
    transition: background 0.2s;
}
.mobile-menu-list a:hover {
    background: #5b5b98;
}
.mobile-menu-actions {
    margin-bottom: 18px;
}
.mobile-menu-actions .btn {
    font-size: 1rem;
    border-radius: 6px;
}
.mobile-menu-contact {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mobile-menu-contact a {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mobile-menu-social {
    display: flex;
    gap: 18px;
    margin-top: 10px;
    justify-content: flex-start;
}
.mobile-menu-social a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.2s;
}
.mobile-menu-social a:hover {
    color: #5b5b98;
}
@media (min-width: 992px) {
    .mobile-menu-overlay { display: none !important; }
} 