
        :root {
            --primary-color: #6366f1;
            --secondary-color: #8b5cf6;
            --accent-color: #06b6d4;
            --text-dark: #1e293b;
            --text-light: #64748b;
            --bg-light: #f8fafc;
            --white: #ffffff;
            --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        }

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

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
        }

        /* Navigation */
        .navbar {
            background: var(--white);
            box-shadow: var(--shadow-sm);
            padding: 1rem 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
        }

        .navbar-brand {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--primary-color) !important;
        }

        .navbar-nav .nav-link {
            font-weight: 500;
            color: var(--text-dark) !important;
            margin: 0 10px;
            transition: color 0.3s ease;
        }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: var(--primary-color) !important;
        }


        .navbar-nav .nav-item.ms-3 {
            margin-left: 1rem !important; 
        }

        @media (max-width: 1199.98px) {
        .navbar-nav .nav-link {
            padding: 0.5rem 0.5rem;
            font-size: 14px;
         }

        .navbar-nav .btn {
            font-size: 14px;
            padding: 0.35rem 0.8rem;
         }
        }

        
        .btn-primary {
            background: var(--gradient-primary);
            border: none;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

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

        /* Page Header */
        .page-header {
            background: var(--gradient-primary);
            padding: 150px 0 100px;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .page-header::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 50%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="medical" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="2" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23medical)"/></svg>');
        }

        .page-header h1 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 1rem;
        }

        .breadcrumb {
            background: transparent;
            padding: 0;
            margin: 0;
        }

        .breadcrumb-item a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
        }

        .breadcrumb-item.active {
            color: white;
        }

        /* Blog Details Section */
        .blog-details {
            padding: 100px 0;
            background: var(--white);
        }

        .blog-content {
            background: var(--white);
            border-radius: 20px;
            padding: 40px;
            box-shadow: var(--shadow-lg);
            margin-bottom: 30px;
        }

        .blog-meta {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #e2e8f0;
            flex-wrap: wrap;
        }

        .blog-meta span {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--text-light);
            font-size: 0.9rem;
        }

        .blog-meta i {
            color: var(--primary-color);
        }

        .blog-image {
            width: 100%;
            height: 400px;
            object-fit: cover;
            border-radius: 15px;
            margin-bottom: 30px;
        }

        .blog-content h2 {
            color: var(--text-dark);
            margin: 30px 0 20px;
        }

        .blog-content h3 {
            color: var(--text-dark);
            margin: 25px 0 15px;
        }

        .blog-content p {
            color: var(--text-light);
            margin-bottom: 20px;
            line-height: 1.8;
        }

        .blog-content ul, .blog-content ol {
            margin: 20px 0;
            padding-left: 30px;
        }

        .blog-content li {
            color: var(--text-light);
            margin-bottom: 10px;
        }

        .quote-box {
            background: var(--bg-light);
            border-left: 4px solid var(--primary-color);
            padding: 30px;
            margin: 30px 0;
            border-radius: 10px;
            font-style: italic;
            position: relative;
        }

        .quote-box::before {
            content: '"';
            font-size: 4rem;
            color: var(--primary-color);
            position: absolute;
            top: -10px;
            left: 20px;
            font-family: serif;
        }

        .author-bio {
            background: var(--bg-light);
            border-radius: 15px;
            padding: 30px;
            margin: 40px 0;
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .author-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--primary-color);
        }

        .author-info h6 {
            color: var(--text-dark);
            margin-bottom: 5px;
        }

        .author-info small {
            color: var(--text-light);
        }

        .social-share {
            display: flex;
            align-items: center;
            gap: 15px;
            margin: 30px 0;
            padding: 20px 0;
            border-top: 1px solid #e2e8f0;
            border-bottom: 1px solid #e2e8f0;
        }

        .social-share {
            display: flex;
            flex-wrap: wrap; 
            gap: 10px;
            justify-content: center; 
            margin-top: 15px;
        }

        .social-share a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1rem;
            background-color: var(--primary-color); 
            text-decoration: none;
            transition: all 0.3s ease;
        }


        .social-share a:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }

        .social-share .facebook { background: #3b5998; }
        .social-share .twitter { background: #1da1f2; }
        .social-share .linkedin { background: #0077b5; }
        .social-share .whatsapp { background: #25d366; }

        .tags {
            margin: 30px 0;
        }

        .tag {
            display: inline-block;
            background: var(--bg-light);
            color: var(--text-dark);
            padding: 8px 20px;
            border-radius: 25px;
            font-size: 0.9rem;
            margin: 5px;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .tag:hover {
            background: var(--primary-color);
            color: white;
        }

        .sidebar {
            background: var(--white);
            border-radius: 20px;
            padding: 30px;
            box-shadow: var(--shadow-md);
            margin-bottom: 30px;
        }

        .sidebar h5 {
            margin-bottom: 20px;
            color: var(--text-dark);
        }

        .recent-post {
            display: flex;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid #e2e8f0;
        }

        .recent-post:last-child {
            border-bottom: none;
        }

        .recent-post img {
            width: 60px;
            height: 60px;
            border-radius: 10px;
            object-fit: cover;
            margin-right: 15px;
        }

        .recent-post-content h6 {
            font-size: 0.9rem;
            margin-bottom: 5px;
        }

        .recent-post-content small {
            color: var(--text-light);
        }

        .related-posts {
            margin-top: 50px;
        }

        .related-post-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: all 0.3s ease;
        }

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

        .related-post-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .related-post-content {
            padding: 20px;
        }

        /* Footer */
        .footer {
            background: var(--gradient-primary);
            color: white;
            padding: 80px 0 30px;
        }

        .footer h5 {
            color: white;
            margin-bottom: 20px;
        }

        .footer a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer a:hover {
            color: white;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .page-header {
                padding: 120px 0 80px;
            }
            
            .page-header h1 {
                font-size: 2rem;
            }
            
            .blog-content,
            .sidebar {
                padding: 30px 20px;
                margin-bottom: 30px;
            }
            
            .blog-image {
                height: 250px;
            }
            
            .author-bio {
                flex-direction: column;
                text-align: center;
            }
            
            .social-share {
                justify-content: center;
            }
        }

        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        
        @media (max-width: 991.98px) {
        .navbar-collapse {
            max-height: 80vh; 
            overflow-y: auto; 
         }

        .dropdown-menu {
           position: static; 
           float: none;
         }
        }