/* ==========================================================================
   MATHEW JOHN - PORTFOLIO STYLESHEET (NEON CYBERPUNK / GLASSMORPHISM)
   ========================================================================== */

/* --- Custom Variables & Theme Configurations --- */
:root {
    /* Color Palette */
    --bg-primary: #050816;
    --bg-secondary: #0a1128;
    --bg-tertiary: #02040b;
    --bg-glass: rgba(10, 17, 40, 0.6);
    --bg-glass-hover: rgba(16, 29, 66, 0.75);
    
    --neon-blue: #00f0ff;
    --neon-blue-glow: rgba(0, 240, 255, 0.4);
    --neon-blue-border: rgba(0, 240, 255, 0.15);
    
    --neon-purple: #9d4edd;
    --neon-purple-glow: rgba(157, 78, 221, 0.4);
    
    --text-primary: #f0f3ff;
    --text-secondary: #8a99ad;
    --text-muted: #53647c;
    --text-highlight: #00ff87;
    
    /* Layout Tokens */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-futuristic: 'Orbitron', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Glow effect defaults */
    --neon-glow: 0 0 15px var(--neon-blue-glow);
    --neon-border-glow: 0 0 8px var(--neon-blue-border);
}

/* --- Cyber Light Theme Variables --- */
body.light-theme {
    --bg-primary: #f4f6fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e9eff6;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-hover: rgba(244, 246, 250, 0.85);
    
    --neon-blue: #0066cc;
    --neon-blue-glow: rgba(0, 102, 204, 0.25);
    --neon-blue-border: rgba(0, 102, 204, 0.18);
    
    --neon-purple: #7209b7;
    --neon-purple-glow: rgba(114, 9, 183, 0.25);
    
    --text-primary: #121824;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-highlight: #00875a;
    
    --neon-glow: 0 0 12px var(--neon-blue-glow);
    --neon-border-glow: 0 0 6px var(--neon-blue-border);
}

/* --- Reset & Global Configurations --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor for custom cursor */
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

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

ul {
    list-style: none;
}

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

input, textarea, button {
    font-family: inherit;
    outline: none;
    border: none;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-secondary);
    border: 2px solid var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
    box-shadow: var(--neon-glow);
}

/* --- Scroll Progress Bar --- */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    z-index: 10000;
    width: 0;
    box-shadow: 0 0 10px var(--neon-blue-glow);
}

/* --- Custom Neon Cursor --- */
.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--neon-blue);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    box-shadow: 0 0 10px var(--neon-blue);
    transition: width 0.1s, height 0.1s, background-color 0.3s;
}

.custom-cursor-outline {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--neon-blue);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    box-shadow: var(--neon-glow);
    transition: transform 0.15s ease-out, border-color 0.3s, width 0.3s, height 0.3s;
}

.custom-cursor-outline.hovered {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 240, 255, 0.05);
    border-color: var(--text-highlight);
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.3);
}

body.light-theme .custom-cursor-outline.hovered {
    background-color: rgba(0, 102, 204, 0.05);
    border-color: var(--text-highlight);
    box-shadow: 0 0 20px rgba(0, 135, 90, 0.3);
}

/* Hide cursor on mobile touch screens */
@media (max-width: 1024px) {
    * {
        cursor: auto !important;
    }
    .custom-cursor-dot, .custom-cursor-outline {
        display: none;
    }
}

/* --- Futuristic Preloader Overlay --- */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #02040b;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    width: 90%;
    max-width: 480px;
}

.preloader-logo {
    font-family: var(--font-futuristic);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--neon-blue);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
}

.preloader-logo .logo-bracket {
    color: var(--text-muted);
}

.preloader-logo .logo-text {
    background: linear-gradient(120deg, #00f0ff, #9d4edd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preloader-spinner-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.preloader-spinner {
    width: 100px;
    height: 100px;
    border: 4px solid transparent;
    border-top: 4px solid var(--neon-blue);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.preloader-spinner-inner {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 70px;
    height: 70px;
    border: 3px solid transparent;
    border-bottom: 3px solid var(--neon-purple);
    border-radius: 50%;
    animation: spin-reverse 0.8s linear infinite;
}

.preloader-status {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.status-prefix {
    color: var(--neon-blue);
    font-weight: bold;
}

.status-msg {
    animation: pulse 1.5s infinite;
}

.preloader-terminal-lines {
    background-color: rgba(5, 8, 22, 0.8);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 6px;
    padding: 1rem;
    text-align: left;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    max-height: 120px;
    overflow: hidden;
}

.terminal-line {
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid transparent;
}

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.py-20 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

.w-full {
    width: 100%;
}

.text-neon {
    color: var(--neon-blue) !important;
}

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

/* Section Header styling */
.section-header {
    margin-bottom: 4.5rem;
}

.section-tag {
    font-family: var(--font-futuristic);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--neon-purple);
    text-shadow: 0 0 8px rgba(157, 78, 221, 0.2);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.neon-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), transparent);
    margin: 0.8rem auto 0;
    position: relative;
    border-radius: 2px;
}

