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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #cabe06;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: #555;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #cabe06;
}

.navbar-nav .nav-link.active {
    color: #cabe06;
}

.auth-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Mobile responsive navigation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
    }

    .navbar-nav {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #e9ecef;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0;
    }

    .auth-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        width: 100%;
    }

    .auth-buttons .dropdown,
    .auth-buttons .notification-dropdown,
    .auth-buttons .language-switcher {
        width: 100%;
    }

    .auth-buttons .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .auth-buttons .dropdown-toggle::after {
        margin-left: auto;
    }

    .notification-btn,
    .language-switcher .btn,
    .auth-buttons .dropdown .btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1rem;
    }

    .notification-btn i,
    .language-switcher .btn i,
    .auth-buttons .dropdown .btn i {
        margin-right: 0.5rem;
    }

    .notification-btn span:not(.notification-badge):not(.notification-badge-pulse),
    .language-switcher .btn span {
        flex: 1;
        text-align: left;
    }

    /* Adjust notification badge position on mobile */
    .notification-btn {
        position: relative;
    }

    .notification-badge {
        position: absolute;
        top: 0.5rem;
        right: 1rem;
    }

    .notification-badge-pulse {
        position: absolute;
        top: 0.5rem;
        right: 1rem;
    }
}

/* RTL Support for mobile navigation */
@media (max-width: 991.98px) {
    [dir="rtl"] .auth-buttons .dropdown-toggle::after {
        margin-left: 0;
        margin-right: auto;
    }

    [dir="rtl"] .notification-btn i,
    [dir="rtl"] .language-switcher .btn i,
    [dir="rtl"] .auth-buttons .dropdown .btn i {
        margin-right: 0;
        margin-left: 0.5rem;
    }

    [dir="rtl"] .notification-btn span:not(.notification-badge):not(.notification-badge-pulse),
    [dir="rtl"] .language-switcher .btn span {
        text-align: right;
    }

    /* RTL notification badge positioning */
    [dir="rtl"] .notification-badge {
        right: auto;
        left: 1rem;
    }

    [dir="rtl"] .notification-badge-pulse {
        right: auto;
        left: 1rem;
    }
}

.language-switcher .dropdown-menu {
    min-width: 9rem;
}

.language-switcher .dropdown-item.active {
    background-color: rgba(202, 190, 6, 0.1);
    color: #cabe06;
    font-weight: 600;
}

/* Custom navbar toggler */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

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

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2855, 55, 55, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

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

.dropdown-divider {
    margin: 0.5rem 0;
}

/* Notification Dropdown Styles */
.notification-dropdown {
    position: relative;
}

