/* ================================================================
   FIGO AZZAM DE FITRAH — DATA ANALYTICS PORTFOLIO
   Aesthetic: Precision Analytics · Editorial Grid · Data-Driven
   Fonts: Syne (headers) · Outfit (body) · DM Mono (data labels)
================================================================ */

:root {
    /* Core Palette */
    --navy: #1c3968;
    --navy-mid: #243f72;
    --navy-light: #2e5097;
    --orange: #f68f45;
    --orange-dark: #d97736;
    --orange-glow: rgba(246, 143, 69, 0.18);

    /* Backgrounds */
    --bg-base: #f2f4f7;
    --bg-card: #ffffff;
    --bg-sidebar: #1c3968;

    /* Text */
    --text-primary: #1a2332;
    --text-secondary: #4a5568;
    --text-muted: #8898aa;
    --text-on-dark: #e8edf5;
    --text-on-dark-muted: #8fa8cc;

    /* Borders & Shadows */
    --border-light: rgba(28, 57, 104, 0.12);
    --border-orange: rgba(246, 143, 69, 0.4);
    --shadow-sm: 0 2px 8px rgba(28, 57, 104, 0.08);
    --shadow-lg: 0 8px 40px rgba(28, 57, 104, 0.16);

    /* Radii & Layout */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-xl: 16px;
    --sidebar-width: 320px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ──────────────────────────────────────────────────
   RESET & TYPOGRAPHY
────────────────────────────────────────────────── */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.mono {
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.02em;
}

.mt-2 {
    margin-top: 1rem;
}

/* ──────────────────────────────────────────────────
   AMBIENT BACKGROUNDS
────────────────────────────────────────────────── */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(28, 57, 104, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 57, 104, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.bg-orb {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(246, 143, 69, 0.12), transparent 70%);
}

.bg-orb-2 {
    width: 500px;
    height: 500px;
    bottom: 100px;
    left: -150px;
    background: radial-gradient(circle, rgba(28, 57, 104, 0.1), transparent 70%);
}

.site-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* ──────────────────────────────────────────────────
   HEADER & EYEBROW
────────────────────────────────────────────────── */
.site-header {
    text-align: center;
    margin-bottom: 40px;
}

.header-eyebrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.eyebrow-tag {
    background: rgba(246, 143, 69, 0.1);
    border: 1px solid var(--border-orange);
    color: var(--orange);
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 500;
}

.pulse-dot {
    color: #22c55e;
    animation: pulse 2s infinite;
    font-size: 0.6rem;
    margin-right: 4px;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.header-title {
    /* font-family: 'Syne', sans-serif; */
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 10px;
}

.header-accent {
    color: var(--orange);
    /* border-bottom: 3px solid var(--orange); */
}

.header-sub {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ──────────────────────────────────────────────────
   TABS & GRID
────────────────────────────────────────────────── */
.tab-nav {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 6px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
    border: 1px solid var(--border-light);
}

.tab-nav-inner {
    display: flex;
    gap: 4px;
}

.tab-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tab-btn:hover {
    background: rgba(28, 57, 104, 0.05);
    color: var(--navy);
}

.tab-btn.active {
    background: var(--navy);
    color: var(--text-on-dark);
}

.tab-btn.active .tab-index {
    color: var(--orange);
}

.tab-index {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.tab-label {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.content-grid {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    gap: 32px;
    align-items: start;
}

/* ──────────────────────────────────────────────────
   SIDEBAR
────────────────────────────────────────────────── */
.sidebar {
    position: sticky;
    top: 24px;
}

.sidebar-inner {
    background: var(--bg-sidebar);
    color: var(--text-on-dark);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    box-shadow: var(--shadow-lg);
}

.profile-photo-wrap {
    text-align: center;
    margin-bottom: 20px;
}

.profile-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--orange);
    margin: 0 auto;
}

.profile-desc {
    font-size: 0.9rem;
    color: var(--text-on-dark-muted);
    margin-top: 8px;
}

.profile-name-block {
    text-align: center;
    margin-bottom: 24px;
}

.profile-name {
    font-family: sans-serif;
    font-size: 1.5rem;
    line-height: 1.2;
}

.profile-role {
    color: var(--orange);
    font-size: 0.85rem;
    margin-top: 4px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-value {
    display: block;
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    font-size: 1.1rem;
    color: #fff;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text-on-dark-muted);
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary-cta,
.btn-secondary-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: var(--transition);
    width: 100%;
}

.btn-primary-cta {
    background: var(--orange);
    color: #fff;
}

.btn-primary-cta:hover {
    background: var(--orange-dark);
}

.btn-secondary-cta {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 24px 0;
}

.sidebar-section-label {
    font-size: 0.8rem;
    color: var(--orange);
    margin-bottom: 12px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-on-dark-muted);
}

.contact-icon {
    color: var(--orange);
    margin-top: 3px;
}

/* ──────────────────────────────────────────────────
   CONTENT SECTIONS & TIMELINE
────────────────────────────────────────────────── */
.content-panel {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    line-height: 1.4;
    font-family: sans-serif;
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 24px;
    overflow: visible;
    padding-bottom: 8px;
}

.timeline-item {
    background: var(--bg-card);
    border-left: 4px solid var(--orange);
    padding: 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.role {
    font-family: sans-serif;
    font-size: 1.2rem;
    color: var(--navy);
}

.company {
    color: var(--orange);
    font-weight: 500;
    font-size: 0.95rem;
}
.gpa {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* .date { background: var(--bg-base); padding: 4px 10px; border-radius: 999px; font-size: 0.8rem; color: var(--text-secondary); } */

.task-list {
    padding-left: 18px;
    color: var(--text-secondary);
}

.task-list li {
    margin-bottom: 8px;
    list-style-type: square;
}

.task-list strong {
    color: var(--navy);
}

/* ──────────────────────────────────────────────────
   SKILLS & PORTFOLIO
────────────────────────────────────────────────── */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.skill-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border-light);
}

.skill-icon {
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 12px;
}

.skill-name {
    font-family: 'Syne', sans-serif;
    color: var(--navy);
    font-size: 1.1rem;
}

.skill-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.portfolio-filters-dropdowns {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-select {
    background: var(--bg-card);
    border: 1px solid var(--navy);
    color: var(--navy);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
    font-family: 'Outfit', sans-serif;
}

.filter-select:hover, .filter-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 2px var(--orange-glow);
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--navy);
    color: var(--navy);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--navy);
    color: #fff;
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.project-embed {
    height: 200px;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
}

.project-embed i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--orange);
}