.neon-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--neon-blue);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-blue);
}

/* --- Glassmorphism Base Utility --- */
.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--neon-blue-border);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), var(--neon-glow);
    transform: translateY(-5px);
}

/* --- Buttons & Interactive Anchors --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-neon-glow {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.25);
    border: none;
}

.btn-neon-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-neon-glow:hover {
    box-shadow: 0 0 20px var(--neon-blue-glow), 0 0 10px var(--neon-purple-glow);
    transform: translateY(-2px);
}

.btn-neon-glow:hover::before {
    left: 100%;
}

.btn-neon-outline {
    background: transparent;
    color: var(--neon-blue);
    border: 1.5px solid var(--neon-blue);
    box-shadow: var(--neon-border-glow);
}

.btn-neon-outline:hover {
    background: rgba(0, 240, 255, 0.08);
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

/* --- Sticky Navbar --- */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 9999;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar-header.sticky {
    padding: 0.8rem 0;
    background: rgba(5, 8, 22, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

body.light-theme .navbar-header.sticky {
    background: rgba(244, 246, 250, 0.85);
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo {
    font-family: var(--font-futuristic);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.nav-logo .logo-bracket {
    color: var(--neon-blue);
    text-shadow: var(--neon-glow);
    transition: var(--transition-smooth);
}

.nav-logo .logo-name {
    margin: 0 4px;
}

.nav-logo:hover .logo-bracket {
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple-glow);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 0.4rem 0.6rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    transition: var(--transition-smooth);
    box-shadow: var(--neon-glow);
}

.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: 1.2rem;
}

.nav-cv-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 4px;
}

/* Theme Toggle button */
.theme-toggle-btn {
    background: var(--bg-glass);
    border: 1px solid var(--neon-blue-border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--neon-blue);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: var(--neon-border-glow);
}

.theme-toggle-btn:hover {
    color: var(--text-highlight);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: var(--neon-glow);
    transform: rotate(15deg) scale(1.05);
}

.sun-icon {
    display: none;
}

body.light-theme .moon-icon {
    display: none;
}

body.light-theme .sun-icon {
    display: block;
    color: var(--neon-purple);
}

/* Mobile Nav Burger icon toggler */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--neon-blue);
    border-radius: 2px;
    transition: var(--transition-smooth);
    box-shadow: var(--neon-border-glow);
}

.mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--neon-purple);
}

.mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--neon-purple);
}

/* Mobile Drawer Overlay menu */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: rgba(2, 4, 11, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0, 240, 255, 0.15);
    padding: 7rem 2rem 2rem;
    z-index: 9998;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

body.light-theme .mobile-nav-drawer {
    background-color: rgba(244, 246, 250, 0.95);
    border-left: 1px solid rgba(0, 102, 204, 0.15);
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--neon-blue);
    text-shadow: var(--neon-glow);
    padding-left: 10px;
}

.drawer-action-item {
    margin-top: 2rem;
}

/* Desktop & Mobile Display states for Menu */
@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }
    .nav-cv-btn {
        display: none;
    }
    .mobile-nav-toggle {
        display: flex;
    }
}

/* --- Hero Section & Particle canvas --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Decorative background glowing spheres */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}

body.light-theme .blob {
    opacity: 0.08;
    filter: blur(130px);
}

.blob-blue {
    top: 15%;
    right: 10%;
    width: 400px;
    height: 400px;
    background-color: var(--neon-blue);
}

