/* ============================================
   Rabotenmost / WorkBridge Platform Styles
   Modern Professional Design
   ============================================ */

/* ===== Global & Reset ===== */
:root {
    /* Modern Color Palette */
    --primary-color: #0891b2;
    --primary-dark: #0e7490;
    --primary-light: #06b6d4;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --gray-color: #64748b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    --gradient-purple: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-blue: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-ocean: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    --gradient-sunset: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-colored: 0 10px 40px -10px rgba(8, 145, 178, 0.6);
    
    --border-radius: 0.75rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sort select custom styling */
.sort-select {
    min-width: 170px;
    border-radius: 0.6rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.95rem;
    border: 1px solid #e6edf3;
    box-shadow: var(--shadow-sm);
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.sort-select:focus {
    outline: none;
    box-shadow: 0 6px 18px rgba(8, 145, 178, 0.12);
    border-color: var(--primary-color);
}

/* Slight rounding for native dropdown popup where supported */
select.sort-select::-ms-expand { display: none; }

@media (max-width: 992px) {
    .sort-select { min-width: 140px; }
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(to bottom, #f8fafc 0%, #e2e8f0 100%);
    color: var(--dark-color);
    line-height: 1.6;
}

.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== Modern Navigation Styles ===== */
.modern-navbar {
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%) !important;
    padding: 1rem 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(8, 145, 178, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: #fff !important;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
}

/* ===== Modern Navigation Styles ===== */
.modern-navbar {
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%) !important;
    padding: 1rem 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-navbar:hover {
    box-shadow: 0 10px 40px -10px rgba(8, 145, 178, 0.6);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    transition: var(--transition);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: #fff !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.navbar-brand i {
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.nav-link {
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 0.75rem 1.25rem !important;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    transform: translateY(-2px);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 80%;
}

/* Login Dropdown Styles */
.login-dropdown {
    border: none;
    box-shadow: var(--shadow-2xl);
    border-radius: var(--border-radius);
    margin-top: 1rem;
    overflow: hidden;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

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

.login-dropdown .bg-light {
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%) !important;
}

.login-dropdown .input-group {
    margin-bottom: 0;
}

.login-dropdown .input-group-text {
    border-right: none;
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    border: 2px solid #e2e8f0;
    border-right: none;
    color: var(--primary-color);
}

.login-dropdown .form-control {
    border-left: none;
    padding: 0.875rem 1rem;
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    border-left: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.login-dropdown .form-control:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
    background-color: #fff;
}

.login-dropdown .input-group:focus-within .input-group-text {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: var(--primary-dark);
}

.login-dropdown .input-group:focus-within .form-control {
    border-color: var(--primary-color);
}

.login-dropdown .btn-primary {
    background: var(--gradient-ocean);
    border: none;
    padding: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(8, 145, 178, 0.3);
    transition: var(--transition);
}

.login-dropdown .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(8, 145, 178, 0.4);
}

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

.login-dropdown .btn-outline-secondary {
    border: 2px solid #e2e8f0;
    background-color: #fff;
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.75rem;
    transition: var(--transition);
}

.login-dropdown .btn-outline-secondary:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    border-color: var(--primary-light);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.login-dropdown .btn-outline-secondary:active {
    transform: translateY(0);
}

/* Page card used on login/register/forgot pages */
.login-page-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.login-page-card .row.g-0 {
    align-items: stretch;
}

.login-page-card .col-md-5 img,
.login-page-card .col-md-5 .bg-login-side,
.login-page-card .col-md-5 .bg-register-side,
.login-page-card .col-md-5 .bg-forgot-side,
.login-page-card .col-md-5 img.img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.login-page-card .p-4 {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

/* Register page card */
.register-page-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.register-page-card .row.g-0 {
    align-items: stretch;
}

.register-page-card .col-md-5 img,
.register-page-card .col-md-5 img.img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.register-page-card .p-4 {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

/* Page wrappers (page-specific hooks) */
.login-page-wrapper,
.register-page-wrapper,
.forgotpassword-page-wrapper {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.register-page-wrapper {
    /* register-specific overrides can go here */
}

.forgotpassword-page-wrapper {
    /* forgotpassword-specific overrides can go here */
}

/* Forgot password page card */
.forgotpassword-page-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.forgotpassword-page-card .row.g-0 {
    align-items: stretch;
}

.forgotpassword-page-card .col-md-5 img,
.forgotpassword-page-card .col-md-5 img.img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.forgotpassword-page-card .p-4 {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

/* Category specialists list view toggles */
#specialists-list.list-view .col-md-3 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

#specialists-list.list-view .category-specialist-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-start;
}
#specialists-list.list-view .specialist-card-header {
    flex: 0 0 90px;
}
#specialists-list.list-view .specialist-card-avatar {
    width: 72px;
    height: 72px;
    object-fit: cover;
}

/* Additional responsive/list-view fixes to prevent horizontal overflow
   and properly align content on narrow viewports. */
#specialists-list.list-view .category-specialist-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* prevent absolutely positioned children from creating scrollbar */
}

#specialists-list.list-view .verified-badge-small {
    /* avoid the large translate which can push the badge outside the card on small widths */
    right: 8px !important;
    bottom: 8px !important;
    transform: none !important;
}

#specialists-list.list-view .specialist-card-rating {
    justify-content: flex-start !important;
}

#specialists-list.list-view .specialist-card-name,
#specialists-list.list-view .specialist-card-city,
#specialists-list.list-view .specialist-card-price,
#specialists-list.list-view .specialist-card-jobs {
    text-align: left !important;
}

