:root {
    --lavender: #b8a4e3;
    --soft-lavender: #e8e3f7;
    --dark: #4b3f72;
    --light: #f6f9fc;
}
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    transition: 0.4s;
}
.dark-mode {
    background: #1a1a2e;
    color: #f6f9fc;
}
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
}
.top-bar {
    background: linear-gradient(90deg, var(--lavender), var(--soft-lavender));
    text-align: center;
    padding: 6px;
    font-size: 14px;
    color: white;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.6);
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
}
.logo span {
    font-weight: 300;
}
nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
}
nav a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 150px 10%;
    min-height: 100vh;
}
.hero-left h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
}
.btn {
    background: var(--lavender);
    padding: 12px 25px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}
.btn:hover {
    box-shadow: 0 0 20px var(--lavender);
}
.hero-right img {
    width: 400px;
    border-radius: 20px;
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.skills-section {
    padding: 100px 10%;
    text-align: center;
}
.bubbles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}
.bubble {
    background: var(--lavender);
    padding: 20px 25px;
    border-radius: 50px;
    color: white;
    transition: 0.4s;
    cursor: pointer;
}
.bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--lavender);
}
.projects-section {
    padding: 100px 10%;
    text-align: center;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 40px;
    margin-top: 40px;
}
.project-card {
    background: var(--soft-lavender);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.4s;
}
.project-card:hover {
    transform: translateY(-10px);
}
.services-section {
    padding: 100px 10%;
    text-align: center;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 40px;
    margin-top: 40px;
}
.service-card {
    background: var(--soft-lavender);
    padding: 30px;
    border-radius: 20px;
}
.contact-section {
    padding: 100px 10%;
    text-align: center;
}
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: auto;
}
input, textarea {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
}
button {
    background: var(--lavender);
    border: none;
    padding: 12px;
    border-radius: 25px;
    color: white;
    cursor: pointer;
}
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 20px;
}
.cursor {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    background: rgba(184,164,227,0.4);
    mix-blend-mode: multiply;
}
body {
    background: linear-gradient(135deg,var(--soft-lavender),var(--light));
    min-height:100vh;
}

/* ===== MOBILE RESPONSIVENESS (added without changing original design) ===== */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 15px 20px;
        gap: 10px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 0;
    }
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 5% 60px;
    }
    .hero-left h1 {
        font-size: 32px;
    }
    .hero-right img {
        width: 80%;
        max-width: 280px;
        margin-top: 30px;
    }
    .bubble {
        padding: 12px 20px;
        font-size: 14px;
    }
    .project-card, .service-card {
        padding: 20px;
    }
    .services-section, .projects-section, .skills-section, .contact-section {
        padding: 60px 5%;
    }
    table, .project-grid, .service-grid {
        font-size: 14px;
    }
    /* make tables scroll horizontally on small screens */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .btn, button, input, textarea {
        font-size: 14px;
    }
    .top-bar {
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .hero-left h1 {
        font-size: 26px;
    }
    .bubbles {
        gap: 12px;
    }
    .bubble {
        padding: 8px 16px;
    }
}