/* ===================================
   Premium Portfolio — Refined & Fast
   =================================== */

:root {
    /* Brand — Amber / Orange */
    --primary: #F5A623;
    --primary-light: #FFD166;
    --primary-dark: #D4880A;
    --accent: #FF6B35;
    --accent-light: #FF9A76;

    --bg: #ffffff;
    --bg-alt: #FAFAF8;
    --bg-warm: #FFFBF0;
    --bg-dark: #111111;
    --bg-card: #ffffff;

    --text: #111111;
    --text-secondary: #555555;
    --text-muted: #999999;

    --border: #EBEBEB;
    --border-hover: #D4D4D4;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.09);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.10);
    --shadow-glow: 0 0 32px rgba(245, 166, 35, 0.28);

    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Space Grotesk', var(--font);

    --transition: 200ms ease;
    --transition-smooth: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1100px;

    --gradient-primary: linear-gradient(135deg, #F5A623 0%, #FF6B35 100%);
    --gradient-text: linear-gradient(135deg, #111111 0%, #F5A623 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(245, 166, 35, 0.05), rgba(255, 107, 53, 0.05));
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* GPU-accelerated transitions */
.btn, .project-card, .about-card, .social-link, .contact-method, .skills-category, .education-card {
    will-change: transform;
    transform: translateZ(0);
}

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

/* Hide all heavy animation elements */
#gradient-canvas,
.floating-3d-container,
.image-glow,
.image-border-animation,
.floating-elements,
.particle-canvas,
.scroll-indicator,
.icon-ripple,
.card-glow,
.card-particles,
.project-shine,
.project-mesh-gradient { display: none !important; }

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.875rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu { display: flex; gap: 2rem; align-items: center; }
.nav-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--primary); }

.nav-link-hire {
    background: var(--gradient-primary);
    color: #fff !important;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}
.nav-link-hire:hover { opacity: 0.9; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
    display: block;
}

/* ===================================
   Hero
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -8%;
    width: 560px;
    height: 560px;
    background: radial-gradient(ellipse, rgba(245, 166, 35, 0.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -12%;
    left: -6%;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255, 107, 53, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.hero-container { max-width: var(--max-width); margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-container { height: 48px; margin-bottom: 1.25rem; }
.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    color: var(--text-secondary);
    font-weight: 500;
}
.typing-text { color: var(--primary-light); }
.cursor { color: var(--primary); animation: blink 0.8s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.75;
    max-width: 520px;
}

.hero-buttons { display: flex; gap: 0.75rem; margin-bottom: 2rem; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}
.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.30);
}
.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.45);
    transform: translateY(-2px);
}
.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(245, 166, 35, 0.06);
    transform: translateY(-1px);
}
.btn-block { width: 100%; justify-content: center; }

.social-links { display: flex; gap: 0.75rem; }
.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all var(--transition-smooth);
    background: var(--bg);
}
.social-link:hover {
    color: #fff;
    border-color: var(--primary);
    background: var(--gradient-primary);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.35);
    transform: translateY(-2px);
}

.hero-image { display: flex; justify-content: center; }
.image-wrapper { position: relative; width: 100%; max-width: 400px; }

.hero-img-bg {
    position: absolute;
    inset: -32px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.14) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.profile-image {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), 0 0 0 5px var(--bg), 0 0 0 9px rgba(245, 166, 35, 0.25);
    object-fit: cover;
    object-position: top center;
    position: relative;
    z-index: 1;
}

/* Floating tech badges around hero image */
.hero-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.875rem;
    background: #fff;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    z-index: 10;
    white-space: nowrap;
    border: 1px solid var(--border);
    animation: floatBadge 3.5s ease-in-out infinite;
}
.hero-float-badge i { font-size: 0.95rem; }

.badge-react   { top: 12%;  left: -12%; animation-delay: 0s; }
.badge-react i { color: #61DAFB; }

.badge-angular   { bottom: 28%; left: -10%; animation-delay: 0.6s; }
.badge-angular i { color: #DD0031; }

.badge-node   { top: 8%;   right: -10%; animation-delay: 1.1s; }
.badge-node i { color: #339933; }

.badge-open {
    bottom: 12%;
    right: -8%;
    animation-delay: 1.7s;
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.35);
}
.badge-open-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}

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

/* ===================================
   Section Headers
   =================================== */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-subtitle {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    border: 1.5px solid rgba(245, 166, 35, 0.4);
    background: rgba(245, 166, 35, 0.08);
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}
.section-description {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 0.75rem auto 0;
    line-height: 1.7;
}

/* ===================================
   About
   =================================== */
.about { background: var(--bg-alt); }
.about-content { display: grid; gap: 2.5rem; }
.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.about-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}
.about-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(245, 166, 35, 0.2);
}
.about-card:hover::before { opacity: 1; }
.about-card-icon {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.75rem;
}
.about-card lottie-player { display: none; }
.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    margin: 0.5rem 0 0.25rem;
    color: var(--text);
}
.about-card p { color: var(--text-secondary); font-size: 0.9rem; }

