/* Custom Styles for Stucon */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stat Cards */
.stat-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

/* Contact Cards */
.contact-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.contact-card:hover {
    transform: translateY(-5px);
}

/* Dashboard Styles */
.dashboard-sidebar {
    background: var(--dark-color);
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.dashboard-content {
    margin-left: 250px;
    padding: 20px;
    min-height: 100vh;
    background: var(--light-color);
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav .nav-link {
    color: #adb5bd;
    padding: 12px 20px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    color: white;
    background: var(--primary-color);
}

.sidebar-nav .nav-link i {
    width: 20px;
    margin-right: 10px;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
}

.card-header {
    background: white;
    border-bottom: 1px solid #e9ecef;
    border-radius: 15px 15px 0 0 !important;
    padding: 20px;
}

/* Tables */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background: var(--primary-color);
    color: white;
    border: none;
    font-weight: 600;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

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

/* Forms */
.form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .dashboard-sidebar {
        margin-left: -250px;
    }
    
    .dashboard-content {
        margin-left: 0;
    }
    
    .hero-section {
        text-align: center;
        padding: 100px 0 50px;
    }
}

/* Login/Register Forms */
.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

.auth-header {
    background: var(--primary-color);
    color: white;
    padding: 30px;
    text-align: center;
}

.auth-body {
    padding: 30px;
}

/* Status Badges */
.badge {
    font-size: 0.75em;
    padding: 6px 12px;
    border-radius: 20px;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Blog Section Styles */
.blog-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    border-radius: 12px;
}

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

.blog-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}

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

.blog-meta {
    font-size: 0.85rem;
}

.blog-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.blog-stats small {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-card .card-title a {
    transition: color 0.3s ease;
}

.blog-card .card-title a:hover {
    color: var(--primary-color) !important;
}

.badge {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Blog Section Background */
#blog {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Featured Badge Animation */
.badge.bg-warning {
    animation: pulse 2s infinite;
}

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

/* Responsive Blog Cards */
@media (max-width: 768px) {
    .blog-card {
        margin-bottom: 20px;
    }
    
    .blog-image {
        height: 180px;
    }
}

/* Enhanced Course Card Styles */
.course-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.category-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100%;
}

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

.category-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.hover-effect {
    transition: all 0.3s ease;
}

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

/* Hero Section Search Form */
.hero-section .card {
    backdrop-filter: blur(10px);
    border: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* Consultant Card Styles */
.consultant-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-radius: 15px;
}

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

.consultant-avatar {
    position: relative;
    display: inline-block;
}

.verification-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: white;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.avatar-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
}

.rating-stars {
    font-size: 0.9rem;
}

.consultant-stats {
    font-size: 0.85rem;
}

.consultant-profile-card {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 15px;
    position: sticky;
    top: 20px;
}

.availability-status .badge {
    font-size: 0.9rem;
}

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

.nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
    background: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .consultant-profile-card {
        position: static;
        margin-bottom: 2rem;
    }
    
    .consultant-card .card-body {
        padding: 1.5rem;
    }
}

.blog-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.blog-image {
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Feature Card Styles */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
}

/* WhatsApp Chat Button */
.whatsapp-chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 16px;
}

.whatsapp-btn:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    text-decoration: none;
}

.whatsapp-btn i {
    font-size: 24px;
    margin-right: 8px;
}

.chat-text {
    display: none;
}

/* Show text on larger screens */
@media (min-width: 768px) {
    .chat-text {
        display: inline;
    }
}

/* Mobile responsive */
@media (max-width: 767px) {
    .whatsapp-btn {
        padding: 15px;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
    }
    
    .whatsapp-btn i {
        margin-right: 0;
        font-size: 28px;
    }
}

/* Social Media Icons in Footer */
.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-icon:hover::before {
    transform: scale(1);
}

.social-icon:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* WhatsApp Icon */
.whatsapp-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: 2px solid #25D366;
}

.whatsapp-icon::before {
    background: linear-gradient(135deg, #128C7E, #075E54);
}

.whatsapp-icon:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Facebook Icon */
.facebook-icon {
    background: linear-gradient(135deg, #1877F2, #166FE5);
    border: 2px solid #1877F2;
}

.facebook-icon::before {
    background: linear-gradient(135deg, #166FE5, #0E4F99);
}

.facebook-icon:hover {
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

/* Twitter Icon */
.twitter-icon {
    background: linear-gradient(135deg, #1DA1F2, #0D8BD9);
    border: 2px solid #1DA1F2;
}

.twitter-icon::before {
    background: linear-gradient(135deg, #0D8BD9, #0A6AA3);
}

.twitter-icon:hover {
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

/* Instagram Icon */
.instagram-icon {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
    border: 2px solid #E4405F;
}

.instagram-icon::before {
    background: linear-gradient(135deg, #C13584, #833AB4, #5B51D8);
}

.instagram-icon:hover {
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.4);
}

/* LinkedIn Icon */
.linkedin-icon {
    background: linear-gradient(135deg, #0077B5, #005885);
    border: 2px solid #0077B5;
}

.linkedin-icon::before {
    background: linear-gradient(135deg, #005885, #004471);
}

.linkedin-icon:hover {
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .social-icons {
        justify-content: center;
        margin-top: 15px;
        gap: 12px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}