:root {
    --bg: #0F1020;
    --bg-secondary: #171A28;
    --card: #1F2233;
    --card-hover: #24273A;
    --text: #FFFFFF;
    --text-secondary: #B8BED2;
    --accent: #8B5CF6;
    --accent-hover: #A78BFA;
    --accent-secondary: #C4B5FD;
    --accent-glow: rgba(139, 92, 246, 0.15);
    --accent-subtle: rgba(139, 92, 246, 0.06);
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(139, 92, 246, 0.2);
    --white: #FFFFFF;

    --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    --container: 1160px;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.2);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.25);
    --shadow-glow: 0 8px 30px rgba(139, 92, 246, 0.3);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --fast: 0.25s var(--ease);
    --base: 0.4s var(--ease);
    --slow: 0.7s var(--ease);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
    font-family: var(--font);
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--white); }

a { text-decoration: none; color: inherit; transition: color var(--fast); }

img { max-width: 100%; display: block; }

ul { list-style: none; }

/* ========== SCROLL PROGRESS ========== */
.scroll-progress {
    position: fixed; top: 0; left: 0; width: 0%; height: 2px;
    background: var(--accent); z-index: 1001; transition: width 0.1s linear;
}

/* ========== CONTAINER ========== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 120px 0; position: relative; }

.section--alt { background: var(--bg-secondary); }

/* Section dividers */
.section::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.section:last-of-type::after { display: none; }

/* ========== TYPOGRAPHY ========== */
.section-label {
    font-size: 11px; font-weight: 600; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--accent); display: inline-block;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(30px, 4vw, 44px); font-weight: 700;
    line-height: 1.2; color: var(--text); margin-bottom: 18px;
}

.section-desc {
    font-size: 17px; font-weight: 300; color: var(--text-secondary);
    max-width: 540px; line-height: 1.8;
}

.section-header { text-align: center; margin-bottom: 72px; }

.section-header .section-desc { margin: 0 auto; }

/* Violet highlight for key words */
.highlight { color: var(--accent); }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; padding: 15px 34px; font-family: var(--font);
    font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
    border-radius: 50px; border: 1.5px solid transparent;
    cursor: pointer; transition: all var(--base); text-decoration: none;
    position: relative; overflow: hidden;
}

.btn::after {
    content: ''; position: absolute; inset: 0;
    background: var(--white); opacity: 0;
    transition: opacity var(--fast);
}

.btn:hover::after { opacity: 0.08; }

.btn--primary {
    background: var(--accent); color: var(--white); border-color: var(--accent);
}

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

.btn--outline {
    background: transparent; color: var(--text);
    border-color: var(--border);
}

.btn--outline:hover {
    border-color: var(--accent); color: var(--accent); transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    z-index: 1000; width: calc(100% - 40px); max-width: var(--container);
    height: 64px; border-radius: 50px;
    background: rgba(26, 29, 39, 0.8);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: all var(--base);
}

.nav.scrolled { height: 52px; top: 16px; box-shadow: var(--shadow-lg); }

.nav-inner {
    max-width: 100%; height: 100%; margin: 0 auto;
    padding: 0 24px; display: flex; align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 20px; font-weight: 700; color: var(--text);
    letter-spacing: 0.12em; transition: color var(--fast);
}

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

.nav-links { display: flex; align-items: center; gap: 28px; }

.nav-link {
    font-size: 13px; font-weight: 500; color: var(--text-secondary);
    position: relative; padding: 6px 0; transition: color var(--fast);
}

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

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

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

.nav-cta {
    padding: 8px 22px; font-family: var(--font);
    font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
    text-transform: uppercase; border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    color: var(--white); box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
    transition: all var(--fast);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(139, 92, 246, 0.35);
}

.nav-hamburger {
    display: none; flex-direction: column; justify-content: center;
    gap: 5px; background: none; border: none; cursor: pointer;
    padding: 8px; z-index: 1001;
}

.nav-hamburger span {
    display: block; width: 22px; height: 1.5px;
    background: var(--text); transition: all var(--fast);
    border-radius: 2px;
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== HERO ========== */
.hero {
    position: relative; min-height: 62vh;
    display: flex; align-items: center; overflow: hidden;
    padding-top: 88px;
}

.hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none; z-index: 1;
}

.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