/* Ensure single-column stacking on small screens even if list-view class
   is not present (defensive) */
@media (max-width: 768px) {
    #specialists-list .col-md-3 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    /* Make avatars slightly smaller on very small screens */
    #specialists-list .specialist-card-avatar {
        width: 64px;
        height: 64px;
    }
}

/* Tighter avatar/alignment rules for list-view and very narrow devices */
#specialists-list.list-view .specialist-card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
}

#specialists-list.list-view .specialist-card-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex: 0 0 56px;
}

@media (max-width: 480px) {
    #specialists-list.list-view .specialist-card-avatar {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
    }
    #specialists-list.list-view .verified-badge-small {
        right: 6px !important;
        bottom: 6px !important;
    }
}

/* rating layout restored to default (no forced line-break on stars) */

/* Make the action button compact and align it to the right of the card */
#specialists-list.list-view .category-specialist-card > a.btn {
    width: auto !important;
    max-width: 140px !important;
    margin-left: auto !important;
    white-space: nowrap;
}

/* Remove vertical spacing on small list layout to keep items aligned */
#specialists-list.list-view .specialist-card-price,
#specialists-list.list-view .specialist-card-jobs,
#specialists-list.list-view .specialist-card-rating,
#specialists-list.list-view .specialist-card-name {

    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
/* City autocomplete custom dropdown (positions under input, overrides browser inconsistencies) */
.city-filter { position: relative; }
.city-autocomplete-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid #e6edf3;
    box-shadow: 0 6px 18px rgba(8, 145, 178, 0.08);
    z-index: 1200;
    max-height: 240px;
    overflow-y: auto;
    border-radius: 0.5rem;
}
.city-autocomplete-item {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
}
.city-autocomplete-item:hover,
.city-autocomplete-item:focus {
    background: #f1f5f9;
}
/* ========================================
   Pagination - Site (rounded buttons, spaced)
   Matches admin style but uses theme variables
   ======================================== */

.pagination.pagination-lg {
    gap: 0.6rem; /* slightly more breathing room */
    align-items: center;
    justify-content: center;
    display: flex;
    padding-left: 0;
    list-style: none;
}

.pagination.pagination-lg .page-link {
    padding: 0.3rem 0.55rem; /* smaller buttons */
    border-radius: 0.5rem;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16,24,39,0.06);
    background: transparent; /* no filled background */
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.pagination.pagination-lg .page-item .page-link {
    box-shadow: none;
}

/* Active: use primary color outline/text rather than filled block */
.pagination.pagination-lg .page-item.active .page-link {
    background: transparent;
    color: var(--primary-color);
    border-color: rgba(8,145,178,0.18);
    box-shadow: none;
}

/* Hover: mimic nav-link hover (subtle translucent background + slight lift) */
.pagination.pagination-lg .page-link:hover,
.pagination.pagination-lg .page-link:focus {
    background-color: rgba(255,255,255,0.06);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.pagination.pagination-lg .page-item.disabled .page-link {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 576px) {
    .pagination.pagination-lg { gap: 0.3rem; }
    .pagination.pagination-lg .page-link { padding: 0.28rem 0.45rem; min-width: 30px; height: 30px; font-size: 0.88rem; }
}


/* Profile & Settings page cards (match login visuals) */
.profile-page-card,
.settings-page-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.profile-page-card .row.g-0,
.settings-page-card .row.g-0 {
    align-items: stretch;
}

.profile-page-card .col-md-5 img,
.settings-page-card .col-md-5 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-page-card .p-4,
.settings-page-card .p-4 {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

/* Profile/Settings wrappers */
.profile-page-wrapper,
.settings-page-wrapper {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.login-dropdown .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.login-dropdown .btn-outline-primary:hover {
    background: var(--gradient-ocean);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.login-dropdown #togglePassword,
.login-dropdown #base-togglePassword {
    border-left: none;
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    border-left: none;
    color: var(--gray-color);
}

.login-dropdown #togglePassword:hover,
.login-dropdown #base-togglePassword:hover {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: var(--primary-color);
}

.login-dropdown hr {
    margin: 0;
    border-color: #e2e8f0;
}

.login-dropdown .position-relative span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-color);
    background: #fff;
}

.login-dropdown .form-check-label {
    cursor: pointer;
    font-weight: 500;
    color: var(--dark-color);
}

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

.login-dropdown .alert {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    border: none;
}

