body {
    scroll-behavior: smooth;
}

section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--bs-secondary-bg-subtle);
}

h1, h2, h3, h4, h5 {
    letter-spacing: 0.02em;
}

/* ---------- NAVBAR ---------- */
.navbar {
    backdrop-filter: blur(6px);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--bs-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ---------- ICON LINKS ---------- */
.icon-link i {
    font-size: 1.6rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.icon-link:hover i {
    color: var(--bs-primary);
    transform: translateY(-3px);
}

/* ---------- INTRO / HERO ---------- */
.intro {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--bs-light), #ffffff);
}

.intro img {
    border: 4px solid var(--bs-white);
}

.skill-badge {
    background: var(--bs-secondary-bg);
    border-radius: 2rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
}

/* ---------- CARDS (GLOBAL) ---------- */
.card,
.project-item,
.contact-box {
    border-radius: 1rem;
    border: 1px solid var(--bs-secondary-bg-subtle);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--bs-white);
}

.card:hover,
.project-item:hover,
.contact-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header i {
    font-size: 2rem;
    color: var(--bs-primary);
}

/* ---------- FOOTER ---------- */
footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--bs-primary);
}

footer i {
    font-size: 1.4rem;
}
