/* ===================================================================
   YUGESH PANDEY PORTFOLIO - CYBER DARK & GLASSMORPHISM DESIGN SYSTEM
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --bg-main: #060813;
    --bg-secondary: #0a0e21;
    --bg-card: rgba(13, 19, 39, 0.7);
    --bg-card-hover: rgba(19, 28, 58, 0.85);
    --glass-bg: rgba(15, 23, 42, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(0, 242, 254, 0.35);
    
    /* Neon Accents */
    --cyan: #00f2fe;
    --cyan-glow: rgba(0, 242, 254, 0.4);
    --electric-blue: #4facfe;
    --purple: #8a2be2;
    --purple-light: #a855f7;
    --purple-glow: rgba(138, 43, 226, 0.4);
    --emerald: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.3);
    --amber: #f59e0b;
    --rose: #f43f5e;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #8a2be2 100%);
    --gradient-accent: linear-gradient(135deg, #8a2be2 0%, #ec4899 100%);
    --gradient-emerald: linear-gradient(135deg, #10b981 0%, #00f2fe 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-code: 'Space Grotesk', monospace;

    /* Transitions & Shadows */
    --transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
    --shadow-glow-cyan: 0 0 25px rgba(0, 242, 254, 0.3);
    --shadow-glow-purple: 0 0 25px rgba(138, 43, 226, 0.35);
}

/* ===================================================================
   RESET & GLOBAL STYLES
   =================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--cyan) 0%, var(--purple) 100%);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--cyan);
}

/* Canvas Particle Background */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* Ambient Radial Glow Overlays */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.15;
    animation: floatGlow 14s infinite alternate ease-in-out;
}
.ambient-glow.top-left {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
}
.ambient-glow.bottom-right {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
    animation-delay: -7s;
}
.ambient-glow.center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--electric-blue) 0%, transparent 75%);
    opacity: 0.08;
}

@keyframes floatGlow {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(60px) scale(1.15); }
}

/* Custom Cursor */
.custom-cursor {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px var(--cyan);
    transition: transform 0.08s ease, opacity 0.25s ease;
    opacity: 0;
}
.custom-cursor-follower {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(0, 242, 254, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.22s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.2s, background-color 0.2s, opacity 0.25s ease;
    opacity: 0;
}
.custom-cursor-follower.hovered {
    transform: translate(-50%, -50%) scale(1.6);
    background-color: rgba(0, 242, 254, 0.1);
    border-color: var(--cyan);
}

@media (max-width: 992px) {
    .custom-cursor, .custom-cursor-follower {
        display: none !important;
    }
}

/* Layout Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6.5rem 0;
    position: relative;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Section Header Component */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 4rem auto;
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: var(--cyan);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}
.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================================================
   BUTTONS & BADGES
   =================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.85rem 1.85rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #060813;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.55);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-cyan);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
}

/* ===================================================================
   NAVBAR COMPONENT
   =================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 0.85rem 0;
    background: rgba(6, 8, 19, 0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.navbar .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0;
    white-space: nowrap;
}
.logo-badge {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    color: #060813;
    font-size: 1.1rem;
    box-shadow: 0 0 18px var(--cyan-glow);
    flex-shrink: 0;
}
.brand-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    white-space: nowrap;
}
.brand-text span {
    color: var(--cyan);
}

/* Nav Links */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: clamp(1rem, 1.8vw, 2.2rem);
    margin: 0 1rem;
    padding: 0;
}
.nav-menu li {
    white-space: nowrap;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
    display: inline-block;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    font-size: 0.8rem;
    font-weight: 600;
    color: #34d399;
    white-space: nowrap;
    flex-shrink: 0;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 10px var(--emerald);
    animation: pulseGlow 1.8s infinite;
    flex-shrink: 0;
}
@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 6px;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero-section {
    min-height: 100vh;
    padding-top: 8rem;
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

/* Hero Content */
.hero-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    border-radius: 30px;
    background: rgba(138, 43, 226, 0.12);
    border: 1px solid rgba(138, 43, 226, 0.3);
    color: #c084fc;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(10px);
}
.hero-title {
    font-size: 3.75rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
}
.hero-title .typing-wrapper {
    display: block;
    min-height: 1.2em;
    color: var(--cyan);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.25rem;
    max-width: 580px;
}
.hero-description strong {
    color: var(--text-primary);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

/* Hero Stats Counter Strip */
.hero-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-glass);
}
.stat-box {
    text-align: center;
}
.stat-box .stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}
.stat-box .stat-number.counter-finished {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.6));
}
.stat-box .stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Hero Visual Column */
.hero-visual-card {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-hologram-wrapper {
    position: relative;
    width: 380px;
    height: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card-glass {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(13, 19, 39, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 242, 254, 0.2);
    transition: transform 0.4s ease;
}
.profile-card-glass:hover {
    transform: translateY(-8px) scale(1.02);
}

.profile-image-box {
    width: 100%;
    height: 100%;
    position: relative;
}
.profile-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: contrast(1.05) saturate(1.05);
}
.profile-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(6, 8, 19, 0.95) 0%, rgba(6, 8, 19, 0.5) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
}
.profile-overlay-gradient h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}
.profile-overlay-gradient p {
    font-size: 0.9rem;
    color: var(--cyan);
    font-weight: 500;
}

