@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    margin: 0;
    background: #080811;
    font-family: "Poppins", sans-serif;
    color: #e5e4f0;
}

/* NAV */
.nav {
    display: flex;
    justify-content: space-between;
    padding: 12px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10, 10, 30, 0.45);
    backdrop-filter: blur(8px);
    z-index: 20;
}
.logo {
    font-size: 24px;
    color: #fff;
    font-weight: 600;
}
.logo span { color: #b259ff; }

.menu {
    display: flex;
    gap: 25px;
    list-style: none;
}
.menu a {
    color: #c9a0ff;
    text-decoration: none;
    transition: 0.3s;
}
.menu a:hover { color: #fff; }

/* HERO */
header {
    padding: 120px 25px 80px;
    text-align: center;
}

.neon-text {
    font-size: 50px;
    color: #bb66ff;
    text-shadow: 0 0 25px #8c34ff, 0 0 70px #5000ff;
}

.hero h2, .hero h3 { margin: 6px 0; }

.dual-text {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.6;
}

.tamil-text {
    color: #d5b2ff;
    text-shadow: 0 0 15px #7020ff70;
    display: block;
    margin-top: 14px;
}

/* AUTO TYPING */
.type-wrap {
    margin-top: 10px;
    font-size: 22px;
    color: #c9a0ff;
    text-shadow: 0 0 15px #7020ff80;
}

.cursor {
    font-weight: 600;
    color: #bb66ff;
    animation: blink .6s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* BUTTON */
.hero-buttons {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 15px;
}

.btn-neon {
    padding: 10px 25px;
    border: 1px solid #9b4cff;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 0 15px #a946ff60;
    transition: 0.4s ease;
}
.btn-neon:hover {
    background: #a946ff;
    box-shadow: 0 0 40px #c187ff;
}

/* SECTIONS */
section {
    padding: 80px 25px;
    text-align: center;
}

/* SKILLS */
.skills .skill-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.skills span {
    background: rgba(120, 0, 255, 0.17);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #8c34ff;
    box-shadow: 0 0 12px #6600ff90;
}

/* PROJECTS */
.projects { max-width: 1100px; margin:auto; }

.project-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.project {
    width: 300px;
    padding: 25px;
    background: rgba(25,10,45,0.35);
    border: 1px solid #7a22ff;
    border-radius: 12px;
    box-shadow: 0 0 25px #6a0dff55;
    transition: .3s;
}
.project:hover {
    box-shadow: 0 0 35px #a946ff;
}

/* CONTACT */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

/* FOOTER */
footer {
    background: #020205;
    padding: 30px;
    text-align: center;
    color: #beb6db;
}

/* RESPONSIVE */
@media(max-width:730px){
    .nav {
        flex-direction: column;
        gap: 10px;
    }
    .project {
        width: 92%;
    }
}
