/* =============================================================================
   CV Platform — Portfolio Stylesheet
   Electric blue (#2563eb) on near-black (#050508), glass cards, film grain
   Dark-first, with light mode via [data-theme="light"]
   ============================================================================= */

/* ─── CSS Custom Properties ──────────────────────────────────────────────────── */
:root {
    --bg-primary: #050508;
    --bg-secondary: #0a0a12;
    --bg-card: rgba(255, 255, 255, 0.03);
    --accent: #2563eb;
    --accent-light: #60a5fa;
    --accent-dark: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.12);
    --accent-gradient: linear-gradient(135deg, #1d4ed8, #3b82f6);
    --text-primary: #ffffff;
    --text-secondary: #8892a0;
    --text-muted: #4a5568;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 102, 255, 0.3);
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --spacing-section: 8rem;
    --spacing-card: 1.75rem;
    --radius: 16px;
    --container-max: 1400px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --nav-height: 64px;
    --shadow-sm: 0 2px 8px rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 16px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 8px 32px rgb(0 0 0 / 0.5);
    --shadow-xl: 0 16px 48px rgb(0 0 0 / 0.6);
    --shadow-glow: 0 0 40px var(--accent-glow);
    --success: #22c55e;
    --success-text: #4ade80;
    --error: #ef4444;
    --warning: #f59e0b;
    color-scheme: dark;
}

/* ─── Light Mode ─────────────────────────────────────────────────────────────── */
[data-theme="light"] {
    --bg-primary: #fafafa;
    --bg-secondary: #f0f0f0;
    --bg-card: rgba(0, 0, 0, 0.02);
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #888888;
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(37, 99, 235, 0.3);
    --accent-glow: rgba(37, 99, 235, 0.08);
    --shadow-sm: 0 1px 3px rgb(0 0 0 / 0.06);
    --shadow-md: 0 4px 12px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 8px 24px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 16px 40px rgb(0 0 0 / 0.12);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.1);
    --success-text: #16a34a;
    color-scheme: light;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 1.5rem);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
}

/* ─── Film Grain Overlay ─────────────────────────────────────────────────────── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: overlay;
    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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: grain 6s steps(8) infinite;
}

[data-theme="light"] body::after { opacity: 0.015; }

img, video { display: block; max-width: 100%; height: auto; }

a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color var(--transition), opacity var(--transition);
}
a:hover { color: var(--accent); }
[data-theme="light"] a { color: var(--accent); }
[data-theme="light"] a:hover { color: var(--accent-dark); }

ul, ol { list-style: none; }

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
}

::selection { background-color: rgba(37, 99, 235, 0.3); color: #fff; }
[data-theme="light"] ::selection { background-color: rgba(37, 99, 235, 0.2); color: #111; }

/* ─── Accessibility ──────────────────────────────────────────────────────────── */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border-width: 0;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ─── Container ──────────────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 2rem;
}

/* ─── Glass Card Base ────────────────────────────────────────────────────────── */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s var(--ease-out);
}
.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

/* ─── Section Shared ─────────────────────────────────────────────────────────── */
.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--text-primary);
    overflow: hidden;
}
.section-subtitle {
    text-align: center;
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 1rem;
    line-height: 1.7;
}
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 0 auto 4rem;
    border-radius: 2px;
}

/* ─── Prose ──────────────────────────────────────────────────────────────────── */
.prose p { color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.8; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { color: var(--text-secondary); line-height: 1.8; margin-bottom: 0.25rem; }
.prose a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text-primary); font-weight: 600; }

