/* ===== General Page Styling ===== */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f7f0ff, #faf5ff); /* Soft purple gradient */
    color: #333;
    line-height: 1.6;
}

/* ===== Navigation Bar ===== */
nav {
    background: #6a0dad; /* Deep purple */
    padding: 15px;
    text-align: center;
}
nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
}
nav a:hover {
    text-decoration: underline;
}

/* ===== Header ===== */
header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #a57ee9, #d5bdfc);
    color: white;
}
header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}
header p {
    font-size: 1.1em;
    max-width: 700px;
    margin: auto;
}

/* ===== Profile Image ===== */
.profile-pic {
    width: 180px;
    height: auto;
    border-radius: 50%;
    display: block;
    margin: 20px auto;
    border: 4px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ===== Sections ===== */
section {
    padding: 30px 20px;
    max-width: 1000px;
    margin: auto;
    background: white;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(106, 13, 173, 0.1); /* soft purple glow */
}
section h2 {
    color: #6a0dad;
    margin-bottom: 15px;
    text-align: center;
}

/* ===== Download CV Link ===== */
#education a {
    display: inline-block;
    background: #6a0dad;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: background 0.3s;
}
#education a:hover {
    background: #550a96;
}

/* ===== Interests List ===== */
#interests ul {
    list-style: none;
    padding: 0;
    text-align: center;
}
#interests li {
    background: #f3e8ff; /* soft lavender */
    color: #4a0072;
    display: inline-block;
    margin: 5px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.95em;
}

/* ===== Programming Languages ===== */
#languages ul {
    list-style: none;
    padding: 0;
    text-align: center;
}
#languages li {
    background: #f3e8ff; /* soft lavender */
    color: #4a0072;
    display: inline-block;
    margin: 5px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.95em;
    font-weight: 500;
}

/* ===== Project Gallery ===== */
.project-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.project-item {
    background: #faf7fc;
    border: 1px solid #e0d5f7;
    padding: 15px;
    width: 280px;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s;
}
.project-item:hover {
    transform: translateY(-5px);
}
.project-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.project-item p {
    margin-top: 10px;
    font-size: 0.95em;
}

/* ===== Contact Section ===== */
#contact p {
    text-align: center;
    font-size: 1.1em;
    margin: 10px 0;
}
#contact i {
    color: #6a0dad;
    margin-right: 8px;
    font-size: 1.2em;
}
#contact a {
    color: #6a0dad;
    text-decoration: none;
    font-weight: 500;
}
#contact a:hover {
    text-decoration: underline;
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 15px;
    background: #6a0dad;
    color: white;
    font-size: 0.9em;
}

