* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            scroll-behavior: smooth;
        }

        body {
            background-color: #fff;
            color: #000;
            font-family: 'Roboto', sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        body.dark-mode {
            background-color: #1a1a1a;
            color: #fff;
        }

        header {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 20px 60px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #fff;
            z-index: 1000;
            border-bottom: 1px solid #e5e5e5;
            transition: background 0.3s ease, border-bottom 0.3s ease;
        }

        body.dark-mode header {
            background: #2a2a2a;
            border-bottom: 1px solid #444;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-image: url('4.jpg');
            background-size: cover;
            background-position: center;
            border: 1px solid #000;
            filter: grayscale(100%);
            transition: filter 0.3s ease, border 0.3s ease;
        }

        body.dark-mode .logo-img {
            border: 1px solid #fff;
        }

        .logo-img:hover {
            filter: grayscale(0%);
        }

        .logo span {
            font-family: 'Playfair Display', serif;
            font-size: 22px;
            font-weight: 700;
        }

        nav {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        nav ul li a {
            text-decoration: none;
            color: #000;
            font-size: 16px;
            font-weight: 500;
            position: relative;
            display: inline-block;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        body.dark-mode nav ul li a {
            color: #fff;
        }

        nav ul li a.active {
            color: #333;
            font-weight: 700;
        }

        body.dark-mode nav ul li a.active {
            color: #ccc;
        }

        nav ul li a:hover {
            color: #333;
            transform: scale(1.05);
        }

        body.dark-mode nav ul li a:hover {
            color: #ccc;
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 3px;
            bottom: -6px;
            left: 50%;
            background-color: #333;
            transition: width 0.3s ease, left 0.3s ease;
        }

        body.dark-mode nav ul li a::after {
            background-color: #ccc;
        }

        nav ul li a.active::after,
        nav ul li a:hover::after {
            width: 100%;
            left: 0;
        }

        .theme-toggle {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 18px;
        }

        .theme-toggle .sun-icon,
        .theme-toggle .moon-icon {
            display: none;
        }

        .theme-toggle .sun-icon.active,
        .theme-toggle .moon-icon.active {
            display: inline;
        }

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            z-index: 1001;
        }

        .hamburger div {
            width: 25px;
            height: 3px;
            background: #000;
            transition: all 0.3s ease;
        }

        body.dark-mode .hamburger div {
            background: #fff;
        }

        #nav-toggle {
            display: none;
        }

        #nav-toggle:checked ~ nav ul {
            transform: translateX(0);
        }

        #nav-toggle:checked ~ .hamburger div:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        #nav-toggle:checked ~ .hamburger div:nth-child(2) {
            opacity: 0;
        }

        #nav-toggle:checked ~ .hamburger div:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 100px;
            background: #fff;
            position: relative;
            gap: 50px;
            transition: background 0.3s ease;
        }

        body.dark-mode .hero {
            background: #1a1a1a;
        }

        .hero-content {
            max-width: 50%;
            text-align: center;
            animation: fadeIn 1s ease-out;
        }

        .hero-content h1 {
            font-family: 'Playfair Display', serif;
            font-size: 64px;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 15px;
        }

        .hero-content .static-title {
            font-size: 18px;
            font-weight: 300;
            color: #666;
            display: block;
            transition: color 0.3s ease;
            animation: fadeIn 1s ease-out;
        }

        body.dark-mode .hero-content .static-title {
            color: #ccc;
        }

        .hero-image {
            position: relative;
            animation: fadeIn 1s ease-out;
        }

        .hero-image .profile-img {
            width: 280px;
            height: 280px;
            background-image: url('4.jpg');
            background-size: cover;
            background-position: center;
            border: 1px solid #000;
            border-radius: 10px;
            filter: grayscale(100%);
            position: relative;
            z-index: 2;
            transition: filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
        }

        body.dark-mode .hero-image .profile-img {
            border: 1px solid #fff;
        }

        .hero-image .profile-img:hover {
            filter: grayscale(0%);
            transform: scale(1.05);
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        }

        body.dark-mode .hero-image .profile-img:hover {
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
        }

        .hero-image .profile-img::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 10px;
            transform: translate(-50%, -50%);
            transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
            z-index: 1;
        }

        .hero-image .profile-img:hover::after {
            width: 300px;
            height: 300px;
            opacity: 0;
        }

        .hero-image .frame {
            position: absolute;
            top: -15px;
            left: -15px;
            width: 280px;
            height: 280px;
            border: 1px solid #000;
            border-radius: 10px;
            z-index: 1;
            transform: rotate(-3deg);
            transition: border 0.3s ease;
        }

        body.dark-mode .hero-image .frame {
            border: 1px solid #fff;
        }

        .content {
            padding: 60px 100px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .section {
            padding: 80px 0;
            margin-bottom: 100px; /* Increased spacing between sections */
            position: relative;
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }

        .section.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .section.hidden {
            opacity: 0;
            transform: translateY(50px);
        }

        .section h2 {
            font-family: 'Playfair Display', serif;
            font-size: 40px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 50px;
            animation: fadeIn 1s ease-out;
        }

        .nav-arrow {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: none;
            border: none;
            font-size: 24px;
            color: #000;
            cursor: pointer;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        body.dark-mode .nav-arrow {
            color: #fff;
        }

        .nav-arrow:hover {
            color: #333;
            transform: translateX(-50%) scale(1.2);
        }

        body.dark-mode .nav-arrow:hover {
            color: #ccc;
        }

        .biodata ul {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 30px;
        }

        .biodata ul li {
            font-size: 16px;
            color: #666;
            padding: 20px;
            border: 1px solid #e5e5e5;
            border-radius: 5px;
            transition: border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
        }

        body.dark-mode .biodata ul li {
            color: #ccc;
            border: 1px solid #444;
        }

        .biodata ul li:hover {
            border-color: #000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        body.dark-mode .biodata ul li:hover {
            border-color: #fff;
            box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
        }

        .biodata ul li strong {
            color: #000;
            font-weight: 500;
            display: block;
            margin-bottom: 5px;
            transition: color 0.3s ease;
        }

        body.dark-mode .biodata ul li strong {
            color: #fff;
        }

        .skills ul {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 30px;
        }

        .skills ul li {
            font-size: 16px;
            padding: 20px;
            border: 1px solid #e5e5e5;
            border-radius: 5px;
            transition: border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
        }

        body.dark-mode .skills ul li {
            color: #ccc;
            border: 1px solid #444;
        }

        .skills ul li:hover {
            border-color: #000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        body.dark-mode .skills ul li:hover {
            border-color: #fff;
            box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
        }

        .skills ul li strong {
            color: #000;
            font-weight: 500;
            display: block;
            margin-bottom: 10px;
            transition: color 0.3s ease;
        }

        body.dark-mode .skills ul li strong {
            color: #fff;
        }

        .skills ul li .skill-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .skills ul li .skill-tags span {
            background: #f8f8f8;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 14px;
            color: #000;
            transition: background 0.3s ease, color 0.3s ease;
        }

        body.dark-mode .skills ul li .skill-tags span {
            background: #333;
            color: #fff;
        }

        .about-me {
            display: flex;
            align-items: center;
            gap: 40px;
            max-width: 800px;
            margin: 0 auto;
            animation: fadeIn 1s ease-out;
        }

        .about-me .about-img {
            width: 200px;
            height: 200px;
            background-image: url('2.JPG');
            background-size: cover;
            background-position: center;
            border: 1px solid #000;
            border-radius: 10px;
            filter: grayscale(100%);
            position: relative;
            transition: filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
        }

        body.dark-mode .about-me .about-img {
            border: 1px solid #fff;
        }

        .about-me .about-img:hover {
            filter: grayscale(0%);
            transform: scale(1.05);
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        }

        body.dark-mode .about-me .about-img:hover {
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
        }

        .about-me .about-img::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 10px;
            transform: translate(-50%, -50%);
            transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
            z-index: 1;
        }

        .about-me .about-img:hover::after {
            width: 220px;
            height: 220px;
            opacity: 0;
        }

        .about-me .about-text {
            flex: 1;
        }

        .about-me .about-text p {
            font-size: 16px;
            color: #666;
            line-height: 1.8;
            transition: color 0.3s ease;
        }

        body.dark-mode .about-me .about-text p {
            color: #ccc;
        }

        .education ul {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 30px;
        }

        .education ul li {
            font-size: 16px;
            color: #666;
            padding: 20px;
            border: 1px solid #e5e5e5;
            border-radius: 5px;
            transition: border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
        }

        body.dark-mode .education ul li {
            color: #ccc;
            border: 1px solid #444;
        }

        .education ul li:hover {
            border-color: #000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        body.dark-mode .education ul li:hover {
            border-color: #fff;
            box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
        }

        .education ul li strong {
            color: #000;
            font-weight: 500;
            display: block;
            margin-bottom: 5px;
            transition: color 0.3s ease;
        }

        body.dark-mode .education ul li strong {
            color: #fff;
        }

        .contact-info {
            text-align: center;
        }

        .contact-info .get-in-touch {
            font-size: 18px;
            font-weight: 400;
            color: #666;
            margin-bottom: 10px;
            animation: fadeIn 1s ease-out;
            transition: color 0.3s ease;
        }

        body.dark-mode .contact-info .get-in-touch {
            color: #ccc;
        }

        .contact-info .contact-details {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-bottom: 20px;
        }

        .contact-info .contact-details .contact-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 16px;
            color: #666;
            transition: color 0.3s ease;
        }

        body.dark-mode .contact-info .contact-details .contact-item {
            color: #ccc;
        }

        .contact-info .contact-details .contact-item:hover {
            color: #000;
        }

        body.dark-mode .contact-info .contact-details .contact-item:hover {
            color: #fff;
        }

        .contact-info .contact-details .contact-item img {
            width: 20px;
            height: 20px;
        }

        .contact-info .social-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 20px;
        }

        .contact-info .social-links a {
            transition: transform 0.3s ease;
        }

        .contact-info .social-links a:hover {
            transform: scale(1.1);
        }

        .contact-info .social-links img {
            width: 30px;
            height: 30px;
            filter: grayscale(100%);
            transition: filter 0.3s ease;
        }

        .contact-info .social-links a:hover img {
            filter: grayscale(0%);
        }

        footer {
            background: #fff;
            text-align: center;
            padding: 20px;
            color: #666;
            font-size: 14px;
            border-top: 1px solid #e5e5e5;
            transition: background 0.3s ease, color 0.3s ease, border-top 0.3s ease;
        }

        body.dark-mode footer {
            background: #1a1a1a;
            color: #ccc;
            border-top: 1px solid #444;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 768px) {
            header {
                padding: 15px 30px;
            }

            .hamburger {
                display: flex;
            }

            nav ul {
                position: fixed;
                top: 0;
                right: 0;
                height: 100vh;
                width: 250px;
                background: #fff;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 30px;
                transform: translateX(100%);
                transition: transform 0.3s ease;
                border-left: 1px solid #e5e5e5;
            }

            body.dark-mode nav ul {
                background: #2a2a2a;
                border-left: 1px solid #444;
            }

            nav ul li a {
                font-size: 18px;
            }

            nav ul li a::after {
                bottom: -8px;
            }

            .hero {
                flex-direction: column;
                padding: 50px 30px;
                text-align: center;
                justify-content: center;
                gap: 30px;
            }

            .hero-content {
                max-width: 100%;
                margin-bottom: 0;
            }

            .hero-content h1 {
                font-size: 48px;
            }

            .hero-content .static-title {
                font-size: 16px;
            }

            .hero-image .profile-img,
            .hero-image .frame {
                width: 200px;
                height: 200px;
                border-radius: 8px;
            }

            .hero-image .profile-img::after {
                width: 0;
                height: 0;
                border-radius: 8px;
            }

            .hero-image .profile-img:hover::after {
                width: 220px;
                height: 220px;
            }

            .about-me {
                flex-direction: column;
                gap: 20px;
            }

            .about-me .about-img {
                width: 150px;
                height: 150px;
                border-radius: 8px;
            }

            .about-me .about-img::after {
                width: 0;
                height: 0;
                border-radius: 8px;
            }

            .about-me .about-img:hover::after {
                width: 170px;
                height: 170px;
            }

            .content {
                padding: 30px;
            }

            .section {
                padding: 50px 0;
                margin-bottom: 80px; /* Adjusted for smaller screens */
            }

            .section h2 {
                font-size: 32px;
            }

            .contact-info .get-in-touch {
                font-size: 16px;
                margin-bottom: 10px;
            }

            .contact-info .contact-details {
                flex-direction: column;
                gap: 20px;
            }

            .nav-arrow {
                font-size: 20px;
            }
        }

        @media (max-width: 480px) {
            .hero-content h1 {
                font-size: 36px;
            }

            .hero-content .static-title {
                font-size: 14px;
            }

            .hero-image .profile-img,
            .hero-image .frame {
                width: 150px;
                height: 150px;
                border-radius: 6px;
            }

            .hero-image .profile-img::after {
                width: 0;
                height: 0;
                border-radius: 6px;
            }

            .hero-image .profile-img:hover::after {
                width: 170px;
                height: 170px;
            }

            .about-me .about-img {
                width: 120px;
                height: 120px;
                border-radius: 6px;
            }

            .about-me .about-img::after {
                width: 0;
                height: 0;
                border-radius: 6px;
            }

            .about-me .about-img:hover::after {
                width: 140px;
                height: 140px;
            }

            .logo-img {
                width: 32px;
                height: 32px;
            }

            .logo span {
                font-size: 18px;
            }

            .section h2 {
                font-size: 28px;
            }

            .contact-info .get-in-touch {
                font-size: 14px;
                margin-bottom: 10px;
            }

            .nav-arrow {
                font-size: 18px;
            }
        }