/* ─── Scroll Animations ─────────────────────────────────────────────────────── */
.fade-in {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

.fade-in-up {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-in-up.is-visible { opacity: 1; transform: translateY(0); }

.slide-up {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.slide-up.is-visible { opacity: 1; transform: translateY(0); }

.slide-in-left {
    opacity: 0; transform: translateX(-40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.slide-in-left.is-visible { opacity: 1; transform: translateX(0); }

.slide-in-right {
    opacity: 0; transform: translateX(40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.slide-in-right.is-visible { opacity: 1; transform: translateX(0); }

.scale-in {
    opacity: 0; transform: scale(0.95);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.scale-in.is-visible { opacity: 1; transform: scale(1); }

/* ─── Keyframes ──────────────────────────────────────────────────────────────── */
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50%      { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
@keyframes grain {
    0%, 100% { background-position: 0 0; }
    25%      { background-position: -60px 40px; }
    50%      { background-position: 40px -60px; }
    75%      { background-position: -40px -40px; }
}
@keyframes heroLineGrow {
    to { width: min(300px, 20vw); }
}
@keyframes status-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(34, 197, 94, 0.5); }
    50%      { opacity: 0.5; box-shadow: 0 0 2px rgba(34, 197, 94, 0.2); }
}
@keyframes bar-shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}
@keyframes sideLabel {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-8px);
    }
}

/* ─── Scroll Progress Bar ───────────────────────────────────────────────────── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    z-index: 1001;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
    pointer-events: none;
}

/* ─── Side Dots Navigation ──────────────────────────────────────────────────── */
.side-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: opacity 0.3s var(--ease-out);
}
.side-dots.fading { opacity: 0; }

.side-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid var(--text-muted);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}
.side-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}
.side-dot::after {
    content: attr(data-label);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    font-family: var(--font-body);
}
.side-dot:hover::after { opacity: 1; }
.side-dot:hover { border-color: var(--accent-light); }

/* Expanded side dots variant (left side with visible labels) */
.side-dots.expanded {
    right: auto;
    left: 2.5rem;
    gap: 22px;
}
.side-dots.expanded::before {
    content: '';
    position: absolute;
    left: 3.5px;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.06) 12%, rgba(255, 255, 255, 0.06) 88%, transparent);
    pointer-events: none;
}
.side-dots.expanded .side-dot::after {
    right: auto;
    left: 22px;
    opacity: 0.35;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    font-weight: 400;
    transition: opacity 0.3s var(--ease-out), font-size 0.35s var(--ease-out), color 0.3s var(--ease-out), letter-spacing 0.35s var(--ease-out);
    animation: sideLabel 0.45s var(--ease-out) both;
}
.side-dots.expanded .side-dot.active::after {
    opacity: 1;
    font-size: 0.78rem;
    color: var(--text-primary);
    letter-spacing: 0.06em;
    font-weight: 500;
}
.side-dots.expanded .side-dot:hover::after { opacity: 0.7; }
.side-dots.expanded .side-dot.active:hover::after { opacity: 1; }

/* Staggered label cascade */
.side-dots.expanded .side-dot:nth-child(1)::after { animation-delay: 0s; }
.side-dots.expanded .side-dot:nth-child(2)::after { animation-delay: 0.04s; }
.side-dots.expanded .side-dot:nth-child(3)::after { animation-delay: 0.08s; }
.side-dots.expanded .side-dot:nth-child(4)::after { animation-delay: 0.12s; }
.side-dots.expanded .side-dot:nth-child(5)::after { animation-delay: 0.16s; }
.side-dots.expanded .side-dot:nth-child(6)::after { animation-delay: 0.20s; }
.side-dots.expanded .side-dot:nth-child(7)::after { animation-delay: 0.24s; }

/* =============================================================================
   NAVIGATION (nav.php)
   ============================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    background-color: rgba(5, 5, 8, 0.6);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
[data-theme="light"] .navbar { background-color: rgba(250, 250, 250, 0.8); }
.navbar.nav--scrolled {
    box-shadow: 0 1px 40px rgba(0, 0, 0, 0.4);
    background-color: rgba(5, 5, 8, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.04);
}
[data-theme="light"] .navbar.nav--scrolled {
    background-color: rgba(250, 250, 250, 0.95);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}
.navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    flex-shrink: 0;
    text-decoration: none;
    transition: color var(--transition);
}
.nav-logo:hover { color: var(--accent-light); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 2rem;
}

.nav-link {
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition), background-color var(--transition);
    text-decoration: none;
    position: relative;
}
.nav-link:hover {
    color: var(--text-primary);
    background-color: rgba(37, 99, 235, 0.06);
}
.nav-link.active { color: var(--accent-light); }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--accent-gradient);
    border-radius: 1px;
}
[data-theme="light"] .nav-link.active { color: var(--accent); }

.nav-otw-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background-color: rgba(34, 197, 94, 0.08);
    color: var(--success-text);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color var(--transition);
}
[data-theme="light"] .nav-otw-badge {
    color: #16a34a;
    background-color: rgba(34, 197, 94, 0.06);
    border-color: rgba(34, 197, 94, 0.15);
}
.nav-otw-badge .status-dot {
    width: 7px; height: 7px;
    background-color: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

/* Menu trigger (mobile) */
.menu-trigger {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    border-radius: 10px;
    color: var(--text-secondary);
    transition: color var(--transition), background-color var(--transition);
    cursor: pointer;
}
.menu-trigger:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.06);
}
[data-theme="light"] .menu-trigger:hover { background-color: rgba(0, 0, 0, 0.04); }

