/* GoWiser - Custom Styles */

/* Logo Styles */
.navbar-logo {
    height: 40px !important;
    width: 40px !important;
    margin-right: 10px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
}

.navbar-brand img {
    height: 40px !important;
    width: 40px !important;
    margin-right: 10px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
}

.auth-logo {
    height: 60px !important;
    width: 60px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid var(--bs-teal) !important;
    display: block !important;
}

.profile-avatar img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

/* Social Media Logo Styles */
.social-header .profile-avatar {
    width: 50px !important;
    height: 50px !important;
    margin-right: 12px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: white !important;
    padding: 2px !important;
}

.social-header .profile-avatar img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: none !important;
    display: block !important;
}

/* CSS Custom Properties for Brand Colors */
:root {
    --bs-midnight-blue: #1e293b;
    --bs-teal: #20c997;
    --bs-coral: #ff6b6b;
    --bs-soft-white: #f8fafc;
    --bs-soft-gray: #f1f5f9;
    --bs-light-gray: #e2e8f0;
    --bs-dark-gray: #64748b;
    --bs-light-blue: #cbd5e1;
    --bs-teal-light: rgba(32, 201, 151, 0.1);
    --bs-coral-light: rgba(255, 107, 107, 0.1);
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--bs-midnight-blue);
    background-color: var(--bs-soft-white);
}

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

/* Brand Colors */
.text-midnight-blue { color: var(--bs-midnight-blue) !important; }
.text-teal { color: var(--bs-teal) !important; }
.text-coral { color: var(--bs-coral) !important; }
.text-light-blue { color: var(--bs-light-blue) !important; }
.text-dark-gray { color: var(--bs-dark-gray) !important; }

.bg-midnight-blue { background-color: var(--bs-midnight-blue) !important; }
.bg-teal { background-color: var(--bs-teal) !important; }
.bg-coral { background-color: var(--bs-coral) !important; }
.bg-soft-gray { background-color: var(--bs-soft-gray) !important; }
.bg-teal-light { background-color: var(--bs-teal-light) !important; }
.bg-coral-light { background-color: var(--bs-coral-light) !important; }