.login-dropdown .border-top {
    border-color: #e2e8f0 !important;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

/* Social Login Buttons */
.login-dropdown .fab {
    width: 20px;
}

.login-dropdown .fa-google {
    color: #DB4437;
}

.login-dropdown .fa-facebook-f {
    color: #4267B2;
}

/* Right Side Buttons */
.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.btn-outline-light:hover::before {
    left: 100%;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: #fff;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Header Search Bar */
.header-search-bar {
    max-width: 500px;
    margin: 0 auto;
}

.header-search-bar .input-group-text {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-right: none;
    color: var(--primary-color);
    padding: 0.625rem 1rem;
}

.header-search-bar .form-control {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-left: none;
    border-right: none;
    color: var(--dark-color);
    padding: 0.625rem 1rem;
}

.header-search-bar .form-control::placeholder {
    color: rgba(30, 41, 59, 0.5);
}

.header-search-bar .form-control:focus {
    background: #fff;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.header-search-bar .btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-left: none;
    color: var(--primary-color);
    padding: 0.625rem 1.25rem;
    transition: var(--transition);
}

.header-search-bar .btn:hover {
    background: #fff;
    color: var(--primary-dark);
    transform: translateY(-1px);
}

/* Mobile Search Bar */
.mobile-search-bar {
    background: linear-gradient(to right, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.mobile-search-bar .input-group-text {
    border: 2px solid #e2e8f0;
    border-right: none;
    padding: 0.75rem 1rem;
}

.mobile-search-bar .form-control {
    border: 2px solid #e2e8f0;
    border-left: none;
    border-right: none;
    padding: 0.75rem 1rem;
}

.mobile-search-bar .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.mobile-search-bar .input-group:focus-within .input-group-text {
    border-color: var(--primary-color);
}

.mobile-search-bar .btn {
    border: 2px solid var(--primary-color);
    border-left: none;
    padding: 0.75rem 1.25rem;
}

/* Notification Badges */
.badge {
    font-size: 0.7rem;
    padding: 0.35em 0.65em;
    font-weight: 700;
}

.position-relative .badge {
    animation: pulse 2s infinite;
}

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

/* Dropdown Menus */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: var(--border-radius);
    margin-top: 1rem;
    min-width: 280px;
    animation: slideDown 0.2s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

.dropdown-item {
    padding: 0.875rem 1.5rem;
    transition: var(--transition);
    font-weight: 500;
    border-radius: 0.5rem;
    margin: 0.25rem 0.5rem;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-item i {
    width: 20px;
}

.dropdown-header {
    font-weight: 700;
    color: var(--dark-color);
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-divider {
    margin: 0.5rem 1rem;
    border-color: #e2e8f0;
}

/* Secondary Category Bar */
.bg-light.border-bottom {
    background: linear-gradient(to right, #ffffff 0%, #f8fafc 50%, #ffffff 100%) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: var(--shadow-sm);
}

/* Category Links */
.category-link {
    padding: 0.75rem 0.5rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    font-weight: 600;
    position: relative;
    display: block;
}

.category-link i {
    font-size: 1.5rem;
    transition: var(--transition);
}

.category-link .category-text {
    font-size: 0.875rem;
    display: block;
}

.category-link:hover, .category-link.active {
    background: var(--gradient-ocean);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.category-link:hover i, .category-link.active i {
    transform: scale(1.2);
    color: #fff !important;
}

.category-link:hover .category-text, .category-link.active .category-text {
    color: #fff !important;
}

/* Responsive adjustments for categories */
@media (max-width: 576px) {
    .category-link {
        padding: 0.5rem 0.25rem;
    }
    
    .category-link i {
        font-size: 1.25rem;
    }
    
    .category-link .category-text {
        font-size: 0.75rem;
    }
    
    /* All Categories button full width on mobile */
    .category-link-all {
        padding: 0.75rem 1rem;
        margin-top: 0.5rem;
        border: 2px solid var(--primary-color);
        background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    }
    
    .category-link-all i {
        display: inline-block !important;
        margin-right: 0.5rem;
        margin-bottom: 0 !important;
        font-size: 1rem;
    }
    
    .category-link-all .category-text {
        display: inline;
        font-size: 0.875rem;
    }
}

@media (min-width: 992px) {
    .category-link {
        padding: 0.75rem 1.25rem;
    }
    
    .category-link i {
        display: inline-block !important;
        margin-right: 0.5rem;
        margin-bottom: 0 !important;
    }
    
    .category-link .category-text {
        display: inline;
    }
}

/* Categories Mega Menu */
.categories-mega-menu {
    min-width: 700px;
    max-width: 800px;
    border: none;
    box-shadow: var(--shadow-2xl);
    border-radius: var(--border-radius);
    margin-top: 1rem;
    animation: slideDown 0.3s ease;
}

.categories-mega-menu .dropdown-header {
    font-size: 1.125rem;
    padding: 0;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.categories-mega-menu .dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin: 0.25rem 0;
    font-weight: 500;
    transition: var(--transition);
}

.categories-mega-menu .dropdown-item:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    color: var(--primary-color);
    transform: translateX(5px);
}

.categories-mega-menu .dropdown-item i {
    width: 24px;
    text-align: center;
}

.categories-mega-menu h6.small {
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.categories-mega-menu hr {
    border-color: #e2e8f0;
}

.categories-mega-menu .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    transition: var(--transition);
}

.categories-mega-menu .btn-outline-primary:hover {
    background: var(--gradient-ocean);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Buttons ===== */
.btn {
    /* padding: 0.75rem 1.75rem; */
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::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;
}

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

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

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

.btn-primary {
    background: var(--gradient-ocean);
    border: none;
    color: #fff;
}

.btn-primary:hover {
    box-shadow: 0 10px 40px -10px rgba(8, 145, 178, 0.6);
}

/* ===== Content Area ===== */
.content-wrapper {
    flex: 1;
    padding: 2rem 0;
}

.container-fluid {
    max-width: 1500px;
}

/* ===== Top Banner / Hero Section ===== */
.top-banner {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f8fafc 100%);
    overflow: hidden;
    padding: 1.5rem 0;
}

.top-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Banner Decorative Elements */
.banner-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.banner-decoration-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -100px;
    left: -100px;
}

.banner-decoration-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: -50px;
    right: 10%;
}

.banner-decoration-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 50%;
    right: -50px;
}

/* Banner Cards */
.banner-card {
    position: relative;
    background: #fff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
}

.banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-ocean);
    transition: height 0.3s ease;
}

.banner-card-primary::before {
    background: var(--gradient-ocean);
}

.banner-card-success::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.banner-card-warning::before {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

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

.banner-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.banner-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    color: var(--primary-color);
    transition: var(--transition);
}

.banner-card-success .banner-card-icon {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: var(--success-color);
}

.banner-card-warning .banner-card-icon {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: var(--warning-color);
}

.banner-card:hover .banner-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.banner-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.banner-card-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.banner-card-description {
    font-size: 1rem;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.banner-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.banner-card-features li {
    padding: 0.75rem 0;
    color: var(--dark-color);
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
}

.banner-card-features li:last-child {
    border-bottom: none;
}

.banner-card-features li i {
    color: var(--success-color);
}

/* Banner Stats */
.banner-stats {
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.stat-icon {
    font-size: 1.5rem;
    color: #0891b2;
    margin-bottom: 0.25rem;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quick Search Bar */
.quick-search-bar {
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.quick-search-bar .input-group-text {
    background: transparent;
    border: 2px solid #e2e8f0;
    border-right: none;
    padding: 0.875rem 1rem;
}

.quick-search-bar .form-control {
    border: 2px solid #e2e8f0;
    border-left: none;
    padding: 0.875rem 1rem;
    font-size: 1rem;
}

.quick-search-bar .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.quick-search-bar .input-group:focus-within .input-group-text {
    border-color: var(--primary-color);
}

/* Animation delays for cards */
.slide-in-1 { animation-delay: 0.1s; }
.slide-in-2 { animation-delay: 0.2s; }
.slide-in-3 { animation-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
    .top-banner {
        padding: 2rem 0;
    }
    
    .banner-card {
        padding: 1.5rem;
    }
    
    .banner-card-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .banner-card-title {
        font-size: 1.5rem;
    }
    
    .stat-item {
        padding: 0.75rem 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .stat-icon {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
        display: block;
    }
    
    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .stat-label {
        font-size: 0.65rem;
        display: block;
        width: 100%;
        line-height: 1.3;
        margin-top: 0.25rem;
        text-align: center;
    }
}

/* ===== Cards ===== */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

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

/* Prevent layout jump for form cards: keep hover visual but no translate to avoid shifting */
.card.form-card:hover {
    transform: none;
    box-shadow: 0 12px 30px rgba(8,145,178,0.08);
}

.card-header {
    background-color: #fff;
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: var(--light-color);
    border-top: 1px solid #dee2e6;
    padding: 1rem 1.25rem;
}

/* ===== Profile & User Cards ===== */
.profile-card {
    text-align: center;
    padding: 2rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
    margin: 0 auto 1rem;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.profile-role {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.rating-stars {
    color: var(--warning-color);
    font-size: 1.25rem;
}

/* ===== Service Cards ===== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-card-image {
    transform: scale(1.1);
}

.service-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: var(--border-radius);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

/* ===== Forms ===== */
.form-control,
.form-select {
    border-radius: var(--border-radius);
    border: 2px solid #dee2e6;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* ===== Search Bar ===== */
.search-bar {
    max-width: 600px;
    margin: 2rem auto;
}

.search-input-group {
    position: relative;
}

.search-input-group .form-control {
    padding-right: 3rem;
}

.search-input-group .btn {
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
}

/* ===== Filters ===== */
.filter-sidebar {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* ===== Badges & Tags ===== */
.badge {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
}

.skill-badge {
    display: inline-block;
    margin: 0.25rem;
    padding: 0.5rem 1rem;
    background-color: var(--light-color);
    border-radius: 50px;
    font-size: 0.875rem;
    transition: var(--transition);
}

.skill-badge:hover {
    background-color: var(--primary-color);
    color: #fff;
    cursor: pointer;
}

/* ===== Alerts ===== */
.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-sm);
}

/* ===== Reviews & Ratings ===== */
.review-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

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

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.review-author {
    font-weight: 600;
}

.review-date {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* ===== Statistics ===== */
.stat-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), #0a58ca);
    color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    opacity: 0.9;
}

/* ===== Chat & Messages ===== */
.chat-container {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.chat-sidebar {
    border-right: 1px solid #dee2e6;
    height: 600px;
    overflow-y: auto;
}

.chat-item {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
    transition: var(--transition);
}

.chat-item:hover,
.chat-item.active {
    background-color: var(--light-color);
}

.chat-messages {
    height: 500px;
    overflow-y: auto;
    padding: 1rem;
}

.message {
    margin-bottom: 1rem;
    display: flex;
}

.message.sent {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 70%;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    background-color: var(--light-color);
}

.message.sent .message-bubble {
    background-color: var(--primary-color);
    color: #fff;
}

/* ===== Footer ===== */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.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: #fff;
    padding-left: 0.5rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1.5rem;
        border-top: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: var(--border-radius);
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
    }
    
    .nav-link {
        padding: 1rem !important;
        margin: 0.25rem 0;
    }
    
    .nav-link:hover, .nav-link.active {
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    .bg-light.border-bottom .d-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem !important;
    }
    
    .bg-light.border-bottom a {
        width: 100%;
        text-align: left;
    }
    
    .login-dropdown {
        width: 95vw !important;
        max-width: 400px;
        left: 50% !important;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .modern-navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
    }
    
    .chat-sidebar {
        height: 300px;
    }
    
    .chat-messages {
        height: 400px;
    }
    
    .btn {
        padding: 0.65rem 1.25rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-brand i {
        display: none;
    }
    
    .nav-link i {
        margin-right: 0.5rem !important;
    }
}

/* ===== Loading & Animations ===== */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15rem;
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

.bounce-in {
    animation: bounceIn 0.6s ease-out;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-ocean);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover Glow Effect */
.hover-glow:hover {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6), 0 0 40px rgba(102, 126, 234, 0.4);
}

/* ===== Utilities ===== */
.shadow-hover:hover {
    box-shadow: var(--shadow-xl) !important;
}

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

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

.bg-gradient-primary {
    background: var(--gradient-ocean);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.bg-gradient-success {
    background: var(--gradient-success);
}

.cursor-pointer {
    cursor: pointer;
}

.transition {
    transition: var(--transition);
}

.border-gradient {
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.border-gradient::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-ocean);
    border-radius: inherit;
    z-index: -1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(to bottom, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-ocean);
    border-radius: 10px;
    border: 2px solid #f8fafc;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-blue);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #667eea #f8fafc;
}

/* Selection */
::selection {
    background: var(--primary-light);
    color: #fff;
}

::-moz-selection {
    background: var(--primary-light);
    color: #fff;
}

/* ===== Owl Carousel Banner Section ===== */
.owl-banner-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.owl-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: 0;
}

.owl-banner-section .container {
    position: relative;
    z-index: 1;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    background: var(--gradient-ocean);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-color);
    margin: 0;
}

/* Specialist Card */
.specialist-card {
    margin: 15px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    display: flex;
}

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

.specialist-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* Image Wrapper */
.specialist-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--gradient-ocean);
}

.specialist-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.specialist-card:hover .specialist-image {
    transform: scale(1.1);
}

.verified-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.verified-badge i {
    color: var(--success-color);
    font-size: 1.25rem;
}

.specialist-overlay {
    position: absolute;
    inset: 0;
    background: rgba(102, 126, 234, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.specialist-overlay .btn {
    transform: translateY(20px);
    transition: var(--transition);
}

.specialist-card:hover .specialist-overlay .btn {
    transform: translateY(0);
}

/* Specialist Info */
.specialist-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.specialist-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.specialist-profession {
    font-size: 1rem;
    color: var(--gray-color);
    margin-bottom: 1rem;
}

/* Rating */
.specialist-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rating-stars i {
    font-size: 0.875rem;
}

.rating-number {
    font-weight: 700;
    color: var(--dark-color);
    margin-left: 0.25rem;
}

.reviews-count {
    color: var(--gray-color);
    font-size: 0.875rem;
}

/* Specialties */
.specialist-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.specialty-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.specialty-badge:hover {
    background: var(--gradient-ocean);
    color: #fff;
    border-color: transparent;
}

/* Stats */
.specialist-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    font-size: 0.875rem;
    color: var(--gray-color);
    justify-content: center;
}

.stat-item i {
    font-size: 1rem;
}

/* Location */
.specialist-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--dark-color);
}

.specialist-location i {
    font-size: 1rem;
}

/* Contact Button */
.btn-contact {
    margin-top: auto;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    background: var(--gradient-ocean);
    border: none;
    transition: var(--transition);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

/* Owl Carousel Navigation */
.specialists-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 -50px;
    pointer-events: none;
}

.specialists-carousel .owl-nav button {
    pointer-events: all;
    width: 50px;
    height: 50px;
    background: #fff !important;
    border-radius: 50% !important;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.specialists-carousel .owl-nav button:hover {
    background: var(--gradient-ocean) !important;
    box-shadow: var(--shadow-colored);
}

.specialists-carousel .owl-nav button span {
    font-size: 1.5rem;
    color: var(--dark-color);
    transition: var(--transition);
}

.specialists-carousel .owl-nav button:hover span {
    color: #fff;
}

.specialists-carousel .owl-nav .owl-prev {
    margin-left: -25px;
}

.specialists-carousel .owl-nav .owl-next {
    margin-right: -25px;
}

/* Owl Carousel Dots */
.specialists-carousel .owl-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.specialists-carousel .owl-dot {
    width: 12px;
    height: 12px;
    background: transparent !important;
    border-radius: 50%;
    transition: var(--transition);
    cursor: pointer;
    opacity: 0;
}

.specialists-carousel .owl-dot span {
    display: none !important;
}

.specialists-carousel .owl-dot.active {
    background: var(--gradient-ocean) !important;
    width: 32px;
    border-radius: 6px;
    opacity: 1;
}

.specialists-carousel .owl-dot:hover {
    opacity: 0.3;
    background: var(--primary-light) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .specialist-image-wrapper {
        height: 250px;
    }
    
    .specialists-carousel .owl-nav button {
        width: 40px;
        height: 40px;
    }
    
    .specialists-carousel .owl-nav button span {
        font-size: 1.25rem;
    }
}

/* ===== Footer Section ===== */
.footer-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    padding-top: 3rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0891b2, #10b981, transparent);
}

/* Footer Brand */
.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-description {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 145, 178, 0.1);
    border: 1px solid rgba(8, 145, 178, 0.3);
    border-radius: 50%;
    color: #0891b2;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(8, 145, 178, 0.3);
    border-color: transparent;
}

/* Footer Title */
.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #0891b2, #10b981);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

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

.footer-links a::before {
    content: '›';
    margin-right: 0.5rem;
    font-weight: bold;
    color: #0891b2;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-links a:hover {
    color: #10b981;
    padding-left: 0.5rem;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Newsletter */
.footer-newsletter-text {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-newsletter .input-group {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(8, 145, 178, 0.3);
    color: #fff;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

.footer-newsletter .form-control::placeholder {
    color: #64748b;
}

.footer-newsletter .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #0891b2;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(8, 145, 178, 0.25);
}

.footer-newsletter .btn-primary {
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    border: none;
    padding: 0.75rem 1.25rem;
}

.footer-newsletter .btn-primary:hover {
    background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(8, 145, 178, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0;
}

/* Payment Icons */
.footer-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-payment .payment-text {
    color: #64748b;
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

.footer-payment i {
    font-size: 1.5rem;
    color: #64748b;
    transition: var(--transition);
}

.footer-payment i:hover {
    color: #0891b2;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-section {
        padding-top: 2rem;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-payment {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-copyright {
        margin-bottom: 1rem;
    }
}

/* ===== Contact Page ===== */
.contact-section {
    min-height: 60vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
}

.gradient-text-cyan {
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.contact-form-card h3 {
    color: var(--dark-color);
    font-weight: 700;
}

.contact-form-card .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: #0891b2;
    box-shadow: 0 0 0 0.2rem rgba(8, 145, 178, 0.15);
}

.contact-info-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.contact-details h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--gray-color);
    margin: 0;
    line-height: 1.6;
}

.contact-details a {
    color: #0891b2;
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: #10b981;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .contact-info-card {
        padding: 1rem;
    }
}

/* ===== About Us Page ===== */
.about-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
    min-height: 50vh;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    border-radius: 1rem;
    z-index: -1;
}

.mission-vision-section {
    background: #fff;
}

.mission-card,
.vision-card {
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    padding: 2.5rem;
    border-radius: 1rem;
    color: #fff;
    height: 100%;
    transition: var(--transition);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(8, 145, 178, 0.3);
}

.mission-icon,
.vision-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mission-icon i,
.vision-icon i {
    font-size: 2rem;
    color: #fff;
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.mission-card p,
.vision-card p {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.95;
}

.values-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
}

.value-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 2rem;
    color: #fff;
}

.value-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--gray-color);
    line-height: 1.6;
    margin: 0;
}