.menu-trigger-text {
    font-size: 0.875rem;
    font-weight: 600;
}
.menu-trigger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
}
.menu-trigger-icon span {
    display: block;
    width: 100%; height: 2px;
    background-color: currentColor;
    border-radius: 9999px;
    transition: transform var(--transition), opacity var(--transition);
}
.menu-text-open { display: inline; }
.menu-text-close { display: none; }
.menu-trigger[aria-expanded="true"] .menu-text-open { display: none; }
.menu-trigger[aria-expanded="true"] .menu-text-close { display: inline; }
.menu-trigger[aria-expanded="true"] .menu-trigger-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.menu-trigger[aria-expanded="true"] .menu-trigger-icon span:nth-child(2) {
    opacity: 0; transform: scaleX(0);
}
.menu-trigger[aria-expanded="true"] .menu-trigger-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Theme toggle icons */
.icon-sun { display: inline-block; }
.icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: inline-block; }

/* =============================================================================
   HERO (hero.php)
   ============================================================================= */
.hero {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    position: relative;
    padding-block: 4rem;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}
[data-theme="light"] .hero::before {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
}

/* Centered hero — everything centered */
.hero--centered {
    text-align: center;
}
.hero--centered .hero-content,
.hero--centered .hero-upper,
.hero--centered .hero-lower,
.hero--centered .hero-lower-left,
.hero--centered .hero-cta,
.hero--centered .hero-socials,
.hero--centered .hero-stats,
.hero--centered .hero-tagline {
    align-items: center;
    justify-content: center;
}
.hero--centered .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    position: relative;
    z-index: 1;
}
.hero--centered .hero-title {
    text-align: center;
}
.hero--centered .hero-lower {
    flex-direction: column;
    align-items: center;
}
.hero--centered .hero-lower-left {
    max-width: 100%;
    align-items: center;
}

/* Split hero */
.hero--split .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero--split-left { /* default: portrait left, content right */ }
.hero--split-right .container { direction: rtl; }
.hero--split-right .hero-content { direction: ltr; }
.hero--split-left .hero-content { direction: ltr; }

/* Hero portrait */
.hero-portrait {
    position: relative;
    flex-shrink: 0;
}
.hero-portrait img {
    width: clamp(140px, 20vw, 280px);
    height: clamp(140px, 20vw, 280px);
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    box-shadow: 0 0 60px rgba(37, 99, 235, 0.15), 0 0 0 4px rgba(37, 99, 235, 0.08);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.hero-portrait img:hover {
    transform: scale(1.04);
    box-shadow: 0 0 80px rgba(37, 99, 235, 0.2), 0 0 0 4px rgba(37, 99, 235, 0.15);
}
.hero--centered .hero-portrait img {
    width: clamp(140px, 18vw, 220px);
    height: clamp(140px, 18vw, 220px);
}

.portrait-gray { filter: grayscale(1); transition: filter 0.5s var(--ease-out); }
.portrait-gray:hover { filter: grayscale(0); }

/* Hero content */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hero--centered .hero-content { align-items: center; }

.hero-upper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-tagline {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-muted);
    font-weight: 500;
}
.tagline-line {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}
.hero--centered .hero-tagline { justify-content: center; }
[data-theme="light"] .hero-tagline { color: var(--text-secondary); }

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4.5rem, 11vw, 9rem);
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--text-primary);
    line-height: 0.92;
    text-transform: uppercase;
    position: relative;
}
.hero-title .line {
    display: block;
    overflow: hidden;
}
.hero-title-accent {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.3);
    letter-spacing: 8px;
}
[data-theme="light"] .hero-title-accent {
    -webkit-text-stroke-color: rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 0.5rem;
    max-width: 560px;
}
.hero--centered .hero-subtitle { margin-inline: auto; }

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.2rem;
    padding: 0.4rem 0.9rem 0.4rem 0.7rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 100px;
    font-size: 0.72rem;
    color: var(--accent-light);
    letter-spacing: 0.5px;
    font-weight: 500;
    max-width: fit-content;
    position: relative;
    z-index: 3;
}
[data-theme="light"] .hero-status {
    background: rgba(37, 99, 235, 0.06);
    color: var(--accent);
}

