* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea, #764ba2);
    min-height: 100vh;
}

/* Header */
.header {
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.header h1 {
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.header h1 i {
    font-size: 1.2em;
}

/* NAV (Bootstrap jadi pill bulat) */
.nav-pills {
    justify-content: center;
    flex-wrap: wrap;
}

.nav-pills .nav-link {
    border-radius: 50px;
    margin: 5px;
    color: white;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    transition: 0.3s;
    padding: 10px 20px;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
    background: rgba(255,255,255,0.4);
    color: white;
}

/* Card utama */
.tab-content {
    margin-top: 20px;
}

.tab-content-box {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Profile */
.profile-section {
    text-align: center;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #667eea;
    margin-bottom: 20px;
    object-fit: cover; /* INI KUNCI NYA */
}

.profile-desc {
    max-width: 700px;
    margin: auto;
}

/* Item */
.education-item,
.org-item,
.skill-item {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    border-left: 5px solid #667eea;
    transition: 0.3s;
}

.education-item:hover,
.org-item:hover,
.skill-item:hover {
    transform: translateX(10px);
}

.item-title {
    font-weight: bold;
}

.item-date {
    color: #667eea;
}

/* Contact */
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: 0.3s;
}

.contact-item:hover {
    transform: translateY(-5px);
}

/* Portfolio */
.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    background: #f8f9ff;
    transition: 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio-info {
    padding: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.5rem;
    }

    .tab-content-box {
        padding: 20px;
    }
}