* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f0f9ff;
    color: #333;
}

/* Header */
header {
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    color: white;
    text-align: center;
    padding: 40px 15px;
}

.profile-pic {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    cursor: pointer;
    margin-bottom: 15px;
}

.headline {
    font-size: 15px;
}

.social-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
}

/* Navigation */
nav {
    background: #1e40af;
    text-align: center;
    padding: 12px;
}

nav a {
    color: white;
    margin: 6px 12px;
    text-decoration: none;
    font-weight: bold;
}

/* Sections */
section {
    background: white;
    max-width: 1000px;
    margin: 25px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

h2 {
    color: #1e40af;
    margin-bottom: 15px;
}

/* Skills */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills span {
    background: #dbeafe;
    color: #1e40af;
    padding: 8px 14px;
    border-radius: 20px;
}

/* Projects */
.project {
    background: #f8fafc;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 5px solid #6366f1;
}

/* Certificates */
.certificates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.certificate {
    text-align: center;
}

.certificate img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

/* Button */
button {
    background: #22c55e;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    cursor: pointer;
}

/* Footer */
footer {
    background: #1e40af;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Fullscreen Modal */
#certModal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

#certModal img {
    max-width: 92%;
    max-height: 92%;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}