/* Floating Tech Badges */
.floating-tech-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(13, 19, 39, 0.85);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    z-index: 5;
    animation: floatBadge 6s infinite ease-in-out;
}
.floating-tech-badge i {
    font-size: 1.1rem;
}
.badge-react {
    top: 20px;
    left: -35px;
    border-color: rgba(97, 218, 251, 0.4);
    animation-delay: 0s;
}
.badge-react i { color: #61dafb; }

.badge-flutter {
    top: 130px;
    right: -40px;
    border-color: rgba(2, 86, 155, 0.5);
    animation-delay: -1.5s;
}
.badge-flutter i { color: #02569B; }

.badge-php {
    bottom: 90px;
    left: -40px;
    border-color: rgba(136, 146, 191, 0.4);
    animation-delay: -3s;
}
.badge-php i { color: #8892bf; }

.badge-node {
    bottom: 15px;
    right: -30px;
    border-color: rgba(104, 160, 99, 0.4);
    animation-delay: -4.5s;
}
.badge-node i { color: #68a063; }

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ===================================================================
   INFINITE TECH TICKER
   =================================================================== */
.ticker-section {
    padding: 1.75rem 0;
    background: rgba(10, 14, 33, 0.7);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    position: relative;
}
.ticker-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: tickerScroll 30s linear infinite;
}
.ticker-track:hover {
    animation-play-state: paused;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-code);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}
.ticker-item i {
    font-size: 1.25rem;
    color: var(--cyan);
}
.ticker-separator {
    color: rgba(255, 255, 255, 0.2);
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===================================================================
   ABOUT & JOURNEY SECTION
   =================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: start;
}

.about-bio-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-glass);
    margin-bottom: 2rem;
}
.about-bio-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.about-bio-card p strong {
    color: var(--text-primary);
}
.about-bio-card p:last-child {
    margin-bottom: 0;
}

/* Bio Highlights & Industry Badges */
.bio-industries-box {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}
.bio-industries-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.bio-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.bio-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.25s ease;
}
.bio-chip:hover {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.4);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.15);
}
.bio-chip i {
    color: var(--cyan);
    font-size: 0.78rem;
}

/* Journey Timeline */
.journey-timeline {
    position: relative;
    padding-left: 2rem;
}
.journey-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, var(--cyan) 0%, var(--purple) 50%, var(--emerald) 100%);
}
.timeline-card {
    position: relative;
    margin-bottom: 2.25rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    backdrop-filter: blur(14px);
    transition: var(--transition);
}
.timeline-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateX(8px);
    box-shadow: var(--shadow-glass);
}
.timeline-dot {
    position: absolute;
    left: -2.35rem;
    top: 1.75rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 3px solid var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
}
.timeline-date {
    display: inline-block;
    font-family: var(--font-code);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 6px;
}
.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 4px;
}
.timeline-org {
    font-size: 0.95rem;
    color: var(--purple-light);
    font-weight: 500;
    margin-bottom: 8px;
}
.timeline-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Skills Progress Mini-Bar */
.skills-progress-box {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(16px);
}
.skill-bar-item {
    margin-bottom: 1.5rem;
}
.skill-bar-item:last-child {
    margin-bottom: 0;
}
.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.92rem;
}
.skill-info span:last-child {
    color: var(--cyan);
    font-family: var(--font-code);
}
.skill-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}
.skill-fill {
    height: 100%;
    border-radius: 10px;
    background: var(--gradient-primary);
    transition: width 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ===================================================================
   SERVICES SECTION
   =================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(16px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), var(--shadow-glow-cyan);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}
.service-card:hover .service-icon-box {
    background: var(--gradient-primary);
    color: #060813;
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--cyan-glow);
}
.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
}
.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.service-tag {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

/* ===================================================================
   PROJECTS SECTION (SHOWCASE)
   =================================================================== */
.project-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}
.filter-btn {
    padding: 0.65rem 1.4rem;
    border-radius: 50px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(12px);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--gradient-primary);
    color: #060813;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 242, 254, 0.15);
}

