 /* General Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: #2980b9;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Header Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand span {
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 30px;
}

.search-form .form-control {
    height: 50px;
    border-radius: 0;
}

.search-form .btn {
    height: 50px;
    border-radius: 0;
}

/* Categories Section */
.categories-section {
    background-color: white;
}

.section-title {
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.category-card .card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.category-name {
    font-weight: 600;
}

/* Professional Cards */
.professional-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.professional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.professional-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}

.professional-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.professional-name {
    font-weight: 600;
}

.rating {
    color: #f39c12;
}

.rating span {
    color: #6c757d;
    font-size: 0.9rem;
}

/* How It Works Section */
.how-it-works-card {
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Footer Styles */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
}

.footer-links a:hover {
    color: white;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: white;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
}

/* Professional Profile Page */
.professional-header {
    border-bottom: 1px solid #eee;
}

.professional-main-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.professional-actions .price-display .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.portfolio-gallery img {
    transition: all 0.3s ease;
}

.portfolio-gallery img:hover {
    transform: scale(1.05);
}

.review-profile-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* Dashboard Styles */
.dashboard-container {
    background-color: #f5f7fa;
}

.profile-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.profile-picture {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-picture-container {
    position: relative;
    display: inline-block;
}

.profile-picture-upload {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.widget-card {
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.widget-icon {
    font-size: 2rem;
    margin-right: 20px;
}

.widget-content h3 {
    font-weight: 700;
    margin-bottom: 5px;
}

.portfolio-item-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.portfolio-item-body {
    padding: 20px;
}

.conversation-item {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.conversation-item:hover {
    background-color: #f8f9fa;
}

.conversation-item.unread {
    background-color: rgba(52, 152, 219, 0.05);
}

.conversation-avatar {
    position: relative;
    margin-right: 15px;
}

.conversation-avatar img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.unread-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conversation-content h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.last-message {
    color: #6c757d;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    .professional-header .row > div {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .professional-actions {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .search-form .input-group {
        flex-direction: column;
    }
    
    .search-form .form-control {
        margin-bottom: 10px;
        border-radius: 4px !important;
    }
    
    .search-form .btn {
        width: 100%;
        border-radius: 4px !important;
    }
}



.profile-card {
  background: #fff;
  transition: box-shadow 0.2s ease-in-out;
}
.profile-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.profile-avatar img {
  object-fit: cover;
}
.profile-card h5 {
  font-size: 1.1rem;
  color: #222;
}
.profile-card p {
  margin: 0;
}
