        /* Base Styles */
        :root {
            --bg-color: #ffffff;
            --text-color: #333333;
            --accent-color: #3498db;
            --secondary-color: #2c3e50;
            --light-gray: #f5f5f5;
            --border-color: #eeeeee;
            --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
            --hover-color: #2980b9;
            --dropdown-bg: #ffffff;
            --dropdown-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            --footer-bg: #2c3e50;
            --footer-text: #ecf0f1;
            --social-hover: #3498db;
        }

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

        body {
            font-family: var(--font-main);
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--bg-color);
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Improved Header & Navbar */
        header {
            padding: 15px 0;
            border-bottom: 2px solid var(--border-color);
            position: sticky;
            top: 0;
            background-color: var(--bg-color);
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        header.scrolled {
            padding: 10px 0;
        }

        .logo {
            font-size: 2rem;
            font-weight: 700;
            color: var(--secondary-color);
            text-decoration: none;
            transition: all 0.3s;
            display: flex;
            align-items: center;
        }

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

        .logo span {
            color: var(--accent-color);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

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

        .nav-links li {
            margin-left: 30px;
            position: relative;
        }

        .nav-links a {
            color: var(--secondary-color);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
            padding: 10px 0;
            display: block;
            position: relative;
            font-size: 1rem;
        }

        .nav-links a:hover {
            color: var(--accent-color);
            transform: translateY(-2px);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent-color);
            transition: width 0.3s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .dropdown {
            position: relative;
            cursor: pointer;
        }

        .dropdown>a::before {
            content: '▼';
            font-size: 0.7em;
            margin-left: 5px;
            vertical-align: middle;
            transition: transform 0.3s;
        }

        .dropdown:hover>a::before {
            transform: rotate(180deg);
        }

        .dropdown-content {
            visibility: hidden;
            opacity: 0;
            position: absolute;
            top: 100%;
            left: 0;
            background-color: var(--dropdown-bg);
            min-width: 200px;
            box-shadow: var(--dropdown-shadow);
            border-radius: 8px;
            z-index: 10;
            overflow: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
        }

        .dropdown-content a {
            color: var(--secondary-color);
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            transition: all 0.3s;
            border-left: 3px solid transparent;
        }

        .dropdown-content a:hover {
            background-color: var(--light-gray);
            color: var(--accent-color);
            border-left: 3px solid var(--accent-color);
            transform: translateX(5px);
        }

        .dropdown:hover .dropdown-content {
            visibility: visible;
            opacity: 1;
            transform: translateY(0);
        }

        .subscribe-btn {
            background-color: var(--accent-color);
            color: white !important;
            padding: 10px 20px !important;
            border-radius: 50px;
            transition: all 0.3s;
            box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
        }

        .subscribe-btn:hover {
            background-color: var(--hover-color);
            transform: translateY(-3px) !important;
            text-decoration: none;
            box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
        }

        .subscribe-btn:active {
            transform: translateY(-1px) !important;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--secondary-color);
            transition: color 0.3s;
        }

        .mobile-menu-btn:hover {
            color: var(--accent-color);
        }

        .hero {
            padding: 60px 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: var(--secondary-color);
        }

        .hero span {
            color: var(--accent-color);
        }

        .hero p {
            font-size: 1.1rem;
            max-width: 700px;
            margin-bottom: 30px;
            color: #666;
        }

        .featured-posts {
            padding: 40px 0;
        }

        .section-title {
            font-size: 1.8rem;
            margin-bottom: 30px;
            color: var(--secondary-color);
            position: relative;
            padding-bottom: 10px;
        }

        .section-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 60px;
            height: 3px;
            background-color: var(--accent-color);
        }

        .posts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }

        .post-card {
            background-color: var(--bg-color);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: transform 0.3s, box-shadow 0.3s;
        }

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

        .post-img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }

        .post-content {
            padding: 20px;
        }

        .post-category {
            font-size: 0.8rem;
            color: var(--accent-color);
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .post-title {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: var(--secondary-color);
        }

        .post-title a {
            color: inherit;
            text-decoration: none;
        }

        .post-excerpt {
            font-size: 0.95rem;
            color: #666;
            margin-bottom: 15px;
        }

        .post-meta {
            display: flex;
            align-items: center;
            font-size: 0.85rem;
            color: #888;
        }

        .post-date {
            margin-right: 15px;
        }

        .cta-section {
            padding: 40px 0;
            text-align: center;
            background-color: var(--light-gray);
            border-radius: 8px;
            margin: 40px 0;
        }

        .cta-section h2 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: var(--secondary-color);
        }

        .cta-section p {
            max-width: 700px;
            margin: 0 auto 25px;
            color: #666;
        }

        .newsletter-form {
            display: flex;
            justify-content: center;
            max-width: 500px;
            margin: 0 auto;
        }

        .newsletter-input {
            padding: 12px 20px;
            width: 70%;
            border: 1px solid var(--border-color);
            border-radius: 50px 0 0 50px;
            font-size: 0.95rem;
            transition: all 0.3s;
        }

        .newsletter-input:focus {
            outline: none;
            border-color: var(--accent-color);
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
        }

        .btn {
            display: inline-block;
            padding: 12px 25px;
            background-color: var(--accent-color);
            color: white;
            border: none;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
            cursor: pointer;
        }

        .btn-submit {
            border-radius: 0 50px 50px 0;
            padding: 12px 30px;
        }

        .btn:hover {
            background-color: var(--hover-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .btn:active {
            transform: translateY(0);
        }

        /* Improved Footer */
        footer {
            padding: 60px 0 40px;
            margin-top: 60px;
            background-color: var(--footer-bg);
            color: var(--footer-text);
            border-radius: 15px 15px 0 0;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            max-width: 1160px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .footer-section {
            margin-bottom: 20px;
        }

        .footer-section h3 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-section h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 2px;
            background-color: var(--accent-color);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: var(--footer-text);
            text-decoration: none;
            transition: all 0.3s;
            display: inline-block;
        }

        .footer-links a:hover {
            color: var(--accent-color);
            transform: translateX(5px);
        }

        .footer-contact p {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }

        .footer-contact i {
            margin-right: 10px;
            color: var(--accent-color);
        }

        /* Enhanced Social Media Links */
        .social-links {
            display: flex;
            gap: 15px;
            margin: 30px 0;
        }

        .social-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--footer-text);
            border-radius: 50%;
            transition: all 0.3s;
            text-decoration: none;
            font-size: 1.2rem;
        }

        .social-icon:hover {
            background-color: var(--accent-color);
            color: white;
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
        }

        .x-twitter:hover {
            background-color: #000;
            /* Updated for Twitter (X) */
        }

        .linkedin:hover {
            background-color: #0077B5;
        }

        .github:hover {
            background-color: #333;
        }

        .website:hover {
            background-color: #4CAF50;
            /* Green shade for website */
        }

        .instagram:hover {
            background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
        }


        .copyright {
            text-align: center;
            padding-top: 30px;
            margin-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.6);
        }

        .footer-logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
            margin-bottom: 15px;
            display: inline-block;
        }

        .footer-logo span {
            color: var(--accent-color);
        }

        .footer-about p {
            margin-bottom: 20px;
            line-height: 1.7;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            nav {
                position: relative;
            }

            .mobile-menu-btn {
                display: block;
            }

            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background-color: var(--bg-color);
                flex-direction: column;
                padding: 20px;
                box-shadow: var(--card-shadow);
                z-index: 10;
                align-items: flex-start;
                border-radius: 0 0 10px 10px;
            }

            .nav-links.active {
                display: flex;
                animation: slideDown 0.4s ease;
            }

            @keyframes slideDown {
                from {
                    opacity: 0;
                    transform: translateY(-20px);
                }

                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            .nav-links li {
                margin: 10px 0;
                margin-left: 0;
                width: 100%;
            }

            .nav-links a {
                padding: 12px 0;
            }

            .dropdown-content {
                position: static;
                box-shadow: none;
                margin-left: 20px;
                width: 90%;
                display: none;
                margin-top: 10px;
                background-color: var(--light-gray);
                border-radius: 5px;
                transform: none;
            }

            .dropdown.active .dropdown-content {
                display: block;
                visibility: visible;
                opacity: 1;
            }

            .hero {
                padding: 40px 0;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .posts-grid {
                grid-template-columns: 1fr;
            }

            .post-card {
                max-width: 100%;
            }

            .newsletter-form {
                flex-direction: column;
                width: 100%;
            }

            .newsletter-input {
                width: 100%;
                border-radius: 50px;
                margin-bottom: 10px;
            }

            .btn-submit {
                border-radius: 50px;
                width: 100%;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .footer-section h3::after {
                left: 50%;
                transform: translateX(-50%);
            }

            .footer-links a:hover {
                transform: none;
            }

            .social-links {
                justify-content: center;
            }

            .footer-contact p {
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 1.8rem;
            }

            .section-title {
                font-size: 1.5rem;
            }

            .logo {
                font-size: 1.7rem;
            }
        }

        /* Newsletter form styling improvements */
        .newsletter-form {
            display: flex;
            justify-content: center;
            max-width: 500px;
            margin: 0 auto;
            position: relative;
        }

        .newsletter-input {
            padding: 14px 20px;
            width: 70%;
            border: 1px solid var(--border-color, #eeeeee);
            border-radius: 50px 0 0 50px;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .newsletter-input:focus {
            outline: none;
            border-color: var(--accent-color, #3498db);
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
        }

        .btn-submit {
            border-radius: 0 50px 50px 0;
            padding: 14px 30px;
            font-weight: 600;
            letter-spacing: 0.5px;
            background-color: var(--accent-color, #3498db);
            color: white;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            min-width: 120px;
        }

        .btn-submit:hover {
            background-color: var(--accent-hover, #2980b9);
        }

        /* Response Messages - Centered positioning */
        #mce-success-response,
        #mce-error-response,
        .subscribe-message {
            margin: 20px auto 0;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            font-weight: 500;
            max-width: 500px;
            animation: fadeIn 0.5s ease-in-out;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            position: absolute;
            left: 0;
            right: 0;
            top: 100%;
        }

        #mce-success-response {
            color: #4CAF50;
            background-color: rgba(76, 175, 80, 0.12);
            border-left: 4px solid #4CAF50;
        }

        #mce-error-response {
            color: #f44336;
            background-color: rgba(244, 67, 54, 0.12);
            border-left: 4px solid #f44336;
        }

        .subscribe-message {
            color: #4CAF50;
            background-color: rgba(76, 175, 80, 0.12);
            border-left: 4px solid #4CAF50;
        }

        /* Loading state */
        .btn-submit.loading {
            background-color: #2980b9;
            color: transparent;
        }

        .btn-submit.loading::after {
            content: "";
            position: absolute;
            width: 20px;
            height: 20px;
            top: 50%;
            left: 50%;
            margin-left: -10px;
            margin-top: -10px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 0.8s linear infinite;
        }

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

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .newsletter-form {
                flex-direction: column;
                width: 100%;
                max-width: 90%;
            }

            .newsletter-input {
                width: 100%;
                margin-bottom: 15px;
                border-radius: 50px;
                padding: 16px 20px;
            }

            .btn-submit {
                width: 100%;
                border-radius: 50px;
                border-radius: 0 20px 20px 0;
                padding: 16px 30px;
            }

            #mce-success-response,
            #mce-error-response,
            .subscribe-message {
                position: static;
                padding: 12px;
                margin-top: 15px;
                width: 100%;
            }
        }

        /* Small screens */
        @media (max-width: 480px) {
            .newsletter-input {
                padding: 14px 16px;
                font-size: 0.95rem;
            }

            .btn-submit {
                padding: 14px 20px;
                font-size: 0.95rem;
                border-radius: 0 10px 10px 0;
            }
        }

        /* Response Messages */
        #mce-success-response,
        #mce-error-response,
        .subscribe-message {
            margin: 20px auto 0;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            font-weight: 500;
            max-width: 500px;
            animation: fadeIn 0.5s ease-in-out;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        }

        #mce-success-response {
            color: #4CAF50;
            background-color: rgba(76, 175, 80, 0.12);
            border-left: 4px solid #4CAF50;
        }

        #mce-error-response {
            color: #f44336;
            background-color: rgba(244, 67, 54, 0.12);
            border-left: 4px solid #f44336;
        }

        .subscribe-message {
            color: #4CAF50;
            background-color: rgba(76, 175, 80, 0.12);
            border-left: 4px solid #4CAF50;
        }

        /* Loading state */
        .btn-submit.loading {
            background-color: #2980b9;
            color: transparent;
        }

        .btn-submit.loading::after {
            content: "";
            position: absolute;
            width: 20px;
            height: 20px;
            top: 50%;
            left: 50%;
            margin-left: -10px;
            margin-top: -10px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 0.8s linear infinite;
        }

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

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive design */
        /* Newsletter form styling - consolidated version */
        .newsletter-form {
            display: flex;
            flex-direction: column;
            justify-content: center;
            max-width: 500px;
            margin: 0 auto;
            position: relative;
        }

        .form-group {
            display: flex;
            margin-bottom: 1rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
            overflow: hidden;
        }

        .newsletter-input {
            flex: 1;
            padding: 14px 20px;
            border: 2px solid var(--border-color, #eeeeee);
            border-right: none;
            border-radius: 50px 0 0 50px;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            width: 70%;
        }

        .newsletter-input:focus {
            outline: none;
            border-color: var(--accent-color, #3498db);
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
        }

        .btn-submit {
            border-radius: 0 50px 50px 0;
            padding: 14px 30px;
            font-weight: 600;
            letter-spacing: 0.5px;
            background-color: var(--accent-color, #3498db);
            color: white;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            min-width: 120px;
        }

        .btn-submit:hover {
            background-color: var(--hover-color, #2980b9);
        }

        /* Response Messages */
        #mce-success-response,
        #mce-error-response,
        .subscribe-message,
        .form-message {
            margin: 20px auto 0;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            font-weight: 500;
            max-width: 500px;
            animation: fadeIn 0.5s ease-in-out;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        }

        #mce-success-response,
        .form-message {
            color: #4CAF50;
            background-color: rgba(76, 175, 80, 0.12);
            border-left: 4px solid #4CAF50;
        }

        #mce-error-response {
            color: #f44336;
            background-color: rgba(244, 67, 54, 0.12);
            border-left: 4px solid #f44336;
        }

        .form-message p {
            margin: 0;
        }

        /* Loading state */
        .btn-submit.loading {
            background-color: #2980b9;
            color: transparent;
        }

        .btn-submit.loading::after {
            content: "";
            position: absolute;
            width: 20px;
            height: 20px;
            top: 50%;
            left: 50%;
            margin-left: -10px;
            margin-top: -10px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 0.8s linear infinite;
        }

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

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .newsletter-form {
                flex-direction: column;
                width: 100%;
                max-width: 90%;
            }

            .form-group {
                flex-direction: column;
                width: 100%;
            }

            .newsletter-input {
                width: 100%;
                margin-bottom: 0;
                border-radius: 5px 5px 0 0;
                border-right: 2px solid var(--border-color, #eeeeee);
                border-bottom: none;
            }

            .btn-submit {
                width: 100%;
                padding: 16px 30px;
                margin-top: 15px;
            }

            #mce-success-response,
            #mce-error-response,
            .subscribe-message,
            .form-message {
                position: static;
                padding: 12px;
                margin-top: 15px;
                width: 100%;
            }
        }

        /* Small screens */
        @media (max-width: 480px) {
            .newsletter-input {
                padding: 14px 16px;
                font-size: 0.95rem;
            }

            .btn-submit {
                padding: 14px 20px;
                font-size: 0.95rem;
                margin-top: 10px;
            }
        }

        .read-more {
            color: #007BFF;
            font-weight: bold;
            text-decoration: none;
            transition: color 0.3s ease, text-decoration 0.3s ease;
        }

        .read-more:hover {
            color: #0056b3;
            text-decoration: underline;
        }