/* Top Bar Styles */
.top-bar {
    border-bottom: 1px solid #eee;
    background-color: #fff;
}

.top-logo {
    display: block;
}

.top-logo img {
    height: 100px;
    max-width: 100%;
}

.top-right-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-contact span {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.top-contact i {
    color: #F37039;
    margin-right: 5px;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 20px;
}

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

.top-links a:hover {
    color: #F37039;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #F37039;
    color: #fff;
}

/* Main Navigation Styles */
.main-navigation {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar {
    padding: 0;
}

.navbar-nav {
    width: 100%;
    justify-content: space-between;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #333 !important;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
    background-color: #F37039;
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-radius: 0;
    margin-top: 0;
    padding: 0;
    min-width: 220px;
}

.dropdown-item {
    padding: 12px 20px;
    transition: all 0.3s ease;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #F37039;
    color: #fff !important;
}

/* Fix dropdown closing on click */
.dropdown-toggle::after {
    margin-left: 8px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Mobile Styles */
@media (max-width: 991px) {
    .top-bar {
        text-align: center;
        padding: 15px 0;
    }

    .top-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }

    .top-logo img {
        height: 80px;
    }

    .top-right-content {
        align-items: center;
    }

    .top-contact {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    .top-contact span {
        margin: 0;
    }

    .top-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-right: 0;
    }

    .social-links {
        margin-top: 10px;
    }

    /* Main Navigation Mobile Styles */
    .navbar {
        padding: 10px 0;
    }

    .mobile-menu-right {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .navbar-toggler {
        display: block;
        padding: 10px 15px;
        background-color: #F37039;
        border: none;
        border-radius: 5px;
    }

    .navbar-toggler-mobile-icon i {
        color: white;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 0;
        max-height: 80vh;
        overflow-y: auto;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    /* Mobile menu close button */
    .mobile-menu-close {
        display: flex;
        justify-content: flex-end;
        padding: 10px 15px;
        border-bottom: 1px solid #eee;
    }
    
    .btn-close-menu {
        background: #F37039;
        border: none;
        width: 35px;
        height: 35px;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .btn-close-menu i {
        color: white;
        font-size: 18px;
    }
    
    .btn-close-menu:hover {
        background: #d5602f;
        transform: scale(1.05);
    }

    .navbar-nav {
        padding: 15px 0;
    }

    .nav-item {
        margin: 0;
        width: 100%;
    }

    .nav-link {
        padding: 12px 20px !important;
        justify-content: flex-start;
        border-bottom: 1px solid #eee;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: #F37039;
        color: white !important;
    }

    .dropdown-menu {
        border: none;
        background: #f8f9fa;
        padding: 0;
        box-shadow: none;
    }

    .dropdown-item {
        padding: 12px 30px;
        border-bottom: 1px solid #e0e0e0;
        color: #333;
    }
    
    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: #F37039;
        color: #fff !important;
    }
}
.top-bar {
    border-bottom: 1px solid #eee;
}

.top-contact span {
    margin-right: 20px;
    font-size: 14px;
    color: #666;
}

.top-contact i {
    color: #F37039;
    margin-right: 5px;
}

.top-links a {
    margin-left: 15px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

.top-links a:hover {
    color: #F37039;
}

.social-links {
    margin-left: 15px;
}

.social-links a {
    margin-left: 10px;
    font-size: 14px;
    color: #666;
}

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

/* Main Navigation Styles */
.main-navigation {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-brand {
    padding: 0;
}

/* .navbar-brand img {
    height: 50px;
} */

.navbar-nav {
    margin-left: auto;
}

.nav-item {
    margin: 0 5px;
}

.nav-link {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    padding: 15px 15px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #F37039;
}

/* Remove Fixed Header */
.header {
    position: relative;
    width: 100%;
    z-index: 999;
}
/* Fixed Header Styles - When Scrolling */
.navbar.fixed-top {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: #fff !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.35s ease-out;
}

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

/* Ensure navbar links are visible on fixed header */
.navbar.fixed-top .nav-link {
    color: #333 !important;
}

.navbar.fixed-top .nav-link:hover,
.navbar.fixed-top .nav-link.active {
    color: white !important;
    background-color: #F37039;
}

/* Fixed header dropdown */
.navbar.fixed-top .dropdown-menu {
    margin-top: 0;
}
