/* ========================================
   TUANVINN PORTFOLIO - DARK THEME WITH BLUE ACCENT
   ======================================== */

/* CSS Variables */
:root {
    --bg-primary: #000000;
    --bg-card: #0a0a0a;
    --bg-surface: #1c1c1c;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent: #7aa5c4;
    --accent-dim: rgba(122, 165, 196, 0.1);
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(28, 28, 28, 0.8);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

::selection {
    background: var(--accent-dim);
    color: var(--text-primary);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient {
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--accent);
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    transform: translateY(-100%);
    transition: transform 0.4s ease, background 0.3s ease;
}

.nav.visible {
    transform: translateY(0);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo .dot {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-cta {
    padding: 8px 20px;
    background: var(--accent);
    color: #000;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: #fff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.mobile-menu a {
    font-size: 24px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--accent);
}

.mobile-cta {
    padding: 12px 32px;
    background: var(--accent);
    color: #000;
    font-weight: 600;
    border-radius: 24px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: heroZoom 1.5s ease-out forwards;
}

@keyframes heroZoom {
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.4), var(--bg-primary));
}

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

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(122, 165, 196, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(122, 165, 196, 0); }
}

.hero-greeting {
    font-size: 20px;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-title {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.hero-subtitle {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-company {
    font-size: 18px;
    color: var(--accent);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.7s;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--accent);
    color: #000;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.hero-cta:hover {
    background: #fff;
    box-shadow: 0 0 30px rgba(122, 165, 196, 0.3);
}

.hero-cta svg {
    transition: transform 0.3s ease;
}

.hero-cta:hover svg {
    transform: translateY(3px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 18px;
}

.section-header .line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-top: 16px;
}

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

.section-header.center .line {
    margin: 16px auto 0;
}

.section-header.split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
}

.section-header.split p {
    max-width: 400px;
}

/* ========================================
   IDENTITY CARD SECTION
   ======================================== */
.identity {
    padding: 120px 24px;
    background: var(--bg-primary);
    position: relative;
}

.identity::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(122, 165, 196, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(122, 165, 196, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.id-card-container {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.id-card {
    max-width: 600px;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.id-card-inner {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.id-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(122, 165, 196, 0.05), transparent);
    transition: left 0.6s ease;
}

.id-card:hover .id-card-inner::before {
    left: 100%;
}

.id-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.id-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.id-logo svg {
    stroke: var(--accent);
}

.id-verified {
    padding: 4px 12px;
    background: var(--accent-dim);
    border: 1px solid rgba(122, 165, 196, 0.3);
    border-radius: 12px;
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
}

.id-card-body {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
}

.id-photo {
    position: relative;
    flex-shrink: 0;
}

.id-photo img {
    width: 160px;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
}

.photo-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--accent);
    border-style: solid;
}

.photo-corner.top-left {
    top: -8px;
    left: -8px;
    border-width: 2px 0 0 2px;
}

.photo-corner.bottom-right {
    bottom: -8px;
    right: -8px;
    border-width: 0 2px 2px 0;
}

.id-info {
    flex: 1;
}

.id-field {
    margin-bottom: 16px;
}

.id-field label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.id-field h3 {
    font-size: 28px;
    font-weight: 700;
}

.id-field p {
    font-size: 16px;
    color: var(--text-secondary);
}

.id-field p.highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
}

.id-field .mono {
    font-family: 'Courier New', monospace;
}

.id-row {
    display: flex;
    gap: 32px;
}

.id-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    margin: 24px 0;
}

.id-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.contact-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--accent);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-details .label {
    font-size: 11px;
    color: var(--text-muted);
}

.contact-details span:last-child {
    font-size: 13px;
    color: var(--text-secondary);
}

.id-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.id-footer p {
    font-size: 12px;
    color: var(--text-muted);
}

