/* ═══════════════════════════════════════════════════════════════
   Aman PORTFOLIO — style.css
   Technical Minimalist | Dark Mode | Electric Blue
═══════════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
    --bg-deep: #0d0f14;
    --bg-surface: #12151d;
    --bg-raised: #181c26;
    --bg-card: #1a1f2e;
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(64, 159, 255, 0.4);

    --blue: #3b9eff;
    --blue-bright: #5fb3ff;
    --blue-dim: rgba(59, 158, 255, 0.15);
    --blue-glow: rgba(59, 158, 255, 0.35);

    --text-primary: #f0f2f8;
    --text-secondary: #8b92a8;
    --text-muted: #4a5068;

    --font-sans: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.4);
    --shadow-blue: 0 0 40px rgba(59, 158, 255, 0.2);
}

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

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

body {
    font-family: var(--font-sans);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
}

button {
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* ── CURSOR GLOW ─────────────────────────────────────────────── */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 158, 255, 0.07) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: left 0.1s, top 0.1s;
    will-change: left, top;
}

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

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

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1.5px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    box-shadow: 0 4px 20px rgba(59, 158, 255, 0.35);
}

.btn-primary:hover {
    background: var(--blue-bright);
    box-shadow: 0 6px 30px rgba(59, 158, 255, 0.5);
    transform: translateY(-2px);
}

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

.btn-ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background: #20b858;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.82rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ── NAVBAR ──────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: background 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(13, 15, 20, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.04em;
}

.logo-bracket {
    color: var(--blue);
}

.nav-links {
    display: flex;
    gap: 32px;
    margin-left: auto;
    margin-right: 24px;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.25s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.25s;
    border-radius: 2px;
}

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

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

.nav-hire {
    white-space: nowrap;
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    margin-left: auto;
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ── SECTION COMMONS ─────────────────────────────────────────── */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

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

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.label-line {
    width: 32px;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
}

.label-text {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--blue);
    letter-spacing: 0.08em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-title.centered {
    text-align: center;
}

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

.section-sub {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 60px;
}

.section-sub.centered {
    text-align: center;
}

/* ── REVEAL ANIMATIONS ───────────────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
    padding-top: 100px;
}

/* Grid Background */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 158, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 158, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 80%);
}

/* Orbs */
.hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: floatOrb 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #1a5aff, transparent 70%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #0a3bcc, transparent 70%);
    bottom: 0;
    left: -80px;
    animation-delay: 3s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #3b9eff, transparent 70%);
    top: 40%;
    left: 50%;
    animation-delay: 5s;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--blue-dim);
    border: 1px solid rgba(59, 158, 255, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--blue-bright);
    font-weight: 500;
    margin-bottom: 28px;
    animation: fadeDown 0.6s ease 0.2s both;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: #4dea7b;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Title */
.hero-title {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 24px;
    animation: fadeDown 0.6s ease 0.3s both;
}

.hero-name {
    display: block;
    background: linear-gradient(135deg, #f0f2f8 0%, #8b92a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-role {
    display: block;
    color: var(--text-secondary);
    font-size: 0.55em;
    font-weight: 400;
    margin-top: 8px;
}

.type-wrapper {
    color: var(--blue);
    font-weight: 700;
}

.typed-text {
    color: var(--blue);
}

.type-cursor {
    color: var(--blue);
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Hero Desc */
.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 580px;
    line-height: 1.75;
    margin-bottom: 36px;
    animation: fadeDown 0.6s ease 0.4s both;
}

.hero-desc strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
    animation: fadeDown 0.6s ease 0.5s both;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    animation: fadeDown 0.6s ease 0.6s both;
}

.stat {
    display: flex;
    flex-direction: column;
    padding: 0 32px;
}

.stat:first-child {
    padding-left: 0;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-suffix {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--blue);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.04em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.sidebar-stat {
    text-align: center;
}

.sidebar-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    padding-bottom: 8px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    animation: fadeIn 1s ease 1.5s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--blue), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* ── FADE ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ══════════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: center;
}

/* Avatar */
.avatar-wrapper {
    position: relative;
    width: 240px;
    height: 240px;
}

.avatar-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--blue), transparent, var(--blue)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-raised), var(--bg-card));
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: -2px;
    box-shadow: var(--shadow-blue);
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.avatar-wrapper:hover .profile-img {
    transform: scale(1.08);
}

.avatar-badge {
    position: absolute;
    bottom: 8px;
    right: -12px;
    background: var(--blue);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(59, 158, 255, 0.4);
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-size: 0.98rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-primary);
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.tag {
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tag:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* ══════════════════════════════════════════════════════════════
   SKILLS
══════════════════════════════════════════════════════════════ */
.skills-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.skill-cat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.skill-cat:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-blue);
    transform: translateY(-4px);
}