/* Central ambient glow */
.hero-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 900px; height: 900px; border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
    animation: glowPulse 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* Large floating glow orbs */
.hero-orb {
    position: absolute; border-radius: 50%;
    pointer-events: none;
}

.hero-orb--1 {
    width: 600px; height: 600px; top: -200px; right: -150px;
    background: radial-gradient(circle, #8B5CF6, transparent 70%);
    filter: blur(140px); opacity: 0.12;
    animation: orbFloat1 20s ease-in-out infinite;
}

.hero-orb--2 {
    width: 450px; height: 450px; bottom: -180px; left: -120px;
    background: radial-gradient(circle, #A78BFA, transparent 70%);
    filter: blur(160px); opacity: 0.10;
    animation: orbFloat2 25s ease-in-out infinite reverse;
}

.hero-orb--3 {
    width: 280px; height: 280px; top: 10%; right: 35%;
    background: radial-gradient(circle, #5B4BDB, transparent 70%);
    filter: blur(120px); opacity: 0.08;
    animation: orbFloat3 18s ease-in-out infinite 3s;
}

.hero-orb--4 {
    width: 350px; height: 350px; bottom: 15%; right: 10%;
    background: radial-gradient(circle, #8B5CF6, transparent 70%);
    filter: blur(150px); opacity: 0.10;
    animation: orbFloat1 22s ease-in-out infinite 5s;
}

.hero-orb--5 {
    width: 200px; height: 200px; top: 55%; left: 20%;
    background: radial-gradient(circle, #A78BFA, transparent 70%);
    filter: blur(130px); opacity: 0.07;
    animation: orbFloat2 16s ease-in-out infinite 7s;
}

.hero-orb--6 {
    width: 520px; height: 520px; top: -100px; left: 30%;
    background: radial-gradient(circle, #5B4BDB, transparent 70%);
    filter: blur(180px); opacity: 0.06;
    animation: orbFloat3 24s ease-in-out infinite 2s;
}

.hero-orb--7 {
    width: 250px; height: 250px; top: 70%; left: 60%;
    background: radial-gradient(circle, #8B5CF6, transparent 70%);
    filter: blur(150px); opacity: 0.08;
    animation: orbFloat1 19s ease-in-out infinite 4s;
}

.hero-orb--8 {
    width: 380px; height: 380px; top: 20%; left: -80px;
    background: radial-gradient(circle, #A78BFA, transparent 70%);
    filter: blur(140px); opacity: 0.07;
    animation: orbFloat2 21s ease-in-out infinite 6s;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -40px) scale(1.05); }
    66% { transform: translate(-30px, 30px) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 50px) scale(1.08); }
    66% { transform: translate(30px, -20px) scale(0.92); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, 30px) scale(0.95); }
    66% { transform: translate(-40px, -20px) scale(1.06); }
}

/* Curved abstract lines */
.hero-curve {
    position: absolute; pointer-events: none;
}

.hero-curve--1 {
    top: 18%; right: 5%; width: 400px; height: 200px;
    border: 1px solid var(--border);
    border-radius: 50% 50% 0 0;
    border-bottom: none; opacity: 0.15;
    transform: rotate(-8deg);
    animation: curveDrift 30s ease-in-out infinite;
}

.hero-curve--2 {
    bottom: 25%; left: 3%; width: 300px; height: 150px;
    border: 1px solid var(--border);
    border-radius: 0 0 50% 50%;
    border-top: none; opacity: 0.10;
    transform: rotate(5deg);
    animation: curveDrift 35s ease-in-out infinite reverse;
}

@keyframes curveDrift {
    0%, 100% { transform: rotate(-8deg) translateX(0); }
    50% { transform: rotate(-5deg) translateX(20px); }
}

/* Floating particles */
.hero-particle {
    position: absolute; width: 3px; height: 3px;
    background: var(--accent); border-radius: 50%; opacity: 0.2;
    animation: particleFloat 10s ease-in-out infinite;
}

.hero-particle:nth-child(9) { top: 12%; left: 15%; animation-delay: 0s; width: 2px; height: 2px; }
.hero-particle:nth-child(10) { top: 28%; right: 28%; animation-delay: 2s; width: 4px; height: 4px; opacity: 0.15; }
.hero-particle:nth-child(11) { bottom: 30%; left: 40%; animation-delay: 4s; width: 2px; height: 2px; }
.hero-particle:nth-child(12) { top: 65%; right: 12%; animation-delay: 1.5s; width: 3px; height: 3px; }
.hero-particle:nth-child(13) { bottom: 20%; right: 35%; animation-delay: 3.5s; width: 2px; height: 2px; }
.hero-particle:nth-child(14) { top: 45%; left: 8%; animation-delay: 5s; width: 3px; height: 3px; }
.hero-particle:nth-child(15) { bottom: 10%; right: 55%; animation-delay: 6s; width: 2px; height: 2px; }
.hero-particle:nth-child(16) { top: 8%; right: 50%; animation-delay: 2.5s; width: 4px; height: 4px; opacity: 0.12; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
    50% { transform: translateY(-40px) scale(1.5); opacity: 0.4; }
}

/* Dot grid texture */
.hero-grid {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-inner {
    position: relative; z-index: 2;
    max-width: var(--container); margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center; width: 100%;
}

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

.hero-intro {
    font-size: 14px; font-weight: 400; color: var(--accent);
    margin-bottom: 2px; letter-spacing: 0.02em;
}

.hero-name {
    font-size: clamp(32px, 5vw, 64px); font-weight: 700;
    line-height: 1.05; color: var(--text); margin-bottom: 2px;
    letter-spacing: -0.03em;
}

.hero-role {
    font-size: 16px; font-weight: 500; color: var(--accent-hover);
    margin-bottom: 16px; letter-spacing: 0.01em;
}

.hero-tagline {
    font-size: clamp(13px, 1.5vw, 16px); font-weight: 400;
    line-height: 1.4; color: var(--text); margin-bottom: 16px;
    letter-spacing: -0.01em; max-width: 520px;
    opacity: 0.8;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }

.hero-badges {
    display: flex; flex-wrap: wrap; gap: 6px;
}

.hero-badge {
    font-size: 10px; font-weight: 500; color: var(--text-secondary);
    padding: 4px 12px; border: 1px solid var(--border);
    border-radius: 50px; transition: all var(--fast); cursor: default;
}

.hero-badge:hover {
    border-color: var(--accent); color: var(--accent);
    transform: translateY(-2px); box-shadow: 0 4px 16px rgba(139, 92, 246, 0.08);
}

/* Hero Photo */
.hero-right {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-photo-wrap {
    position: relative;
    z-index: 1;
}

.hero-photo {
    width: 440px;
    height: 440px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(198, 166, 106, 0.25);
}

.hero-photo-inner {
    width: 100%;
    height: 100%;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--slow);
}

.hero-photo:hover img {
    transform: scale(1.04);
}

.hero-photo-shadow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 80px rgba(139,92,246,0.1);
    z-index: -1;
    pointer-events: none;
}

.hero-scroll {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; color: var(--text-secondary); font-size: 10px;
    font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase;
    animation: scrollAnim 2.5s ease-in-out infinite; opacity: 0.6;
}

.hero-scroll i { font-size: 12px; }

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

/* ========== ABOUT ========== */
.about-inner {
    display: grid; grid-template-columns: 380px 1fr;
    gap: 80px; align-items: start;
}

.about-image-wrap { position: relative; margin-top: 48px; }

.about-image {
    width: 380px; height: 460px; overflow: hidden;
    border-radius: var(--radius); position: relative;
}

.about-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--slow);
}

.about-image:hover img { transform: scale(1.04); }

.about-image-frame {
    position: absolute; top: 14px; left: 14px; right: -14px; bottom: -14px;
    border: 1px solid var(--border); border-radius: var(--radius);
    z-index: -1; transition: all var(--base);
}

.about-image-wrap:hover .about-image-frame {
    top: 8px; left: 8px; right: -8px; bottom: -8px;
    border-color: var(--border-hover);
}

.about-content .section-label { margin-bottom: 16px; }

.about-content .section-title { margin-bottom: 24px; }

.about-content p {
    font-size: 16px; font-weight: 300; color: var(--text-secondary);
    line-height: 1.9; margin-bottom: 18px;
}

.about-content p:first-of-type {
    font-size: 17px; font-weight: 400; color: var(--text);
}

.about-badges {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px;
}

.badge {
    font-size: 12px; font-weight: 500; color: var(--text-secondary);
    padding: 7px 20px; border: 1px solid var(--border);
    border-radius: 50px; transition: all var(--fast); cursor: default;
}

.badge:hover {
    border-color: var(--accent); color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
}

/* ========== EXPERIENCE CARDS ========== */
.exp-grid {
    max-width: 780px;
    margin: 0;
}

.exp-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 24px;
    transition: all var(--base);
}

.exp-card:last-of-type {
    margin-bottom: 0;
}

.exp-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), 0 0 40px var(--accent-glow);
    background: var(--card-hover);
    transform: translateY(-3px);
}

