
        :root {
            --primary-color: #FE723C;
            --secondary-color: #FF8843;
            --accent-color: #06b6d4;
            --dark-color: #1e293b;
            --light-gray: #f8fafc;
            --medium-gray: #64748b;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--dark-color);
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
        }

        /* Navbar Styles */
        .navbar {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            padding: 1rem 0;
        }

        .navbar-brand {
            font-weight: 700;
            font-size: 1.8rem;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-link {
            color: var(--dark-color) !important;
            font-weight: 500;
            margin: 0 0.5rem;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-link:hover {
            color: var(--primary-color) !important;
            transform: translateY(-2px);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 50%;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        /* Hero Section */
        .hero-section {
            background: url("/blog/assets/images/hero2.jpg") no-repeat center center/cover;
            padding: 8rem 0 4rem;
            text-align: left;
            position: relative;
            overflow: hidden;
            height: 400px;
            max-height: 400px;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            height: 100%;
            display: block;
            align-items: center;
            margin-top: 100px;
        }

        .hero-left {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .hero-icon-img {
            width: 80px;
            height: 80px;
            object-fit: contain;
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin: 0;
            color: var(--dark-color);
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        /* Blog Hero Section - Enhanced for blog page */
        .blog-hero {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            height: 500px;
            max-height: 500px;
            padding: 6rem 0 3rem;
            position: relative;
            overflow: hidden;
        }

        .blog-hero::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.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.15"/><circle cx="10" cy="90" r="0.5" fill="white" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            z-index: 1;
        }

        .blog-hero .hero-content {
            position: relative;
            z-index: 3;
            height: 100%;
            display: flex;
            align-items: center;
            padding: 20px;
        }

        .hero-text {
            color: white;
        }

        .blog-hero .hero-title {
            font-size: 4rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, #ffffff, #f1f5f9);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: none;
            line-height: 1.1;
        }

        .blog-hero .hero-subtitle {
            font-size: 1.2rem;
            font-weight: 400;
            opacity: 0.9;
            margin-bottom: 2rem;
            line-height: 1.6;
            max-width: 500px;
        }

        .hero-stats {
            display: flex;
            gap: 2rem;
            margin-top: 2rem;
        }

        .stat-item {
            text-align: center;
            color: white;
        }

        .stat-number {
            display: block;
            font-size: 2rem;
            font-weight: 700;
            line-height: 1;
            margin-bottom: 0.5rem;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .stat-label {
            font-size: 0.9rem;
            opacity: 0.8;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .hero-icon {
            position: relative;
            text-align: center;
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .floating-icon {
            width: 120px;
            height: 120px;
            object-fit: contain;
            position: relative;
            z-index: 3;
            animation: float 6s ease-in-out infinite;
            filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
        }

        .icon-glow {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(254, 114, 60, 0.3) 0%, transparent 70%);
            border-radius: 50%;
            animation: pulse 4s ease-in-out infinite;
        }

        .hero-decoration {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 2;
            overflow: hidden;
        }

        .decoration-circle {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            animation: drift 20s ease-in-out infinite;
        }

        .circle-1 {
            width: 100px;
            height: 100px;
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .circle-2 {
            width: 60px;
            height: 60px;
            top: 60%;
            right: 15%;
            animation-delay: -5s;
        }

        .circle-3 {
            width: 80px;
            height: 80px;
            bottom: 20%;
            left: 70%;
            animation-delay: -10s;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
            }
            50% {
                transform: translateY(-20px) rotate(5deg);
            }
        }

        @keyframes pulse {
            0%, 100% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.7;
            }
            50% {
                transform: translate(-50%, -50%) scale(1.1);
                opacity: 0.9;
            }
        }

        @keyframes drift {
            0%, 100% {
                transform: translate(0, 0) rotate(0deg);
            }
            25% {
                transform: translate(30px, -30px) rotate(90deg);
            }
            50% {
                transform: translate(-20px, 20px) rotate(180deg);
            }
            75% {
                transform: translate(-40px, -10px) rotate(270deg);
            }
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.1);
            z-index: 1;
        }

        @keyframes float {
            0% { transform: translate(0, 0) rotate(0deg); }
            100% { transform: translate(-100px, -100px) rotate(360deg); }
        }

        .hero-content {
            position: relative;
            z-index: 2;
            height: 100%;
            display: flex;
            align-items: center;
        }

        .hero-subtitle {
            font-size: 1.3rem;
            font-weight: 300;
            opacity: 0.8;
            max-width: 600px;
            margin: 1rem 0 0 0;
            color: var(--text-color);
        }

        /* Main Content */
        .main-content {
            background: var(--light-gray);
            padding: 4rem 0;
            position: relative;
            min-height: 100vh;
        }

        #blog-details.main-content {
            background: var(--light-gray);
            padding: 2rem 0;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 600;
            text-align: center;
            margin-bottom: 3rem;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Blog Cards */
        .blog-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
            height: 100%;
            position: relative;
        }

        .blog-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        }

        .blog-card-image {
            height: 250px;
            background: url("https://miro.medium.com/v2/resize:fit:1100/format:webp/1*fjc8QCjz4DB22g0oNWArCA.jpeg");
            background-size: cover;
            background-repeat: no-repeat;
            position: relative;
            overflow: hidden;
        }



        @keyframes drift {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(20px, -20px); }
        }

        .blog-card-content {
            padding: 2rem;
        }

        .blog-category {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 0.3rem 1rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 500;
            margin-bottom: 1rem;
        }

        .blog-title {
            font-size: 1.4rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--dark-color);
            line-height: 1.4;
        }

        .blog-excerpt {
            color: var(--medium-gray);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .blog-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            border-top: 1px solid #e2e8f0;
        }

        .blog-author {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .author-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #2e2e2e;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .blog-date {
            color: var(--medium-gray);
            font-size: 0.9rem;
        }

        .read-more-btn {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border: none;
            color: white;
            padding: 0.7rem 1.5rem;
            border-radius: 50px;
            font-weight: 500;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            margin-top: 1rem;
        }

        .read-more-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
            color: white;
        }

        /* Footer */
        .footer {
            background: linear-gradient(135deg, var(--dark-color), #334155);
            color: white;
            padding: 3rem 0 1rem;
        }

        .footer h5 {
            color: white;
            margin-bottom: 1.5rem;
            font-weight: 600;
        }

        .footer a {
            color: #cbd5e1;
            text-decoration: none;
            transition: all 0.3s ease;
            display: block;
            margin-bottom: 0.5rem;
        }

        .footer a:hover {
            color: var(--accent-color);
            transform: translateX(5px);
        }

        .social-links a {
            display: inline-block;
            margin-right: 1rem;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: var(--primary-color);
            transform: translateY(-3px);
        }

        .footer-bottom {
            border-top: 1px solid #475569;
            margin-top: 2rem;
            padding-top: 1rem;
            text-align: center;
            color: #94a3b8;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }

            .hero-subtitle {
                font-size: 1.1rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .blog-hero .hero-title {
                font-size: 2.8rem;
            }

            .blog-hero .hero-subtitle {
                font-size: 1rem;
                margin-bottom: 1.5rem;
            }

            .hero-stats {
                gap: 1rem;
                justify-content: center;
            }

            .stat-number {
                font-size: 1.5rem;
            }

            .floating-icon {
                width: 80px;
                height: 80px;
            }

            .icon-glow {
                width: 120px;
                height: 120px;
            }

            .blog-hero {
                height: 400px;
                max-height: 400px;
                padding: 5rem 0 2rem;
            }

            .hero-icon {
                height: 200px;
                margin-top: 2rem;
            }
        }

        /* Loading Animation */
        .blog-card {
            animation: fadeInUp 0.6s ease forwards;
            opacity: 0;
            transform: translateY(30px);
        }
        .page-item.active .page-link {
            background: var(--primary-color)!important;
            color: white;
            border-color: var(--primary-color)!important;
        }

        .blog-card:nth-child(1) { animation-delay: 0.1s; }
        .blog-card:nth-child(2) { animation-delay: 0.2s; }
        .blog-card:nth-child(3) { animation-delay: 0.3s; }
        .blog-card:nth-child(4) { animation-delay: 0.4s; }
        .blog-card:nth-child(5) { animation-delay: 0.5s; }
        .blog-card:nth-child(6) { animation-delay: 0.6s; }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Loading and Error States */
        .no-blogs-message,
        .error-message {
            padding: 3rem 2rem;
            text-align: center;
        }

        .no-blogs-message i,
        .error-message i {
            opacity: 0.6;
        }

        .blog-card-image .placeholder-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 2rem;
            color: rgba(255, 255, 255, 0.8);
        }

        /* Dynamic blog card styles */
        .blog-card[data-blog-id] {
            cursor: pointer;
        }

        .blog-card-image {
            position: relative;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        /* Loading spinner customization */
        #blogLoader {
            padding: 4rem 2rem;
        }

        .spinner-border {
            width: 3rem;
            height: 3rem;
        }

        /* Blog Post Styles */
        #blog-details .container {
            max-width: 1200px;
        }

        #postContent.row {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-start;
            margin: 0 -15px;
        }

        #postContent .col-lg-8 {
            flex: 0 0 66.666667%;
            max-width: 66.666667%;
            padding: 0 15px;
        }

        #postContent .col-lg-4 {
            flex: 0 0 33.333333%;
            max-width: 33.333333%;
            padding: 0 15px;
        }

        @media (max-width: 991.98px) {
            #postContent .col-lg-8,
            #postContent .col-lg-4 {
                flex: 0 0 100%;
                max-width: 100%;
            }
        }

        .blog-post {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            margin-bottom: 2rem;
        }

        .post-header {
            border-bottom: 1px solid #e2e8f0;
            padding-bottom: 1.5rem;
        }

        .breadcrumb {
            background: none;
            padding: 0;
            margin-bottom: 1rem;
        }

        .breadcrumb-item a {
            color: var(--medium-gray);
            text-decoration: none;
        }

        .breadcrumb-item a:hover {
            color: var(--primary-color);
        }

        .post-category .badge {
            font-size: 0.85rem;
            padding: 0.5rem 1rem;
        }

        .post-title {
            font-size: 2.5rem;
            font-weight: 700;
            line-height: 1.2;
            color: var(--dark-color);
            margin-bottom: 1rem;
        }

        .post-meta {
            align-items: center;
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
        }

        .author-name {
            font-weight: 600;
            color: var(--dark-color);
        }

        .post-stats span {
            color: var(--medium-gray);
            font-size: 0.9rem;
        }

        .post-featured-image img {
            width: 100%;
            height: 400px;
            object-fit: cover;
        }

        .placeholder-featured-image {
            height: 400px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        }

        .post-content {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--dark-color);
        }

        .post-content h1, .post-content h2, .post-content h3 {
            margin-top: 2rem;
            margin-bottom: 1rem;
            color: var(--dark-color);
        }

        .post-content p {
            margin-bottom: 1.5rem;
        }

        .post-content img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin: 1rem 0;
        }

        .post-footer {
            background: #f8fafc;
            margin: 2rem -2rem -2rem -2rem;
            padding: 2rem;
            border-radius: 0 0 12px 12px;
        }

        .social-share h6 {
            margin-bottom: 1rem;
            color: var(--dark-color);
        }

        .share-buttons .btn {
            border-radius: 25px;
        }

        /* Comments Section */
        .comments-section {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        .comment-form .card {
            border: 1px solid #e2e8f0;
            border-radius: 12px;
        }

        .comment-item {
            padding: 1.5rem;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            background: #f8fafc;
        }

        .comment-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
        }

        .comment-author {
            color: var(--dark-color);
            font-weight: 600;
        }

        .no-comments {
            background: #f8fafc;
            border-radius: 12px;
            border: 2px dashed #e2e8f0;
        }

        /* Sidebar Styles */
        .blog-sidebar {
            position: sticky;
            top: 100px;
            height: fit-content;
        }

        .sidebar-widget {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        .widget-title {
            font-weight: 600;
            color: var(--dark-color);
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--primary-color);
        }

        .latest-post-item {
            border-bottom: 1px solid #e2e8f0 !important;
        }

        .latest-post-item:last-child {
            border-bottom: none !important;
        }

        .latest-post-image {
            height: 60px;
        }

        .latest-post-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .placeholder-image {
            height: 60px;
            background: #e2e8f0;
            color: var(--medium-gray);
        }

        .latest-post-title a {
            color: var(--dark-color);
            text-decoration: none;
            font-weight: 500;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .latest-post-title a:hover {
            color: var(--primary-color);
        }

        .category-list {
            list-style: none;
            padding: 0;
        }

        .category-list li {
            margin-bottom: 0.5rem;
        }

        .category-list a {
            color: var(--medium-gray);
            text-decoration: none;
            padding: 0.5rem 0;
            display: block;
            border-bottom: 1px solid transparent;
            transition: all 0.3s ease;
        }

        .category-list a:hover {
            color: var(--primary-color);
            border-bottom-color: var(--primary-color);
        }

        .newsletter .input-group {
            margin-top: 1rem;
        }

        /* Responsive Design */
        @media (max-width: 991.98px) {
            .blog-sidebar {
                position: static;
                margin-top: 2rem;
            }
        }

        /* Blog Page Specific Styles */
        .no-results-message {
            padding: 3rem 2rem;
            text-align: center;
        }

        .no-results-message i {
            opacity: 0.6;
        }

        .form-select:focus,
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(254, 114, 60, 0.25);
        }

        .pagination .page-link {
            color: var(--primary-color);
            border-color: #dee2e6;
        }

        .pagination .page-link:hover {
            color: var(--secondary-color);
            background-color: #f8f9fa;
            border-color: var(--primary-color);
        }

        .pagination .page-item.active .page-link {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            color: white;
        }

        .pagination .page-item.disabled .page-link {
            color: var(--medium-gray);
            background-color: #fff;
            border-color: #dee2e6;
        }

        @media (max-width: 768px) {
            .post-title {
                font-size: 2rem;
            }

            .blog-post {
                padding: 1.5rem;
            }

            .post-footer {
                margin: 1.5rem -1.5rem -1.5rem -1.5rem;
                padding: 1.5rem;
            }

            .comments-section {
                padding: 1.5rem;
            }
        }