.qr-code {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: 120px 0;
    background: var(--bg-primary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 64px;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-lead {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.tag {
    padding: 8px 16px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tag:hover {
    background: var(--accent-dim);
    border-color: rgba(122, 165, 196, 0.3);
    color: var(--accent);
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
}

.image-frame img {
    width: 100%;
    border-radius: 20px;
}

.frame-decor {
    position: absolute;
    width: 80px;
    height: 80px;
    border-color: var(--accent);
    border-style: solid;
}

.frame-decor.top {
    top: -16px;
    right: -16px;
    border-width: 2px 2px 0 0;
    border-radius: 0 20px 0 0;
}

.frame-decor.bottom {
    bottom: -16px;
    left: -16px;
    border-width: 0 0 2px 2px;
    border-radius: 0 0 0 20px;
}

.exp-badge {
    position: absolute;
    bottom: 32px;
    left: 32px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 24px;
    backdrop-filter: blur(10px);
}

.exp-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
}

.exp-label {
    font-size: 12px;
    color: var(--text-muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.stat-card svg {
    margin: 0 auto 12px;
    stroke: var(--accent);
}

.stat-card h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects {
    padding: 120px 0;
    background: var(--bg-primary);
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 0;
    width: 400px;
    height: 400px;
    background: var(--accent-dim);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.project-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.project-item.reverse {
    direction: rtl;
}

.project-item.reverse > * {
    direction: ltr;
}

.project-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-image:hover img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-image:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-image:hover .project-link {
    transform: translateY(0);
}

.project-link:hover {
    background: var(--accent);
}

.project-content {
    padding: 24px 0;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.project-category {
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
}

.project-number {
    color: var(--text-muted);
    font-size: 14px;
}

.project-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.project-item:hover h3 {
    color: var(--accent);
}

.project-content > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.project-tags span {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 16px;
    font-size: 12px;
    color: var(--text-secondary);
}

.project-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 500;
    transition: gap 0.3s ease;
}

.project-cta:hover {
    gap: 12px;
}

.projects-footer {
    text-align: center;
    margin-top: 64px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--text-primary);
    transition: var(--transition);
}

.btn-outline:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills {
    padding: 120px 0;
    background: var(--bg-primary);
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: var(--accent-dim);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    position: relative;
    z-index: 1;
}

.skill-category {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.category-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.skill-category:nth-child(1) .category-dot {
    background: var(--accent);
}

.skill-category:nth-child(2) .category-dot {
    background: #60a5fa;
}

.skill-category:nth-child(3) .category-dot {
    background: #f472b6;
}

.skill-category:nth-child(4) .category-dot {
    background: #fbbf24;
}

.category-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-bar {
    position: relative;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-info span:first-child {
    font-size: 14px;
    color: var(--text-secondary);
}

.skill-info span:last-child {
    font-size: 14px;
    color: var(--text-muted);
}

.skill-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-category:nth-child(1) .skill-fill {
    background: var(--accent);
}

.skill-category:nth-child(2) .skill-fill {
    background: #60a5fa;
}

.skill-category:nth-child(3) .skill-fill {
    background: #f472b6;
}

.skill-category:nth-child(4) .skill-fill {
    background: #fbbf24;
}

.skills-legend {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-item:nth-child(1) .legend-dot {
    background: var(--accent);
}

.legend-item:nth-child(2) .legend-dot {
    background: #60a5fa;
}

.legend-item:nth-child(3) .legend-dot {
    background: #f472b6;
}

.legend-item:nth-child(4) .legend-dot {
    background: #fbbf24;
}

.legend-item span:last-child {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: 120px 0 0;
    background: var(--bg-primary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: var(--accent-dim);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    position: relative;
    z-index: 1;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.contact-card .contact-icon {
    width: 44px;
    height: 44px;
    color: var(--accent);
}

.contact-details {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-details .label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-details span:last-child {
    font-size: 15px;
    color: var(--text-primary);
}

.contact-card .arrow {
    color: var(--text-muted);
    opacity: 0;
    transition: var(--transition);
}

.contact-card:hover .arrow {
    opacity: 1;
    color: var(--accent);
}

.social-links {
    margin-bottom: 32px;
}

.social-links p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    border-color: rgba(122, 165, 196, 0.3);
}

.availability {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.avail-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.avail-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.avail-text {
    color: var(--accent);
    font-weight: 500;
}

.availability p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
}

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

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

.form-group label {
    font-size: 14px;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(122, 165, 196, 0.5);
    box-shadow: 0 0 0 3px rgba(122, 165, 196, 0.1);
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: #fff;
    box-shadow: 0 0 30px rgba(122, 165, 196, 0.3);
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translate(3px, -3px);
}

/* Footer */
.footer {
    margin-top: 120px;
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.footer-logo .dot {
    color: var(--accent);
}

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

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image {
        order: -1;
    }

    .image-frame {
        max-width: 400px;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .project-item,
    .project-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .project-item.reverse > * {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-container {
        padding: 10px 16px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .id-card-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .id-row {
        justify-content: center;
    }

    .id-contact {
        grid-template-columns: 1fr;
    }

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

    .skills-legend {
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .id-card-inner {
        padding: 20px;
    }

    .id-photo img {
        width: 120px;
        height: 150px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .skill-category {
        padding: 20px;
    }
}

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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