.project-content {
    padding: 24px;
}

.project-tags span {
    color: var(--orange);
    font-size: 0.75rem;
    margin-right: 8px;
}

.project-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    color: var(--navy);
    margin: 8px 0;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.project-links {
    display: flex;
    gap: 12px;
}

.btn-outline,
.btn-solid {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline {
    border: 1px solid var(--orange);
    color: var(--orange);
}

.btn-outline:hover {
    background: var(--orange);
    color: #fff;
}

.btn-solid {
    background: var(--navy);
    color: #fff;
}

.btn-solid:hover {
    background: var(--orange);
}

/* ──────────────────────────────────────────────────
   RESPONSIVE DESIGN
────────────────────────────────────────────────── */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        top: 0;
    }

    .profile-stats {
        flex-wrap: wrap;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.text-justify {
    text-align: justify;
}

.text-center {
    text-align: center;
}

.project-details {
    padding-left: 18px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.project-details li {
    margin-bottom: 6px;
    list-style-type: square;
}

.project-details strong {
    color: var(--navy);
}

.closing-statement {
    padding: 40px 20px;
    margin-top: 40px;
    border-top: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.closing-statement h3 {
    color: var(--orange);
    font-size: 1.2rem;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

/* ──────────────────────────────────────────────────
   MOBILE VIEW FIXES (Max 768px)
────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .site-header {
        margin-bottom: 24px;
    }

    .header-title {
        font-size: 2rem;
    }

    .tab-label {
        display: none;
        /* Menyederhanakan tab di mobile jika terlalu sempit */
    }

    .tab-btn {
        padding: 8px;
    }

    .tab-index {
        font-size: 0.9rem;
        font-weight: bold;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .project-links {
        flex-direction: column;
    }

    .btn-outline,
    .btn-solid {
        width: 100%;
        text-align: center;
    }
}

.company-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    /* Menggunakan warna abu-abu agak pudar */
    margin-top: 8px;
    margin-bottom: 16px;
    font-style: italic;
    /* Opsi: dibuat italic agar membedakan dengan job task */
    padding-left: 18px;
    /* Disesuaikan dengan padding list */
    border-left: 2px solid var(--border-light);
}

;

/* Container Grid untuk Soft Skills */
.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 1rem;
}

/* Item Soft Skill individual */
.soft-skill-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(28, 57, 104, 0.03);
    /* Navy sangat tipis */
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    overflow: visible;
}

.soft-skill-item:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: var(--orange);
}

/* Lingkaran Icon Kecil */
.ss-icon-wrap {
    width: 36px;
    height: 36px;
    background: var(--navy);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.ss-text h4 {
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 4px;
    font-weight: 700;
    line-height: 1.5;
    padding-bottom: 2px;
}

.ss-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* Responsivitas Mobile */
@media (max-width: 480px) {
    .soft-skills-grid {
        grid-template-columns: 1fr;
    }

}

/* card languages section */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 1rem;
}

.language-item {
    background: rgba(28, 57, 104, 0.03);
    /* Navy sangat tipis */
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    text-align: center;
}

.language-item .mono {
    font-size: 1rem;
    color: var(--navy);
    font-weight: 600;
}
/* Styling untuk area visual kartu */
.project-visual {
    width: 100%;
    height: auto; /* Sesuaikan tinggi preview */
    aspect-ratio: 16 / 9; /* Menjaga rasio 16:9 untuk preview */
    background: var(--navy);
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;

}

/* Styling Iframe Embed */
.project-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    object-fit: contain;
}

/* Styling Placeholder (jika tidak ada embed) */
.project-embed-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
}

.project-embed-placeholder i {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 10px;
}

/* Hover Effect pada Iframe (opsional) */
.project-card:hover .project-visual {
    border-color: var(--orange);
}