/*
Theme Name: Zarar Portfolio - Team Lead & Full-Stack Developer
Theme URI: https://muhammadzarar.com/
Author: Muhammad Zarar
Author URI: https://muhammadzarar.com/
Description: Custom, high-performance WordPress portfolio theme built for Team Leads, Senior Full-Stack Developers & Mobile Engineers. Features cosmic dark/light theme, interactive ATS resume viewer modal, recruiter skill matcher, CLI terminal, and smooth responsive animations.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zarar-portfolio
Tags: portfolio, developer, custom-colors, custom-menu, featured-images, full-width-template, theme-options
*/

/* ==========================================================================
   Muhammad Zarar — Team Lead & Senior Full-Stack Developer Stylesheet
   100% Fully Responsive Design System with ATS-Optimized Components
   ========================================================================== */

:root {
    /* Color Palette - Dark Theme (Default) */
    --bg-hero: linear-gradient(135deg, #140727 0%, #1c0a34 50%, #110521 100%);
    --bg-about: #0a0414;
    --bg-card: rgba(26, 12, 46, 0.7);
    --bg-card-hover: rgba(42, 19, 74, 0.9);
    --bg-nav-scrolled: rgba(16, 6, 33, 0.92);
    --bg-drawer: rgba(14, 5, 30, 0.98);
    --bg-terminal: #0d051a;
    --bg-code: #0d061a;
    --bg-stats: rgba(10, 4, 20, 0.9);
    
    --accent-yellow: #FFC700;
    --accent-yellow-glow: rgba(255, 199, 0, 0.4);
    --accent-purple: #9333ea;
    --accent-purple-light: #c084fc;
    --neon-purple-glow: rgba(147, 51, 234, 0.5);
    --accent-green: #22c55e;
    
    --text-main: #ffffff;
    --text-muted: #b8accd;
    --text-dark: #121212;
    --border-subtle: rgba(255, 255, 255, 0.08);
    
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Fira Code', monospace;
    --font-script: 'Caveat', cursive;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Overrides */
[data-theme="light"] {
    --bg-hero: linear-gradient(135deg, #f7f4fc 0%, #ede6f7 50%, #f4effa 100%);
    --bg-about: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-card-hover: #ffffff;
    --bg-nav-scrolled: rgba(247, 244, 252, 0.95);
    --bg-drawer: rgba(250, 247, 255, 0.98);
    --bg-terminal: #160a2c;
    --bg-code: #160a2c;
    --bg-stats: #f1ebf9;
    
    --accent-yellow: #d97706;
    --accent-yellow-glow: rgba(217, 119, 6, 0.25);
    --accent-purple: #7e22ce;
    --accent-purple-light: #6b21a8;
    --neon-purple-glow: rgba(126, 34, 206, 0.2);
    --accent-green: #16a34a;
    
    --text-main: #120722;
    --text-muted: #4b3e65;
    --text-dark: #ffffff;
    --border-subtle: rgba(0, 0, 0, 0.09);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    background-color: #140727;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Background Canvas */
#space-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* ==========================================================================
   Custom Interactive Cosmic Mouse Cursor
   ========================================================================== */
@media (pointer: fine) {
    .custom-cursor-dot {
        position: fixed;
        top: 0;
        left: 0;
        width: 8px;
        height: 8px;
        background: var(--accent-yellow);
        border-radius: 50%;
        pointer-events: none;
        z-index: 10000;
        transform: translate(-50%, -50%);
        transition: opacity 0.2s ease, transform 0.1s ease;
        box-shadow: 0 0 10px var(--accent-yellow-glow);
    }
    
    .custom-cursor-ring {
        position: fixed;
        top: 0;
        left: 0;
        width: 36px;
        height: 36px;
        border: 1.5px solid rgba(168, 85, 247, 0.7);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: transform 0.15s ease-out, border-color 0.2s ease, background-color 0.2s ease, width 0.2s ease, height 0.2s ease;
        box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
    }

    .custom-cursor-ring.cursor-hover {
        width: 54px;
        height: 54px;
        border-color: var(--accent-yellow);
        background: rgba(255, 199, 0, 0.12);
        box-shadow: 0 0 25px var(--accent-yellow-glow);
    }

    .custom-cursor-dot.cursor-hover {
        transform: translate(-50%, -50%) scale(1.5);
    }
}

@media (pointer: coarse) {
    .custom-cursor-dot,
    .custom-cursor-ring {
        display: none !important;
    }
}

/* ==========================================================================
   UI Page Preloader Component
   ========================================================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #090312;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-ring-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-ring {
    position: absolute;
    border-radius: 50%;
}

.loader-ring-1 {
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--accent-yellow);
    border-bottom-color: var(--accent-purple);
    animation: spinRing 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.loader-ring-2 {
    width: 80%;
    height: 80%;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    animation: spinRingRev 2.5s linear infinite;
}

@keyframes spinRing { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spinRingRev { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }

.loader-logo-text {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 14px;
    color: var(--text-main);
    letter-spacing: 2px;
}

.loader-progress-box {
    width: 220px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-yellow));
    border-radius: 10px;
    transition: width 0.1s ease;
}

.loader-text {
    display: flex;
    justify-content: space-between;
    width: 220px;
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ==========================================================================
   Slide-Out Side Menu Navigation Drawer (Mobile & Tablet)
   ========================================================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.side-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 85vw);
    height: 100vh;
    background: var(--bg-drawer);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-subtle);
    z-index: 1999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 25px;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.6);
}

.side-drawer.open { transform: translateX(0); }

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.close-drawer-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.close-drawer-btn:hover {
    background: var(--accent-yellow);
    color: #0c051a;
    transform: rotate(90deg);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
    overflow-y: auto;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 10px 16px;
    border-radius: 12px;
    transition: var(--transition);
}

.drawer-link i {
    font-size: 15px;
    color: var(--accent-yellow);
    width: 20px;
    text-align: center;
}

.drawer-link:hover,
.drawer-link.active {
    background: rgba(255, 199, 0, 0.12);
    color: var(--accent-yellow);
    transform: translateX(6px);
}

.drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.drawer-socials {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.drawer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 14px;
    transition: var(--transition);
}

.drawer-socials a:hover {
    background: var(--accent-yellow);
    color: #0c051a;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
[data-reveal] {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-reveal="fade-up"] { transform: translateY(40px); }
[data-reveal="fade-left"] { transform: translateX(40px); }
[data-reveal="fade-right"] { transform: translateX(-40px); }
[data-reveal="zoom-in"] { transform: scale(0.92); }

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* ==========================================================================
   Top Navigation Bar & Header
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    background: var(--bg-nav-scrolled);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--accent-yellow);
    margin-left: 2px;
}

/* Top Menu Links (Desktop) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 24px);
    background: rgba(255, 255, 255, 0.05);
    padding: 7px 22px;
    border-radius: 40px;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

.nav-link {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-yellow);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Glowing ATS Resume Header Button */
.nav-resume-btn {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1.5px solid #22c55e;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    white-space: nowrap;
}

.nav-resume-btn:hover {
    background: #22c55e;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
    transform: translateY(-1px);
}

.nav-cta-btn {
    background: rgba(255, 199, 0, 0.15);
    color: var(--accent-yellow);
    border: 1px solid var(--accent-yellow);
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-cta-btn:hover {
    background: var(--accent-yellow);
    color: #0d061a;
    box-shadow: 0 0 20px var(--accent-yellow-glow);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 22px;
    cursor: pointer;
    padding: 5px;
}

/* Theme Toggle Switch */
.theme-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 25px;
    cursor: pointer;
}

.theme-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
}

.slider::before {
    content: "";
    position: absolute;
    height: 17px;
    width: 17px;
    left: 3px;
    bottom: 3px;
    background-color: var(--accent-yellow);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 0 10px var(--accent-yellow-glow);
}

input:checked + .slider::before {
    transform: translateX(23px);
}

.moon-icon { color: #ffffff; font-size: 9px; z-index: 1; }
.sun-icon { color: #ffb800; font-size: 9px; z-index: 1; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 130px 0 70px;
    background: var(--bg-hero);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.decorative-swirl-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 60px;
    margin-bottom: 8px;
}

.swirl-svg { width: 100%; height: 100%; }

.badge-tag {
    position: absolute;
    top: 4px;
    right: clamp(10px, 8vw, 40px);
    border: 1px solid rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.12);
    backdrop-filter: blur(8px);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    color: #22c55e;
    transform: rotate(-3deg);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-title {
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 400;
    line-height: 1.18;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.title-bold { font-weight: 800; }
.highlight-yellow { color: var(--accent-yellow); font-weight: 800; }
.text-green { color: #22c55e; }

.hero-description {
    font-size: clamp(13.5px, 1.7vw, 15px);
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 25px;
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

/* Fast Facts for Technical Recruiters */
.recruiter-fast-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fact-item {
    font-size: 11.5px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.fact-item i {
    color: var(--accent-yellow);
    font-size: 11px;
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-yellow {
    background: var(--accent-yellow);
    color: #0d061a;
    box-shadow: 0 0 25px var(--accent-yellow-glow);
}

.btn-yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(255, 199, 0, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1.5px solid var(--border-subtle);
}

.btn-outline:hover {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-text {
    background: transparent;
    color: var(--text-main);
    padding: 12px 20px;
}

.btn-text:hover { color: var(--accent-yellow); }

.btn-sm {
    padding: 7px 16px;
    font-size: 11.5px;
    border-radius: 20px;
}

.btn-full { width: 100%; }

.mb-2 { margin-bottom: 8px; }

/* Right Hero Visual */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: clamp(320px, 45vw, 440px);
}

.floating-chip {
    position: absolute;
    background: rgba(22, 9, 44, 0.9);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-main);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-chip i { color: var(--accent-yellow); font-size: 13px; }
.chip-1 { top: 15px; left: 5px; }
.chip-2 { bottom: 35px; left: -10px; animation-delay: 1.5s; }
.chip-3 { top: 30%; right: -15px; animation-delay: 2.5s; }
.chip-4 { bottom: 15px; right: 20px; animation-delay: 3.5s; }

@keyframes floatAnim { 0% { transform: translateY(0px); } 100% { transform: translateY(-10px); } }

.neon-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ring { position: absolute; border-radius: 50%; }

.ring-inner {
    width: clamp(240px, 35vw, 330px);
    height: clamp(240px, 35vw, 330px);
    border: 2px solid rgba(168, 85, 247, 0.8);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.6), inset 0 0 20px rgba(168, 85, 247, 0.3);
}

.ring-middle {
    width: clamp(280px, 40vw, 380px);
    height: clamp(280px, 40vw, 380px);
    border: 2px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.3);
    animation: rotateRing 25s linear infinite;
}

.ring-outer {
    width: clamp(310px, 45vw, 430px);
    height: clamp(310px, 45vw, 430px);
    border: 1.5px dashed rgba(168, 85, 247, 0.3);
    animation: rotateRingReverse 35s linear infinite;
}

@keyframes rotateRing { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotateRingReverse { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }

.avatar-circle {
    width: clamp(210px, 30vw, 290px);
    height: clamp(210px, 30vw, 290px);
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition);
}

.social-sidebar {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 10;
}

.social-icons { display: flex; flex-direction: column; gap: 16px; }
.social-icons a { font-size: 14px; color: var(--text-muted); transition: var(--transition); }
.social-icons a:hover { color: var(--accent-yellow); transform: scale(1.2); }

.divider-line { width: 1px; height: 40px; background: var(--border-subtle); }
.follow-text { writing-mode: vertical-rl; text-transform: uppercase; font-size: 11px; letter-spacing: 3px; color: var(--text-muted); font-weight: 500; }

.scroll-down-wrapper { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); text-align: center; z-index: 10; }
.scroll-down-link { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.scroll-label { font-size: 10px; color: var(--text-muted); letter-spacing: 1px; }

.mouse-icon { width: 20px; height: 32px; border: 2px solid var(--text-muted); border-radius: 12px; position: relative; display: flex; justify-content: center; }
.mouse-wheel { width: 3px; height: 7px; background-color: var(--accent-yellow); border-radius: 2px; margin-top: 5px; animation: scrollAnim 1.8s infinite; }
@keyframes scrollAnim { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }

/* Section Tag Pill */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-yellow);
    background: rgba(255, 199, 0, 0.1);
    border: 1px solid rgba(255, 199, 0, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* ==========================================================================
   Engineering Stats Bar
   ========================================================================== */
.stats-bar-section {
    background: var(--bg-stats);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 30px 0;
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-card { padding: 10px; }
.stat-number { font-size: clamp(28px, 4vw, 38px); font-weight: 800; color: var(--accent-yellow); margin-bottom: 4px; letter-spacing: -1px; text-shadow: 0 0 15px var(--accent-yellow-glow); }
.stat-label { font-size: clamp(11px, 1.5vw, 13px); color: var(--text-muted); font-weight: 500; }

/* ==========================================================================
   About Me Section
   ========================================================================== */
.about-section {
    background-color: var(--bg-about);
    padding: 95px 0;
    position: relative;
    overflow: hidden;
}

.about-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.about-image-wrapper { position: relative; display: flex; justify-content: center; align-items: center; }

.brush-stroke {
    position: absolute;
    width: clamp(240px, 35vw, 320px);
    height: clamp(240px, 35vw, 320px);
    background: linear-gradient(135deg, #6b21a8 0%, #9333ea 100%);
    transform: rotate(-12deg);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(10px);
    opacity: 0.85;
    z-index: 1;
}

.dotted-grid { position: absolute; top: -20px; right: 20px; width: 100px; height: 100px; background-image: radial-gradient(rgba(255, 255, 255, 0.3) 2px, transparent 2px); background-size: 14px 14px; z-index: 1; }
.yellow-circle-accent { position: absolute; bottom: -10px; right: 20px; width: 50px; height: 50px; background-color: var(--accent-yellow); border-radius: 50%; z-index: 3; box-shadow: 0 0 20px var(--accent-yellow-glow); }

.about-portrait-card {
    position: relative;
    width: clamp(250px, 35vw, 310px);
    height: clamp(300px, 42vw, 370px);
    border-radius: 24px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.about-img { width: 100%; height: 100%; object-fit: cover; }

.section-title { font-size: clamp(26px, 3.8vw, 36px); font-weight: 700; margin-bottom: 20px; letter-spacing: -0.5px; }
.about-text { font-size: clamp(13px, 1.6vw, 14.5px); color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.secondary-text { margin-bottom: 20px; }

.about-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.highlight-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 10px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.highlight-pill i {
    font-size: 18px;
    color: var(--accent-yellow);
    flex-shrink: 0;
}

.highlight-pill div {
    display: flex;
    flex-direction: column;
}

.highlight-pill strong {
    font-size: 12.5px;
    color: var(--text-main);
}

.highlight-pill span {
    font-size: 11px;
    color: var(--text-muted);
}

.handwritten-signature { font-family: var(--font-script); font-size: clamp(34px, 4.5vw, 42px); color: var(--accent-purple-light); margin-bottom: 25px; user-select: none; }
.about-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   ATS Categorized Skills Section
   ========================================================================== */
.skills-section { padding: 90px 0; background: linear-gradient(180deg, var(--bg-about) 0%, var(--bg-stats) 100%); }
.text-center { text-align: center; }
.section-subtitle { color: var(--text-muted); font-size: clamp(12px, 1.6vw, 14px); margin-top: -10px; margin-bottom: 45px; }

.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 26px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--accent-purple);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

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

.skill-icon { font-size: 32px; color: var(--accent-yellow); }

.skill-level-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(147, 51, 234, 0.2);
    color: var(--accent-purple-light);
    border: 1px solid rgba(147, 51, 234, 0.4);
    padding: 2px 10px;
    border-radius: 20px;
}

.skill-card h3 { font-size: 16.5px; margin-bottom: 8px; font-weight: 700; }
.skill-card p { font-size: 12.5px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.55; }

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.skill-tags span {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 3px 8px;
    border-radius: 6px;
    color: #e2e8f0;
    font-family: var(--font-mono);
}

.progress-bar { width: 100%; height: 5px; background: rgba(255, 255, 255, 0.08); border-radius: 10px; overflow: hidden; }
.progress { height: 100%; background: linear-gradient(90deg, var(--accent-purple), var(--accent-yellow)); border-radius: 10px; }

/* ==========================================================================
   Professional Experience Section
   ========================================================================== */
.experience-section { padding: 90px 0; background: var(--bg-about); }
.timeline { display: flex; flex-direction: column; gap: 24px; max-width: 880px; margin: 30px auto 0; }
.timeline-item { display: flex; gap: 20px; position: relative; }

.timeline-dot {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 0 15px var(--accent-yellow-glow);
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 24px;
    flex-grow: 1;
    transition: var(--transition);
}

.timeline-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-purple);
}

.timeline-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 10px;
}

.timeline-badge-active {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    color: #ffffff;
    background: #22c55e;
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.timeline-role-title { font-size: clamp(16px, 2.2vw, 18px); font-weight: 700; color: var(--text-main); }
.timeline-company { font-size: 12.5px; color: var(--accent-purple-light); font-weight: 500; display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.timeline-year { font-size: 11.5px; font-weight: 600; color: var(--accent-yellow); background: rgba(255, 199, 0, 0.1); padding: 4px 10px; border-radius: 20px; white-space: nowrap; font-family: var(--font-mono); }

.timeline-summary { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; font-style: italic; }

.timeline-bullets {
    list-style: none;
    padding-left: 0;
    margin-bottom: 14px;
}

.timeline-bullets li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 7px;
    font-size: 12.8px;
    color: var(--text-muted);
    line-height: 1.55;
}

.timeline-bullets li::before {
    content: "•";
    position: absolute;
    left: 4px;
    top: 0;
    color: var(--accent-yellow);
    font-weight: bold;
    font-size: 14px;
}

.timeline-bullets strong {
    color: var(--text-main);
}

.timeline-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
}

.timeline-tech-stack span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: var(--accent-purple-light);
    font-family: var(--font-mono);
}

/* ==========================================================================
   Education & Certifications Section
   ========================================================================== */
.education-section { padding: 90px 0; background: var(--bg-hero); }

.edu-cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 35px;
}

.column-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.column-heading i { color: var(--accent-yellow); }

.edu-column, .cert-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 20px 22px;
    transition: var(--transition);
}

.edu-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-3px);
}

.edu-card-year {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-yellow);
    font-family: var(--font-mono);
    margin-bottom: 4px;
}

