/* ==========================================================================
   ANUJ SINGH - PURE HTML5 & CSS3 DEVELOPER PORTFOLIO
   Features: Pure CSS Animations, Word Ticker, Mobile Drawer & Glassmorphism
   Zero JavaScript Dependency - 100% Native CSS
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Color Palette */
    --bg-main: #070a12;
    --bg-secondary: #0d1220;
    --bg-card: rgba(16, 24, 40, 0.72);
    --bg-card-hover: rgba(22, 34, 56, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.04);

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-light: #ffffff;

    /* Accent & Brand Gradients */
    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    --accent-purple: #8b5cf6;
    --accent-violet: #a855f7;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;

    --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #8b5cf6 100%);
    --gradient-accent: linear-gradient(135deg, #00f2fe 0%, #8b5cf6 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    --gradient-card-border: linear-gradient(135deg, rgba(0, 242, 254, 0.35), rgba(139, 92, 246, 0.15), rgba(255, 255, 255, 0.05));
    --gradient-glow: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);

    /* Borders & Outlines */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(0, 242, 254, 0.5);

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Fira Code', monospace;

    /* Shadows & Glows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
    --shadow-glow-cyan: 0 0 35px rgba(0, 242, 254, 0.28);
    --shadow-glow-purple: 0 0 35px rgba(139, 92, 246, 0.28);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Reset & Base Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    line-height: 1.65;
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* --- Container Utility --- */
.container {
    width: min(1200px, calc(100% - 3rem));
    margin-inline: auto;
}

@media (max-width: 640px) {
    .container {
        width: calc(100% - 2rem);
    }
}

/* --- Ambient Background Glow Orbs --- */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.45;
}

.glow-1 {
    top: -150px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.35), transparent 70%);
    animation: floatGlow 14s ease-in-out infinite alternate;
}

.glow-2 {
    top: 45%;
    left: -200px;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.28), transparent 70%);
    animation: floatGlow 18s ease-in-out infinite alternate-reverse;
}

.glow-3 {
    bottom: -150px;
    right: 10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 70%);
    animation: floatGlow 16s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(40px, 60px) scale(1.1);
    }

    100% {
        transform: translate(-30px, 30px) scale(0.95);
    }
}

/* --- Typography Utilities --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 3.5rem;
}

.text-center {
    text-align: center;
}

/* --- Glassmorphism Card System --- */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 1.25rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--gradient-card-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.4;
    transition: opacity var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 242, 254, 0.35);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 242, 254, 0.14);
}

.glass-card:hover::before {
    opacity: 0.9;
}

/* --- Buttons System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    outline: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-sm {
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #070a12;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 242, 254, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    color: var(--accent-cyan);
}

.btn-outline {
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.35);
}

.btn-outline:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

/* --- Section Shared Spacing --- */
.section {
    padding: 6.5rem 0;
    position: relative;
}