.exp-card-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.exp-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all var(--base);
}

.exp-card:hover .exp-card-icon {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.exp-job {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
    line-height: 1.3;
}

.exp-company {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-hover);
    line-height: 1.4;
}

.exp-divider {
    height: 1px;
    background: var(--border);
    margin: 16px 0;
}

.exp-body ul {
    padding: 0;
    margin: 0 0 16px 0;
}

.exp-body ul li {
    position: relative;
    padding-left: 18px;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 10px;
}

.exp-body ul li:last-child { margin-bottom: 0; }

.exp-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
}

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.exp-tag {
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    color: var(--accent-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all var(--fast);
}

.exp-tag:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.exp-testimonial {
    margin-top: 36px;
    max-width: 460px;
}

.exp-testimonial-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.exp-testimonial-label i {
    font-size: 10px;
    opacity: 0.7;
}

/* ========== SERVICES ========== */
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--base); cursor: default;
    position: relative; overflow: hidden;
}

.service-image {
    height: 170px; display: flex; align-items: center;
    justify-content: center; position: relative;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

.service-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--slow);
}

.service-card:hover .service-image img { transform: scale(1.06); }

.service-image--fallback { background: linear-gradient(135deg, var(--card-hover), var(--card)); }

.service-image-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; color: var(--accent); opacity: 0.4;
}

