/* Premium Glassmorphism Navbar Styles */

.header-top {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.825rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1001;
}

.header-top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-info {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.header-top-info a,
.header-top-socials > span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.25rem 0.8rem;
    border-radius: 30px;
    font-size: 0.78rem;
    transition: var(--transition-fast);
}

.header-top-info a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 160, 23, 0.4);
    color: var(--secondary-light);
}

.header-top-socials {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-top-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.header-top-socials a:hover {
    background-color: var(--secondary);
    color: var(--primary-dark);
    border-color: var(--secondary);
    transform: translateY(-1px);
}

/* Glassmorphic Sticky Header */
.header-main {
    background-color: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition-smooth);
    padding: 1.25rem 0;
    box-shadow: 0 4px 30px rgba(10, 35, 66, 0.02);
}

.header-main.sticky {
    background-color: rgba(255, 255, 255, 0.94);
    padding: 0.85rem 0;
    box-shadow: 0 10px 30px -10px rgba(10, 35, 66, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Design - Premium Branding */
.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid var(--secondary);
    box-shadow: var(--shadow-sm);
}

/* Image-based logo variation helper classes */
.logo-icon.logo-img-wrapper {
    background: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.logo-img {
    height: 84px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-footer-img {
    height: 76px;
    width: auto;
    display: block;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--secondary);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.05;
    letter-spacing: 0.03em;
}

.logo-subtitle {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--secondary-dark);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 0.15rem;
}

/* Nav Menu Items */
.nav-menu {
    display: flex;
    gap: 2.25rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-body);
    font-size: 0.95rem;
    position: relative;
    padding: 0.4rem 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-dark) 0%, var(--secondary-light) 100%);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary);
}

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

.nav-link.active {
    color: var(--primary);
}

/* Navigation Action Buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.925rem;
    background-color: rgba(10, 35, 66, 0.03);
    border: 1px solid rgba(10, 35, 66, 0.06);
    padding: 0.45rem 1rem;
    border-radius: 30px;
    transition: var(--transition-fast);
}

.nav-phone i {
    color: var(--secondary-dark);
    transition: var(--transition-fast);
}

.nav-phone:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

.nav-phone:hover i {
    color: var(--secondary-light) !important;
    animation: phone-wiggle 0.5s ease;
}

/* Premium Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 2.5px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

/* Mobile Nav Drawer Overlay & Sidebar */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -15px 0 40px rgba(10, 35, 66, 0.15);
    z-index: 999;
    padding: 6.5rem 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    transition: all 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-left: 1px solid rgba(15, 23, 42, 0.08);
}

.mobile-nav.open {
    right: 0;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu::before {
    content: 'SHREE BALAJI';
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.08em;
    border-left: 3px solid var(--secondary);
    padding-left: 0.75rem;
    margin-bottom: 1rem;
    display: block;
}

.mobile-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-heading);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.65rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, padding 0.3s ease, color 0.3s ease;
}

.mobile-link::after {
    content: '→';
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: transform var(--transition-fast), color 0.3s ease;
}

.mobile-nav.open .mobile-link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }

.mobile-link:hover,
.mobile-link.active {
    color: var(--secondary-dark);
    padding-left: 0.5rem;
}

.mobile-link:hover::after,
.mobile-link.active::after {
    color: var(--secondary-dark);
    transform: translateX(4px);
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: auto;
}

.mobile-actions::before {
    content: 'QUICK ASSISTANCE';
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 35, 66, 0.4);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* --- Premium Desktop Enhancements --- */

/* Live Support Status Badge */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.25) !important;
    color: #2ecc71;
    font-weight: 600;
    font-size: 0.75rem !important;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #2ecc71;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(46, 204, 113, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/* Navigation Dropdown Menu */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-arrow {
    font-size: 0.8rem;
    margin-left: 0.25rem;
    transition: transform var(--transition-fast);
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 330px;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1010;
}

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

.dropdown-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    text-decoration: none;
}

.dropdown-item:hover {
    background-color: rgba(10, 35, 66, 0.03);
}

.dropdown-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background-color: rgba(10, 35, 66, 0.04);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.dropdown-item:hover .dropdown-icon {
    background-color: var(--primary);
    color: var(--bg-white);
}

.dropdown-info {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.dropdown-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-heading);
    transition: color var(--transition-fast);
}

.dropdown-item:hover .dropdown-title {
    color: var(--primary);
}

.dropdown-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

/* Phone wiggle animation */
@keyframes phone-wiggle {
    0% { transform: rotate(0); }
    15% { transform: rotate(-15deg); }
    30% { transform: rotate(15deg); }
    45% { transform: rotate(-10deg); }
    60% { transform: rotate(10deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0); }
}

/* Hamburger Animations */
.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Scaling Navs */
@media (max-width: 1024px) {
    .header-top {
        display: none;
    }
    .header-main {
        padding: 1rem 0;
    }
    .nav-menu, .nav-actions {
        display: none;
    }
    .hamburger {
        display: flex;
    }

    .logo-img {
    height: 54px;
    width: auto;
    display: block;
    object-fit: contain;
}
}
