html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: #020617;
    color: #ffffff;
    overflow-x: hidden;
    cursor: url("./Foto/cursor\ \(2\).png") 2 2, auto;
}

.twinkle {
    position: fixed;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    z-index: -1;
    animation: blink 4s infinite ease-in-out;
    opacity: 0;
}

@keyframes blink {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.5); box-shadow: 0 0 10px #00d4ff; }
}

.dot1 { top: 10%; left: 15%; animation-delay: 0s; }
.dot2 { top: 30%; left: 80%; animation-delay: 1s; }
.dot3 { top: 70%; left: 10%; animation-delay: 2s; }
.dot4 { top: 85%; left: 70%; animation-delay: 3s; }
.dot5 { top: 50%; left: 40%; animation-delay: 1.5s; }
.dot6 { top: 15%; left: 90%; animation-delay: 2.5s; }

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
}

.logo span {
    color: #00d4ff;
    text-shadow: 0 0 10px #00d4ff;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li { 
    margin-left: 25px; 
}

nav ul li a {
    text-decoration: none;
    color: #cbd5e1;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #00d4ff;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 50px;
}

.profile-container {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid #00d4ff;
    margin-bottom: 25px; 
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    animation: pulse 3s infinite;
    flex-shrink: 0; 
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 35px rgba(0, 212, 255, 0.7); }
}

.profile-pic {
    width: 100%; 
    height: 100%;
    object-fit: cover;
}

.hero h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    color: #00d4ff;
    text-shadow: 0 0 20px #00d4ff;
}

.hero p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 30px;
}

.btn-neon, .btn-outline {
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.4s;
    margin: 5px;
    display: inline-block;
}

.btn-neon {
    background: #00d4ff;
    color: #020617;
    box-shadow: 0 0 15px #00d4ff;
}

.btn-neon:hover {
    box-shadow: 0 0 30px #00d4ff;
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid #00d4ff;
    color: #00d4ff;
}

.container {
    max-width: 900px;
    margin: 80px auto;
    padding: 60px 20px;
}

.title {
    font-size: 2.5rem;
    color: #00d4ff;
    text-align: center;
    margin-bottom: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.education-section ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.education-section ul li b {
    color: #f8fafc;
}

.education-section small {
    display: block;
    margin-top: 2px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project-card:hover {
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.project-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.btn-live, .btn-git {
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-live {
    background: #00d4ff;
    color: #020617;
    box-shadow: 0 0 15px #00d4ff;
}

.btn-git {
    border: 2px solid #00d4ff;
    color: #00d4ff;
}

.git-icon {
    fill: #00d4ff; 
}

.btn-git:hover {
    background: #00d4ff;
    color: #020617;
    box-shadow: 0 0 20px #00d4ff;
}

.btn-git:hover .git-icon {
    fill: #020617;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

input, textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 12px;
    color: white;
    border-radius: 5px;
    margin-bottom: 15px;
    width: 100%;
}

footer {
    text-align: center;
    padding: 40px;
    color: #475569;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

@media (max-width: 600px) {
    .input-group {
        grid-template-columns: 1fr; 
    }
    .hero h1 {
        font-size: 2rem; 
    }
}