.service-body {
    padding: 24px 30px 36px; position: relative; z-index: 1;
}

.service-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 14px;
    font-size: 20px; color: #FFFFFF;
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    margin-bottom: 18px;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all var(--base);
    position: relative; z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 10px 28px rgba(139, 92, 246, 0.4);
}

.service-card::before {
    content: ''; position: absolute; inset: -1px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, transparent, transparent);
    z-index: 0; pointer-events: none;
    transition: all var(--base);
    opacity: 0;
}

.service-card:hover::before {
    background: linear-gradient(135deg, var(--accent-glow), transparent 50%);
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), 0 0 40px var(--accent-glow);
    background: var(--card-hover);
}

.service-card h3 {
    font-size: 18px; font-weight: 600; color: var(--text);
    margin-bottom: 12px; position: relative; z-index: 1;
}

.service-card p {
    font-size: 14px; font-weight: 300; color: var(--text-secondary);
    line-height: 1.8; position: relative; z-index: 1;
}

/* ========== PROJECTS ========== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.project-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform var(--base);
    border-radius: var(--radius-lg);
    cursor: pointer;
}

.project-card-link:hover { transform: translateY(-8px) scale(1.01); }

.project-card {
    background: rgba(31, 34, 51, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--base);
    height: 100%;
}

.project-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow), var(--shadow-lg);
    background: rgba(31, 34, 51, 0.85);
    transform: scale(1.01);
}

.project-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background: var(--card);
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--slow);
}

.project-card-link:hover .project-card-image img { transform: scale(1.04); }

.project-image-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 36px; opacity: 0.4;
    background: linear-gradient(135deg, var(--accent-subtle), rgba(167,139,250,0.03));
}

.project-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-card-category {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.project-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.project-card-desc {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

.project-card-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

/* ========== PROJECT SKILL BADGES ========== */
.project-card-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.project-skill-badge {
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--accent-secondary);
    font-size: 0.78rem;
    font-weight: 500;
    transition: all var(--fast);
}

.project-card-link:hover .project-skill-badge {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

/* ========== PROJECT CARD BUTTON ========== */
.project-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin-top: 12px;
    transition: all var(--fast);
}

.project-card-btn i { font-size: 0.8rem; transition: transform var(--fast); }

.project-card-link:hover .project-card-btn { color: var(--accent-hover); }
.project-card-link:hover .project-card-btn i { transform: translateX(4px); }

