/* ==========================================================================
   CV IT MUDA - Personal Developer Portfolio Style System
   Theme: Modern Light Tech, Crisp Typography, Soft Elevation & Vibrant Accents
   ========================================================================== */

:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    
    --border-subtle: #e2e8f0;
    --border-accent: rgba(2, 132, 199, 0.35);
    --border-glow: rgba(2, 132, 199, 0.5);
    
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    
    --accent-cyan: #0284c7;
    --accent-blue: #2563eb;
    --accent-emerald: #059669;
    --accent-purple: #7c3aed;
    --accent-rose: #e11d48;
    
    --glow-cyan: 0 4px 20px rgba(2, 132, 199, 0.15);
    --glow-emerald: 0 4px 20px rgba(5, 150, 105, 0.15);
    --glow-card: 0 8px 24px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --glow-card-hover: 0 16px 32px -4px rgba(2, 132, 199, 0.15), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;
    
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. Global Reset & Anti-Copy Baseline */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Proteksi Anti-Copy: Matikan seleksi teks */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Izinkan seleksi teks hanya pada input form agar user bisa mengetik */
input, textarea {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    user-select: text !important;
}

/* Proteksi Anti-Print: Sembunyikan konten jika ditekan Ctrl+P */
@media print {
    body {
        display: none !important;
    }
}

/* Background Modern Grid & Glow Pattern */
.cyber-bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(2, 132, 199, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(124, 58, 237, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(5, 150, 105, 0.05) 0%, transparent 50%),
        linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    pointer-events: none;
    z-index: -1;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

.text-gradient {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.font-mono {
    font-family: var(--font-mono);
}

/* Section Header Component */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-tag i {
    font-size: 0.8rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4);
    color: #ffffff;
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    background: #f8fafc;
    transform: translateY(-2px);
    color: var(--accent-cyan);
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
}

/* 2. Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.25rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.85rem 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.25rem;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-cyan);
    transition: var(--transition);
    border-radius: var(--radius-full);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* 3. Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 5rem;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.25);
    color: var(--accent-emerald);
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-mono);
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 10px rgba(5, 150, 105, 0.6);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -1px;
    margin-bottom: 1rem;
    line-height: 1.15;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.typing-cursor {
    display: inline-block;
    color: var(--accent-cyan);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-bio {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 560px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.stat-item h3 {
    font-size: 2.2rem;
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-weight: 800;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Hero Visual / Avatar Card */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.avatar-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.avatar-glow {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.15), rgba(124, 58, 237, 0.12));
    border-radius: var(--radius-lg);
    filter: blur(30px);
    z-index: 1;
}

.avatar-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--glow-card);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.avatar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.12);
}

.avatar-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(2, 132, 199, 0.04) 0%, rgba(248, 250, 252, 0.5) 60%, #ffffff 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.avatar-img-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.08));
    transition: transform var(--transition-normal);
}

.avatar-card:hover .avatar-img-box img {
    transform: scale(1.04);
}

/* Proteksi Gambar: Transparan Shield Overlay */
.img-shield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: transparent;
    cursor: default;
}

.tech-floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    z-index: 10;
}

.badge-top-left {
    top: 15px;
    left: -25px;
    animation: floatAnim 4s ease-in-out infinite;
}

.badge-bottom-right {
    bottom: 25px;
    right: -25px;
    animation: floatAnim 4s ease-in-out infinite 2s;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 4. Section: Services */
.services-section {
    padding: 6rem 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.25rem 2rem;
    box-shadow: var(--glow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    box-shadow: var(--glow-card-hover);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 5. Section: Skills */
.skills-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
}

.skill-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--glow-card);
}

.category-title {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--accent-cyan);
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.skill-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-name-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.skill-icon {
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

.skill-percent {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 700;
}

.skill-progress-bar {
    width: 100%;
    height: 7px;
    background: #e2e8f0;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.skill-progress-fill {
    height: 100%;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.3);
    transition: width 1.2s ease-in-out;
}

/* 6. Section: Projects Showcase (Modern Clean, Minimalist & Kekinian Light UI/UX) */
.projects-section {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.projects-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0.55rem 0.75rem;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
}

.project-filter-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: transparent;
    border: 1px solid transparent;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-tab .filter-count {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    background: #f1f5f9;
    color: #64748b;
    padding: 1px 7px;
    border-radius: 999px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.filter-tab:hover {
    background: #f8fafc;
    color: #0f172a;
}

.filter-tab.active {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
}

.filter-tab.active .filter-count {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.project-search-box {
    position: relative;
    min-width: 260px;
    flex: 0 1 300px;
}

.project-search-box i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.85rem;
    pointer-events: none;
}

.project-search-box input {
    width: 100%;
    padding: 0.52rem 0.9rem 0.52rem 2.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.85rem;
    font-family: var(--font-sans);
    transition: all 0.2s ease;
}

.project-search-box input:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.65rem;
}

.project-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #cbd5e1;
    box-shadow: 0 20px 38px -10px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(2, 132, 199, 0.06);
}

.project-img-wrapper {
    padding: 10px 10px 0 10px;
}