.about-text { max-width: 750px; margin: 0 auto; }
.about-text .lead { font-size: 1.15rem; font-weight: 500; color: var(--text); margin-bottom: 1rem; }
.about-text p { color: var(--text-secondary); margin-bottom: 0.875rem; line-height: 1.75; }

.location-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.875rem 1rem;
    background: var(--bg-warm);
    border-radius: var(--radius);
    border: 1px solid rgba(245, 166, 35, 0.25);
    border-left: 4px solid var(--primary);
}
.location-info i { color: var(--primary); }
.location-info span { color: var(--text-secondary); font-size: 0.9rem; }

/* ===================================
   Timeline / Experience
   =================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 2.5rem; padding-left: 2rem; }
.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border: 2px solid var(--bg);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--bg-alt, var(--bg));
}
.timeline-content {
    background: var(--bg-card);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition-smooth);
}
.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 166, 35, 0.25);
}

.timeline-date {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(245, 166, 35, 0.10);
    color: var(--primary-dark);
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}
.timeline-company { color: var(--text-secondary); font-size: 1rem; margin-bottom: 0.875rem; }
.timeline-description { color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.25rem; }
.timeline-description li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.timeline-description li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.tech-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tech-tag {
    padding: 0.3rem 0.65rem;
    background: rgba(245, 166, 35, 0.10);
    color: var(--primary-dark);
    border-radius: var(--radius);
    font-size: 0.78rem;
    font-weight: 600;
}

/* ===================================
   Projects
   =================================== */
.projects { background: var(--bg-alt); }

.project-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 12px rgba(245, 166, 35, 0.35);
}
.filter-btn i { font-size: 0.8rem; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.project-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition-smooth);
}
.project-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
    border-color: rgba(245, 166, 35, 0.3);
}

.project-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.project-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10;
    padding: 0.3rem 0.75rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.extension-badge { background: #16a34a; }
.company-badge { background: #7c3aed; }

.project-image,
.project-image-real {
    position: relative;
    min-height: 200px;
    overflow: hidden;
    background: var(--bg-alt);
}
.project-image-real img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.project-card:hover .project-image-real img { transform: scale(1.02); }

.project-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.project-card:hover .project-image-overlay { opacity: 1; }

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
}
.project-status.live { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #22c55e; }

.project-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}
.project-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-dark);
    border: 1px solid rgba(245, 166, 35, 0.25);
}

.project-content { padding: 1.5rem; }
.project-header { margin-bottom: 0.75rem; }
.project-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}
.project-date { font-size: 0.8rem; color: var(--text-muted); }
.project-description { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; margin-bottom: 1rem; }

.project-highlights { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.highlight-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.highlight-item i { font-size: 0.65rem; color: var(--primary); }

.project-tech { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }

.project-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--bg-alt);
    color: var(--text-secondary);
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.project-link:hover { color: var(--primary); border-color: var(--primary); }
.project-link-primary {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 6px rgba(245, 166, 35, 0.25);
}
.project-link-primary:hover {
    box-shadow: 0 4px 14px rgba(245, 166, 35, 0.40);
    color: #fff;
    border-color: transparent;
    transform: translateY(-1px);
}