.project-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #0d1224;
}
.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.project-card:hover .project-img-wrapper img {
    transform: scale(1.08);
}

.project-badge-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 30px;
    background: rgba(6, 8, 19, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    z-index: 2;
}
.project-badge-pill.live {
    border-color: rgba(16, 185, 129, 0.4);
    color: #34d399;
}
.project-badge-pill.app {
    border-color: rgba(99, 102, 241, 0.4);
    color: #818cf8;
}

/* Flutter Mobile App Mockup Display */
.app-mockup-wrapper {
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.35) 0%, #0d1224 90%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 10px !important;
}
.dual-phone-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    width: 100%;
}
.phone-screen {
    height: 195px !important;
    width: auto !important;
    max-width: 48% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7) !important;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}
.phone-screen-1 {
    transform: rotate(-3deg) scale(0.97);
}
.phone-screen-2 {
    transform: rotate(3deg) scale(0.97);
}
.project-card:hover .phone-screen-1 {
    transform: rotate(-5deg) translateY(-4px) scale(1.02);
}
.project-card:hover .phone-screen-2 {
    transform: rotate(5deg) translateY(-4px) scale(1.02);
}

.project-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.project-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.project-title {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
}
.project-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.project-tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.5rem;
}
.tech-chip {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-family: var(--font-code);
}

.project-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
}
.project-actions .btn {
    flex: 1;
}

/* ===================================================================
   MODAL COMPONENT (PROJECT QUICK VIEW)
   =================================================================== */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 8, 19, 0.85);
    backdrop-filter: blur(16px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.project-modal.active {
    display: flex;
    opacity: 1;
}
.modal-container {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    max-width: 850px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow-cyan);
    animation: modalPop 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes modalPop {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}
.modal-close-btn:hover {
    background: var(--rose);
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-image-box {
    width: 100%;
    height: 380px;
    background: radial-gradient(circle at center, #131c3a 0%, #060813 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}
.modal-image-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.modal-content-box {
    padding: 2.25rem;
}
.modal-badge-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
}
.modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.modal-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
}
.modal-feature-list {
    list-style: none;
    margin-bottom: 2rem;
}
.modal-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0.85rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}
.modal-feature-list li i {
    color: var(--emerald);
    margin-top: 4px;
}
.modal-tech-stack {
    margin-bottom: 2rem;
}
.modal-tech-stack h4 {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}
.modal-actions {
    display: flex;
    gap: 1rem;
}

/* ===================================================================
   SKILLS & TECH STACK SECTION
   =================================================================== */
.skills-matrix-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}
.skill-category-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(16px);
    transition: var(--transition);
}
.skill-category-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glass);
}
.skill-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
}
.skill-category-header i {
    font-size: 1.4rem;
    color: var(--cyan);
}
.skill-category-header h3 {
    font-size: 1.25rem;
}
.skill-badges-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.skill-pill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}
.skill-pill-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--cyan);
    transform: translateX(4px);
}
.skill-name-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.92rem;
}
.skill-name-icon i {
    font-size: 1.15rem;
}
.skill-pill-item span.skill-lvl {
    font-size: 0.75rem;
    font-family: var(--font-code);
    color: var(--cyan);
    background: rgba(0, 242, 254, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
}

/* ===================================================================
   CONTACT SECTION
   =================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 2.75rem;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-glass);
}
.contact-info-card h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}
.contact-info-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.channel-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}
.channel-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--cyan);
    transform: translateX(6px);
}
.channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.channel-details small {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.channel-details span {
    font-size: 0.95rem;
    font-weight: 600;
}

.social-links-strip {
    display: flex;
    gap: 12px;
}
.social-icon-btn {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    transition: var(--transition);
}
.social-icon-btn:hover {
    background: var(--gradient-primary);
    color: #060813;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--cyan-glow);
}

/* Contact Form Card */
.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 2.75rem;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-glass);
}
.form-header {
    margin-bottom: 2rem;
}
.form-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}
.form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
.form-field {
    margin-bottom: 1.25rem;
}
.form-field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    padding: 0.95rem 1.25rem;
    background: rgba(6, 8, 19, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
    background: rgba(6, 8, 19, 0.85);
}
.form-field select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-top: 1.25rem;
    font-size: 0.92rem;
    font-weight: 500;
    display: none;
    text-align: center;
}
.form-alert.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--emerald);
    color: #34d399;
}
.form-alert.error {
    display: block;
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid var(--rose);
    color: #fb7185;
}

