/* ========================================
   CAMINHOIT - MAIN STYLESHEET
   Modern Purple Theme with Perfect Navbar
======================================== */

:root {
    /* Color Variables */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --warning-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --danger-gradient: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    --info-gradient: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    
    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow-light: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --card-shadow-light: 0 5px 15px rgba(0, 0, 0, 0.08);
    
    /* Borders and Transitions */
    --border-radius: 12px;
    --border-radius-large: 20px;
    --border-radius-small: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
    
    /* Spacing */
    --section-padding: 4rem 0;
    --card-padding: 2rem;
    --element-spacing: 1.5rem;
    
    /* Typography */
    --heading-font-weight: 700;
    --text-font-weight: 400;
    --font-size-hero: 3.5rem;
    --font-size-section: 2.5rem;
    --font-size-card: 1.25rem;
    
    /* Z-index scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    
    /* Footer Specific */
    --footer-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --footer-text: rgba(255, 255, 255, 0.9);
    --footer-text-light: rgba(255, 255, 255, 0.7);
    --footer-accent: #a7b9cf;
}

/* ========================================
   RESET & GLOBAL STYLING
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Poppins', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    line-height: 1.6;
    padding-top: 56px !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

/* ========================================
   PERFECT NAVBAR STYLES
======================================== */
.navbar-enhanced {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    transition: var(--transition);
    padding: 0;
    background: linear-gradient(135deg, #5a67d8 0%, #667eea 50%, #764ba2 100%);
    backdrop-filter: none;
    min-height: 56px;
    height: 56px;
    box-shadow: none;
    border: none;
}

.navbar-enhanced.scrolled {
    background: linear-gradient(135deg, #5a67d8 0%, #667eea 50%, #764ba2 100%) !important;
    backdrop-filter: none;
    border-bottom: none;
    padding: 0;
    box-shadow: none;
    min-height: 56px;
    height: 56px;
}

.navbar-enhanced .container-fluid {
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand Styling */
.navbar-brand {
    transition: none;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.navbar-enhanced.scrolled .navbar-brand {
    transform: none;
}

.logo-text-nav {
    font-weight: 600;
    font-size: 16px;
    color: white !important;
    transition: none;
    white-space: nowrap;
    line-height: 1;
    letter-spacing: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.navbar-enhanced.scrolled .logo-text-nav {
    color: white !important;
}

.logo-text-nav .it {
    color: #cbd5e0 !important;
    font-weight: 600;
}

.navbar-enhanced.scrolled .logo-text-nav .it {
    color: #cbd5e0 !important;
}

.navbar-brand i {
    font-size: 18px;
    color: white;
}

/* Navigation Links */
.navbar-nav {
    align-items: center;
    gap: 0;
    margin: 0;
    height: 100%;
}

.navbar-nav .nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 16px !important;
    border-radius: 0;
    white-space: nowrap;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    background: transparent;
    border: none;
}

.navbar-enhanced.scrolled .navbar-nav .nav-link {
    color: white !important;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-enhanced.scrolled .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
}

.navbar-nav .nav-link i {
    font-size: 14px;
}

/* Notification Badge */
.nav-notification-badge {
    position: absolute;
    top: 12px;
    right: 8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    z-index: 10;
    border: 1px solid #5a67d8;
}

/* Right Side Navigation */
.navbar-nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
}

/* Language Section */
.lang-section {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 0;
    background: transparent;
    border: none;
    height: auto;
}

.lang-section:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.lang-flag {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 9px;
}

/* User Section */
.user-section {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    height: auto;
}

.user-section:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.user-avatar {
    width: 20px;
    height: 20px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 9px;
}

/* Hide old user dropdown button */
.user-dropdown-btn {
    display: none !important;
}

/* Perfect Dropdown Menu */
.dropdown-menu {
    border: none !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: none !important;
    background: white !important;
    padding: 4px 0 !important;
    margin-top: 4px !important;
    animation: none !important;
    min-width: 180px !important;
    max-width: 220px !important;
    z-index: 9999 !important;
    position: absolute !important;
    transform: none !important;
}

.dropdown-menu-ref {
    border: none;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: white;
    padding: 4px 0;
    margin-top: 4px;
    min-width: 180px;
    z-index: 9999;
}

/* Perfect Dropdown Items */
.dropdown-item {
    padding: 8px 16px !important;
    color: #374151 !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    border-radius: 0 !important;
    margin: 0 !important;
    transition: var(--transition-fast) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    border: none !important;
    background: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: unset !important;
    max-width: none !important;
}

.dropdown-item:hover {
    background: #f3f4f6 !important;
    color: #1f2937 !important;
    transform: none !important;
    border-radius: 0 !important;
}

.dropdown-item i {
    width: 14px !important;
    text-align: center !important;
    margin-right: 0 !important;
    font-size: 12px !important;
    opacity: 0.7 !important;
}

/* Dropdown positioning fixes */
#langDropdown + .dropdown-menu,
.lang-section + .dropdown-menu {
    right: 0 !important;
    left: auto !important;
    min-width: 140px !important;
    max-width: 140px !important;
}

#userDropdown + .dropdown-menu,
.user-section + .dropdown-menu {
    right: 0 !important;
    left: auto !important;
    min-width: 180px !important;
}

#supportDropdown + .dropdown-menu {
    right: auto !important;
    left: 0 !important;
    min-width: 220px !important;
}

#servicesDropdown + .dropdown-menu {
    right: auto !important;
    left: 0 !important;
    min-width: 220px !important;
}

/* Remove dropdown arrows */
.dropdown-toggle::after {
    display: none !important;
}

/* Mobile navbar */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

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

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-enhanced {
        height: auto;
        min-height: 56px;
    }
    
    .navbar-collapse {
        background: white;
        border-radius: 6px;
        margin-top: 4px;
        padding: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .navbar-enhanced .navbar-nav {
        flex-direction: column;
        gap: 4px;
        margin: 0;
        width: 100%;
        height: auto;
    }
    
    .navbar-enhanced .nav-link {
        color: #374151 !important;
        padding: 8px 12px !important;
        justify-content: flex-start;
        width: 100%;
        height: auto;
    }
    
    .user-section {
        background: #f3f4f6;
        color: #374151;
        margin-top: 8px;
        justify-content: flex-start;
        width: 100%;
    }
    
    .lang-section {
        color: #374151;
        justify-content: flex-start;
        width: 100%;
    }
    
    .navbar-nav-right {
        margin-left: 0;
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        background: white;
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
        right: auto !important;
        left: auto !important;
        max-width: 100%;
    }
}

/* ========================================
   COMPACT HERO SECTION
======================================== */
.hero-enhanced {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.hero-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,100 1000,100 1000,20"/></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero-content-enhanced {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 0;
}

.hero-title-enhanced {
    font-size: 2.5rem;
    font-weight: var(--heading-font-weight);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    line-height: 1.2;
    color: white;
}

.hero-subtitle-enhanced {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.hero-btn {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: #667eea;
    text-decoration: none;
}

.hero-btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.5);
}

