/* ===== Professional Header Styles ===== */
:root {
    --primary: #3E4095;
    --secondary: #FF0000;
    --text-color: #000000;
    --accent: #FFC107;
    --background: #F8F9FA;
    --dark-grey: #343A40;
    --light-blue: #00AEEF;
    --soft-pink: #E91E63;
    --success: #28A745;
    --warning: #FF9800;
}

/* Top Info Bar */
.top-info-bar {
    background: linear-gradient(90deg, #1e40af 0%, var(--primary) 100%);
    color: white;
    font-size: 0.85rem;
    padding: 8px 0;
    position: relative;
    z-index: 1002;
}

.top-info-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
}

.contact-info-item i {
    color: #93c5fd;
    font-size: 13px;
}

.contact-info-item a {
    color: #dbeafe;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-item a:hover {
    color: white;
    text-decoration: underline;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;

    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
    font-size: 12px;
}

.social-icons a:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

/* Main Navigation */
.professional-header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1001;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.header-scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

/* Navigation Links Container */
.nav-links-container {
    display: flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0;
    flex-wrap: nowrap;
    position: relative;
}

.nav-item {
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 2px 0;
}

.nav-link-custom {
    color: #333 !important;
    font-weight: 500;
    padding: 7px 10px !important;
    border-radius: 4px;
    transition: all 0.3s;
    position: relative;
    font-size: 0.82rem;
    white-space: nowrap;
    margin: 0 1px;
}

.nav-link-custom:hover {
    color: var(--primary) !important;
    background: rgba(62, 64, 149, 0.05);
    font-size: 20px;
}

.nav-link-custom.active {
    color: var(--primary) !important;
    background: rgba(62, 64, 149, 0.1);
    font-weight: 600;
}

/* Desktop navigation */
@media (min-width: 992px) {
    .d-none.d-lg-flex.justify-content-between.w-100 {
        display: flex !important;
        align-items: center;
    }

    .nav-links-container {
        gap: 0;
        margin-left: auto !important;
        margin-right: 10px !important;
    }

    .nav-link-custom {
        padding: 8px 11px !important;
        font-size: 0.84rem;
    }
}

/* Enquire Button */
.enquire-btn-container {
    margin-left: 5px;
    flex-shrink: 0;
}

.enquire-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #2a2b7a 100%);
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.82rem;
    box-shadow: 0 2px 8px rgba(62, 64, 149, 0.3);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    color: white;
    text-decoration: none;
}

.enquire-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(62, 64, 149, 0.4);
    background: linear-gradient(135deg, #2a2b7a 0%, var(--primary) 100%);
    color: white;
}

/* Mobile Toggler */
.navbar-toggler-custom {
    display: none !important;
    border: 1px solid var(--primary) !important;
    padding: 6px 8px !important;
    border-radius: 4px !important;
    background: none;
    cursor: pointer;
    margin-left: auto;
}

.navbar-toggler-custom:focus {
    box-shadow: 0 0 0 2px rgba(62, 64, 149, 0.25) !important;
    outline: none !important;
}

.navbar-toggler-icon-custom {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2862, 64, 149, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 20px;
    height: 20px;
    background-size: 100%;
}

/* Mobile styles */
@media (max-width: 991px) {
    .navbar-toggler-custom {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* Hide desktop navigation on mobile */
    .d-none.d-lg-flex.justify-content-between.w-100 {
        display: none !important;
    }

    /* Mobile info bar adjustments */
    .top-info-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .contact-info {
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Mobile Menu Overlay and Content */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 70px 20px 20px 20px;
}

.mobile-menu-content.active {
    right: 0;
}

/* Mobile Close Button */
.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    font-size: 20px;
    transition: all 0.3s;
}

.mobile-menu-close:hover {
    background: #2a2b7a;
    transform: rotate(90deg);
}

/* Mobile Menu Nav */
.mobile-nav {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.mobile-nav .nav-item {
    width: 100%;
}

.mobile-nav .nav-link-custom {
    padding: 12px 15px !important;
    width: 100%;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border-left: 3px solid transparent;
}

.mobile-nav .nav-link-custom i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.mobile-nav .nav-link-custom.active {
    border-left-color: var(--primary);
    background: rgba(62, 64, 149, 0.08);
}

.mobile-nav .nav-link-custom:hover {
    background: rgba(62, 64, 149, 0.05);
}

.mobile-nav .enquire-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
    margin-top: 20px;
}

/* Additional responsive styles */
@media (max-width: 768px) {
    .brand-container {
        max-width: 160px;
        gap: 6px;
    }

    .logo-wrapper img {
        height: 35px;
    }

    .company-name {
        font-size: 0.9rem;
    }

    .company-tagline {
        font-size: 0.6rem;
    }

    .top-info-bar {
        font-size: 0.8rem;
        padding: 6px 0;
    }

    .contact-info {
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .brand-container {
        max-width: 140px;
    }

    .logo-wrapper {
        padding: 4px;
    }

    .logo-wrapper img {
        height: 32px;
    }

    .company-name {
        font-size: 0.85rem;
    }

    .company-tagline {
        display: none;
    }

    .contact-info-item {
        font-size: 0.75rem;
    }

    .social-icons a {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .mobile-menu-content {
        width: 85%;
        padding: 70px 15px 15px 15px;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 26px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #1ebea5;
    transform: scale(1.1);
}

/* Brand styling */
.navbar-brand {
    padding: 0;
    margin: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-tagline {
    font-size: 0.7rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}