/* ============================================
   AHMED IBRAHIM — PORTFOLIO v4.0
   Image-Rich Cybersecurity Design
   Full Light/Dark Mode
   ============================================ */

/* ============================================
   1. VARIABLES
   ============================================ */
:root {
    --font-main: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --nav-h: 72px;
    --max-w: 1200px;
    --cyan: #00f5ff;
    --cyan-dim: #00b8d4;
    --purple: #a855f7;
    --purple-deep: #7c3aed;
    --blue: #3b82f6;
    --emerald: #10b981;
    --amber: #f59e0b;
    --rose: #f43f5e;
    --r-xl: 20px;
    --r-lg: 16px;
    --r-md: 12px;
    --r-sm: 8px;
    --r-full: 9999px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-1: #050810;
    --bg-2: #080c1a;
    --bg-3: #0c1225;
    --bg-alt: #0a0e1c;
    --glass-bg: rgba(12, 18, 40, 0.5);
    --glass-bg-hover: rgba(0, 245, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-border-hover: rgba(0, 245, 255, 0.2);
    --text-1: #f1f5f9;
    --text-2: #94a3b8;
    --text-3: #64748b;
    --text-muted: #475569;
    --accent-1: #00f5ff;
    --accent-2: #a855f7;
    --accent-gradient: linear-gradient(135deg, #00f5ff, #a855f7);
    --glow-1: rgba(0, 245, 255, 0.08);
    --glow-2: rgba(168, 85, 247, 0.06);
    --glow-strong: 0 0 30px rgba(0, 245, 255, 0.12);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --chip-bg: rgba(0, 245, 255, 0.06);
    --chip-border: rgba(0, 245, 255, 0.12);
    --chip-text: #00f5ff;
    --track-bg: rgba(255, 255, 255, 0.06);
    --input-bg: rgba(255, 255, 255, 0.03);
    --input-border: rgba(255, 255, 255, 0.08);
    --nav-bg: rgba(5, 8, 16, 0.5);
    --nav-bg-scroll: rgba(5, 8, 16, 0.88);
    --overlay: rgba(5, 8, 16, 0.85);
    --img-overlay: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(168, 85, 247, 0.1));
    --noise-opacity: 0.03;
}

/* Light Theme */
[data-theme="light"] {
    --bg-1: #f8fafc;
    --bg-2: #f1f5f9;
    --bg-3: #e2e8f0;
    --bg-alt: #eef2f7;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-bg-hover: rgba(124, 58, 237, 0.02);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-border-hover: rgba(124, 58, 237, 0.2);
    --text-1: #0f172a;
    --text-2: #475569;
    --text-3: #64748b;
    --text-muted: #94a3b8;
    --accent-1: #7c3aed;
    --accent-2: #3b82f6;
    --accent-gradient: linear-gradient(135deg, #7c3aed, #3b82f6);
    --glow-1: rgba(124, 58, 237, 0.06);
    --glow-2: rgba(59, 130, 246, 0.04);
    --glow-strong: 0 0 30px rgba(124, 58, 237, 0.08);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
    --chip-bg: rgba(124, 58, 237, 0.06);
    --chip-border: rgba(124, 58, 237, 0.12);
    --chip-text: #7c3aed;
    --track-bg: rgba(0, 0, 0, 0.06);
    --input-bg: rgba(0, 0, 0, 0.02);
    --input-border: rgba(0, 0, 0, 0.08);
    --nav-bg: rgba(248, 250, 252, 0.5);
    --nav-bg-scroll: rgba(248, 250, 252, 0.9);
    --overlay: rgba(248, 250, 252, 0.9);
    --img-overlay: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(59, 130, 246, 0.05));
    --noise-opacity: 0.015;
}

/* ============================================
   2. RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-1) var(--bg-1);
}
html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: var(--bg-1); }
html::-webkit-scrollbar-thumb { background: var(--accent-gradient); border-radius: 10px; }

body {
    font-family: var(--font-body);
    background: var(--bg-1);
    color: var(--text-1);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.6s ease, color 0.6s ease;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(0, 245, 255, 0.15); color: var(--text-1); }
[data-theme="light"] ::selection { background: rgba(124, 58, 237, 0.12); }

/* ============================================
   3. CURSOR GLOW
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, var(--glow-1), transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}
.cursor-glow.active { opacity: 1; }

/* ============================================
   4. BACKGROUNDS
   ============================================ */
#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.bg-noise {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: var(--noise-opacity);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ============================================
   5. GLASS CARD
   ============================================ */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-radius: var(--r-xl);
    transition: all 0.4s var(--ease);
}
.glass:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-lg), var(--glow-strong);
    transform: translateY(-4px);
}

