/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg-dark: #020205; /* Deep Void Space */
    --bg-card: rgba(10, 11, 22, 0.7);
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(255, 209, 102, 0.35); /* Starlight Gold Glow */
    --color-primary: #00b4d8; /* Cosmic Blue */
    --color-secondary: #ffd166; /* Starlight Gold */
    --color-purple: #7209b7; /* Nebula Violet */
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --font-primary: 'Outfit', sans-serif;
    --glow-primary: 0 0 20px rgba(0, 180, 216, 0.4);
    --glow-secondary: 0 0 20px rgba(255, 209, 102, 0.4);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Starry Night Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -2;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 160px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 80px 120px, var(--color-secondary), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 110px 220px, #fff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 150px 30px, #fff, rgba(0,0,0,0));
    background-size: 250px 250px;
    opacity: 0.4;
    animation: starTwinkle 8s linear infinite;
}

.stars2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -2;
    background-image: 
        radial-gradient(1.5px 1.5px at 10px 10px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 70px 40px, var(--color-secondary), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 120px 90px, var(--color-primary), rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 200px 150px, #fff, rgba(0,0,0,0));
    background-size: 350px 350px;
    opacity: 0.3;
    animation: starTwinkle 12s linear infinite reverse;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Background Animated Nebulae */
.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.15;
    animation: drift 20s infinite alternate ease-in-out;
    pointer-events: none;
}

.nebula-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-purple), transparent);
    top: -100px;
    left: -100px;
}

.nebula-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-primary), transparent);
    top: 30%;
    right: -150px;
    animation-delay: 3s;
}

.nebula-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--color-secondary), transparent);
    bottom: 10%;
    left: -100px;
    animation-delay: 6s;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-purple) 50%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cyan { color: var(--color-primary); }
.text-purple { color: var(--color-purple); }
.text-pink { color: var(--color-secondary); }

/* Glassmorphism Card Style */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-purple) 100%);
    color: #020205;
    font-weight: 700;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--glow-secondary);
    transform: translateY(-2px);
}

/* Navigation Header */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(2, 2, 5, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--color-primary);
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Sections General Layout */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding-top: 150px;
    gap: 40px;
}

.welcome-tag {
    background: rgba(0, 180, 216, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(0, 180, 216, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.05);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Interactive 3D Orbiting Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.visual-box {
    width: 300px;
    height: 300px;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-purple) 50%, var(--color-secondary) 100%);
    box-shadow: 0 0 35px rgba(0, 180, 216, 0.25), 0 0 60px rgba(114, 9, 183, 0.2);
    transform-style: preserve-3d;
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    cursor: grab;
}

.visual-box:active {
    cursor: grabbing;
}

.visual-inner {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background: #030308;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateZ(25px);
    transition: background 0.3s ease;
}

.visual-icon {
    font-size: 5.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 180, 216, 0.3));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Diagonal Orbit Ring */
.visual-box::after {
    content: '';
    position: absolute;
    width: 140%;
    height: 35%;
    border: 2px dashed rgba(255, 209, 102, 0.35);
    border-radius: 50%;
    top: 32.5%;
    left: -20%;
    transform: rotate(-18deg) translateZ(-10px);
    pointer-events: none;
    animation: orbitRotation 25s linear infinite;
    box-shadow: 0 0 10px rgba(255, 209, 102, 0.1);
}

@keyframes orbitRotation {
    to { transform: rotate(-18deg) translateZ(-10px) rotate(360deg); }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr 0.8fr;
    gap: 30px;
    align-items: stretch;
}

.about-img-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    height: 100%;
    min-width: 0; /* Prevents grid blowout */
}

.about-img-wrapper {
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 420px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.about-img-card:hover .about-img-wrapper img {
    transform: scale(1.05);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.scholarship-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 209, 102, 0.1);
    border: 1px solid rgba(255, 209, 102, 0.25);
    padding: 8px 18px;
    border-radius: 12px;
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.scholarship-tag i {
    font-size: 1.1rem;
}

.about-info-grid {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
}

.info-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.info-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 5px;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-top: 15px;
    font-weight: 500;
}

.skill-level {
    color: var(--color-primary);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.progress {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-purple));
    transform-origin: left;
    transition: transform 1s ease-out;
}

/* Extra Info block (Sertifikasi & Bahasa) */
.extra-info-block h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 4px;
}

.cert-list, .lang-list {
    list-style: none;
    padding-left: 0;
}

.cert-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.cert-list li i {
    font-size: 0.95rem;
    margin-top: 2px;
}

.lang-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Tools Section Styling */
.tools-grid-custom {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.tool-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    gap: 12px;
    text-align: center;
}

.tool-icon {
    font-size: 2.8rem;
    transition: transform 0.3s ease;
}

.tool-badge:hover .tool-icon {
    transform: scale(1.15) rotate(5deg);
}