.edu-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.edu-institution {
    font-size: 12.5px;
    color: var(--accent-purple-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.edu-card p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition);
}

.cert-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-3px);
}

.cert-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    font-size: 20px;
    flex-shrink: 0;
}

.cert-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    display: block;
}

.cert-info h4 {
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 2px;
}

.cert-issuer {
    font-size: 11.5px;
    color: var(--accent-purple-light);
    font-weight: 600;
    margin-bottom: 6px;
}

.cert-info p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ==========================================================================
   Recruiter ATS Keyword Matcher Tool
   ========================================================================== */
.ats-matcher-section { padding: 90px 0; background: var(--bg-about); }

.ats-matcher-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 22px;
    padding: 35px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.ats-matcher-presets {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.preset-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.preset-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.preset-btn:hover,
.preset-btn.active {
    background: var(--accent-purple);
    color: #ffffff;
    border-color: var(--accent-purple);
}

.ats-matcher-input-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.ats-matcher-input-row textarea {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    resize: none;
    transition: var(--transition);
}

.ats-matcher-input-row textarea:focus {
    border-color: var(--accent-yellow);
}

.ats-matcher-input-row .btn {
    align-self: flex-start;
    padding: 14px 22px;
}

.ats-results-wrapper {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 22px;
}

.ats-score-badge-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    border-right: 1px solid var(--border-subtle);
    padding-right: 20px;
}