.about-stats-section {
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
}

.about-stat-item {
    padding: 2rem 1rem;
}

.about-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.about-stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-box {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon-wrapper i {
    font-size: 1.75rem;
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-box h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--gray-color);
    line-height: 1.6;
    margin: 0;
}

.about-cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
}

.about-cta-box {
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    padding: 4rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(8, 145, 178, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero {
        min-height: auto;
    }
    
    .about-image-wrapper::before {
        top: -10px;
        left: -10px;
        right: 10px;
        bottom: 10px;
    }
    
    .mission-card,
    .vision-card {
        padding: 2rem;
        margin-bottom: 1rem;
    }
    
    .about-stat-number {
        font-size: 2rem;
    }
    
    .about-cta-box {
        padding: 3rem 1.5rem;
    }
}

/* ===== How It Works Page ===== */
.hiw-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
    padding: 4rem 0 2rem;
}

.hiw-section {
    position: relative;
}

.hiw-step {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.hiw-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hiw-step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(8, 145, 178, 0.3);
}

.hiw-step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
}

.hiw-step-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hiw-step h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.hiw-step p {
    color: var(--gray-color);
    line-height: 1.6;
    margin: 0;
}

.hiw-features-section {
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
}

.hiw-features-section h2,
.hiw-features-section p.lead {
    color: #fff;
}

