
        :root {
            /* Light theme variables */
            --primary-color: #4a6fa5;
            --secondary-color: #166088;
            --accent-color: #4fc3f7;
            --text-color: #333;
            --light-bg: #f9f9f9;
            --white: #ffffff;
            --card-bg: #ffffff;
            --border-color: #eaeaea;
            --timeline-bg: #ffffff;
            --shadow-color: rgba(0, 0, 0, 0.1);
        }
        
        [data-theme="dark"] {
            /* Dark theme variables */
            --primary-color: #6d8cb0;
            --secondary-color: #1a7fad;
            --accent-color: #4fc3f7;
            --text-color: #e0e0e0;
            --light-bg: #121212;
            --white: #1e1e1e;
            --card-bg: #2d2d2d;
            --border-color: #444;
            --timeline-bg: #2d2d2d;
            --shadow-color: rgba(0, 0, 0, 0.3);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
        }
        
        body {
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--light-bg);
            position: relative;
        }
        
        /* Background Image Styling */
        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M30,10 Q50,30 70,10 T90,30 T70,50 T90,70 T70,90 T50,70 T30,90 T10,70 T30,50 T10,30 T30,10" fill="none" stroke="%234fc3f7" stroke-width="1"/><circle cx="50" cy="50" r="3" fill="%234a6fa5"/></svg>');
            background-size: 200px 200px;
            background-repeat: repeat;
            opacity: 0.07;
            z-index: -1;
            pointer-events: none;
        }
        
        header {
            background-color: var(--primary-color);
            color: var(--white);
            padding: 2rem 0;
            text-align: center;
            position: relative;
        }
        
        /* Adding a subtle pattern to header */
        header::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M15,5 Q30,15 45,5 T60,15 T45,25 T60,35 T45,45 T30,35 T15,45 T0,35 T15,25 T0,15 T15,5" fill="none" stroke="white" stroke-width="0.5"/><circle cx="30" cy="30" r="1.5" fill="white"/></svg>');
            background-size: 120px 120px;
            opacity: 0.1;
            z-index: 0;
        }
        
        .profile-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            position: relative;
            z-index: 1;
        }
        
        .profile-pic {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--white);
            margin-bottom: 1rem;
            background-color: var(--card-bg);
        }
        
        .name {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }
        
        .title {
            font-size: 1.2rem;
            opacity: 0.9;
            margin-bottom: 1rem;
        }
        
        /* Theme Toggle Button */
        .theme-toggle {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background-color: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.2rem;
            z-index: 10;
            transition: background-color 0.3s;
        }
        
        .theme-toggle:hover {
            background-color: rgba(255, 255, 255, 0.3);
        }
        
        nav {
            background-color: var(--secondary-color);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .nav-container {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0.5rem;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin: 0 1rem;
        }
        
        .nav-links a {
            color: var(--white);
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: background-color 0.3s;
        }
        
        .nav-links a:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }
        
        .hamburger {
            display: none;
            cursor: pointer;
            background: none;
            border: none;
            color: var(--white);
            font-size: 1.5rem;
        }
        
        section {
            padding: 4rem 2rem;
            position: relative;
        }
        
        /* Adding section background for better readability over background pattern */
        section > .container {
            background-color: var(--card-bg);
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 5px 15px var(--shadow-color);
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .section-title {
            font-size: 2rem;
            text-align: center;
            margin-bottom: 3rem;
            color: var(--secondary-color);
            position: relative;
        }
        
        .section-title::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background-color: var(--accent-color);
        }
        
        #about {
            background-color: transparent;
        }
        
        .about-content {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        
        .bio {
            line-height: 1.8;
        }
        
        .skills {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .skill-tag {
            background-color: var(--accent-color);
            color: var(--white);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            box-shadow: 0 2px 5px var(--shadow-color);
            transition: transform 0.2s;
        }
        
        .skill-tag:hover {
            transform: translateY(-2px);
        }
        
        #education {
            background-color: transparent;
        }
        
        /* Updated Education Section for minimum screen design */
        .education-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .education-card {
            background-color: var(--timeline-bg);
            border-radius: 8px;
            padding: 1.5rem;
            box-shadow: 0 3px 10px var(--shadow-color);
            border-left: 4px solid var(--accent-color);
            position: relative;
        }
        
        .education-card::before {
            content: '';
            position: absolute;
            width: 12px;
            height: 12px;
            background-color: var(--accent-color);
            border-radius: 50%;
            left: -8px;
            top: 24px;
        }
        
        .education-date {
            font-weight: bold;
            color: var(--accent-color);
            margin-bottom: 0.5rem;
        }
        
        .education-title {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            color: var(--secondary-color);
        }
        
        .education-subtitle {
            color: var(--text-color);
            opacity: 0.8;
            font-style: italic;
            margin-bottom: 1rem;
        }
        
        #projects {
            background-color: transparent;
        }
        
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
        }
        
        .project-card {
            background-color: var(--card-bg);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px var(--shadow-color);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px var(--shadow-color);
        }
        
        .project-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            background-color: var(--light-bg);
        }
        
        .project-info {
            padding: 1.5rem;
        }
        
        .project-title {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: var(--secondary-color);
        }
        
        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        
        .project-tag {
            background-color: var(--light-bg);
            padding: 0.3rem 0.7rem;
            border-radius: 20px;
            font-size: 0.8rem;
            color: var(--secondary-color);
        }
        
        .project-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .project-links a {
            color: var(--secondary-color);
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        
        .project-links a:hover {
            text-decoration: underline;
        }
        
        #contact {
            background-color: transparent;
        }
        
        .contact-container {
            max-width: 600px;
            margin: 0 auto;
        }
        
        .contact-info {
            margin-bottom: 2rem;
            text-align: center;
        }
        
        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .form-group label {
            font-weight: 500;
        }
        
        .form-group input,
        .form-group textarea {
            padding: 0.8rem;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            font-size: 1rem;
            background-color: var(--card-bg);
            color: var(--text-color);
        }
        
        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }
        
        .submit-btn {
            background-color: var(--secondary-color);
            color: var(--white);
            border: none;
            padding: 1rem;
            border-radius: 4px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .submit-btn:hover {
            background-color: var(--primary-color);
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 2rem;
        }
        
        .social-link {
            color: var(--secondary-color);
            font-size: 1.5rem;
            transition: color 0.3s, transform 0.2s;
        }
        
        .social-link:hover {
            color: var(--primary-color);
            transform: scale(1.1);
        }
        
        footer {
            background-color: var(--secondary-color);
            color: var(--white);
            text-align: center;
            padding: 2rem;
            position: relative;
        }
        
        /* Adding a subtle pattern to footer */
        footer::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M15,5 Q30,15 45,5 T60,15 T45,25 T60,35 T45,45 T30,35 T15,45 T0,35 T15,25 T0,15 T15,5" fill="none" stroke="white" stroke-width="0.5"/><circle cx="30" cy="30" r="1.5" fill="white"/></svg>');
            background-size: 120px 120px;
            opacity: 0.1;
            z-index: 0;
        }
        
        footer p {
            position: relative;
            z-index: 1;
        }
        
        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background-color: var(--accent-color);
            color: var(--white);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            font-size: 1.5rem;
            box-shadow: 0 2px 5px var(--shadow-color);
            transition: background-color 0.3s, transform 0.2s;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
        }
        
        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            background-color: var(--primary-color);
            transform: scale(1.05);
        }
        
        /* Cute decorative elements */
        .cute-decoration {
            position: absolute;
            opacity: 0.6;
            pointer-events: none;
            z-index: 0;
        }
        
        .decoration-1 {
            top: 20%;
            left: 5%;
            transform: rotate(-15deg);
        }
        
        .decoration-2 {
            bottom: 15%;
            right: 5%;
            transform: rotate(10deg);
        }
        
        /* Always apply mobile-first styles */
        .nav-container {
            justify-content: space-between;
            padding: 0.5rem 1rem;
        }
        
        .hamburger {
            display: block;
        }
        
        .nav-links {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background-color: var(--secondary-color);
            flex-direction: column;
            align-items: center;
            padding: 1rem 0;
            gap: 1rem;
            transform: translateY(-150%);
            opacity: 0;
            transition: transform 0.3s, opacity 0.3s;
            z-index: -1;
        }
        
        .nav-links.active {
            transform: translateY(0);
            opacity: 1;
            z-index: 99;
        }
        
        .projects-grid {
            grid-template-columns: 1fr;
        }
        
        /* Adjust decorations for mobile */
        .cute-decoration {
            transform: scale(0.7);
        }
        
        .decoration-1 {
            top: 10%;
            left: 2%;
        }
        
        .decoration-2 {
            bottom: 10%;
            right: 2%;
        }
        
        /* Desktop styles */
        @media (min-width: 769px) {
            .nav-container {
                justify-content: center;
            }
            
            .hamburger {
                display: none;
            }
            
            .nav-links {
                position: static;
                flex-direction: row;
                transform: none;
                opacity: 1;
                z-index: auto;
                padding: 0;
            }
            
            .projects-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
            
            .cute-decoration {
                transform: scale(1);
            }
            
            .decoration-1 {
                top: 20%;
                left: 5%;
            }
            
            .decoration-2 {
                bottom: 15%;
                right: 5%;
            }
        }
        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 2rem;
        }
        
        .social-link {
            color: var(--secondary-color);
            font-size: 1.5rem;
            transition: color 0.3s, transform 0.2s;
            width: 50px;
            height: 50px;
            background-color: var(--card-bg);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 3px 10px var(--shadow-color);
            text-decoration: none;
        }
        
        .social-link:hover {
            color: var(--primary-color);
            transform: scale(1.1);
            box-shadow: 0 5px 15px var(--shadow-color);
        }
        
        .email-link {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            color: var(--text-color);
            font-size: 1.1rem;
            text-decoration: none;
            margin-bottom: 1rem;
        }
        
        .email-link:hover {
            color: var(--secondary-color);
        }
        
        .fab, .fas {
            font-size: 1.5rem;
        }