.skill-cat-icon {
    width: 44px;
    height: 44px;
    background: var(--blue-dim);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    margin-bottom: 16px;
}

.skill-cat-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.skill-bar-item {
    margin-bottom: 18px;
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.skill-pct {
    color: var(--blue);
    font-family: var(--font-mono);
}

.skill-track {
    height: 4px;
    background: var(--bg-raised);
    border-radius: 4px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--blue-bright));
    border-radius: 4px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--blue-dim), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--shadow-blue);
}

.project-card.clickable-card {
    cursor: pointer;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card.featured {
    grid-column: 1 / -1;
}

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

.project-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--blue);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.project-links {
    display: flex;
    gap: 12px;
}

.icon-link {
    color: var(--text-muted);
    transition: color 0.2s;
}

.icon-link:hover {
    color: var(--blue);
}

/* Project Mockup (Featured) */
.project-visual {
    background: var(--bg-deep);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}

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

.dot.r {
    background: #ff5f57;
}

.dot.y {
    background: #ffbd2e;
}

.dot.g {
    background: #28ca41;
}

.url-bar {
    flex: 1;
    background: var(--bg-raised);
    border-radius: 4px;
    padding: 3px 10px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-left: 8px;
}

.project-mockup {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-nav {
    height: 8px;
    background: linear-gradient(90deg, var(--blue-dim), var(--bg-raised));
    border-radius: 4px;
}

.mock-hero {
    height: 60px;
    background: linear-gradient(135deg, rgba(59, 158, 255, 0.12), var(--bg-raised));
    border-radius: var(--radius-sm);
}

.mock-cards {
    display: flex;
    gap: 10px;
}

.mock-card {
    flex: 1;
    height: 40px;
    background: var(--bg-raised);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.project-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-chip {
    padding: 4px 12px;
    background: var(--blue-dim);
    border: 1px solid rgba(59, 158, 255, 0.2);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--blue-bright);
    font-weight: 500;
}



/* ══════════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════════ */
/* CONTACT — centered single-column layout */
.contact-center {
    display: flex;
    justify-content: center;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 560px;
    width: 100%;
}

.contact-info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.ci-icon {
    width: 38px;
    height: 38px;
    background: var(--blue-dim);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
}

.ci-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.ci-value {
    font-size: 0.88rem;
    color: var(--text-primary);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--blue-dim);
    border-color: rgba(59, 158, 255, 0.4);
    color: var(--blue);
    transform: translateY(-2px);
}

