:root {
    --primary: #2c4be7;
    --dark: #333;
    --light: #f4f4f4;
    --accent: #00bcd4;
}
body {
    font-family: 'Inter', Arial, sans-serif;
    margin: 0;
    background: var(--light);
    color: var(--dark);
    scroll-behavior: smooth;
}
header {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}
header h1 {
    font-size: 2.5rem;
    margin: 0;
}
header p {
    margin: 0.5rem 0;
    font-size: 1.2rem;
}
nav {
    display: flex;
    justify-content: center;
    background: #222;
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav a {
    color: #fff;
    padding: 1rem;
    text-decoration: none;
    transition: background 0.3s;
}
nav a:hover {
    background: var(--primary);
}
section {
    padding: 3rem 1rem;
    max-width: 1100px;
    margin: auto;
}
.profile-img {
    display: block;
    margin: 2rem auto;
    border-radius: 50%;
    max-width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    text-align: center;
    margin-bottom: 2rem;
}
.skill-card {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.skill-card:hover {
    transform: translateY(-5px);
}
.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
    text-align: center;
}
.soft-skill-card {
    background: #fff;
    border-radius: 6px;
    font-weight: bolder;
    padding: 0.7rem;
    font-size: 0.9rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 60px;
    transition: transform 0.3s;
}
.soft-skill-card:hover {
    transform: translateY(-5px);
}
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.project-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 1rem;
}
.timeline {
    position: relative;
    margin: 2rem 0;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}
.timeline-item {
    margin-bottom: 1.5rem;
}
.timeline-item h4 {
    margin: 0 0 0.3rem;
    color: var(--primary);
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}
.contact-form input[type="submit"] {
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    border: none;
    padding: 0.8rem;
}
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 3rem;
}
.work-logo {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

#work-experience .timeline {
    position: relative;
    margin: 2rem 0;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

#work-experience .timeline-item {
    margin-bottom: 2rem;
    padding-left: 10px;
}

#work-experience h4 {
    margin: 0 0 0.2rem;
    color: var(--primary);
    font-size: 1.2rem;
}

#work-experience p {
    margin: 0.2rem 0 0.8rem;
}

.about-section {
    padding: 3rem 1rem;
    max-width: 1100px;
    margin: auto;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

/* Image Column */
.about-image {
    flex: 1 1 250px;
    display: flex;
    justify-content: center;
}
.about-image img {
    max-width: 250px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Text Column */
.about-text {
    flex: 2 1 500px;
    font-size: 1rem;
    line-height: 1.6;
}

.about-text h2 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 2rem;
}

/* Highlight Key Points */
.highlight {
    background-color: #eaf1ff;
    color: var(--primary);
    padding: 0 5px;
    border-radius: 4px;
    font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-text {
        text-align: left;
    }
}

.project-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.project-card ul li {
    margin-bottom: 0.5rem;
}

.project-card ul li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.project-card ul li a:hover {
    text-decoration: underline;
    color: #003a85; /* darker shade for hover */
}

.project-card ul li a i {
    transition: transform 0.2s ease;
}

.project-card ul li a:hover i {
    transform: scale(1.2);
}

#memberships {
    max-width: 1100px;
    margin: auto;
    padding: 2rem 1rem;
}

.membership-category {
    margin-bottom: 2rem;
}

.membership-category h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.membership-category ul {
    list-style: disc;
    padding-left: 20px;
    line-height: 1.6;
}
