*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    background: linear-gradient(135deg,#0f172a,#1e3a8a,#2563eb);
    min-height:100vh;
    color:white;
}

/* Navbar */
nav{
    position:fixed;
    top:0;
    width:100%;
    z-index:1000;
    background:rgba(0,0,0,0.25);
    backdrop-filter:blur(10px);
    padding:15px 50px;
}

nav ul{
    display:flex;
    justify-content:center;
    gap:25px;
    list-style:none;
}

nav a{
    text-decoration:none;
    color:white;
    font-weight:600;
    padding:10px 18px;
    border-radius:30px;
    transition:0.3s;
}

nav a:hover{
    background:white;
    color:#2563eb;
}

/* Section */
section{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:120px 10%;
}

.card{
    width:100%;
    max-width:1000px;
    background:rgba(255,255,255,0.1);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,0.2);
    border-radius:25px;
    padding:40px;
    box-shadow:0 10px 30px rgba(0,0,0,0.3);
}

.title{
    font-size:35px;
    margin-bottom:25px;
    color:#93c5fd;
}

/* Beranda */
.hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
    flex-wrap:wrap;
}

.hero img{
    width:250px;
    height:250px;
    border-radius:50%;
    border:6px solid #60a5fa;
    object-fit:cover;
}

.hero-text h1{
    font-size:50px;
    margin-bottom:10px;
}

.hero-text p{
    font-size:20px;
    color:#dbeafe;
    line-height:1.8;
}

.btn{
    display:inline-block;
    margin-top:20px;
    padding:12px 30px;
    background:#3b82f6;
    color:white;
    text-decoration:none;
    border-radius:30px;
    transition:0.3s;
}

.btn:hover{
    background:white;
    color:#2563eb;
}

/* Biodata */
table{
    width:100%;
    border-collapse:collapse;
}

table td{
    padding:15px;
    border-bottom:1px solid rgba(255,255,255,0.2);
}

table td:first-child{
    width:250px;
    color:#93c5fd;
    font-weight:bold;
}

/* Pendidikan */
.timeline{
    position:relative;
    margin-left:20px;
}

.timeline::before{
    content:'';
    position:absolute;
    left:0;
    top:0;
    width:4px;
    height:100%;
    background:#60a5fa;
}

.item{
    margin-left:30px;
    margin-bottom:30px;
}

.item h3{
    color:#93c5fd;
    margin-bottom:5px;
}

/* Hobi */
.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
    margin-top:25px;
}

.box{
    background:rgba(255,255,255,0.1);
    padding:25px;
    border-radius:20px;
    text-align:center;
    transition:0.3s;
}

.box:hover{
    transform:translateY(-10px);
    background:#2563eb;
}

.box span{
    font-size:45px;
}

/* Kontak */
.contact{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.contact-box{
    background:rgba(255,255,255,0.1);
    padding:25px;
    border-radius:20px;
}

.contact-box h3{
    margin-bottom:10px;
    color:#93c5fd;
}

footer{
    text-align:center;
    padding:25px;
    background:rgba(0,0,0,0.2);
}

html{
    scroll-behavior:smooth;
}

@media(max-width:768px){
.hero{
    flex-direction:column;
    text-align:center;
}

.hero-text h1{
    font-size:35px;
}
}

/* Tugas & Keahlian */
.task-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.task-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    transition: 0.3s;
}

.task-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.task-card h3 {
    color: #93c5fd;
    margin-bottom: 10px;
    font-size: 20px;
}

.task-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #dbeafe;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero img {
    display: block;
    margin: 0 auto 20px auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Styling Bagian Tentang Saya */
.about-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.about-img {
    width: 200px;
    height: 200px;
    border-radius: 20px;            /* Sudut melengkung halus */
    border: 4px solid #ffffff;      /* Garis tepi bingkai putih */
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.about-text {
    flex: 1;
    min-width: 250px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* Styling Bagian Galeri */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Styling Beranda ala Contoh */
.card-hero {
    padding: 35px 40px;
    text-align: left;
}

.hero-text {
    max-width: 650px;
}

.greeting {
    color: #3b82f6;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 8px;
}

.hero-text h1 {
    font-size: 36px;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 6px;
}

.hero-text .highlight {
    color: #3b82f6; /* Warna biru cerah untuk penekanan nama */
}

.sub-title {
    font-size: 18px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.btn-primary {
    background-color: #3b82f6;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-outline {
    background-color: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #3b82f6;
    color: #ffffff;
}

/* Styling Halaman Tugas Modern (List Layout) */
.task-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.task-card {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 22px;
    gap: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.task-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.12);
    border-color: #93c5fd;
}

.task-icon {
    font-size: 28px;
    background-color: #eff6ff;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 54px;
}

.task-info {
    flex: 1;
}

.task-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.task-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.badge-pemrograman {
    background-color: #dbeafe;
    color: #1e40af;
}

.badge-desain {
    background-color: #fce7f3;
    color: #9d174d;
}

.badge-umum {
    background-color: #f3e8ff;
    color: #6b21a8;
}

.task-date {
    font-size: 12px;
    color: #64748b;
}

.task-title {
    font-size: 17px;
    color: #1e293b;
    margin-bottom: 4px;
    font-weight: 600;
}

.task-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.task-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #3b82f6;
    background-color: #eff6ff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.task-btn:hover {
    background-color: #3b82f6;
    color: #ffffff;
}

/* Responsif untuk layar HP */
@media (max-width: 600px) {
    .task-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .task-btn {
        width: 100%;
        text-align: center;
    }
}