/* ============================================
   6. NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: var(--nav-bg-scroll);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-card);
}

.nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.3s var(--ease-bounce);
}
.nav-logo:hover { transform: scale(1.05); }

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--r-md);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.logo-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}
.nav-link {
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-3);
    border-radius: var(--r-sm);
    transition: all 0.3s ease;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
    transform: translateX(-50%);
}
.nav-link:hover { color: var(--accent-1); }
.nav-link:hover::after { width: 50%; }
.nav-link.active { color: var(--accent-1); background: var(--chip-bg); font-weight: 600; }
.nav-link.active::after { width: 40%; }

.nav-actions { display: flex; align-items: center; gap: 8px; }

/* ============================================
   7. THEME TOGGLE
   ============================================ */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.theme-toggle:hover {
    border-color: var(--glass-border-hover);
    color: var(--accent-1);
    box-shadow: var(--glow-strong);
    transform: rotate(20deg);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: all 0.5s var(--ease);
}
[data-theme="dark"] .icon-sun { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="dark"] .icon-moon { opacity: 0; transform: rotate(180deg) scale(0); }
[data-theme="light"] .icon-sun { opacity: 0; transform: rotate(-180deg) scale(0); }
[data-theme="light"] .icon-moon { opacity: 1; transform: rotate(0) scale(1); }

/* ============================================
   8. HAMBURGER & MOBILE
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    z-index: 1002;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-1);
    border-radius: 2px;
    transition: all 0.35s var(--ease);
    transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.mobile-overlay.show { opacity: 1; }

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-2);
    border-left: 1px solid var(--glass-border);
    z-index: 999;
    transition: right 0.45s var(--ease);
    padding: 2rem 1.5rem;
    overflow-y: auto;
}
.mobile-menu.open { right: 0; }

.mobile-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}
.mobile-logo { font-family: var(--font-main); font-size: 1.2rem; font-weight: 700; }

.mobile-link {
    display: block;
    padding: 14px 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-2);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}
.mobile-link:hover { color: var(--accent-1); padding-left: 16px; }

/* ============================================
   9. HERO
   ============================================ */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    text-align: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.08;
    filter: blur(2px);
    transition: opacity 0.6s ease;
}
[data-theme="light"] .hero-bg-img img { opacity: 0.04; }

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--bg-1) 0%, transparent 30%, transparent 70%, var(--bg-1) 100%);
}

.hero-content { max-width: 850px; position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: var(--r-full);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--chip-text);
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    margin-bottom: 2rem;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

.hero-greeting {
    display: block;
    font-family: var(--font-mono);
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    font-weight: 500;
    color: var(--accent-1);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-name {
    display: block;
    font-family: var(--font-main);
    font-size: clamp(3.5rem, 10vw, 7.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -4px;
}

.hero-name-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}
.hero-name-accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    opacity: 0.25;
}

.hero-title { margin-bottom: 1.5rem; }

.hero-typing {
    font-family: var(--font-mono);
    font-size: clamp(0.78rem, 1.5vw, 1rem);
    color: var(--accent-1);
    margin-bottom: 1.5rem;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.typing-arrow { color: var(--accent-2); font-weight: 700; }
.typing-cursor { animation: blink 0.7s step-end infinite; font-weight: 200; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-2);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.85;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-socials {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   10. BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--r-md);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-main);
    border: none;
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    cursor: pointer;
}
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}
.btn:hover::after { left: 100%; }

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 245, 255, 0.2);
}
[data-theme="light"] .btn-primary {
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.2);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px rgba(0, 245, 255, 0.3);
}
[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 8px 40px rgba(124, 58, 237, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text-1);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    border-color: var(--glass-border-hover);
    color: var(--accent-1);
    background: var(--chip-bg);
    transform: translateY(-3px);
    box-shadow: var(--glow-strong);
}