.hiw-feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hiw-feature-card:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.hiw-feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.hiw-feature-icon i {
    font-size: 2rem;
    color: #fff;
}

.hiw-feature-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.hiw-feature-card p {
    color: var(--gray-color);
    line-height: 1.6;
    margin: 0;
}

.hiw-cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
}

.hiw-cta-box {
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    padding: 4rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(8, 145, 178, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hiw-hero {
        padding: 2rem 0 1rem;
    }
    
    .hiw-step {
        margin-bottom: 2rem;
    }
    
    .hiw-cta-box {
        padding: 3rem 1.5rem;
    }
}

/* ===== Information Pages ===== */
.info-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
    min-height: 30vh;
    display: flex;
    align-items: center;
}

.info-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.info-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.info-icon-wrapper i {
    font-size: 2.5rem;
    color: #fff;
}

/* ===== Job Cards (Careers) ===== */
.job-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.job-badge {
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ===== Press Cards ===== */
.press-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.press-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.press-date {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ===== Pricing Cards ===== */
.pricing-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    height: 100%;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    color: #fff;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-price .price {
    font-size: 3rem;
    font-weight: 800;
}

.pricing-price .period {
    font-size: 1rem;
    opacity: 0.7;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-card.featured .pricing-features li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-features li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.pricing-card.featured .pricing-features li i {
    color: #fff;
}

/* ===== Legal Pages ===== */
.legal-page {
    min-height: 70vh;
}

.legal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.legal-content h3 {
    color: var(--dark-color);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1.5rem;
}

.legal-content p {
    color: var(--gray-color);
    line-height: 1.8;
}

.legal-content ul {
    color: var(--gray-color);
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .info-hero {
        min-height: auto;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* ===== Specialist Profile Page ===== */
.specialist-profile-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
}

.profile-main-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.profile-avatar-wrapper {
    position: relative;
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
}

.profile-avatar {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 1rem;
    border: 4px solid #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.profile-verified-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-verified-badge i {
    color: #10b981;
    font-size: 1.5rem;
}

.profile-header-info {
    padding-top: 1rem;
}

.profile-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.profile-profession {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}

.profile-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-color);
}

.profile-meta-item i {
    font-size: 1rem;
}

.profile-action-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.profile-rate {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.rate-label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.rate-amount {
    display: block;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
}

.profile-availability {
    text-align: center;
    padding: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #10b981;
}

.profile-availability i {
    font-size: 0.625rem;
    margin-right: 0.5rem;
}

.profile-section-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.profile-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

.profile-description {
    color: var(--gray-color);
    line-height: 1.8;
    font-size: 1rem;
}

/* Skills */
.profile-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-badge {
    display: inline-block;
    position: relative;
    text-decoration: none; /* remove underline for links */
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.06) 0%, rgba(16, 185, 129, 0.04) 100%);
    color: var(--primary-color);
    padding: 0.5rem 1.25rem 0.5rem 1rem; /* extra right padding for level */
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    margin: 0 0.5rem 0.5rem 0;
    border: 1px solid rgba(8,145,178,0.06);
}

