* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', serif; 
    background: #0b1220;                        
    color: #e5e7eb;                             
    line-height: 1.6;                             
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px 60px;
    background: #020617;
}

.navbar nav {
    display: flex;
    gap: 25px;
}

.navbar a {
    text-decoration: none;
    color: #cbd5f5; 
    font-size: 16px;
}

.navbar a:hover {
    color: #60a5fa; 
}

.hero {
    text-align: center;
    padding: 100px 20px 60px 20px; 
}

.hero h1 {
    font-size: 3rem; 
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    color: #94a3b8;
}

.section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px; 
}

.section p {
    margin-bottom: 15px; 
    font-size: 1.05rem;
}

.list {
    margin-top: 10px;
    padding-left: 20px;
}

.list li {
    margin-bottom: 10px; 
}

a {
    color: #60a5fa;
}

/* Keeps visited links same color (removes default purple) */

a:visited {
    color: #60a5fa;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));         /* Auto-adjusts columns → each card min 280px, grows to fill space */
    gap: 25px;
    margin-top: 20px;
}

.card {
    background: #1e293b;
    padding: 20px;
    border-radius: 10px;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.card span {
    font-size: 0.85rem;
    color: #94a3b8;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.skills-container span {
    background: #1e293b;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
}

footer {
    text-align: center;
    padding: 25px;
    background: #020617;
    margin-top: 50px;
    font-size: 0.9rem;
}