html {
    scroll-behavior: smooth;
    /* Memberikan jarak agar saat scroll tidak tertutup navbar */
    scroll-padding-top: 70px; 
}

/* --- HERO SECTION --- */
.hero {
    background-color: #f6fafd; 
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;       
    justify-content: space-between;   
    text-align: center;
    padding: 50px;
}
.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 3.5rem;
    font-weight: 500;
    color: #0a1931;            
    margin-bottom: 10px;
}

.hero p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    letter-spacing: 1px;
}

/* --- NAVBAR --- */
.sub-navbar {
    width: 100%;
    background-color: #b3cfe5; 
    padding: 15px 0;
    position: sticky; 
    top: 0;           
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); 
    margin-bottom: 20px; 
}

.nav-links {
    display: flex;
    justify-content: center; 
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 50px; 
}

.nav-links a {
    text-decoration: none;
    color: #0a1931; 
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff; 
    transform: translateY(-2px);
}

/* --- BIODATA SECTION --- */
.biodata-section {
    background-color: #0a1931;
    color: #ffffff;
    /* Membuat lengkungan di atas  */
    border-radius: 0; 
    padding-top: 120px;
    padding-bottom: 80px;
    padding-left: 10%;
    padding-right: 10%;
}

.about-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

/* FOTO BIODATA */
.image-frame {
    width: 300px;
    height: 300px;
    flex: 0 0 300px;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid #ffffff; 
    box-shadow: 15px 15px 0px 0px rgba(179, 207, 229, 0.3); 
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TEKS BIODATA */
.sub-title {
    color: #b3cfe5;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}
.fun-fact {
    margin-top: 20px;
    padding: 15px;
    background-color: #f0f7ff;
    border-left: 4px solid #b3cfe5; /* Garis aksen di samping */
    font-style: italic;
    font-size: 0.95rem;
    color: #2d3748;
    border-radius: 0 12px 12px 0;
    line-height: 1.6;
}

.biodata-section h2 {
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.biodata-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.1rem;
    flex: 1;
    min-width: 400px;
    text-align: left;
}

.education-badge {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #f6fafd;
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 5px solid #4a7fa7;
    color: #0a1931;
    font-weight: 600;
}
/* Responsive untuk dibuka di HP */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .about-text {
        text-align: center;
    }
}
/* --- SKILLS SECTION --- */
.skills-section {
    background-color: #b3cfe5;
    padding: 100px 10%;
    color: #0a1931;
    position: relative;
    overflow: hidden;
}

.skills-section::after {
    content: "SKILLS";
    position:absolute;
    bottom: -20px;
    right: -10px;
    font-size: 10rem;
    font-weight: 900;
    color: rgba(10, 25, 49, 0.03);
    z-index: 0;
}

.container-skill {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-family: 'Playfair Display', serif;
}

.skills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.skill-row {
    display: felx;
    align-items: flex-start;
    gap: 40px;
    background: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.skill-info {
    flex: 1;
}
.skill-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}
.skill-info p {
    font-size: 0.9rem;
    color: #1a3d63;
    opacity: 0.8;
    margin-top: 5px;
    line-height: 1.5;
}
.skill-category h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #1a3d63;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-left: 4px solid #0a1931;
    padding-left: 15px;
}

.chips-container {
    flex: 1.5;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-content: center;
}

/* Gaya Chips yang Modern */
.chip {
    background: #f6fafd;
    color: #0a1931;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.chip:hover {
    background: #0a1931;
    color: #f6fafd;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(10, 25, 49, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .chips-container {
        justify-content: center;
    }
    .skill-category h3 {
        text-align: center;
        border-left: none;
        padding-left: 0;
    }
}

/* --- PROJECT SECTION --- */
.project-section {
    background-color: #0a1931;
    padding: 100px 10%;
    color: #ffffff;
}

.section-title-white {
    text-align: center;
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #b3cfe5;
    margin-bottom: 60px;
    font-size: 1.1rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* --- PROJECT CARDS --- */
.project-card {
    background-color: #162a4a; 
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: #b3cfe5;
}

.project-image {
    width: 100%;
    height: 200px;
    background-color: #0a1931; /* Placeholder jika gambar belum ada */
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #b3cfe5;
}

.project-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    gap: 10px;
}

.project-tags span {
    background: rgba(179, 207, 229, 0.1);
    color: #b3cfe5;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    border: 1px solid rgba(179, 207, 229, 0.3);
}

/* --- ORGANIZATION SECTION --- */
.org-section {
    background-color: #f6fafd; 
    padding: 100px 10%;
    color: #0a1931;
}

.org-container {
    display: flex;
    flex-direction: column;
    gap: 80px; /* Jarak antar baris organisasi */
    margin-top: 50px;
}

.org-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Membuat baris kedua fotonya di kanan */
.org-row.reverse {
    flex-direction: row-reverse;
}

/* --- IMAGE STYLING --- */
.org-image-box {
    flex: 1;
    position: relative;
}

.org-image-box img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 15px 15px 0px 0px #b3cfe5; /* Aksen kotak biru */
}

.org-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: #0a1931;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- TEXT STYLING --- */
.org-text-box {
    flex: 1.2;
}

.org-year {
    color: #4a7fa7;
    font-weight: 700;
    font-size: 0.9rem;
}

.org-text-box h3 {
    font-size: 1.8rem;
    margin: 10px 0;
}

.org-position {
    font-style: italic;
    color: #64748b;
    margin-bottom: 20px;
    font-weight: 500;
}

.org-text-box ul {
    padding-left: 20px;
    list-style: none;
}

.org-text-box ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
    line-height: 1.5;
}

.org-text-box ul li::before {
    content: "▹";
    position: absolute;
    left: -10px;
    color: #b3cfe5;
    font-weight: bold;
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .org-row, .org-row.reverse {
        flex-direction: column;
        gap: 30px;
    }
    .org-image-box img {
        height: 250px;
    }
}

/* MEDIA SECTION */
.media-section {
    background-color: #b3cfe5;
    padding: 100px 10%;
    color: #0a1931;
    position: relative;
    overflow: hidden;
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.media-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(transparent, rgba(10, 25, 49, 0.8));
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.media-item:hover img {
    transform: scale(1.1); /* Efek zoom saat disentuh */
}

.media-item video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.audio-container {
    background-color: #000000;
    padding: 20px 10px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- CONTACT SECTION --- */
.contact-section {
    background-color: #0a1931;
    padding: 100px 10% 20px;
    color: white;
}

.contact-subtitle {
    text-align: center;
    color: #b3cfe5;
    margin-bottom: 50px;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto 80px;
}

/* Info Bagian Kiri */
.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.info-icon {
    font-size: 1.5rem;
    background: rgba(179, 207, 229, 0.1);
    padding: 15px;
    border-radius: 12px;
}

.info-item h4 {
    color: #b3cfe5;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: 0.3s;
}

.social-links a:hover {
    color: #b3cfe5;
    opacity: 1;
}

/* Form Bagian Kanan */
.contact-form {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    background: #162a4a;
    border: 1px solid rgba(179, 207, 229, 0.2);
    padding: 15px;
    border-radius: 10px;
    color: white;
    font-family: inherit;
}

.btn-send {
    background: #b3cfe5;
    color: #0a1931;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-send:hover {
    background: #ffffff;
    transform: translateY(-3px);
}

/* --- FOOTER --- */
.main-footer {
    text-align: center;
    border-top: 1px solid rgba(179, 207, 229, 0.1);
    padding-top: 30px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive HP */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
}