.skill-badge:hover,
.skill-badge:focus {
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

.skill-level-badge {
    position: absolute;
    top: -15px;
    right: -17px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1;
}

/* make sure links don't show underline on focus/active */
.skill-badge:active,
.skill-badge:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(8,145,178,0.12);
}

/* Portfolio */
.portfolio-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 1.5rem;
    color: #fff;
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h5 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.9;
}

/* Experience */
.experience-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.experience-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.experience-header h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.experience-period {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
}

.experience-company {
    color: var(--gray-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.experience-description {
    color: var(--gray-color);
    margin: 0;
}

/* Reviews */
.review-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-info h6 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-rating i {
    font-size: 0.875rem;
}

.review-date {
    font-size: 0.875rem;
    color: var(--gray-color);
    margin-left: 0.5rem;
}

.review-comment {
    color: var(--gray-color);
    line-height: 1.6;
    margin: 0;
}

/* Sidebar */
.quick-stat-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.quick-stat-label {
    color: var(--gray-color);
    font-weight: 500;
}

.quick-stat-value {
    color: var(--dark-color);
    font-weight: 700;
}

.language-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.language-name {
    color: var(--dark-color);
    font-weight: 600;
}

.language-level {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
}

.education-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.education-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.education-item h6 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.education-school {
    color: var(--gray-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.education-year {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-name {
        font-size: 1.5rem;
    }
    
    .profile-profession {
        font-size: 1rem;
    }
    
    .profile-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .profile-action-card {
        position: relative;
        top: 0;
        margin-top: 1rem;
    }
    
    .experience-header {
        flex-direction: column;
    }
    
    .experience-period {
        margin-top: 0.25rem;
    }
}

/* Page Login Styles */
.login-page-wrapper {
    min-height: auto; /* remove large viewport-based min-height */
    padding: 1rem 0; /* smaller vertical spacing */
    display: flex;
    align-items: flex-start; /* align nearer the header */
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.login-page-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.login-page-card .bg-login-side {
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    background-image: linear-gradient(135deg, rgba(8,145,178,0.95) 0%, rgba(16,185,129,0.95) 100%);
}

@media (max-width: 767px) {
    .login-page-card .bg-login-side { display:none; }
}


/* Specialist name link in owl carousel */
.specialist-name a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.specialist-name a:hover {
    color: var(--primary-color);
}

/* ===== Category Page ===== */
.category-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
}

.category-hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.category-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(8, 145, 178, 0.3);
}

.category-icon-wrapper i {
    font-size: 2.5rem;
    color: #fff;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin: 0;
}

.category-description {
    font-size: 1.125rem;
    color: var(--gray-color);
    line-height: 1.7;
    margin: 0;
}

.category-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--gray-color);
}

.meta-item i {
    font-size: 1.25rem;
}

.category-hero-image img {
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Filters */
.category-filters {
    border-bottom: 2px solid #e5e7eb;
}

/* Sidebar */
.category-sidebar-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

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

.subcategory-list li {
    margin-bottom: 0.75rem;
}

.subcategory-list li:last-child {
    margin-bottom: 0;
}

.subcategory-list a {
    color: var(--gray-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 0.375rem;
}

.subcategory-list a:hover {
    color: var(--primary-color);
    background: rgba(8, 145, 178, 0.05);
    padding-left: 1rem;
}

.subcategory-list i {
    font-size: 0.75rem;
}
.price-range-filters, .rating-filters{
    padding: 0% 1.5rem;
}
.price-range-filters .form-check,
.rating-filters .form-check {
    margin-bottom: 0.75rem;
    padding-left: 0;
}

.price-range-filters .form-check-input,
.rating-filters .form-check-input {
    margin-right: 0.75rem;
}

.price-range-filters .form-check-label,
.rating-filters .form-check-label {
    color: var(--gray-color);
    cursor: pointer;
}

/* Specialist Cards */
.category-specialist-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.category-specialist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.specialist-card-header {
    position: relative;
    margin-bottom: 1rem;
}

.specialist-card-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.verified-badge-small {
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(calc(50% + 30px));
    background: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.verified-badge-small i {
    color: #10b981;
    font-size: 1rem;
}

.specialist-card-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.specialist-card-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* City label on specialist card */
.specialist-card-city {
    display: inline-block;
    font-size: 0.70rem;
    color: var(--gray-color);
    background: rgba(8,145,178,0.06);
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

/* subtle accent icon using a pseudo-element (uses currentColor) */
.specialist-card-city::before {
    content: "\25CF"; /* small circle */
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    margin-right: 0.5rem;
    vertical-align: middle;
    color: var(--primary-color);
    font-size: 0.6rem;
}

@media (max-width: 576px) {
    .specialist-card-city { font-size: 0.72rem; padding: 0.2rem 0.45rem; }
}

.specialist-card-rating i {
    font-size: 1rem;
}

.specialist-card-jobs {
    color: var(--gray-color);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Service Items */
.service-item-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.service-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}

.service-item-info h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.service-duration {
    color: var(--gray-color);
    font-size: 0.875rem;
    margin: 0;
}

.service-duration i {
    margin-right: 0.5rem;
}

.service-item-price {
    text-align: right;
}

.price-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-color);
    margin-bottom: 0.25rem;
}

.price-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* CTA Banner */
.category-cta-banner {
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    padding: 2.5rem;
    border-radius: 1rem;
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(8, 145, 178, 0.3);
}

.category-cta-banner h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-cta-banner p {
    margin: 0;
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 768px) {
    .category-title {
        font-size: 1.75rem;
    }
    
    .category-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .category-hero-image {
        margin-top: 2rem;
    }
    
    .service-item-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .service-item-price {
        text-align: center;
    }
    
    .category-cta-banner {
        text-align: center;
    }
}

/* ===== Custom form styles for modern register / forgot-password ===== */
.card.form-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(8,145,178,0.08);
    overflow: hidden;
}
.card.form-card .card-body {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
}
.form-control {
    border: 1.5px solid #ebf0f4;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.form-control:focus {
    box-shadow: 0 6px 20px rgba(8,145,178,0.08);
    border-color: var(--primary-color);
    outline: none;
}
.input-group .input-group-text {
    background: #fff;
    border: 1.5px solid #ebf0f4;
    border-right: none;
}
.btn-primary {
    background: var(--gradient-ocean);
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(8,145,178,0.12);
}
.btn-primary:active,
.btn-primary:focus {
    box-shadow: 0 6px 14px rgba(8,145,178,0.14);
}
.login-dropdown .btn-primary {
    width: 100%;
}
.form-note {
    font-size: 0.9rem;
    color: var(--gray-color);
}
.alert { border-radius: 0.6rem; }

/* Smaller screens tweak */
@media (max-width: 576px) {
    .card.form-card .card-body { padding: 1rem; }
    .form-control { padding: 0.65rem 0.85rem; }
}


/* Page not found */
.page-not-found { padding: 40px 16px; min-height: 600px; display:flex; align-items:center; justify-content:center; }
.p404-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 18px;
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 32px;
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(12,20,40,0.06);
}
.p404-left { display:flex; align-items:center; justify-content:center; }
.p404-illustration { width: 100%; max-width: 460px; height: 320px; }
.p404-head .p404-eyebrow { color: var(--primary-color); font-weight:700; margin-bottom:8px; }
.p404-title { font-size: 32px; font-weight: 800; color: var(--dark-color); margin: 0 0 8px; }
.p404-message { color: var(--gray-color); margin-bottom: 18px; }
.p404-actions-row { display:flex; gap:12px; align-items:center; margin-bottom:18px; flex-wrap:wrap; }
.btn-lg { padding: 12px 18px; border-radius: 10px; font-weight:700; }
.btn-outline-secondary { background: transparent; border: 1px solid #e6edf3; color: var(--dark-color); }
.btn-ghost { background: transparent; color: var(--primary-color); text-decoration: underline; padding: 8px 10px; }
.p404-suggestions h4 { margin: 0 0 8px; font-size: 16px; }
.popular-links { list-style: none; display:flex; flex-wrap:wrap; gap:10px; padding:0; margin:0; }
.popular-links li { background: #f8fafc; border-radius: 10px; padding: 8px 12px; box-shadow: var(--shadow-sm); }
.popular-links a { color: var(--dark-color); font-weight:600; text-decoration:none; }
.p404-footer-note { margin-top:14px; color: var(--gray-color); font-size: 14px; }

@media (max-width: 768px) {
    .p404-container { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
    .p404-illustration { height: 220px; max-width: 100%; }
    .page-not-found { padding: 28px 12px; }
}
/* Page not found */

/* Sitemap page */
.site-sitemap { padding: 48px 16px; background: linear-gradient(180deg,#f8fafc 0%,#ffffff 100%); }
.site-sitemap .sitemap-hero { text-align:center; margin-bottom:28px; }
.site-sitemap .sitemap-hero h1 { font-size:32px; margin-bottom:8px; }
.site-sitemap .sitemap-hero .lead { color:var(--gray-color); }
.sitemap-grid { display:grid; grid-template-columns: 1fr 1fr; gap:28px; max-width:1100px; margin:0 auto; }
.sitemap-list { display:flex; flex-direction:column; gap:12px; }
.sitemap-card { display:block; padding:12px 14px; border-radius:10px; background:#fff; box-shadow:var(--shadow-sm); border:1px solid #eef2ff; text-decoration:none; color:var(--dark-color); }
.sitemap-card-title { font-weight:700; margin-bottom:6px; }
.sitemap-card-url { font-size:13px; color:var(--gray-color); word-break:break-all; }
.visual-links { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.visual-links a { color:var(--primary-color); font-weight:600; text-decoration:none; }

@media (max-width: 800px) {
    .sitemap-grid { grid-template-columns: 1fr; }
}

/* Sitemap page */
/* Page not found */

