* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0f0f0f;
    color: white;
}

/* Navbar */
header {
    display: flex;
    justify-content: space-between;
    padding: 20px 60px;
    background: rgba(0,0,0,0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    margin-left: 25px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    color: #00c6ff;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #000428, #004e92);
    text-align: center;
}

/* FIXED PROFILE IMAGE */
.profile {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid #00c6ff;
    margin-bottom: 20px;
    
    /* IMPORTANT FIX */
    object-fit: cover;   /* ensures image fills circle */
    display: block;
    margin-left: auto;
    margin-right: auto;

    transition: 0.4s;
}

.profile:hover {
    transform: scale(1.1);
}

/* Social buttons */
.socials a {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    border: 1px solid #00c6ff;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.socials a:hover {
    background: #00c6ff;
    color: black;
}

/* Sections */
.section {
    padding: 80px 20px;
    text-align: center;
}

.section h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #00c6ff;
}

/* Skills */
.skills span {
    display: inline-block;
    margin: 10px;
    padding: 10px 15px;
    border-radius: 20px;
    background: #1a1a1a;
    transition: 0.3s;
}

.skills span:hover {
    background: #00c6ff;
    color: black;
}

/* Contact Form */
.contact-form {
    max-width: 400px;
    margin: 20px auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #1a1a1a;
    color: white;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #00c6ff;
    color: black;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: white;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: black;
}