/* Novance Health Care - Revolutionary Navigation Styles */

:root {
    --primary-color: #0066cc;
    --secondary-color: #004499;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --medical-blue: #2c5aa0;
    --medical-green: #00a651;
    --medical-gray: #6c757d;
    --navbar-height: 85px;
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.025em;
}

/* RevolutionaryNavbar */
.revolutionary-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(220, 220, 220, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.revolutionary-navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    height: 70px;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: relative;
}

/* Brand Container */
.brand-container {
    flex-shrink: 0;
    z-index: 2;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.brand-logo:hover {
    background: rgba(0, 102, 204, 0.06);
    transform: translateY(-1px);
    text-decoration: none;
}

.logo-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(220, 220, 220, 0.3);
}

.logo-icon i {
    font-size: 1.8rem;
    color: white;
    z-index: 2;
}

.logo-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: rgba(220, 220, 220, 0.2);
    opacity: 0.5;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.brand-logo:hover .logo-icon {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-primary {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.brand-secondary {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--medical-gray);
    margin-top: -4px;
}

/* Desktop Navigation */
.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 600px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(0, 102, 204, 0.08);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.08);
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.2rem;
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    white-space: nowrap;
    min-height: 42px;
}

.nav-item:hover {
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.08);
    transform: translateY(-2px);
    text-decoration: none;
}

.nav-item.active {
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.12);
}

.nav-item.active .nav-indicator {
    width: 100%;
    opacity: 1;
}

.nav-icon {
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-item:hover .nav-icon {
    transform: scale(1.1);
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: var(--transition);
    opacity: 0;
}

.nav-item:hover .nav-indicator {
    width: 80%;
    opacity: 1;
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
}

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

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

.dropdown-content {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.15);
    border: 1px solid rgba(0, 102, 204, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
    overflow: hidden;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1.1rem;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 102, 204, 0.04);
    font-size: 0.88rem;
    font-weight: 500;
}

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

.dropdown-item:hover {
    background: rgba(0, 102, 204, 0.05);
    color: var(--primary-color);
    text-decoration: none;
}

.dropdown-item i {
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* User Section */
.user-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Shopping Actions */
.shopping-actions {
    display: flex;
    gap: 0.6rem;
}

.action-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.9rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 102, 204, 0.15);
    border-radius: 12px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 102, 204, 0.06);
}

.action-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    text-decoration: none;
}

.btn-icon {
    position: relative;
    font-size: 1.1rem;
}

.badge-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    line-height: 1;
}

.cart-btn:hover {
    background: var(--success-color);
    border-color: var(--success-color);
}

.wishlist-btn:hover {
    background: var(--danger-color);
    border-color: var(--danger-color);
}

/* Profile Mega Menu */
.profile-mega-menu {
    position: relative;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 102, 204, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 102, 204, 0.06);
}

.profile-trigger:hover {
    background: rgba(0, 102, 204, 0.06);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.12);
}

.profile-avatar {
    position: relative;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.admin-icon {
    color: var(--medical-green) !important;
}

.status-indicator {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
}

.status-indicator.online {
    background: var(--success-color);
}

.profile-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.profile-name {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.profile-role {
    font-size: 0.8rem;
    color: var(--medical-gray);
}

.profile-arrow {
    font-size: 0.8rem;
    color: var(--medical-gray);
    transition: var(--transition);
    margin-left: 0.5rem;
}

.profile-mega-menu.active .profile-arrow {
    transform: rotate(180deg);
}

/* Mega Menu Panel */
.mega-menu-panel {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    width: 200px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.15);
    border: 1px solid rgba(0, 102, 204, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.96);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2000;
    overflow: hidden;
}

.profile-mega-menu.active .mega-menu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.mega-menu-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.admin-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.user-welcome {
    font-size: 1.1rem;
    font-weight: 600;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem;
    padding: 0.75rem;
}

.menu-section {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.section-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--medical-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
    border: 1px solid transparent;
}

.mega-menu-item:hover {
    background: rgba(0, 102, 204, 0.05);
    border-color: rgba(0, 102, 204, 0.1);
    transform: translateX(4px);
    text-decoration: none;
}

.item-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
}

