:root {
    --dark-bg: #001B3A;
    --brand-blue: #80D8FF;
    --secondary-blue: #00AEEF;
    --mint: #C1E8E0;
}

/* ================================
   BACKGROUND EFFECTS
================================ */
.bg-effects {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.stripes {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        to right,
        rgba(255, 255, 255, 0.025) 0px,
        rgba(255, 255, 255, 0.025) 1px,
        transparent 1px,
        transparent 60px
    );
}

.spotlight {
    position: absolute;
    top: -10%;
    width: 500px;
    height: 700px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.spotlight-left {
    left: -100px;
    background: radial-gradient(ellipse at center, #0066cc 0%, transparent 70%);
    transform: rotate(-15deg);
}

.spotlight-right {
    right: -100px;
    background: radial-gradient(ellipse at center, #0044aa 0%, transparent 70%);
    transform: rotate(15deg);
}

/* ================================
   NAVBAR
================================ */
.nav-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 6px 6px;
    gap: 2px;
    backdrop-filter: blur(10px);
}

.nav-link {
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hire {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 10px 28px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-hire:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ================================
   BADGE
================================ */
.badge-available {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(193, 232, 224, 0.08);
    border: 1px solid rgba(193, 232, 224, 0.2);
    color: rgba(193, 232, 224, 0.85);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
}

/* ================================
   BUTTONS
================================ */
.btn-primary {
    background-color: #ffffff;
    color: #000000;
    padding: 12px 30px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(128, 216, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 30px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* ================================
   PROFILE / SHARP HEXAGON
================================ */
.profile-container {
    position: relative;
    width: 370px;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.hexagon-outer {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6); /* Warna border putih transparan */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.hexagon-inner {
    width: 98%; /* Sedikit lebih kecil dari outer untuk efek border */
    height: 98%;
    background: #002651;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.floating-glow {
    position: absolute;
    width: 115%;
    height: 115%;
    background: var(--secondary-blue);
    filter: blur(80px);
    opacity: 0.18;
    z-index: 1;
    animation: pulseGlow 4s ease-in-out infinite;
}

/* ================================
   MARQUEE / SKILLS BAR
================================ */
.marquee-container {
    width: 100%;
    background: #ffffff; /* Background putih sesuai gambar */
    padding: 18px 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
    /* Garis biru cerah di atas dan bawah */
    border-top: 6px solid var(--secondary-blue);
    border-bottom: 6px solid var(--secondary-blue);
    display: flex;
    align-items: center;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 25s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 40px;
    /* Warna teks menggunakan darkBg agar kontras di background putih */
    color: #001B3A; 
    font-weight: 800;
    font-size: 18px;
    text-transform: capitalize;
    letter-spacing: 0.02em;
}

.marquee-star {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Animasi Jalan */
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause animasi saat di-hover (opsional) */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}
/* ================================
   ABOUT ME & STATS
================================ */

/* Lingkaran Foto */
.about-image-container {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0, 174, 239, 0.15); /* Efek glow lembut */
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Kartu Statistik */
.stats-card {
    background: rgba(255, 255, 255, 0.03); /* Transparansi sangat tipis */
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.stats-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(128, 216, 255, 0.3);
    transform: translateY(-5px);
}

/* ================================
   SERVICES SECTION
================================ */
.service-card {
    background: rgba(255, 255, 255, 0.04); /* Transparansi tipis */
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    padding: 50px 40px;
    border-radius: 40px; /* Sudut sangat tumpul sesuai gambar */
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--secondary-blue);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    width: fit-content;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Menambahkan sedikit cahaya di belakang kartu saat di-hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 174, 239, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* ================================
   PORTFOLIO SECTION
================================ */

/* Filter Buttons */
.filter-btn {
    padding: 8px 24px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.filter-btn.active {
    background: white;
    color: #001B3A;
    border-color: white;
}

/* Portfolio Cards */
.portfolio-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 32px;
    transition: all 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-blue);
    background: rgba(255, 255, 255, 0.06);
}

.project-img-wrapper {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    background: #001229;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .project-img {
    transform: scale(1.08);
}
.service-card:hover::before {
    opacity: 1;
}

/* ================================
   FOOTER STYLES
=============================== */

/* Lingkaran Sosial Media */
.social-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-circle:hover {
    background: white;
    color: #001B3A; /* Biru gelap background kamu */
    border-color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Penyesuaian Tipografi CTA */
footer h2 {
    letter-spacing: -0.02em;
    font-weight: 800;
}

/* Responsivitas Mobile */
@media (max-width: 768px) {
    footer h2 {
        font-size: 2rem;
    }
    
    .social-circle {
        width: 40px;
        height: 40px;
    }
}
html {
    scroll-behavior: smooth;
}

/* Tambahan sedikit perbaikan pada tombol link agar konsisten */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.nav-link {
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    /* Tambahkan baris transition di bawah ini */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    border: 1px solid transparent;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.15); /* Sedikit lebih terang biar jelas */
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}
/* Mengatur responsivitas untuk layar kecil */
@media (max-width: 768px) {
    .about-image-container {
        width: 280px;
        height: 280px;
    }
}
@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.14; }
    50% { transform: scale(1.12); opacity: 0.24; }
}