/* ============================================
   WasteCollectionSystem - Modern Theme
   Color Palette: Green #2c8558, Dark #1a1a2e
   ============================================ */

:root {
    --primary-green: #2c8558;
    --primary-green-dark: #1f6040;
    --primary-green-light: #3da76d;
    --dark-bg: #1a1a2e;
    --dark-card: #16213e;
    --dark-accent: #0f3460;
    --text-light: #e8e8e8;
    --text-muted: #64748b;
    --text-dark: #1e293b;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-xs: 6px;
}

/* ============================================
   Base Styles
   ============================================ */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    color: var(--text-dark);
    line-height: 1.6;
    padding-bottom: 0;
}

/* Main content wrapper */
.main-content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

main[role="main"] {
    flex: 1 0 auto;
}

/* ============================================
   Navbar Styles
   ============================================ */
.navbar {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--white) !important;
    letter-spacing: -0.02em;
}

.navbar-brand i {
    color: var(--primary-green-light);
    font-size: 1.4rem;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius-xs);
    transition: var(--transition);
    font-size: 0.9rem;
}

.navbar .nav-link:hover {
    color: var(--white) !important;
    background: rgba(44, 133, 88, 0.25);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

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

/* ============================================
   User Dropdown
   ============================================ */
.user-dropdown {
    padding: 0.4rem 0.75rem !important;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-dropdown:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

.user-dropdown::after {
    margin-left: 0.5rem;
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.user-avatar-large {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    margin: 0 auto;
}

.user-name {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.user-name-large {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.user-dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem;
    min-width: 220px;
    margin-top: 0.75rem !important;
    animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-dropdown-menu .dropdown-header {
    text-align: center;
    padding: 1rem 0.75rem;
    background: #f8fafc;
    border-radius: var(--border-radius-xs);
    margin-bottom: 0.25rem;
}

.user-dropdown-menu .dropdown-item {
    border-radius: var(--border-radius-xs);
    padding: 0.6rem 1rem;
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--text-dark);
}

.user-dropdown-menu .dropdown-item:hover {
    background: rgba(44, 133, 88, 0.08);
    color: var(--primary-green);
}

.user-dropdown-menu .dropdown-item.text-danger:hover {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}

.user-dropdown-menu .dropdown-divider {
    margin: 0.35rem 0;
    opacity: 0.1;
}

/* ============================================
   Role Badges
   ============================================ */
.badge-admin {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    font-weight: 600;
    font-size: 0.65rem;
    padding: 0.3rem 0.55rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.badge-driver {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    color: white;
    font-weight: 600;
    font-size: 0.65rem;
    padding: 0.3rem 0.55rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.badge-manager {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    color: white;
    font-weight: 600;
    font-size: 0.65rem;
    padding: 0.3rem 0.55rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.badge-supervisor {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    color: white;
    font-weight: 600;
    font-size: 0.65rem;
    padding: 0.3rem 0.55rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.badge-user {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    font-weight: 600;
    font-size: 0.65rem;
    padding: 0.3rem 0.55rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ============================================
   Auth Pages
   ============================================ */
.auth-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    min-height: auto;
}

.auth-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (max-width: 576px) {
    .auth-card {
        padding: 1.75rem;
        margin: 0 0.5rem;
        border-radius: var(--border-radius-sm);
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 24px rgba(44, 133, 88, 0.25);
}

.auth-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.auth-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.auth-header p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ============================================
   Form Styles
   ============================================ */
.form-floating {
    position: relative;
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.25rem + 2px);
    border-radius: var(--border-radius-xs);
    border: 1.5px solid #e2e8f0;
    padding: 1rem 0.875rem;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: #fafbfc;
}

.form-floating > .form-control:hover,
.form-floating > .form-select:hover {
    border-color: #cbd5e1;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(44, 133, 88, 0.12);
    background-color: var(--white);
}

.form-floating > label {
    padding: 0.875rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: var(--primary-green);
    font-size: 0.8rem;
    background: var(--white);
    padding: 0 0.35rem;
    height: auto;
}

.form-check-input {
    width: 1.1em;
    height: 1.1em;
    border: 1.5px solid #cbd5e1;
}

.form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.form-check-input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(44, 133, 88, 0.12);
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.text-danger.small {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    font-weight: 600;
    border-radius: var(--border-radius-xs);
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 14px rgba(44, 133, 88, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--primary-green) 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(44, 133, 88, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
}

.btn-light {
    background: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: var(--text-dark);
}

.btn-light:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

.btn-outline-primary {
    border: 1.5px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
}

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

.btn-outline-danger {
    border: 1.5px solid #dc2626;
    color: #dc2626;
}

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

/* ============================================
   Cards
   ============================================ */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: var(--white);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem;
}

.card-body {
    padding: 1.25rem;
}

/* ============================================
   Admin Dashboard
   ============================================ */
.admin-header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.admin-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(44, 133, 88, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.admin-header h1 {
    font-weight: 700;
    margin-bottom: 0.35rem;
    font-size: 1.5rem;
}

.stat-card {
    background: var(--white);
    border-radius: var(--border-radius-sm);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary-green);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-card.users { border-left-color: #3b82f6; }
.stat-card.drivers { border-left-color: #f97316; }
.stat-card.requests { border-left-color: var(--primary-green); }
.stat-card.trucks { border-left-color: #8b5cf6; }

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.stat-icon.users { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.stat-icon.drivers { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.stat-icon.requests { background: rgba(44, 133, 88, 0.1); color: var(--primary-green); }
.stat-icon.trucks { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.2rem;
}

/* ============================================
   Tables
   ============================================ */
.table {
    margin-bottom: 0;
}

.table thead th {
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    padding: 0.75rem 1rem;
}

.table tbody td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
    border-color: #f1f5f9;
    font-size: 0.9rem;
}

.table-hover tbody tr:hover {
    background: rgba(44, 133, 88, 0.03);
}

/* ============================================
   Status Badges
   ============================================ */
.status-badge {
    padding: 0.3rem 0.65rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.status-pending { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.status-completed { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.status-active { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.status-inactive { background: rgba(107, 114, 128, 0.12); color: #6b7280; }

/* ============================================
   Profile Page
   ============================================ */
.profile-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.profile-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    padding: 2rem;
    text-align: center;
    color: var(--white);
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.25rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.profile-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.profile-body {
    padding: 2rem;
}

@media (max-width: 576px) {
    .profile-body {
        padding: 1.5rem;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 0;
    font-size: 0.875rem;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

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

.footer a:hover,
.footer-link:hover {
    color: var(--primary-green-light) !important;
    text-decoration: none;
}

/* ============================================
   Alerts
   ============================================ */
.alert {
    border: none;
    border-radius: var(--border-radius-xs);
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
}

.alert-danger {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}

.alert-success {
    background: rgba(34, 197, 94, 0.08);
    color: #16a34a;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.08);
    color: #d97706;
}

.alert-info {
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
}

.alert:empty {
    display: none;
}

/* Hide empty validation summary */
.alert[role="alert"]:empty,
.alert[role="alert"]:not(:has(*)) {
    display: none;
}

/* ============================================
   Focus States
   ============================================ */
.btn:focus,
.btn:active:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    outline: none;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card,
.stat-card,
.profile-card,
.feature-card {
    animation: fadeIn 0.4s ease-out;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.2);
        margin: 0.75rem -1rem -0.75rem;
        padding: 1rem;
        border-radius: var(--border-radius-xs);
    }
    
    .user-dropdown {
        justify-content: flex-start;
        width: 100%;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .auth-header h1 {
        font-size: 1.35rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   Utilities
   ============================================ */
.text-primary {
    color: var(--primary-green) !important;
}

a.text-primary:hover {
    color: var(--primary-green-dark) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.fw-semibold {
    font-weight: 600;
}

/* ============================================
   Manage Navigation
   ============================================ */
.manage-nav-card {
    background: white;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.manage-nav-header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%);
    color: white;
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.manage-nav-list {
    padding: 0.5rem;
    margin: 0;
    list-style: none;
}

.manage-nav-list .nav-item {
    margin: 0.15rem 0;
}

.manage-nav-list .nav-link {
    color: var(--text-dark);
    padding: 0.65rem 1rem;
    border-radius: var(--border-radius-xs);
    transition: var(--transition);
    font-size: 0.9rem;
    display: block;
}

.manage-nav-list .nav-link:hover {
    background: rgba(44, 133, 88, 0.08);
    color: var(--primary-green);
    text-decoration: none;
}

.manage-nav-list .nav-link.active {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    color: white;
}

/* Nav Pills Override */
.nav-pills .nav-link {
    color: var(--text-dark);
    border-radius: var(--border-radius-xs);
    padding: 0.65rem 1rem;
    transition: var(--transition);
}

.nav-pills .nav-link.active {
    background: var(--primary-green);
}

.nav-pills .nav-link:hover:not(.active) {
    background: rgba(44, 133, 88, 0.08);
    color: var(--primary-green);
}

/* ============================================
   Homepage Specific Styles
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%);
    border-radius: var(--border-radius);
    padding: 2.25rem 2rem;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -35%;
    right: -10%;
    width: 45%;
    height: 160%;
    background: radial-gradient(circle, rgba(44, 133, 88, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.text-gradient {
    background: linear-gradient(135deg, #3da76d 0%, #6ee7b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 520px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    backdrop-filter: blur(2px);
}

.hero-highlight i {
    color: var(--primary-green-light);
    font-size: 0.95rem;
}

.hero-illustration {
    width: 260px;
    height: 260px;
    background: linear-gradient(135deg, rgba(44, 133, 88, 0.15) 0%, rgba(44, 133, 88, 0.08) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.hero-illustration i {
    font-size: 7rem;
    color: var(--primary-green-light);
}

.hero-buttons .btn {
    margin-bottom: 0.5rem;
}

.btn-outline-light {
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
}

/* Features Section */
.features-section {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius-sm);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(44, 133, 88, 0.08) 0%, rgba(44, 133, 88, 0.15) 100%);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--primary-green);
}

.feature-card h4 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    border-radius: var(--border-radius-sm);
    padding: 2.5rem 2rem;
    margin-bottom: 2.5rem;
    color: white;
}

.stat-item {
    padding: 0.75rem;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
}

.stat-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Quick Actions */
.quick-actions-section {
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

.quick-actions-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.quick-action-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--primary-green);
    text-decoration: none;
}

.quick-action-card i {
    font-size: 1.75rem;
    margin-bottom: 0.6rem;
    color: var(--primary-green);
}

.quick-action-card span {
    font-weight: 600;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1.5rem;
    }
    
    .hero-title {
        font-size: 1.85rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .stats-section {
        padding: 2rem 1.5rem;
    }
    
    .stat-number {
        font-size: 1.65rem;
    }
    
    .quick-action-card {
        padding: 1.25rem 0.75rem;
    }
    
    .quick-action-card i {
        font-size: 1.5rem;
    }
}

/* ============================================
   Notification Styles
   ============================================ */
.notification-dropdown {
    border-radius: var(--border-radius-sm);
    border: none;
    box-shadow: var(--shadow-lg);
    padding: 0;
}

.notification-item {
    transition: background-color 0.2s ease;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.unread {
    background-color: #f0f9ff;
}

.notification-item.unread:hover {
    background-color: #e0f2fe;
}

.notification-link {
    padding: 0.75rem 1rem !important;
    text-decoration: none;
    color: inherit;
    display: block;
}

.notification-link:hover {
    color: inherit;
}

.notification-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f1f5f9;
}

.notification-title {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.notification-message {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.notification-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.notification-item.unread .notification-title {
    font-weight: 600;
}

.notification-item.unread .notification-icon {
    background-color: #e0f2fe;
}

.notification-group-header {
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e9ecef;
}

.notification-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
}

.notification-empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.notification-empty-state h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.notification-empty-state p {
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================
   New Landing Page Styles
   ============================================ */

/* Hero Section Enhancements */
.hero-section {
    padding: 6rem 2rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0f3460 100%);
    margin-bottom: 0;
    border-radius: 0;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: var(--transition);
    background: rgba(44, 133, 88, 0.1);
    color: var(--primary-green);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-green);
    color: white;
}

.service-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-green);
    background: rgba(44, 133, 88, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: inline-block;
}

/* How It Works Section */
.how-it-works-section {
    padding: 6rem 0;
    background: white;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(44, 133, 88, 0.2);
}

.step-icon-wrapper {
    width: 100px;
    height: 100px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.step-card:hover .step-icon-wrapper {
    background: var(--primary-green);
    transform: rotateY(180deg);
}

.step-card:hover .step-icon-wrapper i {
    color: white;
    transform: rotateY(-180deg);
}

.step-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--text-dark);
    transition: var(--transition);
}

/* Key Features Section */
.key-features-section {
    padding: 6rem 0;
    background-color: #f1f5f9;
}

.feature-grid-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.feature-grid-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.feature-grid-icon {
    font-size: 2rem;
    color: var(--primary-green);
    margin-right: 1.5rem;
    width: 50px;
    text-align: center;
    flex-shrink: 0;
}

/* Stats Counter Section */
.stats-counter-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats-counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.counter-value {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.counter-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* CTA Footer */
.cta-footer {
    padding: 6rem 0;
    background: var(--dark-bg);
    color: white;
    text-align: center;
    position: relative;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-btn {
    padding: 1rem 3.5rem;
    font-size: 1.25rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(44, 133, 88, 0.4);
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(44, 133, 88, 0.5);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .counter-value {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

/* ============================================
   Modern Chatbot Widget Styles
   ============================================ */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Chat Button */
.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(44, 133, 88, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.chat-button:hover::before {
    width: 300px;
    height: 300px;
}

.chat-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(44, 133, 88, 0.5);
}

.chat-button:active {
    transform: scale(0.95);
}

.chat-button i {
    position: relative;
    z-index: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Chat Window */
.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 600px;
    max-height: calc(100vh - 120px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat-header h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-header h5 i {
    font-size: 1.2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.chat-header .btn-close {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border: none;
    opacity: 0.9;
}

.chat-header .btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
    opacity: 1;
}

/* Chat Messages Container */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(44, 133, 88, 0.2);
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(44, 133, 88, 0.3);
}

/* Messages */
.message {
    margin-bottom: 1rem;
    animation: messageSlideIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

.message.user {
    align-items: flex-end;
}

.message.bot {
    align-items: flex-start;
}

.message-content {
    max-width: 75%;
    padding: 0.875rem 1.125rem;
    border-radius: 18px;
    word-wrap: break-word;
    line-height: 1.5;
    font-size: 0.9rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.message.user .message-content {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.message.bot .message-content {
    background: white;
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    padding: 0 0.5rem;
    margin-top: 0.25rem;
}

/* Typing Indicator */
.typing-indicator {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.typing-indicator.active {
    display: flex;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-green);
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Quick Actions */
.quick-actions {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-height: 120px;
    overflow-y: auto;
}

.quick-actions::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.quick-actions::-webkit-scrollbar-thumb {
    background: rgba(44, 133, 88, 0.2);
    border-radius: 10px;
}

.action-btn {
    background: white;
    border: 1.5px solid rgba(44, 133, 88, 0.2);
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.action-btn:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 133, 88, 0.3);
}

.action-btn:active {
    transform: translateY(0);
}

/* Chat Input Area */
.chat-input-area {
    padding: 1rem 1.5rem;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.chat-input-area .form-control {
    flex: 1;
    border: 1.5px solid #e2e8f0;
    border-radius: 25px;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    transition: all 0.2s;
    background: #f8fafc;
}

.chat-input-area .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(44, 133, 88, 0.1);
    background: white;
    outline: none;
}

.chat-input-area .btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    border: none;
    color: white;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(44, 133, 88, 0.3);
}

.chat-input-area .btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 16px rgba(44, 133, 88, 0.4);
}

.chat-input-area .btn:active {
    transform: scale(0.95);
}

.chat-input-area .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Design */
@media (max-width: 576px) {
    .chat-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .chat-button {
        width: 56px;
        height: 56px;
        font-size: 1.35rem;
    }
    
    .chat-window {
        width: calc(100vw - 30px);
        height: calc(100vh - 100px);
        max-height: calc(100vh - 100px);
        bottom: 76px;
        right: 15px;
        border-radius: 16px;
    }
    
    .chat-header {
        border-radius: 16px 16px 0 0;
        padding: 1rem 1.25rem;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .quick-actions {
        padding: 0.75rem 1rem;
    }
    
    .action-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.85rem;
    }
    
    .chat-input-area {
        padding: 0.75rem 1rem;
    }
}

/* Empty State */
.chat-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
}

.chat-empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
    color: var(--primary-green);
}

.chat-empty-state p {
    font-size: 0.9rem;
    margin: 0;
}

/* Message Status Indicators */
.message-status {
    font-size: 0.65rem;
    opacity: 0.6;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.message-status i {
    font-size: 0.7rem;
}

/* Smooth Scroll Behavior */
.chat-messages {
    scroll-padding-bottom: 1rem;
}

/* Footer Utilities */
.hover-success { transition: color 0.3s ease; }
.hover-success:hover { color: var(--primary-green-light) !important; }