.status-dot {
    width: 8px; height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    flex-shrink: 0;
    animation: status-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

/* Hero lower */
.hero-lower {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 4rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 2rem;
}
[data-theme="light"] .hero-lower {
    border-top-color: rgba(0, 0, 0, 0.06);
}
.hero-lower-left {
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-bio {
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.75;
}
.hero--centered .hero-bio { text-align: center; margin-inline: auto; }
.hero--centered .hero-lower { flex-direction: column; align-items: center; text-align: center; }
.hero--centered .hero-lower-left { align-items: center; max-width: 100%; }
.hero--centered .hero-stats { justify-content: center; }
.hero--centered .hero-cta { justify-content: center; }
.hero--centered .hero-socials { justify-content: center; }

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero--centered .hero-cta { justify-content: center; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: var(--accent-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), 0 4px 16px rgba(37, 99, 235, 0.3);
    color: #ffffff;
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    background-color: transparent;
    color: var(--accent-light);
    border: 1px solid var(--border);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.4s var(--ease-out);
}
.btn-secondary:hover {
    transform: translateY(-2px);
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--accent-light);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}
.btn-secondary:active { transform: translateY(0); }
[data-theme="light"] .btn-secondary { color: var(--accent); border-color: var(--accent); }

/* Hero accent line */
.hero-accent-line {
    position: absolute;
    left: 3rem;
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--accent);
    opacity: 0.3;
    z-index: 3;
    animation: heroLineGrow 2s 4s var(--ease-out) forwards;
}
.hero--centered .hero-accent-line { display: none; }

/* Hero socials */
.hero-socials {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.hero--centered .hero-socials { justify-content: center; }
.hero-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all var(--transition);
}
.hero-socials a:hover {
    color: var(--accent-light);
    border-color: var(--border-hover);
    background-color: rgba(37, 99, 235, 0.06);
    transform: translateY(-2px);
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-shrink: 0;
}
.hero--centered .hero-stats { justify-content: center; }

.hero-stat {
    text-align: center;
    position: relative;
}
.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: 0.02em;
}
.hero-stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.35rem;
}

/* =============================================================================
   ABOUT (about.php)
   ============================================================================= */
.about {
    padding-block: var(--spacing-section);
    position: relative;
}
.about:nth-child(even) { background-color: var(--bg-secondary); }

.about--default .about__inner { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.about--with-photo .about__inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}
.about--minimal .about__inner { max-width: 700px; margin-inline: auto; }

.about__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
.about__image-col { display: flex; align-items: flex-start; }
.about__image {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.about__image:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}
.about__text-col { display: flex; flex-direction: column; gap: 1.5rem; }
.about__body { margin-bottom: 1.5rem; }
.about__body p { line-height: 1.8; color: var(--text-secondary); }

/* =============================================================================
   PROJECTS (projects.php)
   ============================================================================= */
.projects {
    padding-block: var(--spacing-section);
    position: relative;
}
.projects:nth-child(even) { background-color: var(--bg-secondary); }

.projects__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.projects__filter-btn {
    padding: 0.375rem 1.125rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
    letter-spacing: 0.02em;
    cursor: pointer;
}
.projects__filter-btn:hover {
    color: var(--accent-light);
    border-color: var(--border-hover);
    background-color: rgba(37, 99, 235, 0.06);
}
.projects__filter-btn--active {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 0 20px var(--accent-glow);
}

.projects__empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    font-size: 1rem;
}

/* Client/Project grid */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
}

/* Client card — browser frame style */
.client-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.client-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow), 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--border-hover);
}
.client-card--featured {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

/* Browser frame header */
.client-card-frame {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}
[data-theme="light"] .client-card-frame { background: rgba(0, 0, 0, 0.02); }

.frame-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.frame-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.frame-dot--red    { background: #ff5f57; }
.frame-dot--yellow { background: #febc2e; }
.frame-dot--green  { background: #28c840; }

.frame-url {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    padding: 0.2rem 0.625rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px solid var(--border);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
[data-theme="light"] .frame-url { background: rgba(0, 0, 0, 0.03); }

/* Screenshot area */
.client-card-screenshot {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: var(--bg-secondary);
}
.client-card-screenshot img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 6s var(--ease-out);
}
.client-card:hover .client-card-screenshot img {
    transform: translateY(-15%);
}

/* Card content area */
.client-card-content {
    padding: var(--spacing-card);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.875rem;
}
.client-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    text-transform: uppercase;
}
.client-card-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

/* Tags */
.client-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}
.client-card-tags span {
    padding: 4px 12px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-light);
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 100px;
    background: rgba(37, 99, 235, 0.1);
    transition: border-color 0.3s, background-color 0.3s;
}
.client-card-tags span:hover {
    border-color: rgba(96, 165, 250, 0.4);
    background: rgba(37, 99, 235, 0.15);
}
[data-theme="light"] .client-card-tags span {
    color: var(--accent);
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.2);
}