.btn-sm { padding: 10px 22px; font-size: 0.82rem; }
.btn-full { width: 100%; justify-content: center; }

/* GitHub Button */
.btn-github {
    background: transparent;
    color: var(--text-1);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
.btn-github::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #333, #24292e);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}
.btn-github:hover {
    border-color: #6e7681;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(110, 118, 129, 0.25), 0 8px 30px rgba(0, 0, 0, 0.2);
}
.btn-github:hover::before { opacity: 1; }
.btn-github svg { position: relative; z-index: 1; }
.btn-github span { position: relative; z-index: 1; }

[data-theme="light"] .btn-github:hover {
    box-shadow: 0 0 20px rgba(36, 41, 46, 0.15), 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Featured Project Buttons Group */
.fp-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* Project Card Overlay Buttons */
.pc-overlay-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.pc-overlay-buttons .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.pc-overlay-buttons .btn-ghost:hover {
    border-color: #00f5ff;
    color: #00f5ff;
    background: rgba(0, 245, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.25);
}
[data-theme="light"] .pc-overlay-buttons .btn-ghost:hover {
    border-color: #a78bfa;
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.15);
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.25);
}
.pc-overlay-buttons .btn-github {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.pc-overlay-buttons .btn-github:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}
[data-theme="light"] .pc-overlay-buttons .btn-github:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* ============================================
   11. SOCIAL BUTTONS
   ============================================ */
.social-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-3);
    background: var(--glass-bg);
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}
.social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.social-btn:hover {
    border-color: var(--glass-border-hover);
    color: #fff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--glow-strong);
}
.social-btn:hover::before { opacity: 0.12; }
.social-btn svg { position: relative; z-index: 1; }

/* Social Button with Label */
.social-btn {
    flex-direction: column;
    width: auto;
    min-width: 72px;
    height: auto;
    padding: 14px 18px;
    gap: 6px;
}
.social-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}
.social-btn:hover .social-label {
    color: var(--accent-1);
}

/* Info Card Link */
.info-card-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    text-decoration: none;
    color: inherit;
}
.info-card-link:hover .info-value {
    color: var(--accent-1);
}

/* ============================================
   12. SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}
.scroll-indicator span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    font-weight: 500;
}
.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid var(--glass-border);
    border-radius: 14px;
    position: relative;
    display: flex;
    justify-content: center;
}
.scroll-dot {
    width: 3px;
    height: 8px;
    border-radius: 3px;
    background: var(--accent-1);
    margin-top: 6px;
    animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.2; }
}

/* ============================================
   13. SECTIONS COMMON
   ============================================ */
.section {
    position: relative;
    z-index: 1;
    padding: 120px 2rem;
}
.section-alt {
    background: var(--bg-alt);
    transition: background 0.6s ease;
}
.container { max-width: var(--max-w); margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--chip-text);
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    padding: 7px 20px;
    border-radius: var(--r-sm);
    margin-bottom: 1rem;
}
.section-title {
    font-family: var(--font-main);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}
.section-line {
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 3px;
    margin: 0 auto;
}
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   14. ANIMATIONS
   ============================================ */
.anim-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--delay, 0s);
}
.anim-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.anim-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.anim-up.visible,
.anim-left.visible,
.anim-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================================
   15. ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 2.5rem;
    align-items: start;
}

.about-image-wrap {
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
}

.about-image {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s var(--ease);
}
.about-image:hover img { transform: scale(1.05); }

.image-border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid transparent;
    background: var(--accent-gradient) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.4;
    transition: opacity 0.4s ease;
}
.about-image:hover .image-border { opacity: 1; }

