* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom, #d7eaff, #a4c8f0);
    color: #1e3a5f;
    line-height: 1.6;
}

/* NAVBAR */
header {
    background: linear-gradient(135deg, #4a90e2, #1c4e80);
    color: white;
    text-align: center;
    padding: 1.5rem 1rem 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
}
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ffe082;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: lightgray;
    margin: 1rem auto;
    border: 4px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.tagline {
    font-style: italic;
}

/* SECTIONS */
section {
    padding: 2.5rem;
    text-align: center;
    max-width: 900px;
    margin: auto;
}

h2 {
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
    color: #0f3557;
}

/* SKILLS GRID */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.2rem;
}

.skill {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.skill i {
    font-size: 1.2rem;
    color: #2e74b5;
}

.skill:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* PROJECTS */
.project-card {
    background: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin: auto;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* FOOTER */
footer {
    background: #1c4e80;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}