/* ========== PROJECT CARD CAPTION ========== */
.project-card-caption {
    display: block;
    font-size: 0.72rem;
    font-weight: 300;
    color: var(--text-secondary);
    opacity: 0.5;
    margin-top: 6px;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(31, 34, 51, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--base);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: var(--accent);
    background: rgba(31, 34, 51, 0.9);
    color: var(--accent);
    box-shadow: 0 0 24px var(--accent-glow), var(--shadow-lg);
    transform: translateY(-3px);
}

/* ========== TOOLS ========== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tool-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 24px 28px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all var(--base);
}

.tool-category:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    background: var(--card-hover);
}

.tool-category .tool-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--base);
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
}

.tool-category:hover .tool-icon {
    background: var(--accent-subtle);
}

.tool-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.55;
    transition: all var(--base);
}

.tool-category:hover .tool-icon img {
    opacity: 1;
}

.tool-category:hover .tool-icon i {
    opacity: 1;
}

.tool-category-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
}

.tool-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.tool-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--accent-secondary);
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.3;
    transition: all var(--fast);
}

.tool-pill:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.tool-pill img,
.tool-pill i {
    width: 14px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
}

.tool-pill img {
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.tool-pill i {
    font-size: 14px;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tool-pill:hover img,
.tool-pill:hover i {
    opacity: 1;
}

/* ========== CERTIFICATE SHOWCASE ========== */
.cert-showcase {
    max-width: 680px;
    margin: 0 auto;
}

.cert-card-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--base);
}

.cert-card-main:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), 0 0 40px var(--accent-glow);
}

.cert-card-image {
    width: 100%;
    overflow: hidden;
    background: var(--card);
}

.cert-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--slow);
}

.cert-card-main:hover .cert-card-image img {
    transform: scale(1.02);
}

.cert-card-body {
    padding: 0 32px 36px;
    text-align: center;
}

.cert-card-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.cert-card-body p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.modal.open {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--fast);
    z-index: 2;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

/* ========== CONTACT ========== */

/* ========== EDUCATION ========== */
.edu-card {
    display: flex; gap: 20px; align-items: flex-start;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px 32px;
    margin-bottom: 32px;
    transition: all var(--base);
}

.edu-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.edu-icon {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #FFFFFF;
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    box-shadow: 0 6px 20px rgba(139,92,246,0.3);
}

.edu-info h3 {
    font-size: 18px; font-weight: 600; color: var(--text);
    margin-bottom: 4px;
}

.edu-meta {
    font-size: 13px; color: var(--text-secondary);
    margin-bottom: 8px;
}

.edu-courses {
    font-size: 13px; color: var(--accent-hover);
    font-style: italic;
}

.cert-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cert-card {
    display: flex; gap: 14px; align-items: center;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px 20px;
    transition: all var(--base);
}

.cert-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.cert-card .cert-icon {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: #FFFFFF;
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
}

.cert-card h4 {
    font-size: 13px; font-weight: 600; color: var(--text);
    margin-bottom: 2px;
}

.cert-card p {
    font-size: 12px; color: var(--text-secondary);
}

/* ========== QUALITIES GRID (Why Me) ========== */
.qualities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

.quality-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all var(--base);
    cursor: default;
}

.quality-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 24px var(--accent-glow);
    background: var(--card-hover);
    transform: translateY(-2px);
}

.quality-card i {
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.quality-card p {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* ========== RECOMMENDATION ========== */
.recommendation {
    margin-top: 56px;
    max-width: 680px;
}

.recommendation-heading {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-secondary);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 12px;
}

.recommendation-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.recommendation-card {
    background: rgba(31, 34, 51, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all var(--base);
}

.recommendation-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 30px var(--accent-glow), var(--shadow-lg);
    background: rgba(31, 34, 51, 0.7);
    transform: translateY(-3px);
}

.recommendation-image {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 20px;
    background: var(--card);
}

.recommendation-image img {
    width: 100%;
    height: auto;
    display: block;
}

.recommendation-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.recommendation-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.recommendation-role {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-hover);
}

.recommendation-company {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* ========== CONTACT ========== */
.contact { text-align: center; }

.contact .container { position: relative; z-index: 1; }

.contact-inner { max-width: 560px; margin: 0 auto; }

.contact-label {
    font-size: 11px; font-weight: 600; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--accent); display: inline-block;
    margin-bottom: 18px;
}