.image-scanline {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
    opacity: 0.35;
    animation: scan 3.5s linear infinite;
    pointer-events: none;
}
@keyframes scan { 0% { top: -2px; } 100% { top: 100%; } }

.image-glitch {
    position: absolute;
    inset: 0;
    background: var(--img-overlay);
    pointer-events: none;
    mix-blend-mode: overlay;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 1rem;
    width: 100%;
}
.stat-card {
    padding: 0.85rem 0.4rem;
    text-align: center;
    border-radius: var(--r-md) !important;
}
.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    font-family: var(--font-mono);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.stat-label {
    font-size: 0.58rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
    margin-top: 3px;
    display: block;
    line-height: 1.3;
}

.about-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-1);
    margin-bottom: 0.85rem;
    letter-spacing: 0.5px;
}
.about-label svg { color: var(--accent-1); }

.about-text {
    color: var(--text-2);
    margin-bottom: 0.75rem;
    line-height: 1.7;
    font-size: 0.88rem;
}
.about-text:last-of-type {
    margin-bottom: 1.25rem;
}
.about-text strong { color: var(--text-1); font-weight: 600; }

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 0;
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: var(--r-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.35s var(--ease);
}
.highlight-item:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-3px);
    box-shadow: var(--glow-strong);
}
.highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    overflow: hidden;
    flex-shrink: 0;
}
.highlight-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.highlight-item h4 {
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.3;
}
.highlight-item p {
    font-size: 0.72rem;
    color: var(--text-3);
    line-height: 1.45;
}

/* ============================================
   16. EDUCATION TIMELINE
   ============================================ */
.timeline {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding-left: 50px;
}
.timeline-line {
    position: absolute;
    left: 17px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-1), var(--accent-2));
    opacity: 0.15;
    border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -40px;
    top: 28px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bg-1);
    border: 2px solid var(--accent-1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.5s ease;
}
[data-theme="light"] .timeline-dot { background: var(--bg-1); border-color: var(--accent-1); }

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

.timeline-card { overflow: hidden; padding: 0; }

.timeline-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.timeline-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.timeline-card:hover .timeline-img img { transform: scale(1.08); }

.timeline-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, var(--bg-1) 100%);
    pointer-events: none;
}

.timeline-year-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent-gradient);
    padding: 5px 14px;
    border-radius: var(--r-sm);
    z-index: 3;
}

/* Timeline Image Hover Overlay */
.timeline-img-hover {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 16, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2;
}
[data-theme="light"] .timeline-img-hover {
    background: rgba(15, 23, 42, 0.78);
}
.timeline-card:hover .timeline-img-hover {
    opacity: 1;
}
.timeline-img-hover .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.timeline-img-hover .btn-ghost:hover {
    border-color: #00f5ff;
    color: #00f5ff;
    background: rgba(0, 245, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.25);
}
[data-theme="light"] .timeline-img-hover .btn-ghost:hover {
    border-color: #a78bfa;
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.15);
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.25);
}

.timeline-body { padding: 1.75rem; }
.timeline-body h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 0.4rem; }
.timeline-place { color: var(--accent-1); font-size: 0.88rem; font-weight: 500; margin-bottom: 0.5rem; }
.timeline-desc { color: var(--text-2); font-size: 0.88rem; line-height: 1.65; }

.gpa-badge {
    display: inline-block;
    margin-top: 0.85rem;
    padding: 6px 18px;
    background: var(--accent-gradient);
    border-radius: var(--r-sm);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
}

/* ============================================
   17. EXPERIENCE
   ============================================ */
.exp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}
.exp-card { overflow: hidden; padding: 0; }

.exp-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.exp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.exp-card:hover .exp-img img { transform: scale(1.08); }