.notification-btn {
    position: relative;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.notification-btn:hover {
    color: #cabe06;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
    z-index: 10;
    animation: badgePulse 2s ease-in-out infinite;
}

.notification-badge-pulse {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.3);
    animation: pulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    z-index: 9;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.notification-menu {
    min-width: 350px;
    max-width: 420px;
    max-height: 550px;
    overflow-y: auto;
    padding: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.notification-header {
    padding: 1.25rem 1rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px 10px 0 0;
    border-bottom: 2px solid #e9ecef;
}

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

.notification-header h6 {
    margin: 0;
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.notification-header h6 i {
    color: #cabe06;
}

.notification-subtitle {
    margin: 0;
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 400;
}

.notification-count-badge {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem !important;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    background-color: #fff;
}

.notification-item:last-of-type {
    border-bottom: none;
}

.notification-item:hover {
    background-color: #f8f9fa !important;
    color: inherit;
    transform: translateX(2px);
}

.notification-unread {
    background-color: #f0f7ff !important;
    border-left: 3px solid #cabe06;
}

.notification-read {
    background-color: white !important;
    border-left: 3px solid #cabe06;
}

.notification-unread:hover {
    background-color: #e6f2ff !important;
}

.notification-unread-indicator {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #cabe06;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(202, 190, 6, 0.2);
}

.notification-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 0.875rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

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

.notification-icon i {
    font-size: 1.2rem;
    color: #fff;
}

.notification-icon-success {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.notification-icon-primary {
    background: linear-gradient(135deg, #cabe06, #b45309);
}

.notification-icon-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    line-height: 1.3;
}

.notification-unread .notification-title {
    color: #1a1a1a;
    font-weight: 700;
}

.notification-text {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.notification-time {
    color: #999;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.notification-time::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    font-size: 0.7rem;
}

.notification-footer {
    padding: 0.75rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 0 0 10px 10px;
    border-top: 2px solid #e9ecef;
}

.notification-view-all {
    color: #cabe06 !important;
    font-weight: 600 !important;
    padding: 0.75rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.notification-view-all:hover {
    background-color: rgba(202, 190, 6, 0.1) !important;
    color: #b45309 !important;
    transform: translateX(-2px);
}

.notification-arrow {
    transition: transform 0.2s ease;
}

.notification-view-all:hover .notification-arrow {
    transform: translateX(3px);
}

/* RTL Support for Notifications */
[dir="rtl"] .notification-icon {
    margin-right: 0;
    margin-left: 0.875rem;
}

[dir="rtl"] .notification-badge {
    right: auto;
    left: -8px;
}

[dir="rtl"] .notification-badge-pulse {
    right: auto;
    left: -8px;
}

[dir="rtl"] .notification-unread {
    border-left: none;
    border-right: 3px solid #cabe06;
}

[dir="rtl"] .notification-unread-indicator {
    left: auto;
    right: 0.5rem;
}

[dir="rtl"] .notification-item:hover {
    transform: translateX(-2px);
}

[dir="rtl"] .notification-view-all {
    flex-direction: row-reverse;
}

[dir="rtl"] .notification-view-all:hover {
    transform: translateX(2px);
}

[dir="rtl"] .notification-arrow {
    margin-left: 0.5rem;
    margin-right: 0;
    transform: scaleX(-1);
}

[dir="rtl"] .notification-header-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .notification-header h6 {
    flex-direction: row-reverse;
}

[dir="rtl"] .notification-header h6 i {
    margin-left: 0;
    margin-right: 0.5rem;
}

[dir="rtl"] .notification-menu {
    text-align: right;
}

[dir="rtl"] .notification-content {
    text-align: right;
    padding-right: 7px;
}

[dir="rtl"] .notification-time {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

[dir="rtl"] .notification-menu.dropdown-menu-end {
    left: 0;
    right: auto;
}

[dir="rtl"] .notification-view-all:hover .notification-arrow {
    transform: translateX(-3px);
}

/* Responsive adjustments for notifications */
@media (max-width: 992px) {
    .notification-menu {
        min-width: 320px;
        max-width: 85vw;
    }
}

@media (max-width: 768px) {
    .notification-menu {
        min-width: 300px;
        max-width: 90vw;
        max-height: 70vh;
    }

    .notification-badge {
        min-width: 20px;
        height: 20px;
        font-size: 0.65rem;
        top: -6px;
        right: -6px;
    }

    .notification-badge-pulse {
        width: 20px;
        height: 20px;
        top: -6px;
        right: -6px;
    }

    [dir="rtl"] .notification-badge {
        left: -6px;
    }

    [dir="rtl"] .notification-badge-pulse {
        left: -6px;
    }

    .notification-header {
        padding: 1rem 0.875rem 0.875rem;
    }

    .notification-header-content {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .notification-header h6 {
        font-size: 1rem;
    }

    .notification-count-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .notification-item {
        padding: 0.875rem !important;
    }

    .notification-icon {
        width: 40px;
        height: 40px;
        margin-right: 0.75rem;
    }

    [dir="rtl"] .notification-icon {
        margin-left: 0.75rem;
    }

    .notification-title {
        font-size: 0.9rem;
    }

    .notification-text {
        font-size: 0.8rem;
    }

    .notification-time {
        font-size: 0.7rem;
    }

    .notification-unread-indicator {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 576px) {
    .notification-menu {
        min-width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
        margin: 0 1rem;
    }

    .notification-badge {
        min-width: 18px;
        height: 18px;
        font-size: 0.6rem;
        top: -5px;
        right: -5px;
        border-width: 2px;
    }

    .notification-badge-pulse {
        width: 18px;
        height: 18px;
        top: -5px;
        right: -5px;
    }

    [dir="rtl"] .notification-badge {
        left: -5px;
    }

    [dir="rtl"] .notification-badge-pulse {
        left: -5px;
    }

    .notification-header {
        padding: 0.875rem 0.75rem;
    }

    .notification-header h6 {
        font-size: 0.95rem;
    }

    .notification-item {
        padding: 0.75rem !important;
    }

    .notification-icon {
        width: 36px;
        height: 36px;
        margin-right: 0.625rem;
    }

    [dir="rtl"] .notification-icon {
        margin-left: 0.625rem;
    }

    .notification-icon i {
        font-size: 1rem;
    }

    .notification-title {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .notification-text {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }

    .notification-time {
        font-size: 0.65rem;
    }

    .notification-view-all {
        padding: 0.625rem !important;
        font-size: 0.9rem;
    }

    .notification-unread-indicator {
        width: 5px;
        height: 5px;
        left: 0.375rem;
    }

    [dir="rtl"] .notification-unread-indicator {
        right: 0.375rem;
    }
}

@media (max-width: 400px) {
    .notification-menu {
        min-width: calc(100vw - 1rem);
        max-width: calc(100vw - 1rem);
        margin: 0 0.5rem;
    }

    .notification-header {
        padding: 0.75rem 0.625rem;
    }

    .notification-item {
        padding: 0.625rem !important;
    }

    .notification-icon {
        width: 32px;
        height: 32px;
    }

    [dir="rtl"] .notification-badge {
        left: -5px;
    }

    [dir="rtl"] .notification-badge-pulse {
        left: -5px;
    }
}

/* Additional RTL responsive fixes */
@media (max-width: 768px) {
    [dir="rtl"] .notification-menu.dropdown-menu-end {
        left: 0 !important;
        right: auto !important;
    }
}

@media (max-width: 576px) {
    [dir="rtl"] .notification-menu.dropdown-menu-end {
        left: -15px !important;
        right: auto !important;
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

@media (max-width: 400px) {
    [dir="rtl"] .notification-menu.dropdown-menu-end {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
}

.btn {
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-outline {
    color: #cabe06;
    border: 1px solid #cabe06;
    background: transparent;
}

.btn-outline:hover {
    background-color: #cabe06;
    color: white;
}

.btn-primary {
    background-color: #cabe06;
    color: white;
}

.btn-primary:hover {
    background-color: #b45309;
}

.btn-large {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #cabe06 0%, #a89d05 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #cabe06;
}

.breadcrumb-separator {
    color: #999;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Search Section */
.search-section {
    background-color: #fff;
    padding: 2rem 0;
    margin-bottom: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    top: -50px;
    z-index: 10;
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #cabe06;
    box-shadow: 0 0 0 3px rgba(202, 190, 6, 0.1);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag-filter {
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.tag-filter:hover {
    background-color: #e9ecef;
    text-decoration: none;
}

.tag-filter-clear {
    background-color: #fff5f5;
    border-color: #fed7d7;
    color: #c53030;
}

.tag-filter-clear:hover {
    background-color: #fed7d7;
    color: #9b2c2c;
}

.tag-filter.active {
    background-color: #cabe06;
    color: white;
    border-color: #cabe06;
}

.price-range {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.price-input {
    width: 120px;
    padding: 0.8rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.price-input:focus {
    outline: none;
    border-color: #cabe06;
    box-shadow: 0 0 0 3px rgba(202, 190, 6, 0.1);
}

.search-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #cabe06 0%, #a89d05 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(202, 190, 6, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(202, 190, 6, 0.4);
}

.clear-filter-btn {
    padding: 0.85rem 1.8rem;
    border: 2px solid #e1e5e9;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: white;
}

.clear-filter-btn:hover {
    background-color: #f8f9fa;
    color: #2d3748;
    border-color: #cbd5e0;
    text-decoration: none;
}

/* Services Section */
.services-section {
    padding: 1rem 0 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #333;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-content {
    padding: 2rem;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #333;
    font-weight: 600;
}

.service-description {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.freelancer-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.freelancer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f2ff;
}

.freelancer-name {
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #f39c12;
    font-size: 0.9rem;
    font-weight: 500;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #cabe06;
    margin-bottom: 1.5rem;
}

.view-service-btn {
    display: inline-block;
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, #cabe06 0%, #a89d05 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
}

.view-service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(202, 190, 6, 0.3);
}

/* Profile page */
.profile-page .gradient-surface {
    background: linear-gradient(135deg, #cabe06 0%, #cabe06 50%, #a89d05 100%);
    color: #ffffff;
}

.profile-hero {
    position: relative;
}

.profile-hero-orb {
    position: absolute;
    inset: auto -120px -140px auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4), transparent 70%);
    pointer-events: none;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.4);
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.badge.bg-white-30 {
    background-color: rgba(255, 255, 255, 0.3);
}

.profile-stat {
    background: #f7f8ff;
    box-shadow: inset 0 0 0 1px rgba(202, 190, 6, 0.05);
}

.profile-activity-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.profile-activity-item {
    padding: 0.25rem 0;
}

.profile-activity-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 0.45rem;
    flex-shrink: 0;
}

.profile-activity-indicator.freelancer {
    background: #cabe06;
    box-shadow: 0 0 0 4px rgba(202, 190, 6, 0.15);
}

.profile-activity-indicator.client {
    background: #cabe06;
    box-shadow: 0 0 0 4px rgba(202, 190, 6, 0.15);
}

@media (max-width: 767.98px) {
    .profile-avatar {
        width: 96px;
        height: 96px;
    }

    .profile-hero-orb {
        width: 220px;
        height: 220px;
        inset: auto -80px -100px auto;
    }
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.service-tag {
    background-color: #f0f2ff;
    color: #cabe06;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Profile Header */
.profile-header {
    background: linear-gradient(135deg, #cabe06 0%, #a89d05 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.profile-header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.profile-info h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.profile-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
}

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

/* Profile Content */
.profile-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.main-content {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background-color: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-card h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2rem;
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-card ul li::before {
    content: "•";
    color: #cabe06;
    font-weight: bold;
}

.bio {
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Service Details Page Styles */
.service-details {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 2rem 0;
}

.service-details .service-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-details .service-content {
    padding: 2rem;
}

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

.service-details .service-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.service-details .service-price {
    font-size: 2rem;
    font-weight: 700;
    color: #cabe06;
}

.service-details .service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.service-details .tag {
    background-color: #f0f2ff;
    color: #cabe06;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.service-details .service-description {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-details .service-description h3 {
    margin-bottom: 1rem;
    color: #333;
}

.service-details .service-description p {
    margin-bottom: 1rem;
}

.service-details .service-description ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.service-details .service-description ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Freelancer Section Styles */
.freelancer-section {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin: 2rem 0;
}

.freelancer-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.freelancer-section .freelancer-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.freelancer-section .freelancer-title {
    color: #666;
    margin-bottom: 0.5rem;
}

.freelancer-section .rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.freelancer-section .stars {
    color: #f39c12;
}

.freelancer-section .freelancer-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.freelancer-section .freelancer-bio {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.freelancer-section .freelancer-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive adjustments for service details and freelancer profile */
@media (max-width: 768px) {
    .service-header {
        flex-direction: column;
    }

    .service-details .service-title {
        font-size: 1.5rem;
    }

    .service-details .service-price {
        font-size: 1.5rem;
    }

    .freelancer-header {
        flex-direction: column;
        text-align: center;
    }

    .freelancer-section .freelancer-stats {
        justify-content: center;
    }

    .freelancer-section .freelancer-actions {
        flex-direction: column;
    }
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #cabe06;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #cabe06;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #34495e;
    color: #bbb;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }

    .auth-buttons {
        justify-content: center;
        margin-top: 1rem;
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .search-section {
        top: -30px;
        padding: 1.5rem 0;
    }

    .search-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input,
    .price-input {
        width: 100%;
    }

    .price-range {
        width: 100%;
        justify-content: space-between;
    }

    .price-input {
        flex: 1;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .profile-header-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-stats {
        justify-content: center;
    }

    .profile-content {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .auth-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .auth-buttons .btn {
        width: 100%;
    }
}

/* Skills Section Styles */
.freelancer-skills {
    margin-bottom: 1.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: linear-gradient(135deg, #cabe06 0%, #a89d05 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.float-right-notificaiton {
    float: -end !important;
}

/* Responsive adjustments for service details and freelancer profile */
@media (max-width: 768px) {
    .service-header {
        flex-direction: column;
    }

    .service-details .service-title {
        font-size: 1.5rem;
    }

    .service-details .service-price {
        font-size: 1.5rem;
    }

    .freelancer-header {
        flex-direction: column;
        text-align: center;
    }

    .freelancer-section .freelancer-stats {
        justify-content: center;
    }

    .freelancer-section .freelancer-actions {
        flex-direction: column;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}
/* Theme Overrides */
.text-primary {
    color: #cabe06 !important;
}
.bg-primary {
    background-color: #cabe06 !important;
}
.btn-primary {
    background-color: #cabe06 !important;
    border-color: #cabe06 !important;
}
.btn-primary:hover {
    background-color: #a89d05 !important;
    border-color: #a89d05 !important;
}
.btn-outline-primary {
    color: #cabe06 !important;
    border-color: #cabe06 !important;
}
.btn-outline-primary:hover {
    background-color: #cabe06 !important;
    color: white !important;
}

.tag-options {
    margin-bottom: 20px;
}

.text-success-emphasis {
    margin: 0px 10px !important;
}