.contact-cta-msg {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.contact-cta-btn {
    width: 100%;
    justify-content: center;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    background: var(--bg-surface);
    position: relative;
    z-index: 2;
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-copy {
    flex: 1;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.footer-terms-container {
    text-align: center;
    margin-top: 24px;
}

.footer-terms {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-terms:hover {
    color: var(--blue);
}

/* ── FLOATING HIRE ME ─────────────────────────────────────────── */
.floating-hire {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    background: var(--blue);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 100px;
    box-shadow: 0 6px 30px rgba(59, 158, 255, 0.5);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.floating-hire.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-hire:hover {
    background: var(--blue-bright);
    box-shadow: 0 10px 40px rgba(59, 158, 255, 0.65);
    transform: translateY(-3px);
}

/* ── TOAST ───────────────────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid rgba(77, 234, 123, 0.3);
    color: #4dea7b;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-card);
    z-index: 2000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .skills-categories {
        grid-template-columns: 1fr 1fr;
    }



    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .avatar-wrapper {
        margin: 0 auto;
    }
}

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

    .nav-links,
    .nav-hire {
        display: none;
    }

    .nav-burger {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: rgba(13, 15, 20, 0.97);
        backdrop-filter: blur(20px);
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 9999;
    }

    .nav-links.open .nav-link {
        font-size: 1.5rem;
        color: var(--text-primary);
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat {
        padding: 0;
    }

    .stat-divider {
        display: none;
    }

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

    .project-card.featured {
        grid-column: auto;
    }

    /* contact-center is already single-column */

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



    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .floating-hire {
        bottom: 20px;
        right: 20px;
        padding: 11px 18px;
        font-size: 0.82rem;
    }

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

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

    .about-grid {
        gap: 36px;
    }

    .avatar-wrapper {
        width: 180px;
        height: 180px;
    }

    .avatar-inner {
        font-size: 3rem;
    }



    .contact-info-card {
        padding: 24px;
    }
}

/* ══════════════════════════════════════════════════════════════
   SEASON THEMES — CSS variable overrides on body[data-season]
══════════════════════════════════════════════════════════════ */

/* ── SUMMER ☀️ ─────────────────────────────────────────────── */
body[data-season="summer"] {
    --blue: #f59e0b;
    --blue-bright: #fbbf24;
    --blue-dim: rgba(245, 158, 11, 0.14);
    --blue-glow: rgba(245, 158, 11, 0.35);
    --bg-deep: #0f0d08;
    --bg-surface: #161209;
    --bg-raised: #1e190a;
    --bg-card: #201c0b;
    --border: rgba(255, 220, 100, 0.08);
    --border-hover: rgba(245, 158, 11, 0.5);
    --shadow-blue: 0 0 40px rgba(245, 158, 11, 0.22);
}

/* ── RAINY 🌧️ ──────────────────────────────────────────────── */
body[data-season="rainy"] {
    --blue: #22d3ee;
    --blue-bright: #67e8f9;
    --blue-dim: rgba(34, 211, 238, 0.12);
    --blue-glow: rgba(34, 211, 238, 0.3);
    --bg-deep: #04090f;
    --bg-surface: #060d14;
    --bg-raised: #0b151e;
    --bg-card: #0e1b26;
    --border: rgba(100, 210, 240, 0.07);
    --border-hover: rgba(34, 211, 238, 0.45);
    --shadow-blue: 0 0 40px rgba(34, 211, 238, 0.2);
}

/* ── AUTUMN 🍂 ─────────────────────────────────────────────── */
body[data-season="autumn"] {
    --blue: #f97316;
    --blue-bright: #fb923c;
    --blue-dim: rgba(249, 115, 22, 0.13);
    --blue-glow: rgba(249, 115, 22, 0.32);
    --bg-deep: #0e0905;
    --bg-surface: #150d06;
    --bg-raised: #1c1108;
    --bg-card: #201409;
    --border: rgba(255, 160, 80, 0.07);
    --border-hover: rgba(249, 115, 22, 0.48);
    --shadow-blue: 0 0 40px rgba(249, 115, 22, 0.22);
}

/* ── WINTER ❄️ ─────────────────────────────────────────────── */
body[data-season="winter"] {
    --blue: #818cf8;
    --blue-bright: #a5b4fc;
    --blue-dim: rgba(129, 140, 248, 0.13);
    --blue-glow: rgba(129, 140, 248, 0.3);
    --bg-deep: #06060f;
    --bg-surface: #09091a;
    --bg-raised: #0f0f22;
    --bg-card: #121228;
    --border: rgba(160, 170, 255, 0.07);
    --border-hover: rgba(129, 140, 248, 0.45);
    --shadow-blue: 0 0 40px rgba(129, 140, 248, 0.22);
}

/* ══════════════════════════════════════════════════════════════
   THEME TOGGLE BUTTON
══════════════════════════════════════════════════════════════ */
.theme-toggle {
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 998;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-hover);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.theme-toggle:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 158, 255, 0.3);
    border-color: var(--blue);
}

.theme-toggle svg {
    position: absolute;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sun-icon {
    opacity: 0;
    transform: translateY(30px) rotate(90deg);
}

.moon-icon {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

/* Light Mode Overrides */
body[data-theme="light"] {
    --bg-deep: #f0f2f8;
    --bg-surface: #ffffff;
    --bg-raised: #f8fafc;
    --bg-card: #ffffff;
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(59, 158, 255, 0.4);

    --text-primary: #12151d;
    --text-secondary: #4a5068;
    --text-muted: #8b92a8;

    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.08);
}

body[data-theme="light"] .sun-icon {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

body[data-theme="light"] .moon-icon {
    opacity: 0;
    transform: translateY(-30px) rotate(-90deg);
}

@media (max-width: 768px) {
    .theme-toggle {
        bottom: 90px;
        left: auto;
        right: 20px;
    }
}

/* ══════════════════════════════════════════════════════════════
   QUOTES SECTION
══════════════════════════════════════════════════════════════ */
.quotes-section {
    background: var(--bg-surface);
}

.quote-display {
    max-width: 780px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 56px 60px 44px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: border-color 0.4s, box-shadow 0.4s;
}

.quote-display:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-blue);
}

.quote-icon {
    color: var(--blue);
    opacity: 0.5;
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
}

.quote-text {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 500;
    line-height: 1.75;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 28px;
    font-style: italic;
}

.quote-author {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--blue);
    letter-spacing: 0.06em;
    font-style: normal;
    margin-bottom: 36px;
}

/* Timer progress bar */
.quote-timer {
    height: 3px;
    background: var(--border);
    border-radius: 100px;
    overflow: hidden;
    margin-top: 4px;
}

.quote-timer-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--blue), var(--blue-bright));
    border-radius: 100px;
    transform-origin: left;
}

/* Fade animations for quote transitions */
.quote-fade-out {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.quote-fade-in {
    animation: quoteFadeIn 0.6s ease forwards;
}

@keyframes quoteFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

@media (max-width: 640px) {
    .quote-display {
        padding: 40px 28px 32px;
    }

    .quote-text {
        font-size: 1.05rem;
    }
}