.exp-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, var(--bg-1) 100%);
    pointer-events: none;
}
.exp-number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    opacity: 0.3;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.exp-body { padding: 1.5rem; }
.exp-body h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.3rem; }
.exp-company { display: block; color: var(--accent-1); font-size: 0.85rem; font-weight: 500; margin-bottom: 0.6rem; }
.exp-body p { color: var(--text-2); font-size: 0.85rem; line-height: 1.65; }

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 1rem;
}
.exp-tags span {
    padding: 4px 12px;
    border-radius: var(--r-full);
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--chip-bg);
    color: var(--accent-2);
    border: 1px solid var(--chip-border);
    transition: all 0.25s ease;
}
.exp-tags span:hover { border-color: var(--accent-2); transform: translateY(-2px); }

/* ============================================
   18. PROJECTS
   ============================================ */
.featured-project {
    overflow: hidden;
    padding: 0;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.fp-image {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}
.fp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.featured-project:hover .fp-image img { transform: scale(1.06); }

.fp-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 60%, var(--bg-1) 100%);
    pointer-events: none;
}

.fp-award {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--amber), var(--rose));
    border-radius: var(--r-sm);
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    animation: awardPulse 3s infinite;
}
@keyframes awardPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 20px 4px rgba(245, 158, 11, 0.1); }
}

.fp-content { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.fp-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--chip-text);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.75rem;
}
.fp-content h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.3; letter-spacing: -0.5px; }
.fp-content p { color: var(--text-2); margin-bottom: 1.5rem; line-height: 1.85; font-size: 0.92rem; }

.fp-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}
.fp-features span {
    padding: 6px 14px;
    border-radius: var(--r-sm);
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--chip-bg);
    color: var(--chip-text);
    border: 1px solid var(--chip-border);
    transition: all 0.25s ease;
}
.fp-features span:hover { border-color: var(--glass-border-hover); transform: translateY(-2px); }

.fp-accuracy { margin-bottom: 1.75rem; }
.accuracy-info { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 8px; }
.accuracy-val { font-weight: 700; font-family: var(--font-mono); color: var(--accent-1); }
.accuracy-track {
    height: 8px;
    background: var(--track-bg);
    border-radius: 4px;
    overflow: hidden;
}
.accuracy-fill {
    height: 100%;
    width: 0;
    background: var(--accent-gradient);
    border-radius: 4px;
    transition: width 2s var(--ease);
    position: relative;
}
.accuracy-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 14px;
    height: 100%;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    filter: blur(4px);
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.project-card { overflow: hidden; padding: 0; }

.pc-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.pc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.project-card:hover .pc-image img { transform: scale(1.08); }

.pc-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 16, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(6px);
}
[data-theme="light"] .pc-overlay {
    background: rgba(15, 23, 42, 0.78);
}
.project-card:hover .pc-overlay { opacity: 1; }

.pc-body { padding: 1.5rem; }
.pc-body h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.pc-body p { color: var(--text-2); font-size: 0.85rem; line-height: 1.65; }

.pc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 1rem;
}
.pc-tags span {
    padding: 3px 10px;
    border-radius: var(--r-full);
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--chip-bg);
    color: var(--chip-text);
    border: 1px solid var(--chip-border);
}

/* ============================================
   19. SKILLS
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.cat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
}
.cat-icon-img {
    width: 42px;
    height: 42px;
    border-radius: var(--r-sm);
    object-fit: cover;
    border: 1px solid var(--glass-border);
}
.cat-header h3 { font-size: 1.15rem; font-weight: 700; }

/* Technical Skill Icon Cards */
.tech-skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.tech-card {
    padding: 1.4rem 1rem;
    text-align: center;
    border-radius: var(--r-lg) !important;
    position: relative;
    overflow: hidden;
}
.tech-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}
.tech-card:hover::before {
    opacity: 0.04;
}
.tech-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: var(--r-md);
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
    color: var(--accent-1);
    transition: all 0.4s var(--ease);
    position: relative;
    z-index: 1;
}
.tech-card:hover .tech-icon-wrap {
    box-shadow: var(--glow-strong), 0 0 20px var(--glow-1);
    border-color: var(--glass-border-hover);
    transform: scale(1.12) rotate(5deg);
    background: var(--chip-bg);
}
.tech-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 3px;
    position: relative;
    z-index: 1;
}
.tech-card p {
    font-size: 0.7rem;
    color: var(--text-3);
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.soft-skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.soft-card { padding: 1.5rem 1rem; text-align: center; border-radius: var(--r-lg) !important; }

.soft-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: var(--r-md);
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
    color: var(--accent-1);
    transition: all 0.35s var(--ease);
}
.soft-card:hover .soft-icon-wrap {
    box-shadow: var(--glow-strong);
    border-color: var(--glass-border-hover);
    transform: scale(1.1) rotate(5deg);
}
.soft-card h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 2px; }
.soft-card p { font-size: 0.72rem; color: var(--text-3); }