.blob-purple {
    bottom: 10%;
    left: 5%;
    width: 500px;
    height: 500px;
    background-color: var(--neon-purple);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tagline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

body.light-theme .hero-tagline-badge {
    background: rgba(0, 102, 204, 0.08);
    border-color: rgba(0, 102, 204, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-highlight);
    border-radius: 50%;
    animation: flash 1.5s infinite;
    box-shadow: 0 0 8px var(--text-highlight);
}

.badge-text {
    font-family: var(--font-futuristic);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--neon-blue);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.highlight-neon {
    background: linear-gradient(120deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    color: var(--text-primary);
}

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

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.hero-social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-label {
    font-family: var(--font-futuristic);
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-glass);
    border: 1px solid var(--neon-blue-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.social-icon-btn:hover {
    color: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: var(--neon-glow);
    transform: translateY(-3px);
}

/* Glowing Profile Card Frame with corners */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-neon-frame {
    position: relative;
    width: 330px;
    height: 330px;
    background-color: var(--bg-secondary);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), var(--neon-border-glow);
    overflow: hidden;
}

.avatar-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    opacity: 0.6;
    animation: scan 4s linear infinite;
    z-index: 3;
    pointer-events: none;
}

.avatar-corners span {
    position: absolute;
    width: 15px;
    height: 15px;
    border-color: var(--neon-blue);
    border-style: solid;
    z-index: 3;
    pointer-events: none;
}

.avatar-corners span:nth-child(1) { top: 0; left: 0; border-width: 3px 0 0 3px; }
.avatar-corners span:nth-child(2) { top: 0; right: 0; border-width: 3px 3px 0 0; }
.avatar-corners span:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 3px 3px; }
.avatar-corners span:nth-child(4) { bottom: 0; right: 0; border-width: 0 3px 3px 0; }

.avatar-image-container {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-primary);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.05);
    transition: var(--transition-slow);
}

.avatar-neon-frame:hover .avatar-img {
    transform: scale(1.05);
    filter: saturate(1.2) contrast(1.1);
}

.scroll-down-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    pointer-events: none;
}

.scroll-text {
    font-family: var(--font-futuristic);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid var(--text-muted);
    border-radius: 10px;
    position: relative;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--neon-blue);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

/* Responsiveness for Hero */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-actions-group {
        justify-content: center;
    }
    .hero-image-wrapper {
        order: -1;
    }
    .avatar-neon-frame {
        width: 280px;
        height: 280px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.8rem;
    }
}

/* --- About Me Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-greet {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
}

.about-para {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.highlight-icon {
    font-size: 1.4rem;
    color: var(--neon-blue);
    margin-top: 0.2rem;
    text-shadow: var(--neon-glow);
}

.highlight-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.highlight-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.stats-glass-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--bg-glass);
    border: 1px solid var(--neon-blue-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: var(--neon-glow);
    transform: scale(1.03);
}

.stat-icon-wrapper {
    font-size: 1.8rem;
    color: var(--neon-purple);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--neon-purple-glow);
}

.stat-number {
    font-family: var(--font-futuristic);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-plus {
    font-family: var(--font-futuristic);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neon-blue);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cyber terminal UI design widget */
.cyber-terminal-widget {
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    overflow: hidden;
}