/* Action link */
.client-card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-light);
    text-decoration: none;
    margin-top: auto;
    transition: color var(--transition), gap var(--transition);
}
.client-card-action:hover { color: var(--accent); gap: 0.75rem; }
[data-theme="light"] .client-card-action { color: var(--accent); }

/* Badge */
.client-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 0 20px var(--accent-glow);
}
.badge-dot {
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
}

/* =============================================================================
   EXPERIENCE (experience.php)
   ============================================================================= */
.experience {
    padding-block: var(--spacing-section);
    position: relative;
}
.experience:nth-child(even) { background-color: var(--bg-secondary); }

.experience__empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.experience-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 2rem;
}
/* Vertical line */
.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--border));
}

/* Experience card */
.exp-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--spacing-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.exp-card::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 1.5rem;
    width: 14px; height: 14px;
    background-color: var(--accent);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--accent), 0 0 12px var(--accent-glow);
    transform: translateX(-50%);
    z-index: 1;
    transition: transform var(--transition), box-shadow var(--transition);
}
.exp-card:hover::before {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 0 2px var(--accent), 0 0 24px var(--accent-glow);
}
.exp-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateX(4px);
}

.exp-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}
.exp-role {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}
.exp-company {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent-light);
}
[data-theme="light"] .exp-company { color: var(--accent); }
.exp-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    font-family: var(--font-mono);
}
.exp-location {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}
.exp-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}
.exp-desc ul {
    list-style: none;
    padding-left: 1rem;
}
.exp-desc ul li {
    position: relative;
    padding-left: 0.75rem;
}
.exp-desc ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}
.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.75rem;
}
.exp-tags span {
    padding: 4px 12px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-light);
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 100px;
    background: rgba(37, 99, 235, 0.1);
    transition: border-color 0.3s, background-color 0.3s;
}
.exp-tags span:hover {
    border-color: rgba(96, 165, 250, 0.4);
    background: rgba(37, 99, 235, 0.15);
}
[data-theme="light"] .exp-tags span {
    color: var(--accent);
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.2);
}

/* =============================================================================
   EDUCATION (education.php)
   ============================================================================= */
.education {
    padding-block: var(--spacing-section);
    position: relative;
}
.education:nth-child(even) { background-color: var(--bg-secondary); }

.education__empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.edu-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 2rem;
}
.edu-timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--border));
}

.edu-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--spacing-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.edu-card::before {
    content: '';
    position: absolute;
    left: -2rem; top: 1.5rem;
    width: 14px; height: 14px;
    background-color: var(--accent);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--accent), 0 0 12px var(--accent-glow);
    transform: translateX(-50%);
    z-index: 1;
    transition: transform var(--transition), box-shadow var(--transition);
}
.edu-card:hover::before {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 0 2px var(--accent), 0 0 24px var(--accent-glow);
}
.edu-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateX(4px);
}

.edu-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}
.edu-degree {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}
.edu-school {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent-light);
}
[data-theme="light"] .edu-school { color: var(--accent); }
.edu-field {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    width: 100%;
}
.edu-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    font-family: var(--font-mono);
}
.edu-location {
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.edu-gpa {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-light);
}
[data-theme="light"] .edu-gpa { color: var(--accent); }
.edu-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9375rem;
}
.edu-desc ul {
    list-style: none;
    padding-left: 1rem;
}
.edu-desc ul li {
    position: relative;
    padding-left: 0.75rem;
}
.edu-desc ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

/* =============================================================================
   SKILLS (skills.php)
   ============================================================================= */
.skills {
    padding-block: var(--spacing-section);
    position: relative;
}
.skills:nth-child(even) { background-color: var(--bg-secondary); }

.skills__empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--spacing-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.skill-category:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.skill-cat-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

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

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 9999px;
    overflow: hidden;
}
[data-theme="light"] .skill-bar { background-color: rgba(0, 0, 0, 0.06); }

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
    border-radius: 9999px;
    transition: width 1s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.skill-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: bar-shimmer 3s ease-in-out infinite;
}

.skill-pct {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-light);
    font-weight: 600;
}
[data-theme="light"] .skill-pct { color: var(--accent); }

/* =============================================================================
   TESTIMONIALS (testimonials.php)
   ============================================================================= */
.testimonials {
    padding-block: var(--spacing-section);
    position: relative;
}
.testimonials:nth-child(even) { background-color: var(--bg-secondary); }

