
        :root {
            --candy-red: #ff6b6b;
            --sky-blue: #4ecdc4;
            --sunny-yellow: #ffd93d;
            --soft-pink: #ffb6c1;
            --mint-green: #98fb98;
            --lavender: #e6e6fa;
            --dark-bg: #1a1a1a;
            --dark-card: #2d2d2d;
            --dark-text: #ffffff;
            --dark-border: #404040;
            --border-color: #e6e6e6;
            --text-light: #666666;
            --text-dark: #1a1a1a;
            --shadow-medium: 0 10px 30px rgba(0,0,0,.12);
            --primary-brown: #3e2723;
            --secondary-brown: #4d312b;
            --light-brown: #a4766a;
            --cream-bg: #f5f3f1;
            --card-bg: #fffbf5;
        }

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

        body {
            font-family: 'Comic Neue', cursive;
            background-color: var(--cream-bg);
            color: var(--text-dark);
            min-height: 100vh;
            transition: all 0.3s ease;
            overflow-x: hidden;
            position: relative;
        }

        body.dark-mode {
            background: var(--dark-bg);
            color: var(--dark-text);
        }

        /* Loading Screen */
        #loading-screen {
            position: fixed;
            inset: 0;
            background: rgba(255,255,255,0.95);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            transition: opacity .3s ease, visibility .3s ease;
        }

        #loading-screen.hidden {
            opacity: 0;
            visibility: hidden;
        }

        #loading-screen .loader {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: .75rem;
            color: var(--primary-brown);
            font-weight: 700;
        }

        #loading-screen .fa-spinner {
            font-size: 2rem;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Navigation */
        .navbar {
            background: radial-gradient(circle at center, #e5c5b3, #e9b4b6);
            backdrop-filter: blur(15px);
            padding: 1rem 2rem;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 8px 32px rgba(0,0,0,0.1);
            border-bottom: 1px solid rgba(255,255,255,0.2);
            transition: all .3s ease;
        }

        body.dark-mode .navbar {
            background: #1e1e1e !important;
            border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1500px;
            margin: 0 auto;
        }

        .logo {
            font-size: 2rem;
            font-weight: 600;
            color: var(--primary-brown);
            text-decoration: none;
            transition: all .3s ease;
            display: flex;
            align-items: center;
            gap: .5rem;
            min-width: 150px;
            padding-right: 50px;
        }

        .logo-icon {
            font-size: 2rem;
            transition: transform .3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
            color: var(--primary-brown);
        }

        .logo:hover .logo-icon {
            transform: rotate(10deg);
        }

        body.dark-mode .logo {
            color: #e0e0e0;
        }

        body.dark-mode .logo:hover {
            color: #e0e0e0;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 1.5rem;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--primary-brown);
            font-weight: 600;
            font-size: 1.1rem;
            padding: 0.7rem 1rem;
            border-radius: 25px;
            transition: all 0.3s ease;
            position: relative;
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid transparent;
        }

        body.dark-mode .nav-links a {
            color: #e0e0e0 !important;
            background: rgba(111, 100, 91, 0.133) !important;
            border: 2px solid transparent !important;
        }

        .nav-links a:hover {
            background-color: #f3e0d6;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            border-color: rgba(228, 191, 180, 0.3);
            color: var(--primary-brown);
        }

        body.dark-mode .nav-links a:hover {
            background-color: #0d0d0d !important;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            border-color: #1e1e1e !important;
            color: #e0e0e0 !important;
        }

        .nav-links a.active {
            background-color: var(--primary-brown) !important;
            color: #ffffff !important;
            border-color: var(--primary-brown) !important;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        body.dark-mode .nav-links a.active {
            background-color: #0d0d0d !important;
            color: #ffffff !important;
            border-color: #1e1e1e !important;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .dark-mode-btn {
            background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
            border: none;
            color: white;
            padding: .7rem;
            border-radius: 50%;
            cursor: pointer;
            transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 1rem;
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            position: relative;
            overflow: hidden;
        }

        .dark-mode-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
            transition: all .4s ease;
            transform: translate(-50%, -50%);
        }

        .dark-mode-btn:hover::before {
            width: 100%;
            height: 100%;
        }

        .dark-mode-btn:hover {
            transform: scale(1.15) rotate(360deg);
            box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 4px 12px rgba(62,39,35,0.2);
            background: linear-gradient(135deg, var(--secondary-brown), var(--primary-brown));
        }

        body.dark-mode .dark-mode-btn {
            background: linear-gradient(135deg, #e0e0e0, #d0d0d0);
            color: #1e1e1e;
            box-shadow: 0 4px 15px rgba(224,224,224,0.2);
        }

        body.dark-mode .dark-mode-btn:hover {
            background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
            box-shadow: 0 8px 25px rgba(224,224,224,0.3), 0 4px 12px rgba(30,30,30,0.2);
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: .5rem;
            border-radius: 8px;
            transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .hamburger::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255,255,255,0.1);
            border-radius: 8px;
            opacity: 0;
            transition: opacity .3s ease;
        }

        .hamburger:hover::before {
            opacity: 1;
        }

        .hamburger:hover {
            transform: scale(1.05);
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: linear-gradient(45deg, var(--light-brown), var(--primary-brown));
            margin: 3px 0;
            transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 2px;
            position: relative;
            z-index: 1;
        }

        .hamburger:hover span {
            transform: scale(1.1);
        }

        body.dark-mode .hamburger span {
            background: linear-gradient(45deg, #e0e0e0, #c0c0c0);
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(-45deg) translate(-5px,6px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(45deg) translate(-5px,-6px);
        }

        /* Main Content */
        .main-content {
            margin-top: 100px;
            transition: all .3s ease;
            padding: 2rem;
            position: relative;
            z-index: 2;
            min-height: calc(100vh - 200px);
        }

        /* Hero Section */
        .hero-section {
            background: rgba(255,255,255,0.9);
            backdrop-filter: blur(15px);
            padding: 3rem;
            border-radius: 30px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.1);
            max-width: 1200px;
            margin: 0 auto 3rem;
            position: relative;
            overflow: hidden;
            transition: all .3s ease;
            text-align: center;
        }

        body.dark-mode .hero-section {
            background: #1e1e1e;
            box-shadow: 0 2px 2px #1e1e1e;
        }

        .hero-emoji {
            font-size: 4rem;
            display: block;
            margin-bottom: 1rem;
            animation: bounce 2s infinite;
        }

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

        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            background: linear-gradient(90deg, var(--primary-brown), var(--secondary-brown), var(--primary-brown));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
            margin-bottom: 1rem;
        }

        body.dark-mode .hero-title {
            background: #e0e0e0;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
        }

        .hero-subtitle {
            font-size: 1.3rem;
            color: #333;
            margin-bottom: 2rem;
            font-weight: 400;
            line-height: 1.6;
            transition: color .3s ease;
        }

        body.dark-mode .hero-subtitle {
            color: #e0e0e0 !important;
        }

        .search-bar {
            max-width: 650px;
            margin: 0 auto 2.5rem;
            position: relative;
            animation: fadeIn 1s ease 0.5s both;
        }

        .search-bar input {
            width: 100%;
            padding: 18px 55px 18px 25px;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-family: 'Comic Neue', cursive;
            background: white;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        body.dark-mode .search-bar input {
            background: #2a2a2a;
            color: #f5f5f5;
            border-color: #404040;
        }

        .search-bar input:focus {
            outline: none;
            box-shadow: 0 6px 25px rgba(62, 39, 35, 0.4);
            transform: translateY(-2px);
            border-color: var(--primary-brown);
        }

        .search-bar i {
            position: absolute;
            right: 25px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--primary-brown);
            font-size: 1.3rem;
            pointer-events: none;
        }

        /* Category Filter */
        .category-filter {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
            margin-bottom: 4rem;
            animation: fadeIn 1s ease 0.7s both;
        }

        .category-btn {
            background: white;
            color: var(--primary-brown);
            border: 2px solid transparent;
            padding: 12px 28px;
            border-radius: 50px;
            cursor: pointer;
            font-family: 'Comic Neue', cursive;
            font-weight: 700;
            font-size: 1.05rem;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        body.dark-mode .category-btn {
            background: #2a2a2a;
            color: #e0e0e0;
        }

        .category-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            border-color: var(--primary-brown);
        }

        .category-btn.active {
            background: var(--primary-brown);
            color: white;
            border-color: var(--primary-brown);
            transform: translateY(-3px);
            box-shadow: 0 4px 15px rgba(62, 39, 35, 0.4);
        }

        .category-btn i {
            margin-right: 8px;
        }

        /* Blog Grid */
        .blog-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 5% 5rem;
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            gap: 2.5rem;
        }

        .blog-card {
            background: var(--card-bg);
            border-radius: 25px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            transition: all 0.4s ease;
            display: flex;
            flex-direction: column;
            animation: fadeInUp 0.6s ease both;
            border: 2px solid transparent;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .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.1s; }
        .blog-card:nth-child(5) { animation-delay: 0.2s; }
        .blog-card:nth-child(6) { animation-delay: 0.3s; }

        body.dark-mode .blog-card {
            background: var(--dark-card);
        }

        .blog-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 12px 30px rgba(62, 39, 35, 0.3);
            border-color: var(--primary-brown);
        }

        .blog-card img {
            width: 100%;
            height: 240px;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .blog-card:hover img {
            transform: scale(1.1);
        }

        .blog-content {
            padding: 1.8rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .blog-category {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
            color: white;
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 700;
            margin-bottom: 1rem;
            width: fit-content;
            box-shadow: 0 2px 8px rgba(62, 39, 35, 0.3);
        }

        .blog-card h3 {
            font-size: 1.6rem;
            margin-bottom: 1rem;
            color: var(--primary-brown);
            transition: color 0.3s;
            line-height: 1.4;
        }

        body.dark-mode .blog-card h3 {
            color: #f5f5f5;
        }

        .blog-card:hover h3 {
            color: var(--secondary-brown);
        }

        .blog-meta {
            display: flex;
            gap: 1.5rem;
            margin-bottom: 1rem;
            font-size: 0.9rem;
            opacity: 0.7;
            flex-wrap: wrap;
        }

        .blog-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .blog-author {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 0.5rem;
            font-size: 0.95rem;
            opacity: 0.8;
            font-weight: 600;
        }

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

        .blog-card p {
            font-size: 1.05rem;
            line-height: 1.7;
            margin-bottom: 1.5rem;
            flex-grow: 1;
        }

        .read-more-btn {
            background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
            color: white;
            border: none;
            padding: 12px 28px;
            border-radius: 50px;
            cursor: pointer;
            font-family: 'Comic Neue', cursive;
            font-weight: 700;
            font-size: 1.05rem;
            transition: all 0.3s ease;
            width: fit-content;
            box-shadow: 0 4px 15px rgba(62, 39, 35, 0.3);
        }

        .read-more-btn:hover {
            transform: translateX(5px);
            box-shadow: 0 6px 20px rgba(62, 39, 35, 0.5);
        }

        .read-more-btn i {
            margin-left: 8px;
            transition: transform 0.3s ease;
        }

        .read-more-btn:hover i {
            transform: translateX(5px);
        }

        .no-results {
            text-align: center;
            padding: 5rem 2rem;
            font-size: 1.6rem;
            color: var(--primary-brown);
            animation: fadeIn 0.5s ease;
        }

        body.dark-mode .no-results {
            color: #f5f5f5;
        }

        .no-results i {
            font-size: 4rem;
            display: block;
            margin-bottom: 1rem;
            color: var(--primary-brown);
        }

        /* Scroll buttons */
        #backToTop, #Toptoback {
            position: fixed;
            bottom: 2.5rem;
            right: 2.5rem;
            z-index: 2000;
            background: linear-gradient(45deg, var(--light-brown), var(--primary-brown));
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 56px;
            height: 56px;
            font-size: 2rem;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
            cursor: pointer;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s, transform 0.2s;
        }

        #Toptoback {
            transform: translateY(-10px);
        }

        body.dark-mode #backToTop, body.dark-mode #Toptoback {
            background: #e0e0e0;
            color: #0d0d0d;
        }

        #backToTop.show, #Toptoback.show {
            opacity: 1;
            pointer-events: auto;
            transform: scale(1.08);
        }

        #backToTop:hover, #Toptoback:hover {
            background: linear-gradient(45deg, var(--light-brown), var(--primary-brown));
            transform: scale(1.15);
        }

        body.dark-mode #backToTop:hover, body.dark-mode #Toptoback:hover {
            background: #e0e0e0;
            transform: scale(1.15);
        }

        /* Footer */
        .footer {
            background: radial-gradient(circle at center, #e9b4b6, #e5c5b3);
            backdrop-filter: blur(15px);
            position: relative;
            z-index: 2;
            border-top: 1px solid rgba(255,255,255,0.3);
            margin-top: 4rem;
        }

        body.dark-mode .footer {
            background: #1e1e1e;
        }

        .footer-content {
            max-width: 1500px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem;
            padding: 3rem 2rem 2rem;
        }

        .footer-section h3.footer-title {
            color: var(--primary-brown);
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            position: relative;
        }

        .footer-section h3.footer-title::after {
            content: "";
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 30px;
            height: 3px;
            background: var(--primary-brown);
            border-radius: 2px;
        }

        body.dark-mode .footer-section h3.footer-title::after {
            background: #e0e0e0;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: .8rem;
            margin-bottom: 1.5rem;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-brown);
        }

        .footer-logo-icon {
            font-size: 2rem;
        }

        .footer-description {
            color: #333;
            line-height: 1.6;
            margin-bottom: 2rem;
            font-size: .95rem;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: .8rem;
        }

        .footer-links a {
            color: #333;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: .8rem;
            font-weight: 500;
            transition: all .3s ease;
            padding: .3rem 0;
            border-radius: 5px;
        }

        .footer-links a:hover {
            color: black;
            transform: translateX(4px);
            background: rgba(255,107,107,0.1);
            padding-left: .8rem;
        }

        .footer-links i {
            font-size: .9rem;
            width: 16px;
            opacity: .7;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background: linear-gradient(90deg, var(--primary-brown), var(--secondary-brown), var(--primary-brown));
            color: white;
            text-decoration: none;
            border-radius: 50%;
            font-size: 1.2rem;
            transition: all .3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .social-link:hover {
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        }

        .footer-bottom {
            background: rgba(0,0,0,0.05);
            backdrop-filter: blur(10px);
            border-top: 1px solid rgba(255,255,255,0.1);
            padding: 1.5rem 0;
        }

        .footer-bottom-content {
            max-width: 1500px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .copyright {
            color: #333;
            font-size: .9rem;
            margin: 0;
        }

        .copyright .name {
            color: var(--primary-brown);
            font-weight: 600;
        }

        .footer-badges {
            display: flex;
            gap: .8rem;
            flex-wrap: wrap;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            gap: .4rem;
            padding: .4rem .8rem;
            border-radius: 20px;
            font-size: .8rem;
            font-weight: 600;
            color: white;
            text-decoration: none;
            transition: all .3s ease;
        }

        .badge:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .badge-green, .badge-blue, .badge-purple {
            background: linear-gradient(90deg, var(--primary-brown), var(--secondary-brown), var(--primary-brown));
        }
         body.dark-mode .badge-blue {
            background: #e0e0e0;
            color: #0d0d0d;
        }

        body.dark-mode .badge-green {
            background: #e0e0e0;
            color: #0d0d0d;
        }

        body.dark-mode .badge-purple {
            background: #e0e0e0;
            color: #0d0d0d;
        }

        body.dark-mode .footer-content {
            background-color: #1e1e1e;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        body.dark-mode .footer-section h3.footer-title {
            color: #e0e0e0;
        }

        body.dark-mode .footer-logo {
            color: #e0e0e0;
        }

        body.dark-mode .footer-description {
            color: #a0a0a0;
        }

        body.dark-mode .footer-links a {
            color: #e0e0e0;
        }

        body.dark-mode .footer-links a:hover {
            color: #a0a0a0;
            background: rgba(255,138,128,0.1);
        }

        body.dark-mode .footer-bottom {
            background: #1e1e1e;
        }

        body.dark-mode .copyright {
            color: #a0a0a0;
        }

        body.dark-mode .copyright .name {
            color: #ef6154;
        }

        /* Responsive */
        @media (max-width: 1242px) {
            .navbar {
                padding: .8rem 1rem;
            }
            
            .nav-links {
                display: flex;
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100vh;
                background: #1a1a1a;
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
                padding-top: 6rem;
                transition: transform .3s ease;
                transform: translateX(-100%);
                gap: 0;
                z-index: 999;
            }
            
            body.dark-mode .nav-links {
                background: #1a1a1a !important;
            }
            
            .nav-links.active {
                transform: translateX(0);
            }
            
            .nav-links li {
                width: 90%;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }
            
            .nav-links a {
                width: 100%;
                padding: 1.5rem 2rem;
                font-size: 1.2rem;
                margin-bottom: 0;
                background: #2a2a2a !important;
                color: #e0e0e0 !important;
                border-radius: 0;
                display: flex;
                align-items: center;
                gap: 1rem;
                transition: all 0.3s ease;
            }

            .nav-links a:hover {
                background: #3a3a3a !important;
                color: #ffffff !important;
            }

            .nav-links a.active {
                background: #0d0d0d !important;
                color: #ffffff !important;
            }
            
            .nav-actions {
                gap: .5rem;
                z-index: 1001;
                position: absolute;
                right: 5rem;
            }
            
            .dark-mode-btn {
                width: 40px;
                height: 40px;
                font-size: .9rem;
            }
            
            .hamburger {
                display: flex;
                position: relative;
                z-index: 1001;
            }

            .logo {
                font-size: 1.5rem;
            }
            
            .logo-icon {
                font-size: 1.7rem;
            }
            
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-section {
                padding: 2rem;
                margin: 1rem;
            }
            
            .blog-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .category-filter {
                padding: 0 1rem;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
                text-align: center;
                padding: 2rem 1rem 1rem;
            }
            
            .footer-section h3.footer-title::after {
                left: 50%;
                transform: translateX(-50%);
            }
            
            .footer-bottom-content {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }
            
            .footer-badges {
                justify-content: center;
            }
            
            .social-links {
                justify-content: center;
            }
        }

        /* Tablet footer grid */
        @media (max-width: 1024px) {
            .footer-content {
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
            }
        }

        /* Tablet nav tweaks */
        @media (min-width: 769px) and (max-width: 1024px) {
            .nav-links {
                flex-grow: 1;
                justify-content: space-around;
            }
            
            .nav-links a {
                padding: .5rem .8rem;
            }
            
            .nav-actions {
                gap: .8rem;
            }
        }

        @media (max-width: 500px) {
            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .footer-logo {
                justify-content: center;
            }
            
            .social-links {
                justify-content: center;
            }
            
            .footer-badges {
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 2rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
            
            .category-btn {
                padding: 10px 20px;
                font-size: 0.95rem;
            }
        }
