/* General Reset and Base Styles */
body {
    font-family: 'Newsreader', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
}

.container {
    width: 85%;
    max-width: 1100px;
    margin: auto;
    padding: 20px 0;
}

/* Header and Navigation */
header {
    background-color: #2c3e50;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: center;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0 20px;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #3498db;
}

/* Hero Section (Landing Page) */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: #ecf0f1;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #3498db;
}

.hero h1 {
    margin-bottom: 5px;
    color: #2c3e50;
    font-size: 2.5em;
}

.tagline {
    font-size: 1.2em;
    color: #7f8c8d;
    margin-bottom: 25px;
}

.social-links a {
    color: #3498db;
    margin: 0 10px;
    text-decoration: none;
}

.cta-button {
    background-color: #e74c3c;
    color: white !important; /* Override general link color */
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-left: 15px;
}

/* Section Headings */
h2 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

h3 {
    color: #34495e;
    margin-top: 30px;
}

/* Skills List */
.skills-list ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skills-list li {
    background: #bdc3c7;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.9em;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

.skill-card {
    border-radius: 10px;
    padding: 14px;
    flex: 1 1 260px;
}

.skill-card.languages {
    background: #f7fbff;
    box-shadow: 0 6px 18px rgba(28,43,54,0.06);
}

.skill-card.frameworks {
    background: #fff8f4;
    flex-basis: 320px;
    box-shadow: 0 6px 18px rgba(84,42,0,0.04);
}

.skill-card.research {
    background: #f7fff6;
    flex-basis: 300px;
    box-shadow: 0 6px 18px rgba(6,52,23,0.04);
}

.skill-card h4 {
    margin: 0 0 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-card.languages h4 {
    color: #0b2545;
}

.skill-card.frameworks h4 {
    color: #6a3b00;
}

.skill-card.research h4 {
    color: #054a2a;
}

.skill-card h4 svg path,
.skill-card h4 svg circle {
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.skill-card.languages h4 svg path {
    stroke: #0b2545;
}

.skill-card.frameworks h4 svg path {
    stroke: #6a3b00;
}

.skill-card.research h4 svg path,
.skill-card.research h4 svg circle {
    stroke: #054a2a;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    font-family: 'Courier', monospace;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

.skill-tag.primary {
    background: #0b2545;
    color: #fff;
}

.skill-tag.dark {
    background: #1f2937;
    color: #fff;
}

.skill-tag.blue {
    background: #0f4fd4;
    color: #fff;
}

.skill-tag.light-blue {
    background: #e6f0ff;
    color: #0b2545;
}

.skill-tag.light-indigo {
    background: #eef2ff;
    color: #0b2a66;
}

.skill-tag.light-green {
    background: #eef6f4;
    color: #0a6b44;
}

.skill-tag.light-gray {
    background: #f3f4f6;
    color: #111827;
}

.skill-tag.green {
    background: #eafaf1;
    color: #0b6640;
}

.skill-tag.blue-badge {
    background: #eaf4ff;
    color: #1b3fae;
}

.skill-tag.orange {
    background: #fff7e6;
    color: #8a4a00;
}

.skill-tag.small {
    padding: 6px 8px;
    font-size: 0.8rem;
}

.research-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    color: #0b3b26;
}

.research-details > div {
    margin-top: 0;
}

.research-tags {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Projects Section */
.project-card {
    background-color: white;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid #3498db;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.project-meta {
    font-style: italic;
    color: #7f8c8d;
    margin-top: -10px;
    margin-bottom: 10px;
}

.project-links a {
    margin-right: 15px;
    text-decoration: none;
    color: #2980b9;
    font-weight: bold;
}

/* Publications Section */
.pub-list {
    list-style: none;
    padding: 0;
}

.pub-list li {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}

.citation {
    font-size: 0.9em;
    color: #555;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    background-color: #2c3e50;
    color: white;
    font-size: 0.9em;
}

footer a {
    color: #3498db;
    text-decoration: none;
}