:root {
    --primary: #00d2ff;
    --secondary: #9d50bb;
    --bg: #050505;
    --glass: rgba(255, 255, 255, 0.03);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background: var(--bg); color: white; overflow-x: hidden; scroll-behavior: smooth; }

/* Navigation */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 8%; position: fixed; width: 100%; z-index: 1000;
    background: rgba(5, 5, 5, 0.8); backdrop-filter: blur(15px);
}
.logo { font-size: 1.8rem; font-weight: 600; }
.logo span { color: var(--primary); }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 30px; }
nav ul li a { text-decoration: none; color: white; transition: 0.3s; font-size: 0.9rem; }
nav ul li a:hover { color: var(--primary); }

/* Hero */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.profile-img {
    width: 220px; height: 220px; border-radius: 50%; object-fit: cover;
    border: 5px solid var(--primary); box-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
    margin-bottom: 20px;
}
.highlight { background: linear-gradient(to right, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: bold; }
.btn {
    padding: 12px 30px; border-radius: 50px; text-decoration: none; color: white;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    display: inline-block; margin: 10px; transition: 0.4s;
}
.secondary-btn { background: transparent; border: 1px solid var(--primary); }
.btn:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 210, 255, 0.2); }

/* Common Layout */
.container { padding: 100px 10%; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 50px; }

/* Cards Styling */
.education-grid, .project-grid, .social-grid, .skills-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}

.edu-card, .project-card, .social-card, .skill-box {
    background: var(--glass); border: 1px solid rgba(255,255,255,0.1);
    padding: 30px; border-radius: 20px; transition: 0.4s; text-align: center;
}

.project-card:hover, .social-card:hover, .edu-card:hover {
    border-color: var(--primary); background: rgba(255,255,255,0.07); transform: translateY(-10px);
}

.project-link { color: var(--primary); text-decoration: none; font-weight: 600; display: block; margin-top: 15px; }

/* Icons */
.edu-card i, .social-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; }
.skills-grid { grid-template-columns: repeat(3, 1fr); }
.skill-box i { font-size: 3rem; margin-bottom: 10px; }