.testimonials__empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.testimonials .container > div {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.testimonial-quote-mark {
    font-size: 5rem;
    line-height: 0.8;
    color: var(--accent);
    opacity: 0.2;
    font-family: Georgia, 'Times New Roman', serif;
    margin-bottom: 0.25rem;
    display: block;
    font-weight: 700;
    user-select: none;
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.25rem;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-top: auto;
}

.testimonial-avatar-wrap {
    flex-shrink: 0;
}
.testimonial-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}
.testimonial-avatar--initials {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    border: 2px solid var(--border);
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}
.testimonial-author {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}
.testimonial-role {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.testimonial-rating {
    display: flex;
    gap: 0.125rem;
    margin-bottom: 0.75rem;
}
.testimonial-star {
    color: var(--text-muted);
    font-size: 0.875rem;
    opacity: 0.2;
}
.testimonial-star--filled {
    color: var(--accent-light);
    opacity: 1;
    text-shadow: 0 0 8px var(--accent-glow);
}
[data-theme="light"] .testimonial-star--filled {
    color: var(--accent);
    text-shadow: none;
}

/* =============================================================================
   CONTACT (contact.php)
   ============================================================================= */
.contact {
    padding-block: var(--spacing-section);
    position: relative;
}
.contact:nth-child(even) { background-color: var(--bg-secondary); }

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.contact-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
}
.contact-subheading {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.contact-email,
.contact-phone,
.contact-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}
.contact-email a,
.contact-phone a { color: var(--accent-light); }
.contact-email a:hover,
.contact-phone a:hover { color: var(--accent); }
[data-theme="light"] .contact-email a,
[data-theme="light"] .contact-phone a { color: var(--accent); }

.contact-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background-color: rgba(34, 197, 94, 0.08);
    color: var(--success-text);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
}

/* Contact form */
.contact-form-col { display: flex; flex-direction: column; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-input {
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow), 0 0 20px rgba(37, 99, 235, 0.08);
}
.form-input::placeholder { color: var(--text-muted); }

.form-textarea {
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    min-height: 140px;
    resize: vertical;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow), 0 0 20px rgba(37, 99, 235, 0.08);
}
.form-textarea::placeholder { color: var(--text-muted); }

.form-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.form-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.form-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow), 0 8px 25px rgba(37, 99, 235, 0.35);
}
.form-btn:active { transform: translateY(0); }
.form-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.contact-status-msg {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}
.contact-status-msg.success {
    background: rgba(34, 197, 94, 0.08);
    color: var(--success-text);
    border: 1px solid rgba(34, 197, 94, 0.15);
}
.contact-status-msg.error {
    background: rgba(239, 68, 68, 0.08);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

/* =============================================================================
   FOOTER (footer.php)
   ============================================================================= */
.footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    background-color: var(--bg-primary);
}
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.footer-socials {
    display: flex;
    gap: 0.75rem;
}
.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all var(--transition);
}
.footer-socials a:hover {
    color: var(--accent-light);
    border-color: var(--border-hover);
    background: rgba(37, 99, 235, 0.06);
}

/* =============================================================================
   SERVICES (services.php)
   ============================================================================= */
.services {
    padding-block: var(--spacing-section);
    position: relative;
}
.services:nth-child(even) { background-color: var(--bg-secondary); }

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.services__empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--spacing-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.4s var(--ease-out);
}
.service-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}
.service-card--highlighted {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    position: relative;
}
.service-card--highlighted::before {
    content: 'Popular';
    position: absolute;
    top: -0.75rem;
    left: 1.5rem;
    padding: 0.2rem 0.75rem;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.service-card__icon {
    font-size: 2rem;
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 14px;
    color: var(--accent-light);
    border: 1px solid rgba(96, 165, 250, 0.15);
}
[data-theme="light"] .service-card__icon { color: var(--accent); }

.service-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.service-card__desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-card__features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.service-card__feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.service-card__feature::before {
    content: '\2713';
    color: var(--success);
    font-weight: 700;
    font-size: 0.75rem;
}

.service-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-top: auto;
}
.service-card__price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}
.service-card__price-unit {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.service-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--accent-gradient);
    color: #fff;
    text-decoration: none;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.service-card__cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: #fff;
}

/* =============================================================================
   AWARDS (awards.php)
   ============================================================================= */
.awards {
    padding-block: var(--spacing-section);
    position: relative;
}
.awards:nth-child(even) { background-color: var(--bg-secondary); }

