body {
            font-family: 'Arial', sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f0f0f0;
            color: #333;
            scroll-behavior: smooth;
        }

        header {
            background-color: rgb(23, 23, 148);
            color: white;
            padding: 20px;
            text-align: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            height: auto;
        }

        nav {
            display: flex;
            justify-content: center;
            margin: 10px 0;
        }

        nav a {
            color: white;
            text-decoration: none;
            padding: 10px 20px;
            margin: 0 10px;
            border-radius: 5px;
            transition: background-color 0.3s ease;
        }

        nav a:hover {
            background-color: brown;
        }

        section {
            padding: 60px 20px;
            margin: 20px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            transform: translateY(20px);
            opacity: 0;
            animation: fadeIn 0.5s forwards;
        }

        @keyframes fadeIn {
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        h2 {
            text-align: center;
            margin-bottom: 20px;
            color: #4CAF50;
        }

        .skill {
            display: inline-block;
            margin: 10px;
            padding: 10px 20px;
            background-color: #e7f3fe;
            border-radius: 5px;
            transition: transform 0.3s ease;
        }

        .skill:hover {
            transform: scale(1.05);
        }

        .project {
            margin: 20px 0;
            padding: 15px;
            background-color: #e7f3fe;
            border-left: 5px solid #2196F3;
            transition: transform 0.3s ease;
        }

        .project:hover {
            transform: scale(1.02);
        }

        .testimonial {
            background-color: #f9f9f9;
            border-left: 5px solid #4CAF50;
            padding: 15px;
            margin: 20px 0;
            transition: transform 0.3s ease;
        }

        .testimonial:hover {
            transform: scale(1.02);
        }

        footer {
            margin-top: auto;
            padding: 20px;
            background-color: #333;
            color: white;
            text-align: center;
        }

        .blog {
            margin: 20px 0;
            padding: 15px;
            background-color: #e7f3fe;
            border-radius: 5px;
            transition: transform 0.3s ease;
        }

        .blog:hover {
            transform: scale(1.02);
        }

        .social-links {
            display: flex;
            justify-content: center;
            margin-top: 10px;
        }

        .social-links a {
            margin: 0 10px;
            color: #4CAF50;
            text-decoration: none;
            font-size: 24px;
        }

        .social-links a:hover {
            color: #005f73;
        }
        table {
            padding-left: 0;
            margin: 0 auto;
        }

        #dev {
            padding-left: 0 !important;
            text-align: center;
            font-size: 1.4rem;
        }

        /* Responsive tweaks to make the site fit on mobile */
        header table {
            width: 100%;
            max-width: 900px;
            margin: 0 auto;
            border-collapse: collapse;
        }

        /* Make the table act like a flexible container on small screens */
        @media (max-width: 768px) {
            header table {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 8px;
            }

            header table img, header table td img {
                width: 120px !important;
                height: 120px !important;
                object-fit: cover;
                border-radius: 50% !important;
                display: block;
                margin: 0;
            }

            nav {
                flex-wrap: wrap;
                gap: 6px;
                margin: 8px 0;
            }

            nav a {
                padding: 8px 12px;
                margin: 6px 6px;
                font-size: 14px;
            }

            section {
                padding: 18px 14px;
                margin: 12px;
            }

            .skill {
                padding: 8px 10px;
                margin: 6px 4px;
                font-size: 14px;
            }

            .project, .testimonial, .blog {
                padding: 12px;
                margin: 10px 0;
            }

            .social-links {
                flex-direction: column;
                gap: 8px;
                align-items: center;
            }

            .social-links a {
                font-size: 18px;
            }
        }

        /* Extra small phones */
        @media (max-width: 420px) {
            header table img, header table td img {
                width: 90px !important;
                height: 90px !important;
            }

            #dev {
                font-size: 1.2rem;
            }

            nav a {
                font-size: 13px;
                padding: 6px 10px;
            }

            section {
                padding: 14px 10px;
                margin: 8px;
            }
        }