body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    background: linear-gradient(135deg, #f0f4f8, #d9e6f2);
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.navbar {
    background: #4a90e2;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 2px 0;
    transition: 0.4s;
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    color: #e0e0e0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    padding: 3rem 2rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

#profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 6px solid #4a90e2;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 2.8em;
    color: #2c3e50;
    margin: 0.5rem 0;
    font-weight: 700;
}

h2 {
    font-size: 2em;
    color: #2c3e50;
    margin-top: 0;
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 0.5rem;
}

.section {
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 1.1em;
}

li span {
    color: #7f8c8d;
    font-weight: 500;
}

.experience li {
    flex-direction: column;
    margin-bottom: 1rem;
}

.experience li strong {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

footer a {
    color: #4a90e2;
    text-decoration: none;
    margin: 0 1rem;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #4a90e2;
        padding: 1rem 0;
        text-align: center;
    }
    .nav-links.active {
        display: flex;
        gap: 0;
        padding: 20px;
    }
    .nav-links li {
        margin: 0.5rem 0;
    }
    .nav-links a {
        font-size: 1.1rem;
    }
    .container {
        padding: 1rem;
    }
    header {
        padding: 2rem 1rem;
    }
    #profile-pic {
        width: 150px;
        height: 150px;
    }
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.5em;
    }
    .section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    li {
        font-size: 1em;
    }
}
/* Add this to your existing CSS */
footer {
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.contact-info {
    margin-bottom: 1.5rem;
}

.contact-info a {
    color: #4a90e2;
    text-decoration: none;
    margin: 0 0.5rem;
    display: inline-block;
    padding: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center; /* This ensures vertical centering */
    gap: 0;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex; /* Changed from inline-block */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4a90e2;
    color: white;
    text-align: center;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links i {
    font-size: 1.2rem;
    line-height: 1; /* Remove default line-height */
    display: inline-block; /* Ensures proper icon alignment */
    vertical-align: middle; /* Additional vertical alignment */
}
.social-links a:hover {
    background: #2c3e50;
    transform: translateY(-3px);
}

.copyright {
    margin-top: 2rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

#experience-list li {
   margin-bottom: 30px;
   gap: 20px;
}
.upload-container {
      text-align: center;
      background: white;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .upload-button {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
    }

/* style.css */

/* --- Education Section Styling --- */
.education-item {
    display: flex; /* Enables Flexbox for side-by-side columns */
    margin-bottom: 15px; /* Adds space between each education entry */
    align-items: flex-start; /* Aligns content to the top of each row */
    padding-bottom: 15px; /* Space below each item */
    border-bottom: 1px solid #eee; /* Light line to separate entries */
}

.education-item:last-child {
    border-bottom: none; /* No border for the last item */
}

.education-column {
    padding: 0 10px; /* Add some padding around the content in columns */
}

.date-column {
    flex: 0 0 120px; /* Fixed width for the date column */
    font-weight: bold;
    color: #555; /* Slightly darker color for dates */
    text-align: right; /* Align date to the right of its column */
    padding-right: 20px; /* More space between date and details */
}

.details-column {
    flex: 1; /* Allows the details column to take up the remaining space */
}

.details-column strong {
    display: block; /* Ensures degree is on its own line */
    font-size: 1.1em;
    margin-bottom: 5px; /* Space below the degree */
}

.details-column {
    line-height: 1.5; /* Improves readability of multiple lines */
}

/* Optional: Adjust for smaller screens */
@media (max-width: 768px) {
    .education-item {
        flex-direction: column; /* Stack columns vertically on small screens */
        align-items: flex-start;
    }
    .date-column {
        text-align: left; /* Align date to left when stacked */
        padding-right: 10px; /* Adjust padding */
        margin-bottom: 5px; /* Space between date and details when stacked */
        flex: 0 0 0;
    }
}

/* --- Professional Experience Section Styling --- */
.experience-item {
    display: flex; /* Enables Flexbox for side-by-side columns */
    margin-bottom: 15px; /* Adds space between each experience entry */
    align-items: flex-start; /* Aligns content to the top of each row */
    padding-bottom: 15px; /* Space below each item */
    border-bottom: 1px solid #eee; /* Light line to separate entries */
}

.experience-item:last-child {
    border-bottom: none; /* No border for the last item */
}

.experience-column {
    padding: 0 10px; /* Add some padding around the content in columns */
}

.period-column {
    /* Same width as .date-column in education */
    flex: 0 0 120px;
    font-weight: bold;
    color: #555;
    text-align: right;
    padding-right: 20px; /* More space between period and details */
}

.details-column {
    flex: 1; /* Allows the details column to take up the remaining space */
}

.details-column strong {
    display: block; /* Ensures title is on its own line */
    font-size: 1.1em;
    margin-bottom: 5px; /* Space below the title */
}

.details-column {
    line-height: 1.5; /* Improves readability of multiple lines */
}

/* Optional: Adjust for smaller screens (mobile view) */
@media (max-width: 768px) {
    .experience-item {
        flex-direction: column; /* Stack columns vertically on small screens */
        align-items: flex-start;
    }
    .period-column {
        text-align: left; /* Align period to left when stacked */
        padding-right: 10px; /* Adjust padding */
        margin-bottom: 5px; /* Space between period and details when stacked */
        flex: 0 0 0;
    }
}
/* Add some Font Awesome icons for social media */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');