@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0; padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #020617;
    --second-bg-color: #0b1120;
    --text-color: #f8fafc;
    --main-color: #22d3ee; /* Neon Cyan */
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Navbar */
nav {
    position: fixed; top: 0; width: 100%;
    padding: 1.2rem 10%;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo { font-size: 26px; font-weight: 700; }
.logo span { color: var(--main-color); }

.nav-links { display: flex; list-style: none; }
.nav-links li a {
    font-size: 16px; color: var(--text-color);
    margin-left: 2rem; transition: 0.3s;
}
.nav-links li a:hover { color: var(--main-color); text-shadow: 0 0 8px var(--main-color); }

/* Fix Overlap: Hero Section */
.hero {
    min-height: 100vh; /* Puri screen lega */
    display: flex; align-items: center;
    padding: 100px 10% 50px; /* Top padding added for Nav space */
}

.hero-content h1 { font-size: 60px; font-weight: 700; line-height: 1.2; margin: 10px 0; }
#element { color: var(--main-color); }

/* Social Icons */
.social-icons a {
    display: inline-flex; width: 40px; height: 40px;
    border: 2px solid var(--main-color); border-radius: 50%;
    font-size: 18px; color: var(--main-color);
    justify-content: center; align-items: center;
    margin: 20px 10px 30px 0; transition: 0.4s;
}
.social-icons a:hover { background: var(--main-color); color: #000; box-shadow: 0 0 20px var(--main-color); }

.btn { padding: 12px 28px; background: var(--main-color); color: #000; border-radius: 6px; font-weight: 600; }
.btn-outline { background: transparent; color: var(--main-color); border: 2px solid var(--main-color); margin-left: 15px; }

/* About Section Fix */
.about {
    padding: 120px 10%; /* Spacing from top section */
    background: var(--second-bg-color);
}
.heading { text-align: center; font-size: 40px; margin-bottom: 60px; }
.heading span { color: var(--main-color); }

.about-container { display: flex; align-items: center; gap: 50px; }
.about-img img { width: 300px; border-radius: 15px; border: 2px solid var(--main-color); }

.achievements { list-style: none; margin: 20px 0; }
.achievements li { margin-bottom: 10px; font-size: 15px; color: #94a3b8; }
.achievements i { color: var(--main-color); margin-right: 10px; }

/* Skills Fix */
.skills { padding: 100px 10%; }
.skills-container { max-width: 700px; margin: auto; }
.skill-box { margin-bottom: 25px; }
.bar { height: 8px; background: #1e293b; border-radius: 10px; position: relative; }
.bar span { height: 100%; border-radius: 10px; background: var(--main-color); display: block; box-shadow: 0 0 10px var(--main-color); }