.project-card.filter-hidden { display: none; }

/* Microsoft Store Apps Badge */
.msapps-badge { background: #0078d4; }

/* VS Code Extensions Badge */
.vscode-badge { background: #007acc; }

/* VS Code Extensions Banner */
.project-card-vscode-banner {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #0d1117 0%, #1a2332 100%);
    border: 1px solid rgba(0, 122, 204, 0.3);
}
.project-card-vscode-banner .extensions-banner-icon { background: linear-gradient(135deg, #007acc, #0ea5e9); }

/* MS Apps Showcase Banner */
.project-card-msapps-banner {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(0, 120, 212, 0.3);
}
.msapps-banner-content { padding: 2rem; }
.msapps-banner-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.msapps-banner-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0078d4, #00bcf2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}
.project-card-msapps-banner .project-title {
    color: #fff;
    font-size: 1.3rem;
}
.msapps-banner-subtitle {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}
.project-card-msapps-banner .project-description { color: #cbd5e1; }
.project-card-msapps-banner .tech-tag {
    background: rgba(0, 120, 212, 0.15);
    color: #60a5fa;
    border-color: rgba(0, 120, 212, 0.3);
}
.project-card-msapps-banner:hover {
    border-color: rgba(0, 120, 212, 0.5);
    box-shadow: 0 8px 30px rgba(0, 120, 212, 0.15);
}

/* Individual MS App Card styling */
.msapp-card .project-image-real {
    min-height: 180px;
    background: #0f172a;
}
.msapp-card .project-image-real img {
    object-fit: contain;
    background: #0f172a;
}

/* Chrome Extensions Banner & Cards */
.project-card-extensions-banner {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #0f172a 0%, #1a1e2e 50%, #1e1a2e 100%);
    border: 1px solid rgba(22, 163, 106, 0.3);
}
.extensions-banner-content { padding: 2rem; }
.extensions-banner-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.extensions-banner-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #16a34a, #22d3ee);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}
.project-card-extensions-banner .project-title {
    color: #fff;
    font-size: 1.3rem;
}
.extensions-banner-subtitle {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}
.project-card-extensions-banner .project-description { color: #cbd5e1; }
.project-card-extensions-banner .tech-tag {
    background: rgba(22, 163, 106, 0.15);
    color: #4ade80;
    border-color: rgba(22, 163, 106, 0.3);
}
.project-card-extensions-banner:hover {
    border-color: rgba(22, 163, 106, 0.5);
    box-shadow: 0 8px 30px rgba(22, 163, 106, 0.15);
}

/* Individual Extension Card styling */
.ext-card .project-image-real {
    min-height: 180px;
    background: #0f172a;
}
.ext-card .project-image-real img {
    object-fit: contain;
    background: #0f172a;
}

/* Project Stats */
.project-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.35rem;
}
.stat-label { color: var(--text-muted); font-size: 0.8rem; font-weight: 500; }

/* ===================================
   Skills
   =================================== */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.skills-category {
    background: var(--bg-card);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition-smooth);
}
.skills-category:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.skills-category-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
}
.skills-category-title i { color: var(--primary); font-size: 0.9rem; }

.skills-list { display: flex; flex-direction: column; gap: 0.875rem; }
.skill-item { display: flex; flex-direction: column; gap: 0.35rem; }
.skill-name { font-weight: 500; color: var(--text-secondary); font-size: 0.875rem; }
.skill-bar { height: 6px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; }
.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 999px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0;
}

/* ===================================
   Education
   =================================== */
.education { background: var(--bg-alt); }
.education-content { max-width: 700px; margin: 0 auto; }
.education-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    gap: 1.5rem;
    align-items: center;
    transition: all var(--transition-smooth);
}
.education-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: rgba(245, 166, 35, 0.25);
}

