html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, #f8fbff, #eef4ff, #ffffff);
}

/* NAVBAR */
.navbar {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-weight: 600;
    color: #0d6efd;
}

.nav-link {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0d6efd;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.profile-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: zoomIn 1s ease, float 3s ease-in-out infinite 1s;
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

.hero h2 {
    animation: fadeInUp 1.5s ease;
}

.hero p {
    animation: fadeInUp 1.5s ease 0.5s both;
}

.hero-btn {
    margin-top: 20px;
    animation: fadeInUp 1.5s ease 1s both;
}

/* SECTION */
section {
    padding: 80px 0;
    animation: fadeUp 1s ease;
}

.section-title {
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 25px;
    text-align: center;
}

/* CARD */
.custom-card {
    border-radius: 20px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* SKILL */
.badge-skill {
    padding: 10px 16px;
    border-radius: 20px;
    margin: 6px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.badge-skill:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* TAMBAHAN ABOUT */
.section-box {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.section-box:hover {
    transform: translateY(-5px);
}

.section-box i {
    color: #0d6efd;
    margin-right: 8px;
}

#goal .custom-card {
    line-height: 1.8;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
    color: #6c757d;
    border-top: 1px solid #dee2e6;
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* SKILL CARD FLOAT */
.skill-card {
    animation: float 4s ease-in-out infinite;
}

.skill-delay-1 { animation-delay: 0s; }
.skill-delay-2 { animation-delay: 0.5s; }
.skill-delay-3 { animation-delay: 1s; }
.skill-delay-4 { animation-delay: 1.5s; }
.skill-delay-5 { animation-delay: 2s; }

/* EFEK UNIK TAMBAHAN: Glow pada kartu skills dan transisi warna halus */
.skill-card:hover {
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.3);
    filter: drop-shadow(0 0 10px rgba(13, 110, 253, 0.5));
}

.custom-card {
    transition: all 0.4s ease, filter 0.3s ease;
}

.custom-card:hover {
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
}

@media (max-width: 576px) {
    section {
        padding: 60px 15px;
    }
}