.project-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 13px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.project-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.project-card:hover .project-img-container img {
    transform: scale(1.035);
}

.project-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.28rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.9);
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    z-index: 6;
}

.project-category-badge .cat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    display: inline-block;
}

.project-media-pills {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
    display: flex;
    gap: 5px;
}

.media-pill {
    background: rgba(255, 255, 255, 0.92);
    color: #334155;
    border: 1px solid rgba(226, 232, 240, 0.85);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.07);
}

.media-pill-yt {
    color: #dc2626;
    background: rgba(255, 255, 255, 0.95);
}

.project-content {
    padding: 1.25rem 1.35rem 1.35rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    font-size: 0.76rem;
    color: #64748b;
}

.project-client {
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75%;
}

.project-client i {
    color: var(--accent-cyan);
    margin-right: 4px;
}

.project-year {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #64748b;
    background: #f8fafc;
    padding: 1px 7px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

.project-title {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.55rem;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.02rem;
}

.project-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-card:hover .project-title a {
    color: var(--accent-cyan);
}

.project-desc {
    color: #64748b;
    font-size: 0.86rem;
    margin-bottom: 1rem;
    line-height: 1.58;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
    margin-bottom: 1.15rem;
}

.tech-tag {
    padding: 0.22rem 0.6rem;
    border-radius: 7px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.73rem;
    font-weight: 600;
    color: #475569;
}

.tech-tag-more {
    background: #f0f9ff;
    border-color: #bae6fd;
    color: #0284c7;
    cursor: help;
}

.project-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding-top: 0.95rem;
    border-top: 1px solid #f1f5f9;
}

.project-btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.95rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.project-btn-detail i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.project-card:hover .project-btn-detail {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.project-card:hover .project-btn-detail i {
    transform: translateX(3px);
}

.project-Quick-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.project-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    height: 34px;
    padding: 0 0.7rem;
    border-radius: 9px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-wa-soft {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.btn-wa-soft:hover {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
}

.btn-demo-soft {
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
    padding: 0 0.65rem;
}

.btn-demo-soft:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

@media (max-width: 768px) {
    .projects-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .project-search-box {
        flex: 1 1 auto;
        width: 100%;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* 7. Section: Education & Experience Timeline */
.timeline-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.timeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.timeline-column-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.timeline-column-header i {
    color: var(--accent-cyan);
}

.timeline-track {
    position: relative;
    padding-left: 2rem;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 7px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-cyan) 0%, rgba(2, 132, 199, 0.2) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.25rem;
}

.timeline-dot {
    position: absolute;
    top: 6px;
    left: -2rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--accent-cyan);
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.4);
    z-index: 2;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--glow-card);
    transition: var(--transition);
}

.timeline-card:hover {
    border-color: var(--border-accent);
    transform: translateX(5px);
    box-shadow: var(--glow-card-hover);
}

.timeline-period {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    background: rgba(2, 132, 199, 0.08);
    border-radius: var(--radius-full);
    color: var(--accent-cyan);
    font-size: 0.78rem;
    font-family: var(--font-mono);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.timeline-item-title {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.timeline-institution {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* 8. Certifications & Testimonials */
.cert-testi-section {
    padding: 6rem 0;
    position: relative;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: var(--glow-card);
    transition: var(--transition);
}

.cert-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--glow-card-hover);
}

.cert-icon {
    font-size: 1.75rem;
    color: #d97706;
}

.cert-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.cert-issuer {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 9. Contact Form Section */
.contact-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--glow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-item-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.contact-item-val {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--accent-cyan);
    color: #ffffff;
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Contact Form Styling */
.contact-form-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--glow-card);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

/* Math Anti-Spam Captcha */
.captcha-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: #f8fafc;
    border: 1px dashed var(--border-accent);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.captcha-label {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--accent-cyan);
    font-weight: 800;
    white-space: nowrap;
}

/* 10. Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-subtle);
    background: #ffffff;
    text-align: center;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-sec-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.8rem;
    color: var(--accent-emerald);
    font-size: 0.8rem;
    font-family: var(--font-mono);
    font-weight: 700;
}

/* 11. Security Toast Alert (Anti-Copy Pop-up) */
#sec-toast-alert {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999999;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

#sec-toast-alert.sec-toast-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.sec-toast-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    background: #ffffff;
    border: 1px solid var(--accent-cyan);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15), 0 0 15px rgba(2, 132, 199, 0.15);
    max-width: 380px;
}

.sec-toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(2, 132, 199, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sec-toast-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--accent-cyan);
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.sec-toast-body {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* 12. Alert Status Messages */
.alert {
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.alert-danger {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
}

/* 13. Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle {
        justify-content: center;
    }
    .hero-bio {
        margin: 0 auto 2.5rem;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .timeline-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        gap: 2rem;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-toggle {
        display: block;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .tech-floating-badge {
        display: none;
    }
    #sec-toast-alert {
        left: 15px;
        right: 15px;
        bottom: 20px;
    }
    .sec-toast-card {
        max-width: 100%;
    }
}