.terminal-header {
    background-color: rgba(10, 17, 40, 0.8);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.terminal-dot.red { background-color: #ff5f56; }
.terminal-dot.yellow { background-color: #ffbd2e; }
.terminal-dot.green { background-color: #27c93f; }

.terminal-title {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-left: auto;
}

.terminal-body {
    padding: 1.2rem;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.t-prompt {
    color: var(--neon-blue);
}

.t-json {
    color: #ffd166;
    padding-left: 1.2rem;
}

.t-key {
    color: var(--neon-purple);
}

.t-val {
    color: var(--text-highlight);
}

.t-success {
    color: var(--text-highlight);
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    .stats-glass-container {
        grid-template-columns: 1fr;
    }
}

/* --- Skills Section --- */
.skills-filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.skills-filter-btn {
    background: var(--bg-glass);
    border: 1px solid var(--neon-blue-border);
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.skills-filter-btn:hover, .skills-filter-btn.active {
    color: var(--text-primary);
    border-color: var(--neon-blue);
    box-shadow: var(--neon-glow);
    background: rgba(0, 240, 255, 0.05);
}

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

.skill-card {
    padding: 1.8rem 1.2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skill-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    transition: var(--transition-smooth);
}

.skill-card:hover .skill-icon-wrapper {
    transform: scale(1.1) rotate(10deg);
}

/* Category Specific Glow Colors */
.devops-glow {
    color: var(--neon-purple);
    border: 1.5px solid rgba(157, 78, 221, 0.3);
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.1);
}
.skill-card:hover .devops-glow {
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px var(--neon-purple-glow);
}

.cloud-glow {
    color: var(--neon-blue);
    border: 1.5px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}
.skill-card:hover .cloud-glow {
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue-glow);
}

.coding-glow {
    color: var(--text-highlight);
    border: 1.5px solid rgba(0, 255, 135, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 135, 0.1);
}
.skill-card:hover .coding-glow {
    border-color: var(--text-highlight);
    box-shadow: 0 0 15px rgba(0, 255, 135, 0.4);
}

.tools-glow {
    color: #ffb703;
    border: 1.5px solid rgba(255, 183, 3, 0.3);
    box-shadow: 0 0 10px rgba(255, 183, 3, 0.1);
}
.skill-card:hover .tools-glow {
    border-color: #ffb703;
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.4);
}

/* Learning Badge styling */
.skill-icon-wrapper.learning {
    position: relative;
}

.skill-icon-wrapper.learning::after {
    content: '!';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background-color: var(--neon-purple);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: bold;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 5px var(--neon-purple-glow);
}

.skill-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.skill-level-indicator {
    width: 100%;
    height: 5px;
    background-color: var(--bg-tertiary);
    border-radius: 3px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.skill-meter {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    border-radius: 3px;
}

.skill-badge-text {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.learning-badge {
    color: var(--neon-purple);
    font-weight: 600;
}

/* --- Experience Timeline --- */
.experience-timeline {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    height: 100%;
    width: 2px;
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-purple), transparent);
    box-shadow: var(--neon-border-glow);
}

.timeline-item {
    position: relative;
    margin-bottom: 3.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-node {
    position: absolute;
    left: -32px;
    top: 15px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 2px solid var(--neon-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--neon-blue);
    font-size: 0.7rem;
    box-shadow: var(--neon-glow);
    z-index: 2;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-node {
    background-color: var(--neon-blue);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--neon-blue);
    transform: scale(1.15);
}

.timeline-content {
    padding: 2.2rem;
}

.timeline-header-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    padding-bottom: 1rem;
}

.timeline-job-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-company-name {
    font-size: 1.05rem;
    color: var(--neon-blue);
    font-weight: 500;
}

.timeline-period-badge {
    font-family: var(--font-futuristic);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    background: rgba(157, 78, 221, 0.12);
    border: 1px solid rgba(157, 78, 221, 0.25);
    color: var(--neon-purple);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    text-shadow: 0 0 5px var(--neon-purple-glow);
}

.timeline-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.timeline-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.timeline-bullets li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.timeline-bullets li i {
    margin-top: 0.25rem;
}

.timeline-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tag {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-secondary);
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
}

.timeline-item:hover .tech-tag {
    border-color: rgba(0, 240, 255, 0.15);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .timeline-header-block {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- Education Timeline --- */
.education-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(180deg, var(--neon-purple), var(--neon-blue), transparent);
    box-shadow: 0 0 8px rgba(157, 78, 221, 0.25);
}

.education-item {
    width: 50%;
    position: relative;
    margin-bottom: 4rem;
}

.education-item:last-child {
    margin-bottom: 0;
}

.education-item.left {
    padding-right: 3rem;
    text-align: right;
    left: 0;
}

.education-item.right {
    padding-left: 3rem;
    text-align: left;
    left: 50%;
}

.edu-node {
    position: absolute;
    top: 15px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 2.5px solid var(--neon-purple);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--neon-purple);
    font-size: 0.85rem;
    box-shadow: 0 0 10px var(--neon-purple-glow);
    z-index: 2;
    transition: var(--transition-smooth);
}

.education-item.left .edu-node {
    right: -14px;
}

.education-item.right .edu-node {
    left: -14px;
}

.education-item:hover .edu-node {
    background-color: var(--neon-purple);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--neon-purple);
    transform: scale(1.15);
}

.edu-content {
    padding: 2rem;
}

.edu-year {
    font-family: var(--font-futuristic);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    background-color: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: var(--neon-blue);
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1.2rem;
    text-shadow: 0 0 5px var(--neon-blue-glow);
}

.edu-content h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.edu-sub {
    font-size: 0.95rem;
    color: var(--neon-purple);
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.edu-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
        transform: none;
    }
    .education-item {
        width: 100%;
        left: 0 !important;
        padding-left: 3rem !important;
        padding-right: 0 !important;
        text-align: left !important;
        margin-bottom: 3rem;
    }
    .education-item .edu-node {
        left: 6px !important;
    }
}

/* --- Projects Section --- */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    background: var(--bg-glass);
    border: 1px solid var(--neon-blue-border);
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    color: var(--text-primary);
    border-color: var(--neon-blue);
    box-shadow: var(--neon-glow);
    background: rgba(0, 240, 255, 0.05);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.2rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 8, 22, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}

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

.project-card:hover .project-img {
    transform: scale(1.08);
}