.ats-circle-chart {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    border: 4px solid #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.ats-score-number {
    font-size: 24px;
    font-weight: 800;
    color: #22c55e;
    line-height: 1;
}

.ats-score-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.ats-status-text strong {
    display: block;
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 2px;
}

.ats-status-text span {
    font-size: 11px;
    color: var(--text-muted);
}

.ats-matched-keywords-box .box-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.keywords-pill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.match-pill {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================================================
   Terminal CLI Section
   ========================================================================== */
.terminal-section { padding: 80px 0; background: var(--bg-hero); }

.terminal-box {
    background: var(--bg-terminal);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    max-width: 880px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.terminal-header { background: rgba(255, 255, 255, 0.05); padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-subtle); }
.terminal-title { font-family: var(--font-mono); font-size: 12px; color: #b8accd; }

.terminal-body { padding: 18px 20px; min-height: 170px; max-height: 290px; overflow-y: auto; font-family: var(--font-mono); font-size: 12.5px; color: #e2e8f0; display: flex; flex-direction: column; gap: 8px; }
.term-prompt { color: var(--accent-yellow); font-weight: 600; margin-right: 6px; }

.terminal-input-row { padding: 10px 20px; background: rgba(0, 0, 0, 0.3); border-top: 1px solid var(--border-subtle); display: flex; align-items: center; }
.terminal-input-row input { background: transparent; border: none; outline: none; color: #ffffff; font-family: var(--font-mono); font-size: 12.5px; width: 100%; }

/* ==========================================================================
   Code Snippet Showcase Card
   ========================================================================== */
.code-showcase-section { padding: 40px 0 80px; background: var(--bg-about); }

.code-card {
    background: var(--bg-code);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    max-width: 880px;
    margin: 0 auto;
}

.code-header { background: rgba(255, 255, 255, 0.04); padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-subtle); }
.code-dots { display: flex; gap: 7px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; } .dot.yellow { background: #eab308; } .dot.green { background: #22c55e; }
.code-title { font-family: var(--font-mono); font-size: 12px; color: #b8accd; }

.code-body { padding: 20px 24px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; overflow-x: auto; color: #e2e8f0; }
.code-keyword { color: #f472b6; font-weight: 600; } .code-class { color: #38bdf8; font-weight: 600; } .code-func { color: #facc15; } .code-type { color: #c084fc; } .code-string { color: #4ade80; } .code-doc { color: #94a3b8; font-style: italic; }

/* ==========================================================================
   Projects Section & Filters
   ========================================================================== */
.projects-section { padding: 90px 0; background: var(--bg-about); }
.project-filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 35px; }

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-yellow);
    color: #0c051a;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 15px var(--accent-yellow-glow);
}

.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.project-card { border-radius: 20px; overflow: hidden; position: relative; min-height: 330px; background: #1e0b36; border: 1px solid var(--border-subtle); transition: var(--transition); display: flex; }
.project-card.hidden { display: none; }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }

.project-img-holder { width: 100%; min-height: 100%; background: linear-gradient(135deg, #3b0764 0%, #1e1b4b 100%); position: relative; display: flex; align-items: flex-end; padding: 25px; }
.project-2 { background: linear-gradient(135deg, #1e1b4b 0%, #065f46 100%); }
.project-3 { background: linear-gradient(135deg, #4c1d95 0%, #831843 100%); }
.project-4 { background: linear-gradient(135deg, #1e293b 0%, #0f766e 100%); }

.project-overlay { z-index: 2; width: 100%; }
.project-category { font-size: 10.5px; color: var(--accent-yellow); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
.project-overlay h4 { font-size: clamp(16px, 2.2vw, 18px); margin: 6px 0; color: #ffffff; }
.project-overlay p { font-size: 12.5px; color: #d1c4e9; margin-bottom: 12px; line-height: 1.5; }

.project-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 14px;
}

.project-tags-row span {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 10px;
    font-weight: 600;
    color: #f1f5f9;
    padding: 2px 7px;
    border-radius: 4px;
    font-family: var(--font-mono);
}

.project-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--accent-yellow); }
.project-link:hover { text-decoration: underline; }

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section { padding: 90px 0; background: var(--bg-about); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; max-width: 900px; margin: 0 auto; }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 25px; transition: var(--transition); }
.testimonial-card:hover { background: var(--bg-card-hover); border-color: var(--accent-purple); }

.stars { color: var(--accent-yellow); font-size: 13px; margin-bottom: 12px; display: flex; gap: 4px; }
.testimonial-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin-bottom: 18px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-yellow));
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.testimonial-author h4 { font-size: 14px; font-weight: 600; }
.testimonial-author span { font-size: 11.5px; color: var(--text-muted); }

/* ==========================================================================
   Floating WhatsApp Quick Action Button
   ========================================================================== */
.floating-whatsapp-pill {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #22c55e;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp-pill:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.6);
    background: #16a34a;
}

.floating-whatsapp-pill i { font-size: 16px; }

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section { padding: 90px 0; background: var(--bg-hero); }
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.contact-info h2 { font-size: clamp(26px, 3.8vw, 36px); margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); font-size: 13.5px; margin-bottom: 25px; line-height: 1.75; }
.info-list { display: flex; flex-direction: column; gap: 16px; }
.info-item { display: flex; align-items: center; gap: 14px; font-size: 13px; }

.info-item i {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    flex-shrink: 0;
}

.info-item a:hover { color: var(--accent-yellow); text-decoration: underline; }

.contact-form { background: var(--bg-card); border: 1px solid var(--border-subtle); padding: 32px; border-radius: 22px; display: flex; flex-direction: column; gap: 16px; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 13px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent-purple); }

/* ==========================================================================
   ATS Resume Modal Component
   ========================================================================== */
.ats-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ats-modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.ats-modal-dialog {
    background: #0f172a;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    width: 100%;
    max-width: 960px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ats-modal-backdrop.open .ats-modal-dialog {
    transform: scale(1);
}

.ats-modal-header {
    background: #1e293b;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #334155;
}

.ats-modal-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ats-badge-modal {
    background: #22c55e;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ats-modal-title-group h3 {
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
}

.ats-modal-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

.ats-modal-body {
    flex-grow: 1;
    background: #f8fafc;
    overflow: hidden;
}

.ats-resume-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Multi-Column Premium Footer
   ========================================================================== */
.footer { background: #080311; position: relative; padding: 70px 0 25px; color: var(--text-main); border-top: 1px solid var(--border-subtle); }

.footer-top-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-purple) 30%, var(--accent-yellow) 70%, transparent 100%);
}

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer-col { display: flex; flex-direction: column; }
.footer-logo { margin-bottom: 16px; }

.footer-bio { font-size: 12.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; max-width: 320px; }
.footer-social-pills { display: flex; gap: 10px; }

.social-pill {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-main);
    transition: var(--transition);
}

.social-pill:hover { background: var(--accent-yellow); color: #ffffff; border-color: var(--accent-yellow); transform: translateY(-3px); box-shadow: 0 5px 15px var(--accent-yellow-glow); }
.footer-title { font-size: 15px; font-weight: 600; margin-bottom: 20px; color: var(--text-main); position: relative; }
.footer-title::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 25px; height: 2px; background: var(--accent-yellow); border-radius: 2px; }

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 12.5px; color: var(--text-muted); transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.footer-links a i { font-size: 10px; color: var(--accent-yellow); }
.footer-links a:hover { color: var(--accent-yellow); transform: translateX(4px); }

.footer-newsletter-text { font-size: 12.5px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.footer-newsletter-form { display: flex; position: relative; }

.footer-newsletter-form input {
    width: 100%;
    padding: 11px 42px 11px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 30px;
    color: var(--text-main);
    font-size: 12.5px;
    outline: none;
    transition: var(--transition);
}

.footer-newsletter-form input:focus { border-color: var(--accent-purple); }

.footer-newsletter-form button {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    width: 32px;
    background: var(--accent-yellow);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition);
}

.footer-newsletter-form button:hover { transform: scale(1.08); }

.footer-bottom { padding-top: 25px; border-top: 1px solid var(--border-subtle); display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--text-muted); }

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.06);
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    font-size: 11.5px;
    font-weight: 500;
    transition: var(--transition);
}

.back-to-top:hover { background: var(--accent-purple); color: #ffffff; border-color: var(--accent-purple); transform: translateY(-3px); }

/* Global Toast Notification */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 20000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
    .nav-menu { gap: 14px; padding: 7px 16px; }
    .hero-container { gap: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
}

@media (max-width: 1024px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .hero-container, .about-container, .contact-container, .edu-cert-grid { grid-template-columns: 1fr; }
    .hero-container, .about-container, .contact-container { text-align: center; gap: 40px; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-cta, .recruiter-fast-facts { justify-content: center; }
    .social-sidebar { display: none; }
    .about-actions { justify-content: center; }
    .ats-results-wrapper { grid-template-columns: 1fr; }
    .ats-score-badge-card { border-right: none; border-bottom: 1px solid var(--border-subtle); padding-right: 0; padding-bottom: 16px; }
}

@media (max-width: 768px) {
    .hero-section { padding: 110px 0 60px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .timeline-item { flex-direction: column; gap: 12px; }
    .timeline-dot { align-self: flex-start; }
    .timeline-header-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .floating-chip { padding: 4px 10px; font-size: 10px; }
    .chip-1 { top: 10px; left: 0px; }
    .chip-2 { bottom: 20px; left: -10px; }
    .chip-3 { top: 40%; right: -10px; }
    .floating-whatsapp-pill span { display: none; }
    .floating-whatsapp-pill { padding: 12px; border-radius: 50%; bottom: 20px; left: 20px; }
    .floating-whatsapp-pill i { font-size: 20px; }
    .contact-form { padding: 22px; }
    .ats-matcher-box { padding: 20px; }
    .ats-matcher-input-row { flex-direction: column; }
    .about-highlights-grid { grid-template-columns: 1fr; }
    .ats-modal-header { flex-direction: column; gap: 10px; align-items: flex-start; }
    .ats-modal-header-actions { width: 100%; justify-content: space-between; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .stats-grid { grid-template-columns: 1fr; gap: 15px; }
    .skills-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .btn { width: 100%; }
    .hero-cta { flex-direction: column; width: 100%; }
    .about-actions { flex-direction: column; width: 100%; }
}