.section-alt {
    background: linear-gradient(180deg, rgba(13, 18, 32, 0.6) 0%, rgba(7, 10, 18, 0.6) 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   HEADER & NAVBAR (PURE CSS STICKY + CHECKBOX DRAWER)
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.85rem 0;
    background: rgba(7, 10, 18, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo-bracket {
    color: var(--accent-cyan);
    font-family: var(--font-mono);
}

.logo-accent {
    color: var(--accent-purple);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.4rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Pure CSS Mobile Checkbox Drawer Hack */
.nav-toggle-checkbox {
    display: none;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.nav-cta-mobile {
    display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: calc(100vh - 75px);
    padding-top: 4.5rem;
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 999px;
    color: #34d399;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.6);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.hero-title {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    letter-spacing: -0.03em;
    margin-bottom: 0.8rem;
}

/* Pure CSS Dynamic Role Ticker */
.css-role-ticker {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.4vw, 1.9rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 2.5rem;
}

.role-prefix {
    color: var(--text-secondary);
}

.ticker-window {
    display: inline-block;
    height: 2.5rem;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    flex-direction: column;
    animation: rotateRoles 12s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.ticker-item {
    height: 2.5rem;
    line-height: 2.5rem;
    color: var(--accent-cyan);
    white-space: nowrap;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

@keyframes rotateRoles {

    0%,
    20% {
        transform: translateY(0);
    }

    25%,
    45% {
        transform: translateY(-2.5rem);
    }

    50%,
    70% {
        transform: translateY(-5rem);
    }

    75%,
    95% {
        transform: translateY(-7.5rem);
    }

    100% {
        transform: translateY(-10rem);
    }
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 2.2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.hero-socials {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    transition: all var(--transition-fast);
}

.social-btn:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 242, 254, 0.25);
}

/* --- Hero Profile Visual Showcase --- */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-card-wrapper {
    position: relative;
    width: 360px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform var(--transition-normal);
}

.profile-card-wrapper:hover {
    transform: translateY(-6px) scale(1.02);
}

.profile-aura {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: var(--gradient-primary);
    filter: blur(50px);
    opacity: 0.55;
    z-index: 0;
    animation: rotateAura 10s linear infinite;
}

@keyframes rotateAura {
    0% {
        transform: rotate(0deg) scale(0.95);
    }

    50% {
        transform: rotate(180deg) scale(1.08);
    }

    100% {
        transform: rotate(360deg) scale(0.95);
    }
}

.profile-frame {
    position: relative;
    z-index: 1;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    padding: 6px;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow-cyan), 0 20px 50px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background-color: #101c2f;
    transition: transform var(--transition-slow);
}

.profile-card-wrapper:hover .profile-img {
    transform: scale(1.05);
}

.frame-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
    animation: shineSweep 6s infinite;
}

@keyframes shineSweep {

    0%,
    75% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    z-index: 2;
    padding: 0.75rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 1rem;
    background: rgba(16, 24, 40, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    animation: floatBadge 4s ease-in-out infinite alternate;
}

.badge-top-left {
    top: -15px;
    left: -35px;
    animation-delay: 0s;
}

.badge-bottom-right {
    bottom: -15px;
    right: -25px;
    animation-delay: 2s;
}

.badge-tech-stack {
    bottom: 25px;
    left: -45px;
    padding: 0.6rem 0.9rem;
    animation-delay: 1s;
}

@keyframes floatBadge {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-10px);
    }
}

.badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.icon-code {
    background: rgba(0, 242, 254, 0.15);
    color: var(--accent-cyan);
}

.icon-star {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-amber);
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-num {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.1;
}

.badge-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.tech-mini-icons {
    display: flex;
    gap: 0.6rem;
    font-size: 1.25rem;
}

.tech-mini-icons .fa-react {
    color: #61dafb;
}

.tech-mini-icons .fa-js {
    color: #f7df1e;
}

.tech-mini-icons .fa-html5 {
    color: #e34f26;
}

.tech-mini-icons .fa-css3-alt {
    color: #1572b6;
}

/* --- Hero Stats Bar --- */
.hero-stats-container {
    margin-top: 1rem;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    padding: 1.75rem 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.6vw, 2.4rem);
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: stretch;
}

.about-story {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-icon-header {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    color: var(--accent-purple);
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
}

.about-story h3 {
    font-size: 1.45rem;
    margin-bottom: 1.2rem;
    line-height: 1.35;
}

.about-story p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.about-personal-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.info-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: var(--text-primary);
}

.info-tag i {
    color: var(--accent-cyan);
}

.about-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.pillar-card {
    padding: 1.4rem 1.6rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.pillar-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.bg-cyan {
    background: rgba(0, 242, 254, 0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.25);
}

.bg-purple {
    background: rgba(139, 92, 246, 0.12);
    color: var(--accent-purple);
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.bg-green {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.bg-amber {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-amber);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.pillar-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   SKILLS & TECH STACK
   ========================================================================== */
.skills-container-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.skill-category-card {
    padding: 2.2rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.category-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.icon-cyan {
    background: rgba(0, 242, 254, 0.15);
    color: var(--accent-cyan);
}

.icon-purple {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple);
}

.icon-green {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
}

.category-header h3 {
    font-size: 1.25rem;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.skill-pill:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.15);
}

.skill-brand {
    font-size: 1.05rem;
}

.skill-brand.react {
    color: #61dafb;
}

.skill-brand.js {
    color: #f7df1e;
}

.skill-brand.html {
    color: #e34f26;
}

.skill-brand.css {
    color: #1572b6;
}

.skill-brand.tailwind {
    color: #38bdf8;
}

.skill-brand.bootstrap {
    color: #7952b3;
}

.skill-brand.git {
    color: #f05032;
}

.skill-brand.github {
    color: #ffffff;
}

.skill-brand.npm {
    color: #cb3837;
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.project-mockup {
    height: 190px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.mockup-booking {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.mockup-flight {
    background: linear-gradient(135deg, #1f1c2c, #40346a, #2c3e50);
}

.mockup-portfolio {
    background: linear-gradient(135deg, #091921, #0b343d, #142f43);
}

.mockup-screen {
    width: 90%;
    height: 85%;
    background: rgba(10, 15, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--transition-normal);
}

.project-card:hover .mockup-screen {
    transform: scale(1.05);
}

.mockup-header-dots {
    height: 22px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-header-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.mockup-header-dots span:nth-child(1) {
    background: #ff5f56;
}

.mockup-header-dots span:nth-child(2) {
    background: #ffbd2e;
}

.mockup-header-dots span:nth-child(3) {
    background: #27c93f;
}

.mockup-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    text-align: center;
    gap: 0.35rem;
}

.mockup-badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.5rem;
    background: rgba(0, 242, 254, 0.15);
    color: var(--accent-cyan);
    border-radius: 4px;
}

.mockup-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mockup-graphic {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.project-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    color: var(--accent-cyan);
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.project-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* ==========================================================================
   EXPERIENCE & TIMELINE
   ========================================================================== */
.timeline-container {
    max-width: 800px;
    margin-inline: auto;
    position: relative;
    padding-left: 2.5rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 1.5rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 3px solid var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.timeline-content {
    padding: 2rem;
}

.timeline-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--accent-purple);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.timeline-company {
    color: var(--accent-cyan);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.9rem;
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-tags span {
    font-size: 0.78rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-card {
    padding: 1.4rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-card-text .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.contact-card-text .value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-all;
}

.contact-card-text a.value:hover {
    color: var(--accent-cyan);
}

.external-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.external-btn:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* Contact Form */
.contact-form {
    padding: 2.5rem;
}

.contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.form-intro {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1.8rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1.1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: color var(--transition-fast);
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    background: rgba(8, 11, 20, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 0.85rem 1rem 0.85rem 2.8rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input-wrapper.textarea-wrapper i {
    top: 1.1rem;
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 110px;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15);
}

.input-wrapper input:focus+i,
.input-wrapper textarea:focus+i {
    color: var(--accent-cyan);
}

/* ==========================================================================
   SCROLL TO TOP BUTTON (PURE CSS)
   ========================================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(16, 24, 40, 0.9);
    border: 1px solid var(--border-subtle);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 999;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.scroll-top-btn:hover {
    background: var(--accent-cyan);
    color: #070a12;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.4);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: #05070d;
    border-top: 1px solid var(--border-subtle);
    padding: 4.5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 360px;
    margin-top: 1rem;
}

.footer-links-group h4 {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links-group a {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.footer-links-group a:hover {
    color: var(--accent-cyan);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.built-with .heart-icon {
    color: var(--accent-rose);
    display: inline-block;
    animation: heartBeat 1.5s infinite;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* ==========================================================================
   PURE CSS ENTRANCE ANIMATIONS
   ========================================================================== */
.animate-fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

.delay-6 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (PURE CSS MOBILE MENU & LAYOUT)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-socials {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .skills-container-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 14, 25, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        padding: 5.5rem 2rem 2rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
        border-left: 1px solid var(--border-subtle);
        transition: right var(--transition-normal);
        z-index: 1000;
    }

    /* Pure CSS Checkbox Trigger for Drawer Open */
    .nav-toggle-checkbox:checked~.nav-menu {
        right: 0;
    }

    .nav-toggle-checkbox:checked~.mobile-toggle .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle-checkbox:checked~.mobile-toggle .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle-checkbox:checked~.mobile-toggle .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 1.15rem;
    }

    .nav-cta-mobile {
        display: block;
        width: 100%;
    }

    .nav-cta-mobile .btn {
        width: 100%;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .skills-container-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-group-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .profile-card-wrapper {
        width: 280px;
    }

    .profile-frame {
        width: 260px;
        height: 260px;
    }

    .badge-top-left {
        left: -10px;
        top: -20px;
    }

    .badge-bottom-right {
        right: -10px;
        bottom: -20px;
    }

    .badge-tech-stack {
        left: -10px;
        bottom: 30px;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr;
    }
}