.tool-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Education Section Styling */
.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.education-card {
    display: flex;
    flex-direction: column;
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.edu-icon {
    font-size: 1.8rem;
    color: var(--color-primary);
}

.edu-period {
    font-size: 0.85rem;
    color: var(--color-secondary);
    font-weight: 700;
    letter-spacing: 1px;
}

.education-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.edu-major {
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 5px;
}

.edu-inst {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.edu-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.edu-tag {
    background: rgba(255, 209, 102, 0.08);
    border: 1px solid rgba(255, 209, 102, 0.2);
    color: var(--color-secondary);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.edu-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
    color: var(--color-primary);
}

.edu-orgs {
    list-style: none;
    padding-left: 0;
}

.edu-orgs li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    position: relative;
    padding-left: 15px;
}

.edu-orgs li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* Experience Section (Timeline) */
.timeline {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-purple), var(--color-secondary));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background: transparent;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    width: 18px;
    height: 18px;
    position: absolute;
    background: var(--color-primary);
    border: 4px solid var(--bg-dark);
    border-radius: 50%;
    z-index: 2;
    top: 28px;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -9px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -9px;
    background: var(--color-secondary);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: var(--glow-primary);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-item:nth-child(even) .timeline-date {
    color: var(--color-secondary);
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.timeline-content h5 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.exp-details {
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.exp-details li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Projects Section */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-primary);
    color: #020205;
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    transition: all 0.5s ease;
}

.project-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative; /* Needed for overlay */
}

/* Overlay gradient di atas foto untuk kesan premium */
.project-img-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(2, 2, 5, 0) 40%,
        rgba(2, 2, 5, 0.6) 100%
    );
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-img-container::after {
    opacity: 0.5;
}

/* Foto proyek */
.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.gradient-cyan-purple {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-purple) 100%);
}

.gradient-purple-pink {
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-secondary) 100%);
}

.gradient-pink-cyan {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}

.project-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.project-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-links {
    display: flex;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.project-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--color-primary);
}

/* Kartu proyek lebar penuh (untuk kartu ke-5 agar center di baris bawah) */
.project-card-wide {
    grid-column: 1 / -1; /* Memenuhi seluruh lebar grid */
    flex-direction: row; /* Gambar di kiri, info di kanan */
}

.project-card-wide .project-img-container {
    width: 320px;
    min-width: 320px;
    height: 100%;
    min-height: 220px;
    flex-shrink: 0;
}

.project-card-wide .project-info {
    padding: 30px;
}

.project-card-wide h3 {
    font-size: 1.5rem;
}

.project-card-wide p {
    font-size: 1rem;
}

/* Instagram link style */
.project-link .fa-instagram {
    color: var(--color-secondary);
}

@media (max-width: 768px) {
    .project-card-wide {
        flex-direction: column;
    }

    .project-card-wide .project-img-container {
        width: 100%;
        min-width: unset;
        height: 160px;
    }
}

/* Publications Section Styling */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.publication-item {
    display: flex;
    gap: 20px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.pub-icon {
    font-size: 1.8rem;
    color: var(--color-primary);
    width: 50px;
    height: 50px;
    background: rgba(0, 180, 216, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.publication-item:hover .pub-icon {
    background: var(--color-primary);
    color: #020205;
    box-shadow: var(--glow-primary);
}

.pub-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.publication-item:hover .pub-info h3 {
    color: var(--color-primary);
}

.pub-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pub-more-container {
    text-align: center;
    margin-top: 40px;
}

/* Achievements Section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.achievement-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.achievement-icon {
    font-size: 2rem;
    width: 55px;
    height: 55px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: var(--color-primary);
}

.achievement-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.achievement-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--color-primary);
    width: 40px;
    height: 40px;
    background: rgba(0, 180, 216, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #020205;
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-primary);
}

.btn-submit {
    align-self: flex-start;
    border: none;
    outline: none;
}

.form-status {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 10px;
}

.form-status.success {
    color: #4ade80;
}

.form-status.error {
    color: #f87171;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Initial reveal animations for Hero */
.animate-reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: revealAnim 0.8s ease-out forwards;
}

.hero-title.animate-reveal { animation-delay: 0.2s; }
.hero-subtitle.animate-reveal { animation-delay: 0.4s; }
.hero-description.animate-reveal { animation-delay: 0.6s; }
.hero-buttons.animate-reveal { animation-delay: 0.8s; }
.hero-visual.animate-reveal { animation-delay: 1s; }

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

/* Media Queries (Responsive Design) */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 120px;
        text-align: center;
        gap: 50px;
    }
    
    .hero-description {
        margin: 0 auto 30px auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-info-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .tools-grid-custom {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        gap: 15px;
        text-align: center;
    }
    
    .nav-links.mobile-active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .about-info-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 55px;
        padding-right: 15px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 22px !important;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tools-grid-custom {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ─── Parallax section depth indicator lines ─── */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(0, 180, 216, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