/* Button Styles */
.btn-teal {
    background-color: var(--bs-teal);
    border-color: var(--bs-teal);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-teal:hover {
    background-color: #1db584;
    border-color: #1db584;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(32, 201, 151, 0.3);
}

.btn-coral {
    background-color: var(--bs-coral);
    border-color: var(--bs-coral);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-coral:hover {
    background-color: #ff5757;
    border-color: #ff5757;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-outline-midnight-blue {
    border-color: var(--bs-midnight-blue);
    color: var(--bs-midnight-blue);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-midnight-blue:hover {
    background-color: var(--bs-midnight-blue);
    border-color: var(--bs-midnight-blue);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(30, 41, 59, 0.3);
}

.btn-outline-teal {
    border-color: var(--bs-teal);
    color: var(--bs-teal);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-teal:hover {
    background-color: var(--bs-teal);
    border-color: var(--bs-teal);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(32, 201, 151, 0.3);
}

.btn-outline-coral {
    border-color: var(--bs-coral);
    color: var(--bs-coral);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-coral:hover {
    background-color: var(--bs-coral);
    border-color: var(--bs-coral);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--bs-teal);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.bg-gradient-midnight {
    background: linear-gradient(135deg, var(--bs-midnight-blue) 0%, #334155 100%);
}

.bg-gradient-teal {
    background: linear-gradient(135deg, var(--bs-teal) 0%, #16a085 100%);
}

.bg-gradient-coral {
    background: linear-gradient(135deg, var(--bs-coral) 0%, #e74c3c 100%);
}

.bg-gradient-midnight-blue {
    background: linear-gradient(135deg, var(--bs-midnight-blue) 0%, #334155 100%);
}

.min-vh-75 {
    min-height: 75vh;
}

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

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

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

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--bs-teal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--bs-teal);
    box-shadow: 0 0 0 0.2rem rgba(32, 201, 151, 0.25);
}

.form-select:focus {
    border-color: var(--bs-teal);
    box-shadow: 0 0 0 0.2rem rgba(32, 201, 151, 0.25);
}

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

.form-check-input:focus {
    border-color: var(--bs-teal);
    box-shadow: 0 0 0 0.2rem rgba(32, 201, 151, 0.25);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Badge Styles */
.badge {
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.badge.bg-teal {
    background-color: var(--bs-teal) !important;
}

.badge.bg-coral {
    background-color: var(--bs-coral) !important;
}

/* Expert Discovery Styles */
.expert-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.expert-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.expert-card .card-img {
    transition: transform 0.3s ease;
}

.expert-card:hover .card-img {
    transform: scale(1.05);
}

/* Swipe Animation */
.swipe-left {
    transform: translateX(-100vw) rotate(-30deg);
    opacity: 0;
}

.swipe-right {
    transform: translateX(100vw) rotate(30deg);
    opacity: 0;
}

/* Chat Styles */
.chat-bubble {
    max-width: 70%;
    word-wrap: break-word;
}

.chat-bubble.sent {
    background-color: var(--bs-teal);
    color: white;
    border-radius: 18px 18px 4px 18px;
}

.chat-bubble.received {
    background-color: #f1f3f4;
    color: var(--bs-midnight-blue);
    border-radius: 18px 18px 18px 4px;
}

/* Loading Spinner */
.spinner-grow-teal {
    color: var(--bs-teal);
}

/* Progress Bars */
.progress {
    border-radius: 10px;
    background-color: rgba(32, 201, 151, 0.1);
}

.progress-bar {
    border-radius: 10px;
}

/* Input Group Styles */
.input-group-text {
    border: none;
    background-color: #f8f9fa;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--bs-teal);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #1db584;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .expert-card {
        height: 500px;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .expert-card {
        height: 450px;
    }
}

/* Utility Classes */
.cursor-pointer {
    cursor: pointer;
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.box-shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Expert Profile Rating Stars */
.rating-stars {
    color: #ffc107;
}

.rating-stars .fas.fa-star {
    margin-right: 2px;
}

/* Match Animation */
@keyframes matchPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.match-animation {
    animation: matchPulse 0.6s ease-in-out;
}

/* Status Indicators */
.status-online {
    color: #28a745;
}

.status-away {
    color: #ffc107;
}

.status-offline {
    color: #6c757d;
}

/* Expert Card Stack Effect */
.expert-stack .expert-card:nth-child(1) {
    z-index: 3;
    transform: translateY(0) scale(1);
}

.expert-stack .expert-card:nth-child(2) {
    z-index: 2;
    transform: translateY(-10px) scale(0.95);
    opacity: 0.7;
}

.expert-stack .expert-card:nth-child(3) {
    z-index: 1;
    transform: translateY(-20px) scale(0.9);
    opacity: 0.4;
}

/* Smooth transitions for all interactive elements */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--bs-teal);
    outline-offset: 2px;
}

/* Enhanced Hero Section */
.min-vh-85 {
    min-height: 85vh;
}

.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(32, 201, 151, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(32, 201, 151, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.text-gradient-teal {
    background: linear-gradient(135deg, var(--bs-teal) 0%, #16a085 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Dashboard Mockup */
.dashboard-mockup {
    max-width: 350px;
    margin: 0 auto;
}

.floating-card {
    position: absolute;
    animation: floatSlow 8s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 20%;
    right: -20%;
    animation-delay: -2s;
}

.floating-card.card-2 {
    bottom: 20%;
    left: -20%;
    animation-delay: -4s;
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

/* Professional Feature Cards */
.feature-card-modern {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-teal) 0%, var(--bs-coral) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-card-modern:hover::before {
    opacity: 1;
}

.feature-number {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, var(--bs-teal) 0%, #16a085 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(32, 201, 151, 0.3);
}

.feature-icon-modern {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.bg-gradient-teal {
    background: linear-gradient(135deg, var(--bs-teal) 0%, #16a085 100%);
}

.bg-gradient-coral {
    background: linear-gradient(135deg, var(--bs-coral) 0%, #e74c3c 100%);
}

.bg-gradient-midnight {
    background: linear-gradient(135deg, var(--bs-midnight-blue) 0%, #334155 100%);
}

.connection-line {
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--bs-teal) 20%, var(--bs-coral) 50%, var(--bs-midnight-blue) 80%, transparent 100%);
    z-index: 0;
    opacity: 0.3;
}

.feature-stats {
    background: rgba(32, 201, 151, 0.05);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    display: inline-block;
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(-50%, 0, 0);
    }
    40%, 43% {
        transform: translate3d(-50%, -10px, 0);
    }
    70% {
        transform: translate3d(-50%, -5px, 0);
    }
    90% {
        transform: translate3d(-50%, -2px, 0);
    }
}

/* Enhanced Gradients */
.bg-gradient-midnight-blue {
    background: linear-gradient(135deg, var(--bs-midnight-blue) 0%, #334155 100%);
}

/* Shadow Utilities */
.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Search Journey Visualization */
.search-journey-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.search-stage, .match-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.person-avatar, .expert-avatar {
    position: relative;
    width: 100px;
    height: 100px;
}

.person-avatar img, .expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.search-indicator, .match-indicator {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.expert-badge {
    position: absolute;
    top: -10px;
    left: -10px;
}

.connection-animation {
    position: relative;
    width: 2px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connection-line-animated {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--bs-teal) 0%, var(--bs-coral) 100%);
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

.pulse-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--bs-teal);
    border-radius: 50%;
    animation: moveDot 3s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(32, 201, 151, 0.6);
}

@keyframes moveDot {
    0%, 100% {
        transform: translateY(-30px);
        background: var(--bs-teal);
    }
    50% {
        transform: translateY(30px);
        background: var(--bs-coral);
    }
}

.success-visual {
    position: absolute;
    top: 50%;
    right: -100px;
    animation: fadeInOut 4s ease-in-out infinite;
}

.chat-bubble {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--bs-teal);
}

@keyframes fadeInOut {
    0%, 25%, 75%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.floating-stats {
    position: absolute;
    top: 20%;
    left: -120px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-card {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 80px;
    animation: floatStats 6s ease-in-out infinite;
}

.stat-card:nth-child(2) {
    animation-delay: -2s;
}

.stat-card:nth-child(3) {
    animation-delay: -4s;
}

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

/* Expert Preview Cards */
.expert-preview-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
}

.expert-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.expert-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem 1.5rem 1rem;
    text-align: center;
    position: relative;
}

.expert-avatar-large {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
}

.expert-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.expert-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid white;
}

.expert-status.online {
    background: #22c55e;
}

.expert-status.busy {
    background: #f59e0b;
}

.expert-card-body {
    padding: 1.5rem;
}

.expert-tags .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.stars {
    margin-bottom: 0.5rem;
}

/* Button Variants */
.btn-outline-coral {
    color: var(--bs-coral);
    border-color: var(--bs-coral);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-stats {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 2rem;
    }
    
    .success-visual {
        position: static;
        margin-top: 1rem;
    }
    
    .search-journey-container {
        padding: 1rem;
    }
}

/* Custom alert styles */
.alert-success {
    background-color: rgba(32, 201, 151, 0.1);
    border-color: var(--bs-teal);
    color: #0d5f4e;
}

.alert-danger {
    background-color: rgba(255, 107, 107, 0.1);
    border-color: var(--bs-coral);
    color: #8b2635;
}

.alert-info {
    background-color: rgba(30, 41, 59, 0.1);
    border-color: var(--bs-midnight-blue);
    color: var(--bs-midnight-blue);
}

/* Full Width Hero Video Styles */
.hero-video-fullwidth {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.4; /* Fade the video for better text readability */
    filter: brightness(0.7) contrast(1.1);
}

.hero-content-overlay {
    position: relative;
    z-index: 4;
}

.hero-content-overlay h1,
.hero-content-overlay p,
.hero-content-overlay .badge {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Hero Video Container Styles (Original - kept for other sections if needed) */
.hero-video-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: var(--bs-midnight-blue);
}

.hero-video {
    width: 100%;
    height: auto;
    min-height: 500px;
    object-fit: cover;
    display: block;
}

/* Video Feed Overlay Effects */
.video-feed-overlay,
.video-feed-overlay-fullwidth {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.feed-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(0, 43, 91, 0.8) 0%, transparent 100%);
}

.feed-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(0deg, rgba(0, 43, 91, 0.9) 0%, transparent 100%);
}

/* Additional overlay for better text readability */
.video-feed-overlay-fullwidth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 43, 91, 0.3);
    z-index: 0;
}

.feed-noise {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 25% 25%, white 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, white 1px, transparent 1px);
    background-size: 50px 50px, 25px 25px;
    animation: noise 20s linear infinite;
}

@keyframes noise {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-10px, 5px); }
    50% { transform: translate(5px, -10px); }
    75% { transform: translate(-5px, 5px); }
    100% { transform: translate(0, 0); }
}

/* Social Media Style Overlay */
.social-overlay,
.social-overlay-fullwidth {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.social-overlay-fullwidth {
    /* Position social elements more strategically for full-width */
    justify-content: flex-start;
    align-items: flex-end;
    padding: 40px;
}

.social-overlay-fullwidth .social-header {
    position: absolute;
    top: 40px;
    left: 40px;
    margin-bottom: 0;
}

.social-overlay-fullwidth .social-actions {
    margin-top: 0;
    margin-bottom: 100px;
}

.social-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 12px 16px;
    margin-bottom: auto;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-avatar img {
    width: 35px;
    height: 35px;
    border: 2px solid white;
}

.profile-details {
    display: flex;
    flex-direction: column;
}

.username {
    color: white;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
}

.location {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    line-height: 1;
}

.follow-btn .btn {
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.social-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
    margin-top: auto;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.2s ease;
}

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

.action-item i {
    font-size: 24px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.action-item span {
    font-size: 11px;
    font-weight: 500;
}

/* Mobile responsiveness for hero video */
@media (max-width: 768px) {
    .hero-video-container {
        max-width: 300px;
    }
    
    .hero-video {
        min-height: 400px;
    }
    
    .social-overlay-fullwidth {
        padding: 20px;
    }
    
    .social-overlay-fullwidth .social-header {
        top: 20px;
        left: 20px;
        padding: 8px 12px;
    }
    
    .social-overlay-fullwidth .social-actions {
        margin-bottom: 60px;
    }
    
    .social-header {
        padding: 10px 12px;
    }
    
    .profile-avatar img {
        width: 30px;
        height: 30px;
    }
    
    .username {
        font-size: 13px;
    }
    
    .location {
        font-size: 11px;
    }
    
    .action-item i {
        font-size: 20px;
    }
    
    .hero-content-overlay .display-2 {
        font-size: 2.5rem;
    }
}

/* Professional Chat Interface Styles */
.chat-mockup-container {
    max-width: 450px;
    margin: 0 auto;
}

.chat-window {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 43, 91, 0.1);
}

.chat-header {
    background: linear-gradient(135deg, var(--bs-midnight-blue) 0%, #1e3a8a 100%);
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.expert-avatar-chat {
    position: relative;
}

.expert-avatar-chat img {
    width: 45px;
    height: 45px;
    border: 2px solid white;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
}

.status-indicator.online {
    background-color: #22c55e;
}

.chat-actions {
    display: flex;
    gap: 8px;
}

.chat-messages {
    padding: 25px 20px;
    max-height: 400px;
    overflow-y: auto;
    background: #f8fafc;
}

.message {
    margin-bottom: 20px;
}

.message.received .message-content {
    background: white;
    color: var(--bs-midnight-blue);
    border-radius: 18px 18px 18px 4px;
    padding: 12px 16px;
    max-width: 85%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 43, 91, 0.08);
}

.message.sent {
    text-align: right;
}

.message.sent .message-content {
    background: linear-gradient(135deg, var(--bs-teal) 0%, #14b8a6 100%);
    color: white;
    border-radius: 18px 18px 4px 18px;
    padding: 12px 16px;
    max-width: 85%;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(32, 201, 151, 0.3);
}

.message-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    display: block;
    margin-top: 6px;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--bs-teal);
    animation: typingDots 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingDots {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-input {
    padding: 20px;
    background: white;
    border-top: 1px solid rgba(0, 43, 91, 0.1);
}

.chat-input .form-control {
    border-radius: 25px;
    border: 1px solid rgba(0, 43, 91, 0.2);
    padding: 12px 20px;
    font-size: 14px;
}

.chat-input .btn {
    border-radius: 25px;
    padding: 12px 20px;
}

/* Benefit Icons */
.benefit-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.bg-teal-light {
    background-color: rgba(32, 201, 151, 0.1);
}

.bg-coral-light {
    background-color: rgba(255, 107, 107, 0.1);
}

.bg-midnight-light {
    background-color: rgba(30, 41, 59, 0.1);
}

/* Professional Section Enhancements */
.section-badge {
    display: inline-block;
}

.feature-card-modern {
    transition: all 0.3s ease;
    border-radius: 16px;
    padding: 40px 30px;
    background: white;
    border: 1px solid rgba(0, 43, 91, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.feature-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--bs-coral);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.feature-icon-modern {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.bg-gradient-teal {
    background: linear-gradient(135deg, var(--bs-teal) 0%, #14b8a6 100%);
}

.bg-gradient-coral {
    background: linear-gradient(135deg, var(--bs-coral) 0%, #f87171 100%);
}

.bg-gradient-midnight {
    background: linear-gradient(135deg, var(--bs-midnight-blue) 0%, #1e3a8a 100%);
}

/* Mobile responsiveness for chat */
@media (max-width: 768px) {
    .chat-mockup-container {
        max-width: 100%;
    }
    
    .chat-window {
        border-radius: 16px;
    }
    
    .chat-header {
        padding: 16px;
    }
    
    .chat-messages {
        padding: 20px 16px;
    }
    
    .chat-input {
        padding: 16px;
    }
    
    .benefit-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Modern Authentication Styles - Dating App Inspired */
.auth-section {
    background: linear-gradient(135deg, #0f1419 0%, #1e2a3a 50%, #2a3441 100%);
    position: relative;
    overflow: hidden;
}

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

.auth-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(32, 201, 151, 0.05) 0%, 
        rgba(0, 43, 91, 0.1) 50%, 
        rgba(255, 107, 107, 0.05) 100%);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--bs-teal);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--bs-coral);
    top: 60%;
    right: -5%;
    animation-delay: -8s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--bs-midnight-blue);
    bottom: 20%;
    left: 50%;
    animation-delay: -15s;
}

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

.auth-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.registration-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Auth Branding Side */
.auth-branding {
    background: linear-gradient(135deg, var(--bs-midnight-blue) 0%, #1e3a8a 100%);
    color: white;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
}

.auth-branding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.branding-content {
    position: relative;
    z-index: 2;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
}

.brand-name {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, white 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.welcome-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.trust-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.trust-text small {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Auth Form Side */
.auth-form-section {
    padding: 60px 50px;
    background: white;
}

.auth-form-container {
    max-width: 400px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bs-midnight-blue);
    margin-bottom: 10px;
}

.auth-subtitle {
    color: #6b7280;
    font-size: 1rem;
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.step {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.step.active {
    background: var(--bs-teal);
    color: white;
}

.step-line {
    width: 40px;
    height: 2px;
    background: #e5e7eb;
}

.step-label {
    position: absolute;
    bottom: -25px;
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
}

/* Modern Form Inputs */
.modern-input {
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.modern-input:focus {
    border-color: var(--bs-teal);
    box-shadow: 0 0 0 3px rgba(32, 201, 151, 0.1);
    background: white;
}

.form-floating > label {
    color: #6b7280;
    font-weight: 500;
}

/* User Type Selection Cards */
.user-type-selection {
    margin-bottom: 20px;
}

.user-type-card {
    display: block;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    height: 120px;
    text-align: center;
}

.user-type-card:hover {
    border-color: var(--bs-teal);
    background: rgba(32, 201, 151, 0.05);
    transform: translateY(-2px);
}

.user-type-card .card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bs-teal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 18px;
}

.user-type-card.expert .card-icon {
    background: var(--bs-coral);
}

.user-type-card .card-content h6 {
    font-weight: 600;
    color: var(--bs-midnight-blue);
    margin-bottom: 5px;
}

.user-type-card .card-content small {
    color: #6b7280;
    font-size: 12px;
}

.user-type-card .selection-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bs-teal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

input[type="radio"]:checked + .user-type-card {
    border-color: var(--bs-teal);
    background: rgba(32, 201, 151, 0.05);
}

input[type="radio"]:checked + .user-type-card .selection-indicator {
    opacity: 1;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 8px;
}

.strength-meter {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background: #ef4444;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Button Styles */
.btn-primary-gradient {
    background: linear-gradient(135deg, var(--bs-teal) 0%, #14b8a6 100%);
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(32, 201, 151, 0.3);
    transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(32, 201, 151, 0.4);
}

/* Social Login */
.social-login {
    margin: 30px 0;
}

.divider {
    text-align: center;
    position: relative;
    margin: 25px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    background: white;
    padding: 0 20px;
    color: #6b7280;
    font-size: 14px;
}

.btn-social {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.google-btn:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.linkedin-btn:hover {
    border-color: #0077b5;
    color: #0077b5;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 30px;
}

.signup-link, .forgot-link {
    color: var(--bs-teal);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-link:hover, .forgot-link:hover {
    color: #14b8a6;
}

/* Success Stories */
.success-stories {
    margin: 40px 0;
}

.story-item {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.story-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.story-content p {
    font-style: italic;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.story-content cite {
    font-size: 0.85rem;
    opacity: 0.8;
    font-style: normal;
    font-weight: 500;
}

/* Registration Stats */
.registration-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

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

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .auth-branding, .auth-form-section {
        padding: 40px 30px;
    }
    
    .auth-container {
        margin: 20px;
        border-radius: 20px;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .registration-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .auth-section {
        padding: 20px 0;
    }
    
    .auth-branding {
        order: 2;
        padding: 30px 20px;
    }
    
    .auth-form-section {
        order: 1;
        padding: 30px 20px;
    }
    
    .success-stories {
        margin: 20px 0;
    }
    
    .story-item {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .registration-stats {
        flex-direction: row;
        gap: 15px;
    }
    
    .user-type-card {
        height: 100px;
        padding: 15px;
    }
    
    .user-type-card .card-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* Expert Dashboard - Social Media Inspired Styles */
.expert-dashboard {
    padding: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bs-teal), #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, var(--bs-coral), #ef4444);
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, var(--bs-midnight-blue), #1e40af);
}

.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bs-midnight-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 4px;
}

/* Create Post Card */
.create-post-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.post-header {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.user-avatar {
    position: relative;
    flex-shrink: 0;
}

.user-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid white;
}

.status-indicator.online {
    background: #10b981;
}

.post-input-container {
    flex: 1;
}

.post-input {
    width: 100%;
    border: none;
    resize: none;
    font-size: 16px;
    color: var(--bs-midnight-blue);
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px 20px;
    min-height: 80px;
    transition: all 0.3s ease;
}

.post-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(32, 201, 151, 0.1);
}

.post-input::placeholder {
    color: #9ca3af;
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.post-options {
    display: flex;
    gap: 12px;
}

.post-option {
    background: #f1f5f9;
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    transition: all 0.3s ease;
}

.post-option:hover, .post-option.active {
    background: rgba(32, 201, 151, 0.1);
    color: var(--bs-teal);
    transform: translateY(-1px);
}

.btn-post-share {
    background: linear-gradient(135deg, var(--bs-teal), #14b8a6);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-post-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(32, 201, 151, 0.3);
}

/* Feed Posts */
.expert-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feed-post {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feed-post:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feed-post .post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.post-user {
    display: flex;
    gap: 12px;
    align-items: center;
}

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

.post-user-info {
    display: flex;
    flex-direction: column;
}

.post-username {
    font-size: 15px;
    font-weight: 600;
    color: var(--bs-midnight-blue);
    margin: 0;
}

.post-meta {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-badge {
    background: linear-gradient(135deg, var(--bs-teal), #14b8a6);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

.post-badge.tip {
    background: linear-gradient(135deg, var(--bs-coral), #ef4444);
}

.post-badge.insight {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.post-menu {
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.post-menu:hover {
    background: #f3f4f6;
    color: #6b7280;
}

.post-content {
    color: var(--bs-midnight-blue);
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-content p {
    margin-bottom: 12px;
}

.post-highlights {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.highlight-item:last-child {
    margin-bottom: 0;
}

.highlight-number {
    width: 24px;
    height: 24px;
    background: var(--bs-teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.tip-list {
    background: #f0fdf4;
    border-left: 4px solid #10b981;
    padding: 16px 20px;
    margin: 16px 0;
    border-radius: 0 8px 8px 0;
}

.tip-list li {
    margin-bottom: 8px;
    color: #059669;
}

.tip-footer {
    font-style: italic;
    color: #6b7280;
    margin-top: 12px;
    font-size: 14px;
}

/* Post Engagement */
.post-engagement {
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
}

.engagement-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}

.stat-item {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
}

.engagement-actions {
    display: flex;
    gap: 8px;
}

.engagement-btn {
    background: none;
    border: none;
    color: #6b7280;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.engagement-btn:hover {
    background: #f3f4f6;
    color: var(--bs-midnight-blue);
}

.engagement-btn.active {
    color: #dc2626;
}

/* Sidebar Cards */
.sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--bs-midnight-blue);
    margin-bottom: 16px;
}

/* Profile Summary */
.profile-summary {
    text-align: center;
}

.profile-cover {
    position: relative;
    margin-bottom: 16px;
}

.profile-main-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-status {
    position: absolute;
    bottom: 8px;
    right: calc(50% - 40px + 8px);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid white;
}

.profile-status.online {
    background: #10b981;
}

.profile-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--bs-midnight-blue);
    margin-bottom: 4px;
}

.profile-title {
    color: var(--bs-teal);
    font-weight: 500;
    margin-bottom: 8px;
}

.profile-location {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 16px;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.profile-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--bs-midnight-blue);
}

.stat-text {
    font-size: 12px;
    color: #6b7280;
}

.btn-edit-profile {
    background: linear-gradient(135deg, var(--bs-teal), #14b8a6);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-edit-profile:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(32, 201, 151, 0.3);
    color: white;
    text-decoration: none;
}

/* Post animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quick Actions */
.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.action-item {
    background: #f8fafc;
    border: none;
    border-radius: 10px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    transition: all 0.3s ease;
}

.action-item:hover {
    background: rgba(32, 201, 151, 0.1);
    color: var(--bs-teal);
    transform: translateY(-2px);
}

.action-item i {
    font-size: 18px;
}

/* Trending Topics */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trending-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
}

.trending-rank {
    background: var(--bs-teal);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.trending-content {
    flex: 1;
}

.trending-topic {
    display: block;
    font-weight: 500;
    color: var(--bs-midnight-blue);
    font-size: 14px;
}

.trending-posts {
    display: block;
    font-size: 12px;
    color: #6b7280;
}

/* Upcoming Sessions */
.session-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.session-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
}

.session-time {
    background: var(--bs-coral);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.session-details {
    flex: 1;
}

.session-title {
    display: block;
    font-weight: 500;
    color: var(--bs-midnight-blue);
    font-size: 14px;
}

.session-client {
    display: block;
    font-size: 12px;
    color: #6b7280;
}

.btn-view-all {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 16px;
    width: 100%;
    color: #6b7280;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    border-color: var(--bs-teal);
    color: var(--bs-teal);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .expert-dashboard .col-lg-4 {
        order: -1;
    }
}

@media (max-width: 768px) {
    .expert-dashboard {
        padding: 0 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .create-post-card,
    .feed-post,
    .sidebar-card {
        padding: 16px;
    }
    
    .post-options {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .post-option {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .engagement-actions {
        gap: 4px;
    }
    
    .engagement-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
    }
}

/* User Dashboard - Social Media Inspired Styles */
.user-dashboard {
    padding: 0;
}

/* Action Cards Grid */
.action-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.action-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.quick-nav-section {
    margin: 2rem 0;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.quick-nav-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.quick-nav-item i {
    font-size: 2rem;
    color: var(--bs-teal);
    margin-bottom: 10px;
}

.quick-nav-item span {
    font-weight: 600;
    color: var(--bs-midnight-blue);
    margin-bottom: 5px;
}

.quick-nav-item small {
    font-size: 0.8rem;
    line-height: 1.3;
}

.question-history-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.question-history-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.question-history-card .question-title {
    color: var(--bs-midnight-blue);
    font-weight: 600;
}

.question-history-card .question-description {
    line-height: 1.6;
}

.action-card {
    background: white;
    border-radius: 20px;
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.action-card.discover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.action-card.question {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.action-card.messages {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.action-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}

.action-content h6 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.action-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.action-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: white;
    color: var(--bs-midnight-blue);
    transform: translateY(-2px);
}

.action-bg-pattern {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="white" opacity="0.1"/><circle cx="40" cy="60" r="1" fill="white" opacity="0.05"/></svg>') repeat;
    animation: float 20s infinite linear;
}

/* Recommendations Feed */
.recommendations-feed {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feed-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.feed-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--bs-midnight-blue);
    margin-bottom: 4px;
}

.feed-subtitle {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

/* Expert Recommendation Cards */
.expert-recommendations {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Empty State Styling */
.no-recommendations {
    text-align: center;
    padding: 40px 20px;
}

.empty-state {
    background: #f8fafc;
    border-radius: 12px;
    padding: 32px 24px;
    border: 2px dashed #e2e8f0;
}

.empty-state i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.empty-state h6 {
    color: var(--midnight-blue);
    margin-bottom: 8px;
    font-weight: 600;
}

.empty-state p {
    color: #64748b;
    margin-bottom: 20px;
}

.expert-rec-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.expert-rec-card:hover {
    border-color: var(--bs-teal);
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.expert-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.expert-match-score {
    background: linear-gradient(135deg, var(--bs-teal), #14b8a6);
    color: white;
    padding: 8px 12px;
    border-radius: 12px;
    text-align: center;
    min-width: 70px;
}

.match-percentage {
    font-size: 16px;
    font-weight: 700;
    display: block;
}

.expert-match-score small {
    font-size: 11px;
    opacity: 0.9;
}

.expert-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #e5e7eb;
}

.expert-status-dot.online {
    background: #10b981;
}

.expert-status-dot.away {
    background: #f59e0b;
}

.expert-card-content {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.expert-avatar-section {
    position: relative;
    flex-shrink: 0;
}

.expert-rec-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.expert-verification {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--bs-teal);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 2px solid white;
}

.expert-info {
    flex: 1;
}

.expert-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--bs-midnight-blue);
    margin-bottom: 4px;
}

.expert-title {
    color: var(--bs-teal);
    font-weight: 500;
    margin-bottom: 8px;
}

.expert-location {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 8px;
}

.expert-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.expert-rating .stars {
    color: #fbbf24;
    font-size: 14px;
}

.rating-text {
    font-size: 13px;
    color: #6b7280;
}

.expert-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.specialty-tag {
    background: rgba(32, 201, 151, 0.1);
    color: var(--bs-teal);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

.expert-card-actions {
    display: flex;
    gap: 12px;
}

.btn-connect {
    background: linear-gradient(135deg, var(--bs-teal), #14b8a6);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.btn-connect:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(32, 201, 151, 0.3);
}

.btn-view-profile {
    background: none;
    color: var(--bs-midnight-blue);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-view-profile:hover {
    border-color: var(--bs-teal);
    color: var(--bs-teal);
    text-decoration: none;
}

/* Learning Section */
.learning-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--bs-midnight-blue);
    margin-bottom: 16px;
}

.learning-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.learning-card {
    background: #f0fdf4;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.learning-card:hover {
    background: #dcfce7;
    transform: translateX(4px);
}

.learning-icon {
    width: 40px;
    height: 40px;
    background: #10b981;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.learning-content h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--bs-midnight-blue);
    margin-bottom: 2px;
}

.learning-content p {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.learning-duration {
    font-size: 11px;
    color: #10b981;
    font-weight: 500;
}

/* User Sidebar Cards */
.user-sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Profile Overview */
.profile-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.user-main-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e5e7eb;
}

.user-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--bs-midnight-blue);
    margin-bottom: 2px;
}

.user-subtitle {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 4px;
}

.user-location {
    color: #9ca3af;
    font-size: 13px;
    margin: 0;
}

.profile-stats-user {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.user-stat {
    text-align: center;
}

.user-stat .stat-number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--bs-midnight-blue);
}

.user-stat .stat-text {
    font-size: 12px;
    color: #6b7280;
}

/* Interests Card */
.interests-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.interest-tag {
    background: linear-gradient(135deg, var(--bs-coral), #ef4444);
    color: white;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-update-interests {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 16px;
    width: 100%;
    color: #6b7280;
    font-size: 13px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-update-interests:hover {
    border-color: var(--bs-coral);
    color: var(--bs-coral);
}

/* Activity Card */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-text {
    display: block;
    font-size: 14px;
    color: var(--bs-midnight-blue);
    font-weight: 500;
}

.activity-time {
    display: block;
    font-size: 12px;
    color: #6b7280;
}

/* Suggestions Card */
.suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.suggestion-item:hover {
    background: rgba(32, 201, 151, 0.05);
    color: var(--bs-teal);
}

.suggestion-item i {
    color: var(--bs-teal);
    font-size: 16px;
    width: 20px;
}

.suggestion-item span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.suggestion-progress {
    width: 60px;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, var(--bs-teal), #14b8a6);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Mobile Responsiveness for User Dashboard */
@media (max-width: 991px) {
    .action-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .expert-card-content {
        flex-direction: column;
        text-align: center;
    }
    
    .expert-card-actions {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .user-dashboard {
        padding: 0 15px;
    }
    
    .action-card {
        padding: 20px 16px;
    }
    
    .recommendations-feed,
    .user-sidebar-card {
        padding: 16px;
    }
    
    .expert-rec-card {
        padding: 16px;
    }
    
    .expert-card-content {
        gap: 12px;
    }
    
    .expert-rec-avatar {
        width: 60px;
        height: 60px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .learning-cards {
        gap: 8px;
    }
    
    .learning-card {
        padding: 12px;
    }
}

/* Improved Interests Section Styling */
.interests-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.interests-count {
    background: linear-gradient(135deg, var(--coral), #ff7675);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.interest-tag.improved {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.interest-tag.improved .interest-title {
    color: #1a1a1a !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    display: block !important;
}

.interest-tag.improved:hover {
    border-color: var(--coral);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 99, 71, 0.15);
}

.interest-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--coral));
    color: white !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 16px;
    flex-shrink: 0;
}

.interest-tag.improved .interest-icon {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.interest-tag.improved .interest-icon i {
    color: white !important;
    font-size: 16px !important;
}

.interest-content {
    flex: 1;
}

.interest-title {
    display: block;
    font-weight: 600;
    color: var(--midnight-blue) !important;
    margin-bottom: 2px;
    font-size: 14px !important;
}

.interest-experts {
    color: #666;
    font-size: 11px;
}

.btn-update-interests.improved {
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
    color: var(--midnight-blue);
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-update-interests.improved:hover {
    background: linear-gradient(135deg, var(--coral), #ff7675);
    color: white;
    border-color: var(--coral);
    transform: translateY(-1px);
}

/* Profile Page Enhancements */

/* Expertise Grid - Consistent Design */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.expertise-tag {
    background: linear-gradient(135deg, rgba(32, 201, 151, 0.1), rgba(20, 184, 166, 0.1));
    border: 1px solid rgba(32, 201, 151, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(32, 201, 151, 0.1), transparent);
    transition: left 0.5s ease;
}

.expertise-tag:hover::before {
    left: 100%;
}

.expertise-tag:hover {
    transform: translateY(-2px);
    border-color: var(--bs-teal);
    box-shadow: 0 4px 15px rgba(32, 201, 151, 0.2);
}

.expertise-tag .tag-label {
    font-weight: 600;
    color: var(--bs-teal);
    font-size: 13px;
    position: relative;
    z-index: 1;
}

/* Post Items */
.post-item {
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.post-item:hover {
    background: #ffffff;
    border-color: var(--bs-teal);
    box-shadow: 0 4px 15px rgba(32, 201, 151, 0.1);
}

.post-engagement {
    display: flex;
    gap: 12px;
    align-items: center;
}

.post-engagement .btn {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 8px;
}

/* Review Modal Styling */
.rating-input {
    display: flex;
    gap: 8px;
    margin: 8px 0;
}

.rating-input .fa-star {
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #d1d5db;
}

.rating-input .fa-star:hover {
    transform: scale(1.1);
}

.rating-input .fa-star.text-warning {
    color: #fbbf24 !important;
}

.rating-input .fa-star.text-muted {
    color: #d1d5db !important;
}

/* Review Items */
.review-item {
    padding: 16px 0;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars .fa-star {
    font-size: 14px;
}

/* Badge Styling for Posts */
.bg-teal-subtle {
    background-color: rgba(32, 201, 151, 0.1) !important;
}

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

.bg-coral-subtle {
    background-color: rgba(255, 107, 107, 0.1) !important;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .expertise-tag {
        padding: 8px 12px;
    }
    
    .expertise-tag .tag-label {
        font-size: 12px;
    }
    
    .post-item {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .rating-input .fa-star {
        font-size: 20px;
    }
}

/* Toast Notifications */
.toast {
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.toast-header {
    border-bottom: none;
    padding: 12px 16px;
    font-weight: 600;
}

.toast-body {
    padding: 12px 16px;
    background: white;
    color: #374151;
    font-weight: 500;
}

.btn-close-white {
    filter: brightness(0) invert(1);
}

/* Reviews Pagination */
.reviews-pagination {
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
}

.reviews-pagination .btn {
    transition: all 0.3s ease;
}

.reviews-pagination .btn:hover {
    transform: translateY(-1px);
}

/* Enhanced Rating Stars */
.rating-stars .fa-star {
    transition: color 0.2s ease;
}

/* Loading States */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