.awards__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}
.awards__empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.award-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--spacing-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    transition: all 0.4s var(--ease-out);
}
.award-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.award-card__trophy {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.award-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}
.award-card__issuer {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-light);
}
[data-theme="light"] .award-card__issuer { color: var(--accent); }
.award-card__date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}
.award-card__desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.award-card__body {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.award-card__image-wrap {
    border-radius: 10px;
    overflow: hidden;
    margin-top: 0.5rem;
}
.award-card__image {
    width: 100%;
    height: auto;
    display: block;
}

/* =============================================================================
   PUBLICATIONS (publications.php)
   ============================================================================= */
.publications {
    padding-block: var(--spacing-section);
    position: relative;
}
.publications:nth-child(even) { background-color: var(--bg-secondary); }

.publications__list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.publications__empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.publication-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--spacing-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    gap: 1.5rem;
    transition: all 0.4s var(--ease-out);
}
.publication-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateX(4px);
}

.publication-item__image-wrap {
    flex-shrink: 0;
    width: 120px;
    border-radius: 10px;
    overflow: hidden;
}
.publication-item__image {
    width: 100%; height: 100%;
    object-fit: cover;
}

.publication-item__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}
.publication-item__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
}
.publication-item__journal {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-light);
    font-style: italic;
}
[data-theme="light"] .publication-item__journal { color: var(--accent); }

.publication-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.publication-item__year { font-family: var(--font-mono); }
.publication-item__authors { font-weight: 500; }
.publication-item__sep { opacity: 0.3; }
.publication-item__doi {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}
[data-theme="light"] .publication-item__doi { color: var(--accent); }

.publication-item__abstract {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.publication-item__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.5rem;
}
.publication-item__tag {
    padding: 4px 12px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-light);
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 100px;
    background: rgba(37, 99, 235, 0.1);
    transition: border-color 0.3s, background-color 0.3s;
}
.publication-item__tag:hover {
    border-color: rgba(96, 165, 250, 0.4);
    background: rgba(37, 99, 235, 0.15);
}
[data-theme="light"] .publication-item__tag {
    color: var(--accent);
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.2);
}

/* =============================================================================
   FAQ (faq.php)
   ============================================================================= */
.faq {
    padding-block: var(--spacing-section);
    position: relative;
}
.faq:nth-child(even) { background-color: var(--bg-secondary); }

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin-inline: auto;
}
.faq__empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.faq__item:hover {
    border-color: var(--border-hover);
}
.faq__item.is-open {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem var(--spacing-card);
    cursor: pointer;
    width: 100%;
    background: none;
    border: none;
    color: inherit;
    font-family: inherit;
    text-align: left;
}
.faq__question:hover { background: rgba(37, 99, 235, 0.03); }

.faq__question-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq__icon {
    flex-shrink: 0;
    width: 24px; height: 24px;
    color: var(--text-muted);
    transition: transform var(--transition);
}
.faq__item.is-open .faq__icon { transform: rotate(180deg); }

.faq__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 8px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--transition), color var(--transition);
}
.faq__item.is-open .faq__toggle { transform: rotate(45deg); color: var(--accent-light); }

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}
.faq__item.is-open .faq__answer { max-height: 500px; }

.faq__answer-inner {
    padding: 0 var(--spacing-card) 1.25rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* =============================================================================
   GALLERY
   ============================================================================= */
.gallery {
    padding-block: var(--spacing-section);
    position: relative;
}
.gallery:nth-child(even) { background-color: var(--bg-secondary); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    cursor: pointer;
}
.gallery-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: scale(1.02);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out);
}
.gallery-lightbox.is-active {
    opacity: 1;
    pointer-events: auto;
}
.gallery-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
}
.gallery-lightbox-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
}
.gallery-lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }
.gallery-caption {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    text-align: center;
}

/* =============================================================================
   CUSTOM SECTION (custom.php)
   ============================================================================= */
.custom-section {
    padding-block: var(--spacing-section);
    position: relative;
}
.custom-section:nth-child(even) { background-color: var(--bg-secondary); }

.custom-section__body {
    max-width: 800px;
    margin-inline: auto;
}
.custom-section__body p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.custom-section__blocks {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.custom-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.custom-block:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.custom-block__image {
    width: 100%;
    height: auto;
    display: block;
}
.custom-block__figure {
    margin: 0;
}
.custom-block__caption {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
    border-top: 1px solid var(--border);
}

.custom-block__code {
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-primary);
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}
[data-theme="light"] .custom-block__code { background: rgba(0, 0, 0, 0.04); }

.custom-block__embed {
    padding: var(--spacing-card);
}
.custom-block__embed-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}
.custom-block__embed-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* =============================================================================
   RESPONSIVE — 1024px
   ============================================================================= */