.contact-title {
    font-size: clamp(28px, 4vw, 42px); font-weight: 700;
    color: var(--text); line-height: 1.2; margin-bottom: 16px;
}

.contact-desc {
    font-size: 17px; font-weight: 300; color: var(--text-secondary);
    line-height: 1.8; margin-bottom: 20px;
}

.contact-availability {
    display: flex; justify-content: center; gap: 24px; margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-availability span {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 400; color: var(--accent-hover);
}

.contact-availability i { font-size: 12px; }

.contact-links {
    display: flex; flex-direction: column; gap: 14px;
    align-items: center;
}

.contact-link {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 14px 28px; border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--fast);
    color: var(--text-secondary); font-size: 15px; font-weight: 300;
    min-width: 320px;
}

.contact-link:hover {
    border-color: var(--border-hover);
    color: var(--text); background: rgba(255,255,255,0.02);
    transform: translateY(-2px);
}

.contact-link-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--accent-subtle);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; color: var(--accent); flex-shrink: 0;
}

.contact-actions {
    display: flex; gap: 16px; justify-content: center; margin-top: 40px;
    flex-wrap: wrap;
}

.contact-actions .btn--outline { border-color: var(--border); color: var(--text-secondary); }
.contact-actions .btn--outline:hover { border-color: var(--accent); color: var(--accent); }

/* ========== FOOTER ========== */
.footer {
    padding: 40px 0 36px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-copy {
    font-size: 11px;
    font-weight: 300;
    color: var(--text-secondary);
    opacity: 0.7;
    animation: fadeInFooter 0.8s ease both;
}

@keyframes fadeInFooter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 0.7; transform: translateY(0); }
}

/* ========== ANIMATIONS (IO) ========== */
.animate-on-scroll {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.animate-on-scroll.visible {
    opacity: 1; transform: translateY(0);
}

/* Staggered delays for grid children */
.skills-grid .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.skills-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.skills-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.skills-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.skills-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.skills-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.3s; }
.skills-grid .animate-on-scroll:nth-child(7) { transition-delay: 0.35s; }
.skills-grid .animate-on-scroll:nth-child(8) { transition-delay: 0.4s; }
.skills-grid .animate-on-scroll:nth-child(9) { transition-delay: 0.45s; }

/* ========== SHOOTING STARS ========== */
.shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 6px 2px rgba(139, 92, 246, 0.6);
    animation: shoot linear infinite;
    opacity: 0;
    z-index: 1;
}
.shooting-star:nth-child(1) { top: 10%; left: 80%; animation-duration: 6s; animation-delay: 0s; }
.shooting-star:nth-child(2) { top: 25%; left: 60%; animation-duration: 8s; animation-delay: 3s; }
.shooting-star:nth-child(3) { top: 40%; left: 90%; animation-duration: 7s; animation-delay: 6s; }
@keyframes shoot {
    0% { transform: translate(0, 0) rotate(-45deg); opacity: 0; }
    5% { opacity: 1; }
    30% { opacity: 1; }
    50% { opacity: 0; }
    100% { transform: translate(-400px, 400px) rotate(-45deg); opacity: 0; }
}

/* ========== MARQUEE ========== */
.marquee-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    padding: 12px 0;
}
.marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}
.marquee-group {
    display: flex;
    gap: 16px;
}
.marquee-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    backdrop-filter: blur(12px);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    transition: all var(--fast);
}
.marquee-pill i { color: var(--accent); font-size: 0.95rem; }
.marquee-pill:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--accent);
}
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== HERO SERVICES BAR ========== */
.hero-services-bar {
    padding: 8px 0 32px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    position: relative;
    z-index: 2;
}

.services-marquee {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
}

.services-marquee:hover {
    animation-play-state: paused;
}

.services-marquee-group {
    display: flex;
    gap: 16px;
}

.service-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 100px;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.12);
    backdrop-filter: blur(12px);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    transition: all var(--fast);
}

.service-pill i {
    color: var(--accent);
    font-size: 0.88rem;
}