/* Radial Progress */
.radial-section { margin-top: 2rem; }
.radial-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.radial-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; justify-items: center; }
.radial-item { display: flex; flex-direction: column; align-items: center; position: relative; }
.radial-svg { width: 80px; height: 80px; transform: rotate(-90deg); }
.radial-bg { fill: none; stroke: var(--track-bg); stroke-width: 5; }
.radial-fill {
    fill: none;
    stroke: var(--accent-1);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 263.9;
    stroke-dashoffset: 263.9;
    transition: stroke-dashoffset 2s var(--ease);
    filter: drop-shadow(0 0 8px var(--glow-1));
}
.radial-val {
    position: absolute;
    top: 26px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-1);
}
.radial-label { font-size: 0.7rem; color: var(--text-muted); margin-top: 8px; font-weight: 500; text-align: center; }

/* ============================================
   20. ACHIEVEMENTS
   ============================================ */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.award-card { overflow: hidden; padding: 0; }

.award-img {
    position: relative;
    height: 160px;
    overflow: hidden;
}
.award-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.award-card:hover .award-img img { transform: scale(1.08); }

.award-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, var(--bg-1) 100%);
    pointer-events: none;
}

.award-body { padding: 1.5rem; text-align: center; position: relative; }
.award-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--r-md);
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -40px auto 1rem;
    color: var(--accent-1);
    position: relative;
    z-index: 2;
    transition: all 0.35s var(--ease);
}
.award-card:hover .award-icon {
    box-shadow: var(--glow-strong);
    transform: scale(1.1) rotate(5deg);
}
.award-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.award-body p { color: var(--text-2); font-size: 0.85rem; line-height: 1.65; }

