body {
    scroll-behavior: smooth;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #333;
}

section {
    padding: 5rem 0;
}

/* Reduced spacing for Hero */
.intro {
    padding: 100px 0 60px 0;
    background: radial-gradient(circle at top right, #f8f9ff 0%, #ffffff 100%);
}

.profile-img {
    border: 8px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
    border-radius: 50%;
}

/* Skill Badges */
.skill-badge {
    background: #f0f2f5;
    color: #475569;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Timeline UI to fix "weird" wide cards */
.timeline-card {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid #e9ecef;
    margin-bottom: 2rem;
    transition: 0.3s;
}

.timeline-card::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bs-primary);
}

/* Section Headers */
.section-header {
    margin-bottom: 2.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.75rem;
}

/* Modern Project Cards */
.project-item {
    border-radius: 12px;
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    border-color: var(--bs-primary);
}

.w-fit {
    width: fit-content;
}

/* Form Controls */
.form-control {
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.form-control:focus {
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

/* Navbar blur effect */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}