/* ===================================================================
   FOOTER (REDESIGNED WITH GIANT BACKGROUND WATERMARK TYPOGRAPHY)
   =================================================================== */
.footer {
    background: #020308;
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem 0;
    position: relative;
    overflow: hidden;
}

/* Giant Stylized Background Watermark "YUGESH" */
.footer-huge-watermark {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    line-height: 0.8;
    overflow: hidden;
}

.watermark-outline {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 21vw, 20rem);
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(0, 242, 254, 0.09) 0%, rgba(168, 85, 247, 0.03) 60%, transparent 100%);
    -webkit-background-clip: text;
    display: inline-block;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.85;
}

.footer:hover .watermark-outline {
    -webkit-text-stroke: 1.5px rgba(0, 242, 254, 0.18);
    filter: drop-shadow(0 0 35px rgba(0, 242, 254, 0.2));
    opacity: 1;
    transform: translateY(-8px);
}

.footer-content-wrap {
    position: relative;
    z-index: 1;
}

/* Pre-CTA Glass Card */
.footer-cta-card {
    background: linear-gradient(135deg, rgba(13, 19, 39, 0.85) 0%, rgba(8, 12, 28, 0.95) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 4rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.footer-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 30px;
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.75rem;
}

.footer-cta-text h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-cta-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 580px;
    line-height: 1.6;
}

.footer-cta-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr 1.3fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 360px;
}

.footer-availability-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #34d399;
    margin: 1.25rem 0;
}

.live-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 10px #34d399;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.footer-links-list a i {
    font-size: 0.68rem;
    color: var(--cyan);
    transition: transform 0.25s ease;
}

.footer-links-list a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.footer-links-list a:hover i {
    transform: translateX(2px);
    color: var(--purple-light);
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.25s ease;
}

.footer-contact-item i {
    font-size: 1rem;
    color: var(--cyan);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-item .label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.footer-contact-item .val {
    display: block;
    font-size: 0.88rem;
    color: var(--text-primary);
    font-weight: 500;
}

a.footer-contact-item:hover {
    color: var(--cyan);
}

a.footer-contact-item:hover .val {
    color: var(--cyan);
}

/* Footer Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-bottom strong {
    color: var(--text-secondary);
}

.footer-back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-back-to-top:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--cyan);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.footer-back-to-top i {
    font-size: 0.75rem;
    color: var(--cyan);
}

/* Back To Top Floating Action Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #060813;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 20px var(--cyan-glow);
}
.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top-btn:hover {
    transform: translateY(-4px) scale(1.08);
}

/* ===================================================================
   RESPONSIVE MEDIA QUERIES
   =================================================================== */
@media (max-width: 1250px) {
    .nav-status { display: none; }
}

@media (max-width: 1100px) {
    .hero-title { font-size: 3.1rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .skills-matrix-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1050px) {
    .nav-actions .btn-glass { display: none; }
}

@media (max-width: 960px) {
    .section { padding: 4.5rem 0; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-title { font-size: 2.6rem; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-cta-group { justify-content: center; }
    .hero-stats-strip { grid-template-columns: repeat(2, 1fr); }
    .profile-hologram-wrapper {
        width: 320px;
        height: 380px;
        margin: 0 auto;
    }
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .form-group-row { grid-template-columns: 1fr; gap: 0; }
    .services-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    
    /* Mobile Nav Drawer */
    .hamburger-btn { display: block; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 380px;
        height: 100vh;
        background: rgba(6, 8, 19, 0.96);
        backdrop-filter: blur(25px);
        border-left: 1px solid var(--glass-border);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2.5rem 2rem 2.5rem;
        gap: 1.5rem;
        transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 1001;
    }
    .nav-menu.open {
        right: 0;
    }
    .nav-link { font-size: 1.15rem; }
    .nav-status { display: none; }
}

@media (max-width: 500px) {
    .section-title { font-size: 2.1rem; }
    .hero-title { font-size: 2.2rem; }
    .hero-stats-strip { grid-template-columns: 1fr; gap: 1rem; }
    .profile-hologram-wrapper { width: 280px; height: 340px; }
    .floating-tech-badge { display: none; }
    .skills-matrix-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-cta-card { padding: 1.75rem 1.25rem; }
    .footer-cta-actions { flex-direction: column; width: 100%; }
    .footer-cta-actions .btn { width: 100%; justify-content: center; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }
}

@media (max-width: 960px) {
    .footer-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    .footer-cta-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}