.project-actions {
    display: flex;
    gap: 1.2rem;
}

.project-action-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 1.5px solid var(--neon-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--neon-blue);
    font-size: 1.25rem;
    box-shadow: var(--neon-border-glow);
    transition: var(--transition-smooth);
}

.project-action-btn:hover {
    background-color: var(--neon-blue);
    color: var(--bg-primary);
    box-shadow: var(--neon-glow);
    transform: translateY(-3px);
}

.project-info {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.project-cat {
    font-family: var(--font-futuristic);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--neon-purple);
}

.project-status {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-highlight);
    background-color: rgba(0, 255, 135, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.project-status-learning {
    font-size: 0.72rem;
    font-weight: 600;
    color: #ffb703;
    background-color: rgba(255, 183, 3, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.project-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.project-tags span {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem 2rem;
    text-align: left;
}

.service-icon {
    font-size: 2.2rem;
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
    text-shadow: var(--neon-glow);
    display: inline-block;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    transform: scale(1.15) translateY(-3px);
    color: var(--neon-purple);
    text-shadow: 0 0 12px var(--neon-purple-glow);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Certifications Section --- */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.2rem;
}

.cert-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cert-img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    background-color: var(--bg-tertiary);
}

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

.cert-card:hover .cert-img {
    transform: scale(1.05);
}

.cert-body {
    padding: 1.8rem;
}

.cert-issuer {
    font-family: var(--font-futuristic);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--neon-purple);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.cert-body h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.cert-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 480px) {
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

.info-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--neon-blue);
    margin-bottom: 1.2rem;
}

.info-para {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.info-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.info-detail-item {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background: var(--bg-glass);
    border: 1px solid var(--neon-blue-border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--neon-blue);
    font-size: 1.2rem;
    box-shadow: var(--neon-border-glow);
    transition: var(--transition-smooth);
}

.info-detail-item:hover .detail-icon {
    border-color: var(--neon-blue);
    box-shadow: var(--neon-glow);
    color: var(--text-highlight);
    transform: translateY(-2px);
}

.detail-content span {
    display: block;
    font-family: var(--font-futuristic);
    font-size: 0.72rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.detail-link, .detail-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
}

.detail-link:hover {
    color: var(--neon-blue);
    text-shadow: var(--neon-glow);
}

.contact-interactive-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form {
    padding: 2.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.form-group input, .form-group textarea {
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--neon-blue);
    box-shadow: var(--neon-border-glow);
    background-color: var(--bg-primary);
}

.form-response-msg {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.form-response-msg.success {
    color: var(--text-highlight);
}

.form-response-msg.error {
    color: #ff5f56;
}

/* Glassmorphic Map Container */
.map-placeholder-wrapper {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    height: 180px;
}

.map-placeholder-wrapper iframe {
    filter: invert(90%) hue-rotate(180deg) grayscale(85%) contrast(110%);
    opacity: 0.55;
    mix-blend-mode: luminosity;
    transition: var(--transition-smooth);
}

body.light-theme .map-placeholder-wrapper iframe {
    filter: none;
    opacity: 0.8;
}

.map-placeholder-wrapper:hover iframe {
    opacity: 0.85;
}

.map-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(5, 8, 22, 0.75);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 2;
    pointer-events: none;
}

body.light-theme .map-overlay {
    background-color: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 102, 204, 0.25);
}

.map-overlay span {
    font-family: var(--font-futuristic);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--neon-blue);
}

.map-icon {
    font-size: 0.85rem;
    color: var(--neon-blue);
    animation: pulse 1.5s infinite;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* --- Footer Section --- */
.footer-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0;
    position: relative;
    text-align: center;
    background-color: var(--bg-tertiary);
}

body.light-theme .footer-bar {
    border-top-color: rgba(0, 0, 0, 0.05);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-futuristic);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

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

.copyright-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.credit-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.heart-beat {
    color: #ff5f56;
    animation: heartbeat 1.2s infinite;
    display: inline-block;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.footer-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--neon-blue);
    text-shadow: var(--neon-glow);
}

/* Floating Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--bg-glass);
    border: 1px solid var(--neon-blue-border);
    color: var(--neon-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    box-shadow: var(--neon-border-glow);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background-color: var(--neon-blue);
    color: var(--bg-primary);
    box-shadow: var(--neon-glow);
    transform: translateY(-3px);
}

/* --- Keyframe Animations --- */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes flash {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes scan {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(8px); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25%, 75% { transform: scale(1.1); }
    50% { transform: scale(1.25); }
}