.item-icon.dashboard { background: linear-gradient(135deg, #667eea, #764ba2); }
.item-icon.analytics { background: linear-gradient(135deg, #f093fb, #f5576c); }
.item-icon.users { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.item-icon.products { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.item-icon.orders { background: linear-gradient(135deg, #fa709a, #fee140); }
.item-icon.categories { background: linear-gradient(135deg, #a8edea, #fed6e3); }
.item-icon.messages { background: linear-gradient(135deg, #ffecd2, #fcb69f); }
.item-icon.profile { background: linear-gradient(135deg, #667eea, #764ba2); }
.item-icon.cart { background: linear-gradient(135deg, #fa709a, #fee140); }

.item-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-title {
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--dark-color);
}

.item-desc {
    font-size: 0.65rem;
    color: var(--medical-gray);
}

.mega-menu-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0, 102, 204, 0.1);
    background: rgba(0, 102, 204, 0.02);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid var(--danger-color);
    border-radius: var(--border-radius);
    color: var(--danger-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.logout-btn:hover {
    background: var(--danger-color);
    color: white;
    text-decoration: none;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 0.75rem;
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    min-height: 40px;
}

.login-btn {
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.1);
    border-color: rgba(0, 102, 204, 0.2);
}

.login-btn:hover {
    color: white;
    background: var(--primary-color);
    border-color: var(--primary-color);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.register-btn {
    color: white;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.register-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.admin-btn {
    color: var(--medical-green);
    background: rgba(0, 166, 81, 0.1);
    border-color: rgba(0, 166, 81, 0.2);
}

.admin-btn:hover {
    color: white;
    background: var(--medical-green);
    border-color: var(--medical-green);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.mobile-toggle:hover {
    background: rgba(0, 102, 204, 0.1);
}

.toggle-bar {
    width: 26px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active .toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active .toggle-bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 15000;
}

.mobile-drawer.active {
    opacity: 1;
    visibility: visible;
}

.drawer-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(380px, 85vw);
    height: 100%;
    background: white;
    transform: translateX(100%);
    transition: var(--transition);
    box-shadow: var(--shadow-heavy);
    overflow-y: auto;
}

.mobile-drawer.active .drawer-panel {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.drawer-brand i {
    font-size: 1.5rem;
}

.drawer-close {
    width: 45px;
    height: 45px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.drawer-content {
    padding: 1.5rem;
}

.drawer-section {
    margin-bottom: 2rem;
}

.drawer-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--medical-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.drawer-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--dark-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.drawer-item:hover {
    background: rgba(0, 102, 204, 0.08);
    color: var(--primary-color);
    text-decoration: none;
    transform: translateX(8px);
}

.drawer-item i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.drawer-item.admin-item {
    color: var(--medical-green);
}

.drawer-item.admin-item:hover {
    background: rgba(0, 166, 81, 0.08);
    color: var(--medical-green);
}

.drawer-badge {
    background: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    margin-left: auto;
    min-width: 20px;
    text-align: center;
}

.drawer-divider {
    height: 1px;
    background: rgba(0, 102, 204, 0.1);
    margin: 1.5rem 0;
}

.drawer-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 102, 204, 0.1);
}

.drawer-logout {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--danger-color);
    border-radius: var(--border-radius);
    color: var(--danger-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.drawer-logout:hover {
    background: var(--danger-color);
    color: white;
    text-decoration: none;
}

/* Modern Alerts */
.modern-alert {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border-left: 4px solid;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-content i {
    font-size: 1.1rem;
}

/* Modern Footer */
.modern-footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    width: 20px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.badge-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Tooltips */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-color);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 10000;
    opacity: 1;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 1.2rem;
    }

    .mega-menu-panel {
        width: 340px;
    }

    .nav-item {
        padding: 0.6rem 1rem;
        font-size: 0.88rem;
    }
}

@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .shopping-actions {
        display: none;
    }

    .auth-buttons {
        display: none;
    }

    .profile-mega-menu {
        display: none;
    }

    .revolutionary-navbar {
        height: 65px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .brand-text {
        display: flex;
        font-size: 0.8rem;
    }

    .brand-text .brand-primary {
        font-size: 1.4rem;
    }

    .brand-text .brand-secondary {
        font-size: 0.9rem;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
        margin-right: 0.5rem;
    }

    .drawer-panel {
        width: min(340px, 88vw);
    }

    .revolutionary-navbar {
        height: 65px;
    }
}

@media (max-width: 576px) {
    .logo-icon {
        width: 45px;
        height: 45px;
        border-radius: 10px;
    }

    .logo-icon i {
        font-size: 1.2rem;
    }

    .revolutionary-navbar {
        height: 60px;
    }
}

/* Focus States for Accessibility */
.nav-item:focus,
.action-btn:focus,
.auth-btn:focus,
.profile-trigger:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .revolutionary-navbar {
        background: white;
        border-bottom: 2px solid var(--primary-color);
    }

    .nav-item:hover,
    .action-btn:hover {
        background: var(--primary-color);
        color: white;
        border: 2px solid var(--primary-color);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Card Components */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

/* Button Components */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    border: none;
    padding: 0.75rem 1.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
}

/* Loading States */
.loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image Loading Styles */
.product-image-loading {
    transition: opacity 0.3s ease;
}

.card-img-top {
    transition: opacity 0.3s ease;
}

.img-thumbnail {
    transition: opacity 0.3s ease;
}

/* Image placeholder animations */
.image-placeholder {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 0.8; }
    100% { opacity: 0.6; }
}

/* Text Gradient Class */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Dynamic Metrics Cards for Messages and Analytics */
.dynamic-metrics-grid, .analytics-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dynamic-metric-card, .analytics-metric-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.dynamic-metric-card:hover, .analytics-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.dynamic-metric-card .metric-header, .analytics-metric-card .metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dynamic-metric-card .metric-icon, .analytics-metric-card .metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

/* Messages metrics icons */
.read-icon { background: linear-gradient(135deg, #10b981, #059669); }
.unread-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.total-icon { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.response-icon { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

/* Analytics metrics icons */
.pageviews-icon { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.visitors-icon { background: linear-gradient(135deg, #10b981, #059669); }
.duration-icon { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.bounce-icon { background: linear-gradient(135deg, #ef4444, #dc2626); }

.dynamic-metric-card .metric-trend, .analytics-metric-card .metric-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.trend-icon.positive {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    padding: 0.125rem;
}

.trend-icon.negative {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    padding: 0.125rem;
}

.trend-text {
    color: inherit;
}

.dynamic-metric-card .metric-content, .analytics-metric-card .metric-content {
    margin-bottom: 1rem;
}

.dynamic-metric-card .metric-value, .analytics-metric-card .metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    line-height: 1;
    min-height: 3rem;
    display: flex;
    align-items: center;
}

.dynamic-metric-card .loading-placeholder, .analytics-metric-card .loading-placeholder {
    animation: pulse 2s infinite;
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

.dynamic-metric-card .metric-label, .analytics-metric-card .metric-label {
    font-size: 0.875rem;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.dynamic-metric-card .metric-subtext, .analytics-metric-card .metric-subtext {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.dynamic-metric-card .metric-progress, .analytics-metric-card .metric-progress {
    height: 4px;
    background: #f1f5f9;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1rem;
}

.dynamic-metric-card .progress-bar, .analytics-metric-card .progress-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 1.5s ease-in-out;
    width: 0%;
}

/* Messages progress bars */
.read-progress { background: linear-gradient(90deg, #10b981, #059669); }
.unread-progress { background: linear-gradient(90deg, #f59e0b, #d97706); }
.total-progress { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.response-progress { background: linear-gradient(90deg, #8b5cf6, #7c3aed); }

/* Analytics progress bars */
.pageviews-progress { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.visitors-progress { background: linear-gradient(90deg, #10b981, #059669); }
.duration-progress { background: linear-gradient(90deg, #06b6d4, #0891b2); }
.bounce-progress { background: linear-gradient(90deg, #ef4444, #dc2626); }
.revenue-progress { background: linear-gradient(90deg, #10b981, #059669); }
.conversion-progress { background: linear-gradient(90deg, #8b5cf6, #7c3aed); }
.orders-progress { background: linear-gradient(90deg, #f59e0b, #d97706); }
.active-users-progress { background: linear-gradient(90deg, #06b6d4, #0891b2); }

/* Additional analytics icons */
.revenue-icon { background: linear-gradient(135deg, #10b981, #059669); }
.conversion-icon { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.orders-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.active-users-icon { background: linear-gradient(135deg, #06b6d4, #0891b2); }

/* Enhanced Product Cards and Dynamic Image Loading */

/* Featured Products Section */
.featured-products-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.section-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.orb-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(59, 130, 246, 0.02) 50%, transparent 70%);
}

/* Enhanced Section Header */
.section-header {
    position: relative;
    z-index: 2;
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.deco-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.deco-icon {
    margin: 0 1rem;
    color: var(--warning-color);
    font-size: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Trust Indicators */
.trust-indicators {
    margin-bottom: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-item i {
    margin-right: 0.5rem;
}

/* Enhanced Product Cards */
.product-card-enhanced {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #e5e7eb;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-card-enhanced:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.12);
    border-color: var(--primary-color);
}

.product-card-enhanced:hover .card-glow {
    opacity: 1;
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--success-color), var(--warning-color), var(--primary-color));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Product Image Container */
.product-image-container {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    margin: 12px;
}

.product-image-wrapper {
    position: relative;
    height: 360px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: all 0.4s ease;
    filter: brightness(1.05) saturate(1.1);
    border-radius: 12px;
    background: white;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-image.loaded {
    opacity: 1;
}

.product-image:hover {
    transform: scale(1.05);
}

/* Enhanced Image Placeholders */
.image-placeholder,
.image-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fafbfc;
    border-radius: 16px;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.image-fallback {
    position: relative;
}

.fallback-text {
    text-align: center;
    margin-top: 0.5rem;
}

.product-image-placeholder {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
    object-fit: cover;
}

.placeholder-content {
    text-align: center;
    padding: 1rem;
}

/* Image Loading States */
.image-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 16px;
    backdrop-filter: blur(2px);
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid #f1f5f9;
    border-top: 2px solid #0066cc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Modern Product Cards */
.product-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f5f9;
}

.product-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 102, 204, 0.12);
    border-color: rgba(0, 102, 204, 0.2);
}

/* Grid Image Styles */
.card-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #ffffff;
    border-radius: 16px;
    margin: 12px;
    border: 1px solid #f1f5f9;
}

.product-grid-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: all 0.3s ease;
    opacity: 1;
    padding: 15px;
    background: #ffffff;
    border-radius: 16px;
}

.product-grid-image:hover {
    transform: scale(1.02);
}

/* List Image Styles */
.list-image {
    height: 120px;
    width: 160px;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.product-list-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    padding: 6px;
}

/* Enhanced Product Info */
.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title,
.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-brand {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.spec-item {
    background: #f8f9fa;
    color: #6c757d;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-description,
.product-summary {
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

/* Enhanced Badges */
.product-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.availability-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
}

.available {
    background: rgba(40, 167, 69, 0.9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.info-only {
    background: rgba(108, 117, 125, 0.9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.coming-soon {
    background: rgba(245, 158, 11, 0.9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.not-available {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Product Specs Styling */
.product-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.spec-item i {
    width: 16px;
    color: #3b82f6;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Additional Product Card Enhancements */
.product-actions,
.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f1f3f4;
    background: #fafbfc;
}

.btn-primary-modern,
.btn-cta-modern {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

.btn-primary-modern:hover,
.btn-cta-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
    color: white;
    text-decoration: none;
}

/* Featured Products Section Styles */
.featured-products-modern {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 102, 204, 0.1);
    color: #0066cc;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Image overlay effects */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.card-image:hover .image-overlay,
.product-image-wrapper:hover .image-overlay {
    opacity: 1;
}

.quick-view {
    background: white;
    color: #0066cc;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.image-overlay:hover .quick-view {
    transform: translateY(0);
}

.quick-view:hover {
    background: #0066cc;
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skeleton-loader {
    width: 80%;
    height: 60%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 12px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.image-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: var(--text-light);
}

.image-fallback.active {
    display: flex;
}

.image-wrapper.error .image-fallback {
    display: flex;
}

.image-fallback i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Image Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-image-container:hover .image-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: white;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.image-overlay:hover .quick-view-btn {
    transform: translateY(0);
}

.quick-view-btn:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* Status Badges */
.status-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-success {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.9);
    color: white;
}

.badge-secondary {
    background: rgba(107, 114, 128, 0.9);
    color: white;
}

/* Product Content */
.product-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-header {
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-brand {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.product-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.detail-item i {
    font-size: 0.9rem;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
}

/* Product Actions */
.product-actions {
    margin-top: auto;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.discount-badge {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Enhanced Buttons */
.btn-enhanced {
    position: relative;
    overflow: hidden;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.btn-enhanced:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
    color: white;
    text-decoration: none;
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-enhanced:active .btn-ripple {
    width: 300px;
    height: 300px;
}

/* Enhanced CTA */
.btn-enhanced-cta {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
}

.btn-enhanced-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.4);
    color: white;
    text-decoration: none;
}

.btn-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--success-color), var(--warning-color), var(--primary-color));
    border-radius: 32px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotate 3s linear infinite;
}

.btn-enhanced-cta:hover .btn-glow {
    opacity: 0.7;
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* CTA Container */
.cta-container {
    position: relative;
    z-index: 2;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .products-filters .row {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-controls {
        justify-content: space-between;
    }

    .view-options {
        display: none;
    }

    .card-image {
        height: 200px;
    }

    .image-placeholder i {
        font-size: 1.5rem;
    }

    /* Modern List View Mobile Styles */
    .product-list-item-modern {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        min-height: auto;
    }

    .product-list-item-modern .row {
        flex-direction: column;
        text-align: center;
    }

    .list-image-modern {
        width: 180px;
        height: 130px;
        margin: 0 auto 1.5rem auto;
    }

    .list-content-modern {
        padding: 0;
        margin-bottom: 1.5rem;
    }

    .product-header-modern {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.75rem;
    }

    .product-title-modern {
        font-size: 1.2rem;
    }

    .product-specs-modern {
        justify-content: center;
    }

    .list-actions-modern {
        text-align: center;
        padding-left: 0;
        min-height: auto;
    }

    .product-badges-modern {
        align-items: center;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }
}

/* Modern List View Styles */
.product-list-item-modern {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.product-list-item-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.product-list-item-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.18);
    border-color: rgba(0, 102, 204, 0.2);
}

.product-list-item-modern:hover::before {
    transform: scaleY(1);
}

.list-image-modern {
    width: 240px;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.product-list-image-modern {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 12px;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.product-list-image-modern:hover {
    transform: scale(1.03);
}

.image-placeholder-modern {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: #94a3b8;
    font-size: 2rem;
    border-radius: 12px;
    text-align: center;
    padding: 1rem;
}

.list-content-modern {
    padding: 0 1.5rem;
    flex: 1;
}

.product-header-modern {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.product-title-modern {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.product-brand-modern {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-specs-modern {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.spec-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.spec-badge i {
    font-size: 0.7rem;
    color: var(--primary-color);
}

.list-description-modern {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    margin-bottom: 1rem;
}

.list-actions-modern {
    text-align: right;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
}

.product-badges-modern {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    align-items: flex-end;
}

.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid transparent;
}

.badge-available {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.2);
}

.badge-info {
    background: rgba(107, 114, 128, 0.1);
    color: #4b5563;
    border-color: rgba(107, 114, 128, 0.2);
}

.badge-prescription {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border-color: rgba(245, 158, 11, 0.2);
}

.btn-modern-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
    border: none;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
    color: white;
    text-decoration: none;
}

.btn-modern-primary i {
    transition: transform 0.3s ease;
}

.btn-modern-primary:hover i {
    transform: translateX(3px);
}

/* Legacy List View Styles (for backward compatibility) */
.product-list-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.product-list-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.list-image {
    max-width: 120px;
}

.list-image img {
    border-radius: 10px;
}

.list-image .image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafbfc;
    font-size: 1.5rem;
    color: #cbd5e1;
    border: 1px solid #f1f5f9;
    margin: 0;
    padding: 4px;
}

.product-meta {
    margin-bottom: 0.5rem;
}

.meta-item {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.list-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Team Section Styles */
.team-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 102, 204, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 102, 204, 0.08);
    position: relative;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.15);
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: all 0.4s ease;
    filter: brightness(1.05) saturate(1.1);
}

.team-card:hover .team-image {
    transform: scale(1.05);
    filter: brightness(1.1) saturate(1.2);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.85), rgba(0, 68, 153, 0.85));
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.team-card:hover .team-icon {
    transform: scale(1);
}

.team-icon i {
    font-size: 1.8rem;
    color: white;
}

.team-content {
    padding: 2rem;
    text-align: center;
}

.team-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.team-position {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-badge {
    display: inline-block;
}

.team-badge span {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 68, 153, 0.1));
    color: var(--primary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 102, 204, 0.2);
    transition: all 0.3s ease;
}

.team-card:hover .team-badge span {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Team Section Responsive Design */
@media (max-width: 768px) {
    .team-card {
        margin-bottom: 2rem;
    }
    
    .team-image-wrapper {
        height: 320px;
    }
    
    .team-content {
        padding: 1.5rem;
    }
    
    .team-name {
        font-size: 1.2rem;
    }
    
    .team-bio {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .team-image-wrapper {
        height: 280px;
    }
    
    .team-content {
        padding: 1.25rem;
    }
    
    .team-name {
        font-size: 1.1rem;
    }
    
    .team-position {
        font-size: 0.9rem;
    }
    
    .team-bio {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
}