* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: #f3f4f6;
    color: #1f2937;
    padding: 40px 20px;
}

.portfolio-container {
    max-width: 800px;
    margin: 0 auto;
}

header, section {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.hero-section {
    text-align: center;
}

.name {
    font-size: 2.2rem;
    color: #111827;
}

.title {
    font-size: 1.1rem;
    color: #4f46e5;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5px;
    margin-bottom: 15px;
}

.bio {
    color: #4b5563;
    max-width: 650px;
    margin: 0 auto 25px auto;
    line-height: 1.6;
}

.action-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary {
    background: #4f46e5;
    color: white;
}

.btn-primary:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #1f2937;
    color: white;
}

.btn-secondary:hover {
    background: #111827;
    transform: translateY(-1px);
}

.btn-third {
    background: #581c87;
    color: white;
}

.btn-third:hover {
    background: #4c1d95;
    transform: translateY(-1px);
}

h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #111827;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-badge {
    background: #f3f4f6;
    color: #374151;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.project-card {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card h3 {
    color: #111827;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.project-card p {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 15px;
}

.project-link {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.project-link:hover {
    text-decoration: underline;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}