@media (max-width: 1024px) {
    :root { --spacing-section: 6rem; }

    .hero--split .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero--split .hero-content { align-items: center; }
    .hero--split .tagline-line { justify-content: center; }
    .hero--split .hero-cta { justify-content: center; }
    .hero--split .hero-socials { justify-content: center; }
    .hero--split .hero-stats { justify-content: center; }
    .hero--split-right .container { direction: ltr; }
    .hero-portrait { order: -1; }
    .hero-lower {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .hero-lower-left { max-width: 100%; text-align: center; }
    .hero--split .hero-lower-left { align-items: center; }

    .about--with-photo .about__inner {
        grid-template-columns: 1fr;
    }
    .about__image-col { justify-content: center; }
    .about__image { max-width: 280px; }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .client-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
    .skills-categories { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
    .services__grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
    .awards__grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

    .publication-item { flex-direction: column; }
    .publication-item__image-wrap { width: 100%; max-height: 200px; }
}

/* =============================================================================
   RESPONSIVE — 768px
   ============================================================================= */
@media (max-width: 768px) {
    :root { --spacing-section: 4rem; --spacing-card: 1.25rem; }
    .container { padding-inline: 1.25rem; }

    /* Navigation mobile */
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0; right: 0;
        background-color: rgba(5, 5, 8, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1rem;
        gap: 0.25rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
    }
    [data-theme="light"] .nav-links { background-color: rgba(250, 250, 250, 0.95); }
    .nav-links.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 10px;
    }

    .menu-trigger { display: flex; }

    /* Hero mobile */
    .hero-title { font-size: clamp(2.5rem, 10vw, 5rem); }
    .hero-lower {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .hero-lower-left { max-width: 100%; }
    .hero-stats { gap: 2rem; flex-wrap: wrap; }
    .hero-accent-line { display: none; }
    .side-dots { display: none; }

    /* Timeline */
    .experience-timeline,
    .edu-timeline { padding-left: 1.5rem; }
    .exp-card::before,
    .edu-card::before { left: -1.5rem; }

    /* Grid adjustments */
    .client-grid { grid-template-columns: 1fr; }
    .skills-categories { grid-template-columns: 1fr; }
    .services__grid { grid-template-columns: 1fr; }
    .awards__grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

    .hero-stat-value { font-size: 1.75rem; }
    .section-title { font-size: clamp(2rem, 6vw, 3rem); }
    .section-divider { margin-bottom: 2.5rem; }
}

/* =============================================================================
   RESPONSIVE — 480px
   ============================================================================= */
@media (max-width: 480px) {
    :root { --spacing-section: 3rem; --spacing-card: 1rem; }
    .container { padding-inline: 1rem; }

    .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); }
    .hero-portrait img { width: 120px; height: 120px; }
    .hero-cta { flex-direction: column; width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

    .hero-stats { flex-direction: column; gap: 1rem; align-items: center; }

    .nav-otw-badge { display: none; }

    .contact-wrapper { gap: 2rem; }
    .contact-heading { font-size: 1.5rem; }

    .exp-header, .edu-header { flex-direction: column; gap: 0.25rem; }

    .testimonials .container > div { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
}

/* =============================================================================
   PRINT STYLES
   ============================================================================= */
@media print {
    body {
        background: #fff;
        color: #111;
        font-size: 11pt;
        line-height: 1.5;
    }
    body::after { display: none; }
    .navbar,
    .menu-trigger,
    .hero-socials,
    .hero-cta,
    .footer-socials,
    .contact-form-col,
    .projects__filters,
    .gallery-lightbox,
    .scroll-progress,
    .side-dots,
    .hero-accent-line { display: none !important; }

    .hero { min-height: auto; padding: 2rem 0; }
    .hero::before { display: none; }
    .hero-title { font-size: 2.5rem; color: #111; letter-spacing: 2px; }
    .hero-subtitle { color: #333; }

    .section-title { font-size: 1.5rem; color: #111; }
    .section-divider { background: #111; }

    .glass-card,
    .client-card,
    .exp-card,
    .edu-card,
    .skill-category,
    .service-card,
    .award-card,
    .publication-item,
    .faq__item,
    .custom-block {
        background: #fff;
        border: 1px solid #ddd;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        break-inside: avoid;
    }

    .client-card:hover,
    .exp-card:hover,
    .edu-card:hover,
    .service-card:hover,
    .award-card:hover,
    .publication-item:hover {
        transform: none;
        box-shadow: none;
    }

    a { color: #2563eb; text-decoration: underline; }
    .skill-fill { background: #2563eb; }
    .skill-bar { background: #eee; }

    * { transition: none !important; animation: none !important; }
}