.service-pill:hover {
    background: rgba(139, 92, 246, 0.12);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ========== CTA ========== */
.cta {
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.04) 0%, transparent 50%, rgba(139, 92, 246, 0.02) 100%);
    pointer-events: none;
}
.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.cta-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 8px;
    text-transform: uppercase;
}
.cta-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.3;
}
.cta-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}
.btn--cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--accent), #7C3AED);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--base);
    box-shadow: var(--shadow-glow);
}
.btn--cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, var(--accent-hover), #8B5CF6);
}
.btn--cta i { font-size: 0.9rem; transition: transform var(--fast); }
.btn--cta:hover i { transform: translateX(4px); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
    .hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .hero-tagline { margin: 0 auto 12px; }
    .hero-actions { justify-content: center; }
    .hero-right { order: -1; height: auto; padding: 40px 0 20px; }
    .hero-photo { width: 320px; height: 320px; }

    .about-inner { grid-template-columns: 1fr; gap: 56px; text-align: center; }
    .about-image-wrap { display: flex; justify-content: center; margin-top: 0; }
    .about-image { width: 300px; height: 380px; }
    .about-badges { justify-content: center; }
    .exp-grid { max-width: 100%; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .qualities-grid { grid-template-columns: 1fr; }
    .projects-grid { gap: 24px; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-card-body { padding: 0 24px 28px; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .section-header { margin-bottom: 56px; }

    .nav { top: 14px; height: 56px; width: calc(100% - 28px); }
    .nav.scrolled { height: 48px; top: 12px; }

    .nav-links {
        position: fixed; top: 0; right: -100%; width: 280px;
        height: 100vh; background: var(--card); flex-direction: column;
        justify-content: center; gap: 24px; padding: 48px;
        transition: right var(--base);
        box-shadow: -8px 0 40px rgba(0,0,0,0.4);
        z-index: 1000;
        border-left: 1px solid var(--border);
    }

    .nav-links.open { right: 0; }

    .nav-link { font-size: 15px; }

    .nav-hamburger { display: flex; }

    .nav-overlay {
        display: none; position: fixed; inset: 0;
        background: rgba(0,0,0,0.5); z-index: 999;
        backdrop-filter: blur(4px);
    }

    .nav-overlay.active { display: block; }

    .hero { min-height: auto; padding: 90px 0 40px; }
    .hero-name { font-size: clamp(30px, 10vw, 44px); }
    .hero-role { font-size: 14px; }
    .hero-tagline { font-size: clamp(15px, 4vw, 20px); }
    .hero-right { order: -1; height: auto; padding: 20px 0; margin-top: 24px; }
    .hero-photo { width: 260px; height: 260px; }
    .hero-scroll { display: none; }

    .about-image { width: 240px; height: 300px; }
    .about-image-wrap { margin-top: 0; }

    .services-grid { grid-template-columns: 1fr; gap: 18px; }
    .projects-grid { grid-template-columns: 1fr; gap: 24px; }
    .project-card-body { padding: 24px; }
    .project-card-title { font-size: 1rem; }
    .cert-grid { grid-template-columns: 1fr; gap: 14px; }
    .cert-card-body { padding: 0 20px 28px; }
    .modal { padding: 20px; }

    .exp-card { padding: 22px 24px; }
    .exp-tags { gap: 6px; }
    .exp-tag { font-size: 0.7rem; padding: 4px 10px; }

    .tools-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .tool-category { padding: 24px 18px 22px; }

    .cta-title { font-size: 1.5rem; }

    .contact-link { min-width: auto; width: 100%; }

    .contact-availability { gap: 16px; }

    .footer { padding: 32px 0 28px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .hero-right { height: auto; padding: 10px 0; }
    .hero-photo { width: 200px; height: 200px; }

    .marquee-pill { font-size: 0.82rem; padding: 8px 16px; }
    .tools-grid { grid-template-columns: 1fr; }
    .cta-title { font-size: 1.25rem; }
    .btn--cta { padding: 14px 28px; font-size: 0.9rem; }
    .cert-grid { grid-template-columns: 1fr; gap: 12px; }
    .cert-card { flex-direction: column; text-align: center; }
    .cert-card-body { padding: 0 16px 24px; }
    .modal { padding: 12px; }
    .modal-close { top: 8px; right: 10px; width: 32px; height: 32px; font-size: 22px; }

    .contact-availability { flex-direction: column; align-items: center; gap: 10px; }
}
