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

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background-color: #fcfcfc;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 8%;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

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

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

/* Hero Section */
.hero {
    padding: 6rem 8% 5rem 8%;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #ffffff;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.hero p {
    max-width: 680px;
    margin: 0 auto 2rem auto;
    font-size: 1.05rem;
    color: #d1d5db;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.6rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border 0.2s ease;
    cursor: pointer;
}

.primary-btn {
    background-color: #2563eb;
    color: #fff;
    border: none;
}

.primary-btn:hover {
    background-color: #1d4ed8;
}

.secondary-btn {
    background-color: transparent;
    color: #fff;
    border: 1px solid #4b5563;
}

.secondary-btn:hover {
    background-color: #374151;
}

/* General Sections */
.section {
    padding: 5rem 8%;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
}

.dark-bg {
    background-color: #f3f4f6;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.project-img-placeholder {
    width: 100%;
    height: 180px;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.project-role {
    font-size: 0.85rem;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.project-info p {
    font-size: 0.92rem;
    color: #4b5563;
    margin-bottom: 1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tags span {
    background: #f3f4f6;
    color: #374151;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-weight: 500;
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.skill-category h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #111827;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.skill-category li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Contact Section */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #111827;
    color: #9ca3af;
    font-size: 0.85rem;
}