.hero-btn-outline:hover {
    background: white;
    color: #667eea;
    border-color: white;
    text-decoration: none;
}

/* ========================================
   COMPACT CONTAINER SPACING
======================================== */
.container.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

#ticket-form {
    margin-top: -60px !important;
}

#services-overview {
    margin-top: -60px !important;
}

/* ========================================
   ENHANCED CARDS & COMPONENTS
======================================== */
.enhanced-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: none;
    overflow: hidden;
    position: relative;
}

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

.enhanced-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.card-icon.primary { background: var(--primary-gradient); }
.card-icon.success { background: var(--success-gradient); }
.card-icon.warning { background: var(--warning-gradient); }
.card-icon.info { background: var(--info-gradient); }

/* Enhanced Breadcrumb */
.breadcrumb-enhanced {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow-light);
    transition: var(--transition);
}

.breadcrumb-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

/* Fade-in animation utilities */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   COMPACT TICKET WIZARD
======================================== */
.ticket-wizard {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: var(--card-shadow-hover);
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
    min-height: 400px;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-indicator {
    text-align: center;
    margin-bottom: 2rem;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.step-subtitle {
    color: #6c757d;
    font-size: 1rem;
}

.progress-bar-container {
    background: #e9ecef;
    height: 6px;
    border-radius: 10px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 10px;
    transition: width 0.5s ease;
    width: 33.33%;
}

.category-button {
    display: block;
    width: 100%;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    text-align: left;
    transition: var(--transition);
    color: #495057;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.category-button:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    border-color: #667eea;
    color: #667eea;
}

.category-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-button:hover::before {
    left: 100%;
}

.category-icon {
    font-size: 2.5rem;
    margin-right: 1.25rem;
    color: #667eea;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.category-description {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}

/* ========================================
   ENHANCED BUTTONS
======================================== */
.btn-enhanced {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.btn-enhanced:hover::before {
    width: 300px;
    height: 300px;
}

.btn-enhanced span {
    position: relative;
    z-index: 1;
}

.btn-enhanced.btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.btn-enhanced.btn-success {
    background: var(--success-gradient);
    color: white;
}

.btn-enhanced.btn-warning {
    background: var(--warning-gradient);
    color: white;
}

.btn-enhanced.btn-info {
    background: var(--info-gradient);
    color: white;
}

.btn-enhanced.btn-outline-secondary {
    background: transparent;
    border: 2px solid #6c757d;
    color: #6c757d;
}

.btn-enhanced.btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
}

.btn-enhanced.btn-outline-primary {
    background: transparent !important;
    border: 2px solid #667eea !important;
    color: #667eea !important;
}

.btn-enhanced.btn-outline-primary:hover {
    background: var(--primary-gradient) !important;
    color: white !important;
    border-color: transparent !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
}

/* ========================================
   DASHBOARD COMPONENTS
======================================== */
.dashboard-overlap-section {
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.dashboard-stat-box {
    background: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.dashboard-stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    text-decoration: none;
    color: inherit;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-number.primary { color: #667eea; }
.stat-number.success { color: #11998e; }
.stat-number.warning { color: #f093fb; }
.stat-number.danger { color: #ff6b6b; }
.stat-number.info { color: #74b9ff; }

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.dashboard-box {
    background: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dashboard-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

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

/* ========================================
   ENHANCED FOOTER
======================================== */
.footer-enhanced {
    position: relative;
    margin-top: 4rem;
    overflow: hidden;
}

.footer-gradient {
    background: var(--footer-gradient);
    position: relative;
    z-index: 2;
}

.footer-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 15s ease-in-out infinite;
}

.footer-shape-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.footer-shape-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
    animation-delay: 5s;
}

.footer-shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

.footer-brand {
    position: relative;
    z-index: 3;
}

.footer-logo {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.brand-text h4 {
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
}

.it-accent {
    color: var(--footer-accent);
}

.brand-tagline {
    color: var(--footer-text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-description {
    color: var(--footer-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-heading {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--footer-accent);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: white;
    transform: translateX(3px);
}

.footer-links a::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--footer-accent);
    border-radius: 50%;
    margin-right: 8px;
    transition: var(--transition);
}

.footer-links a:hover::before {
    background: white;
    transform: scale(1.5);
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--footer-text);
    font-size: 0.9rem;
}

.contact-item i {
    width: 20px;
    color: var(--footer-accent);
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item strong {
    color: white;
}

.contact-item a {
    color: var(--footer-text);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    position: relative;
    z-index: 3;
}

.footer-copyright {
    color: var(--footer-text);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--footer-text);
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.security-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.security-badge i {
    color: var(--footer-accent);
    font-size: 0.9rem;
}

/* ========================================
   ANIMATIONS & UTILITIES
======================================== */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary { background: var(--primary-gradient); }
.bg-gradient-success { background: var(--success-gradient); }
.bg-gradient-warning { background: var(--warning-gradient); }
.bg-gradient-info { background: var(--info-gradient); }
.bg-gradient-danger { background: var(--danger-gradient); }

.shadow-enhanced { box-shadow: var(--card-shadow); }
.shadow-enhanced-hover:hover { box-shadow: var(--card-shadow-hover); }
.rounded-enhanced { border-radius: var(--border-radius); }
.rounded-enhanced-large { border-radius: var(--border-radius-large); }

/* ========================================
   CONTENT SECTIONS
======================================== */
.content-section {
    padding: var(--section-padding);
}

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

.section-title {
    font-size: var(--font-size-section);
    font-weight: var(--heading-font-weight);
    color: #2c3e50;
    margin-bottom: 1rem;
}

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

/* ========================================
   ADMIN SIDEBAR STYLES
======================================== */
.admin-sidebar {
    position: fixed;
    top: 70px;
    left: 0;
    width: 280px;
    height: calc(100vh - 70px);
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
    z-index: 1000;
    transform: translateX(0);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.admin-sidebar.collapsed {
    transform: translateX(-100%);
}

.sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-nav .nav-link {
    padding: 0.75rem 1.5rem;
    color: #495057;
    border-radius: 0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    background: #e9ecef;
    color: #667eea;
}

.sidebar-toggle {
    position: fixed;
    top: 80px;
    left: 10px;
    z-index: 1001;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: none;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Tickets Section Styles */
.tickets-header {
    cursor: pointer;
    background: #e9ecef !important;
    color: #495057 !important;
    font-weight: 600;
}

.tickets-header:hover {
    background: #dee2e6 !important;
    color: #667eea !important;
}

.submenu-link {
    padding: 0.5rem 1.5rem 0.5rem 3rem !important;
    font-size: 0.875rem;
    color: #6c757d !important;
    margin-left: 0;
    border-left: 2px solid transparent;
}

.submenu-link:hover {
    background: #e9ecef !important;
    color: #667eea !important;
    border-left-color: #667eea;
}

.submenu-link.active {
    background: #667eea !important;
    color: white !important;
    border-left-color: #5a67d8;
}

.submenu-link .badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.4rem;
    min-width: 1.5rem;
    text-align: center;
}

/* Adjust main content when sidebar is present */
body.admin-layout {
    margin-left: 280px;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
    :root {
        --font-size-hero: 2.5rem;
        --font-size-section: 2rem;
        --section-padding: 2rem 0;
        --card-padding: 1.5rem;
    }
    
    body {
        padding-top: 56px !important;
    }
    
    .hero-enhanced {
        min-height: 35vh;
    }
    
    .hero-title-enhanced {
        font-size: 2rem;
    }
    
    .hero-subtitle-enhanced {
        font-size: 1rem;
    }
    
    .hero-content-enhanced {
        padding: 1.5rem 0;
    }
    
    #ticket-form,
    #services-overview {
        margin-top: -40px !important;
    }
    
    .ticket-wizard {
        padding: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .admin-sidebar {
        transform: translateX(-100%);
        top: 56px;
        height: calc(100vh - 56px);
    }
    
    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        top: 66px;
    }
    
    body.admin-layout {
        margin-left: 0;
    }
    
    .admin-sidebar.show {
        transform: translateX(0);
    }
    
    .footer-enhanced .container {
        padding: 0 1rem;
    }
    
    .footer-badges {
        justify-content: flex-start;
        margin-top: 1rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .footer-bottom .col-md-6:first-child {
        margin-bottom: 1rem;
    }
}

/* ========================================
   LEGACY COMPATIBILITY
======================================== */
.hero {
    position: relative;
    height: 45vh;
    background: var(--primary-gradient);
    color: #ffffff;
    text-align: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.hero .container {
    position: relative;
    z-index: 2;
    top: 30%;
}

.hero h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero p.lead {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.dashboard-hero {
    height: 40vh;
    background: var(--primary-gradient);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    position: relative;
}

.dashboard-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.dashboard-hero .hero-content {
    position: relative;
    z-index: 2;
    top: 25%;
    text-align: center;
}

/* ========================================
   LEGACY BUTTON STYLES
======================================== */
.btn-custom-primary {
    background: var(--primary-gradient);
    border: none;
    color: white;
    transition: var(--transition);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-custom-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-custom-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-custom-secondary:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

.btn-outline-primary {
    border-color: #667eea;
    color: #667eea;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

.btn-outline-danger {
    border-color: #ff6b6b;
    color: #ff6b6b;
    transition: var(--transition);
}

.btn-outline-danger:hover {
    background: var(--danger-gradient);
    border-color: transparent;
    color: white;
}

/* ========================================
   LEGACY FORM STYLES
======================================== */
body.login-page {
    background-color: #f8f9fa;
}

.login-page .hero.login-hero {
    height: 45vh;
    background: var(--primary-gradient);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    position: relative;
}

.login-page .hero-content {
    top: 25%;
}

.login-overlap-box {
    position: relative;
    z-index: 5;
    margin-top: -100px;
}

.login-page .login-box {
    background-color: #ffffff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    text-align: center;
    max-width: 1400px;
    width: 90%;
}

.login-page .login-box img {
    height: 60px;
    margin-bottom: 20px;
}

.btn-login {
    border-radius: 50px;
    padding: 15px 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s ease;
    width: 100%;
}

.btn-google {
    background-color: #db4437;
    color: #ffffff;
}

.btn-google:hover {
    background-color: #c23321;
}

.btn-microsoft {
    background-color: #0078d4;
    color: #ffffff;
}

.btn-microsoft:hover {
    background-color: #005a9e;
}

.btn-discord {
    background-color: #23272a;
    color: #ffffff;
}

.btn-discord:hover {
    background-color: #1e2124;
}

.section-container {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    margin-top: -80px;
    z-index: 5;
    position: relative;
}

.section-heading {
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.icon-feature {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 15px;
}

.about-page .section-container {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.about-page .section-heading {
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}

.highlight-quote {
    border-left: 4px solid #667eea;
    background-color: #f1f5fa;
    padding: 15px 20px;
    margin-top: 25px;
    margin-bottom: 10px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #333;
}

.highlight-quote .quote-icon {
    font-size: 1.3rem;
    margin-top: 3px;
    color: #667eea;
}

.company-search-area {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -50px;
    z-index: 5;
}

.search-bar-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-bar {
    position: relative;
    width: 400px;
    transition: width 0.4s ease;
}

.search-bar input[type="text"] {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 50px;
    border: 2px solid #667eea;
    outline: none;
    font-size: 1rem;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.search-bar input[type="text"]:focus {
    border-color: #5a67d8;
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
}

.search-bar .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #667eea;
    pointer-events: none;
}

.ticket-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ticket-filters a {
    background-color: #f8f9fa;
    color: #212529;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    position: relative;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out, color 0.2s;
}

.ticket-filters a:hover {
    background-color: #e2e6ea;
    color: #000;
}

.ticket-filters a.active {
    background-color: #667eea;
    color: #fff;
    border-color: #667eea;
}

.ticket-filters a .badge {
    background-color: #6c757d;
    color: white;
    font-size: 0.75rem;
    padding: 0.35em 0.6em;
    border-radius: 1rem;
    position: absolute;
    top: -6px;
    right: -6px;
}

footer {
    background: var(--primary-gradient);
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

footer p {
    margin: 0;
}

/* ========================================
   ENHANCED COOKIE NOTICE - FIXED
======================================== */
.cookie-notice {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    max-width: 420px !important;
    background: white !important;
    border-radius: var(--border-radius-large) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    z-index: 9999 !important;
    display: block !important;
    animation: slideInUp 0.5s ease-out !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.cookie-notice.hidden {
    display: none !important;
}

.cookie-content {
    padding: 1.5rem !important;
    display: flex !important;
    gap: 1rem !important;
    position: relative !important;
    background: white !important;
}

.cookie-icon {
    font-size: 2rem !important;
    flex-shrink: 0 !important;
    margin-top: 0.25rem !important;
    color: #667eea !important;
}

.cookie-text {
    flex: 1 !important;
}

.cookie-title {
    color: #1f2937 !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
}

.cookie-description {
    color: #6b7280 !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
}

.cookie-actions {
    display: flex !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
}

.btn-cookie-info {
    background: transparent !important;
    border: 1px solid #d1d5db !important;
    color: #6b7280 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    transition: var(--transition) !important;
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    font-family: inherit !important;
}

.btn-cookie-info:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
    color: #374151 !important;
    text-decoration: none !important;
}

.btn-cookie-accept {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    display: inline-flex !important;
    align-items: center !important;
    font-family: inherit !important;
    font-weight: 500 !important;
}

.btn-cookie-accept:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
}

.cookie-close {
    position: absolute !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    background: none !important;
    border: none !important;
    color: #9ca3af !important;
    cursor: pointer !important;
    padding: 0.25rem !important;
    border-radius: 4px !important;
    transition: var(--transition) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 14px !important;
}

.cookie-close:hover {
    background: #f3f4f6 !important;
    color: #6b7280 !important;
}

@keyframes slideInUp {
    from { 
        opacity: 0; 
        transform: translateY(50px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Mobile responsive for cookie notice */
@media (max-width: 576px) {
    .cookie-notice {
        left: 20px !important;
        right: 20px !important;
        max-width: none !important;
        bottom: 20px !important;
    }
    
    .cookie-content {
        flex-direction: column !important;
        text-align: center !important;
        padding: 1.25rem !important;
    }
    
    .cookie-icon {
        align-self: center !important;
        margin-bottom: 0.5rem !important;
        margin-top: 0 !important;
    }
    
    .cookie-actions {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .btn-cookie-info,
    .btn-cookie-accept {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Ensure cookie notice appears above everything */
.cookie-notice {
    z-index: 10000 !important;
}

/* NOTIFICATION BADGE POSITIONING FIX */
.nav-notification-badge {
    position: absolute !important;
    top: 8px !important;  /* Moved up from 12px */
    right: 4px !important;  /* Moved closer to right edge from 8px */
    background: #ef4444 !important;
    color: white !important;
    border-radius: 50% !important;
    width: 18px !important;
    height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    z-index: 10 !important;
    border: 1px solid #5a67d8 !important;
    /* Add a subtle shadow to make it stand out more */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Alternative positioning for better visibility */
.navbar-nav .nav-item.dropdown {
    position: relative !important;
}

.navbar-nav .nav-item.dropdown .nav-link {
    padding-right: 24px !important; /* Add extra padding to accommodate badge */
}

/* For mobile - adjust badge position */
@media (max-width: 991.98px) {
    .nav-notification-badge {
        top: 6px !important;
        right: 2px !important;
        width: 16px !important;
        height: 16px !important;
        font-size: 9px !important;
    }
}

/* Alternative: If you want the badge outside the link area completely */
.nav-notification-badge-external {
    position: absolute !important;
    top: 4px !important;
    right: -6px !important;
    background: #ef4444 !important;
    color: white !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    z-index: 10 !important;
    border: 2px solid #5a67d8 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}