.education-icon lottie-player { display: none; }
.education-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 166, 35, 0.10);
    border-radius: var(--radius-lg);
    font-size: 1.75rem;
    color: var(--primary-dark);
}

.education-degree {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    color: var(--text);
    margin-bottom: 0.25rem;
    font-weight: 600;
}
.education-institution { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 0.75rem; }
.education-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.education-year,
.education-gpa {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}
.education-meta i { color: var(--primary); font-size: 0.8rem; }

/* ===================================
   Hire Me CTA
   =================================== */
.hire-me {
    padding: 5rem 0;
    background: var(--bg-dark);
    color: #fff;
}
.hire-me-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hire-me-content {
    text-align: left;
    max-width: 560px;
}
.hire-me-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.4);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}
.status-dot-pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
.hire-me-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #fff;
}
.hire-me-title .highlight { color: var(--primary); }
.hire-me-description {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}
.hire-me-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}
.hire-service-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}
.hire-service-tag:hover {
    background: rgba(245, 166, 35, 0.15);
    border-color: rgba(245, 166, 35, 0.35);
    color: var(--primary-light);
}
.hire-service-tag i {
    color: var(--primary);
    font-size: 0.85rem;
}
.hire-me-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}
.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

/* Hire-me illustration panel */
.hire-me-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hire-me-illustration svg {
    width: 100%;
    max-width: 460px;
    height: auto;
}

/* ===================================
   Contact
   =================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.contact-text p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.5rem; }

.contact-methods { display: flex; flex-direction: column; gap: 1rem; }
.contact-method {
    display: flex;
    gap: 0.875rem;
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition-smooth);
}
.contact-method:hover {
    border-color: rgba(245, 166, 35, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.contact-method-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 166, 35, 0.10);
    border-radius: var(--radius);
    color: var(--primary-dark);
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-method-text h4 { font-family: var(--font-heading); font-size: 0.9rem; margin-bottom: 0.15rem; }
.contact-method-text p { color: var(--text-secondary); margin: 0; font-size: 0.875rem; }

.contact-form-wrapper {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-weight: 500; color: var(--text-secondary); font-size: 0.875rem; }
.form-group input,
.form-group textarea {
    padding: 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9rem;
    transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15), var(--shadow-sm);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--bg-dark);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}
.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
    color: #fff;
    font-weight: 700;
}
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.875rem; }

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: 0.875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--primary); }

.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    transition: all var(--transition-smooth);
}
.footer-social a:hover {
    color: #fff;
    border-color: var(--primary);
    background: var(--gradient-primary);
    box-shadow: 0 3px 8px rgba(245, 166, 35, 0.30);
    transform: translateY(-2px);
}

.footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* ===================================
   Subtle scroll reveal
   =================================== */
[data-scroll] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-scroll].scrolled {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 56px;
        right: -100%;
        width: 260px;
        height: calc(100vh - 56px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        transition: right 0.25s ease;
        border-left: 1px solid var(--border);
    }
    .nav-menu.active { right: 0; }
    .hamburger { display: flex; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

    .hero-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-image { order: -1; }
    .image-wrapper { max-width: 300px; }
    .hero-float-badge { display: none; }
    .hero-buttons { flex-direction: column; }
    .contact-content { grid-template-columns: 1fr; gap: 2rem; }
    .project-card-featured { grid-template-columns: 1fr; }
    .hire-me-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hire-me-illustration { order: -1; }
    .hire-me-title { font-size: 1.9rem; }
    .hire-me-buttons { flex-direction: column; }
}

@media (max-width: 640px) {
    .hero { padding: 5rem 1rem 3rem; }
    .container { padding: 0 1rem; }
    section { padding: 3.5rem 0; }
    .about-cards { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .project-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1.25rem; }
    .stat-item:nth-child(2)::after { display: none; }
    .stat-number { font-size: 1.5rem; }
    .skills-container { grid-template-columns: 1fr; }
    .education-card { flex-direction: column; text-align: center; padding: 1.5rem; }
    .education-meta { justify-content: center; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-links { align-items: center; }
    .footer-social { justify-content: center; }
}