/* Counters */
.counters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.counter-card { padding: 2rem; text-align: center; }
.counter-num {
    font-size: 3rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-mono);
    line-height: 1.1;
}
.counter-plus {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.counter-label { display: block; color: var(--text-2); font-size: 0.85rem; margin-top: 8px; font-weight: 500; }

/* ============================================
   21. CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}
.contact-info {
    display: flex;
    flex-direction: column;
}
.contact-info h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.65rem; letter-spacing: -0.5px; }
.contact-info > p { color: var(--text-2); margin-bottom: 1.25rem; line-height: 1.75; font-size: 0.9rem; }

.contact-image {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 1.25rem;
    height: 140px;
}
.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.contact-image:hover img { transform: scale(1.05); }
.contact-image-overlay {
    position: absolute;
    inset: 0;
    background: var(--img-overlay);
    pointer-events: none;
}

.info-cards { 
    display: flex; 
    flex-direction: column; 
    gap: 8px;
    flex: 1;
}
.info-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: var(--r-md) !important;
}
.info-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    flex-shrink: 0;
    transition: all 0.35s var(--ease);
}
.info-card:hover .info-icon { box-shadow: var(--glow-strong); transform: scale(1.08); }
.info-label { display: block; font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 1px; }
.info-value { font-weight: 500; font-size: 0.82rem; transition: color 0.3s ease; }

/* Contact Form */
.contact-form-wrap {
    display: flex;
    flex-direction: column;
}
.contact-form { 
    padding: 2rem; 
    flex: 1;
    display: flex;
    flex-direction: column;
}
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--r-md);
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--text-1);
    font-family: var(--font-body);
    font-size: 0.88rem;
    transition: all 0.35s ease;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 4px var(--glow-1), var(--glow-strong);
}
.form-group textarea { resize: vertical; min-height: 100px; flex: 1; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group:last-of-type { flex: 1; display: flex; flex-direction: column; }
.contact-form .btn { margin-top: auto; }

/* ============================================
   22. FOOTER
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-alt);
    transition: background 0.6s ease;
}
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2.5rem 2rem 1.5rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.82rem; margin-top: 0.25rem; }
.footer-logo { font-family: var(--font-main); font-size: 1.15rem; font-weight: 700; }

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
    font-size: 0.85rem;
    color: var(--text-3);
    font-weight: 500;
    transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--accent-1); }

.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s var(--ease);
}
.footer-socials a:hover {
    border-color: var(--glass-border-hover);
    color: var(--accent-1);
    transform: translateY(-3px);
    box-shadow: var(--glow-strong);
}

.footer-bottom {
    text-align: center;
    padding: 1.25rem 2rem;
    border-top: 1px solid var(--glass-border);
}
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }

/* ============================================
   23. RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-image-wrap { max-width: 280px; margin: 0 auto; position: static; }
    .about-image { aspect-ratio: 1 / 1; }
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .about-highlights { grid-template-columns: 1fr 1fr; }
    .skills-grid { grid-template-columns: 1fr; gap: 3rem; }
    .featured-project { grid-template-columns: 1fr; }
    .fp-image { min-height: 280px; }
    .fp-image-overlay { background: linear-gradient(180deg, transparent 50%, var(--bg-1) 100%); }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-info { order: 1; }
    .contact-form-wrap { order: 2; }
    .contact-image { height: 120px; }
}

@media (max-width: 768px) {
    .section { padding: 80px 1.5rem; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: block; }
    .exp-grid { grid-template-columns: 1fr; }
    .project-grid { grid-template-columns: 1fr; }
    .hero-name { font-size: 3.2rem; letter-spacing: -2px; }
    .counters-row { grid-template-columns: 1fr 1fr; }
    .about-highlights { grid-template-columns: 1fr 1fr; gap: 10px; }
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
    .cursor-glow { display: none; }
}

@media (max-width: 480px) {
    .section { padding: 60px 1rem; }
    .hero { padding: 0 1rem; }
    .hero-name { font-size: 2.6rem; letter-spacing: -1px; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { justify-content: center; }
    .about-image-wrap { max-width: 220px; }
    .about-image { aspect-ratio: 1 / 1; }
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 5px; }
    .stat-card { padding: 0.75rem 0.4rem; }
    .stat-number { font-size: 1.25rem; }
    .stat-label { font-size: 0.58rem; }
    .about-highlights { grid-template-columns: 1fr; gap: 8px; }
    .highlight-item { padding: 12px; gap: 10px; }
    .highlight-icon { width: 40px; height: 40px; }
    .highlight-item h4 { font-size: 0.8rem; }
    .highlight-item p { font-size: 0.7rem; }
    .tech-skills-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .soft-skills-grid { grid-template-columns: 1fr; }
    .radial-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
    .radial-svg { width: 70px; height: 70px; }
    .radial-val { top: 22px; font-size: 0.8rem; }
    .radial-label { font-size: 0.65rem; margin-top: 6px; }
    .awards-grid { grid-template-columns: 1fr; }
    .counters-row { grid-template-columns: 1fr 1fr; }
    .contact-form { padding: 1.25rem; }
    .contact-image { height: 100px; }
    .info-card { padding: 0.85rem; }
    .info-icon { width: 36px; height: 36px; }
    .info-value { font-size: 0.78rem; }
    .info-label { font-size: 0.6rem; }
    .timeline { padding-left: 38px; }
    .timeline-dot { left: -30px; width: 18px; height: 18px; }
    .nav-container { padding: 0 1rem; }
    .fp-content { padding: 1.5rem; }
    .hero-badge { font-size: 0.65rem; padding: 8px 16px; }
}

@media (max-width: 360px) {
    .hero-name { font-size: 2.2rem; }
    .counter-num { font-size: 2.2rem; }
    .stat-number { font-size: 1.4rem; }
}
