:root {
    --bg-deep: #070707;
    --bg-primary: #0B0B0B;
    --bg-secondary: #111111;
    --bg-card: rgba(17, 17, 17, 0.55);
    --accent: #22C55E;
    --accent-light: #4ADE80;
    --accent-glow: rgba(34, 197, 94, 0.35);
    --accent-glow-strong: rgba(34, 197, 94, 0.6);
    --text-white: #F5F5F5;
    --text-light: #C0C0C0;
    --text-muted: #888888;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(34, 197, 94, 0.45);
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px var(--accent-glow);
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --navbar-height: 70px;
    --max-width: 1280px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-deep);
    color: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: default;
    position: relative;
    min-height: 100vh;
}

/* Selection */
::selection {
    background: var(--accent);
    color: #000;
}
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

/* Loading Screen */
/* #loading-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--accent);
    border-right-color: var(--accent-light);
    animation: loader-spin 0.8s linear infinite;
    filter: drop-shadow(0 0 18px var(--accent-glow-strong));
} */
/* @keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
} */

/* Scroll Progress */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    z-index: 9998;
    border-radius: 0 2px 2px 0;
    transition: width 0.1s linear;
    box-shadow: 0 0 16px var(--accent-glow-strong);
}

/* Scroll to Top */
#scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 9997;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-card);
}
#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#scroll-to-top:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    color: var(--accent-light);
}

/* Background Canvas + noise + light rays */
#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px 180px;
}
.light-ray {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    width: 600px;
    height: 2000px;
    background: linear-gradient(180deg, rgba(34,197,94,0.04) 0%, transparent 60%);
    transform: rotate(25deg);
    top: -30%;
    left: 15%;
    animation: ray-sweep 18s ease-in-out infinite;
    filter: blur(35px);
    opacity: 0.6;
}
.light-ray.ray-2 {
    left: auto;
    right: 10%;
    top: -50%;
    transform: rotate(-35deg);
    animation-delay: -9s;
    background: linear-gradient(180deg, rgba(74,222,128,0.03) 0%, transparent 70%);
}
@keyframes ray-sweep {
    0%, 100% {
        transform: rotate(25deg) translateY(0);
    }
    50% {
        transform: rotate(25deg) translateY(-60px);
    }
}

.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.25;
    animation: orb-float 12s ease-in-out infinite;
}
.ambient-orb.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.35) 0%, transparent 70%);
    top: -10%;
    left: -8%;
}
.ambient-orb.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.25) 0%, transparent 70%);
    bottom: -8%;
    right: -6%;
    animation-delay: -6s;
}
.ambient-orb.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 40%;
    animation-delay: -3s;
}
@keyframes orb-float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(40px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 25px) scale(0.9);
    }
    75% {
        transform: translate(-35px, -20px) scale(1.05);
    }
}

/* Grid Overlay */
.grid-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Cursor Spotlight */
#cursor-spotlight {
    position: fixed;
    pointer-events: none;
    z-index: 1;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9990;
    width: calc(100% - 40px);
    max-width: var(--max-width);
    background: rgba(11, 11, 11, 0.65);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 0 28px;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
#navbar.scrolled {
    box-shadow: 0 4px 40px rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.2);
}
.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: -0.5px;
    white-space: nowrap;
}
.nav-logo span {
    color: var(--accent-light);
}
@media (max-width: 1024px) {
    /* Mobile: move the menu (hamburger) icon to the LEFT and the
       "Abraham .James" name to the RIGHT side of the navbar. */
    #navbar .hamburger {
        order: -1;
    }
    #navbar .nav-logo {
        order: 1;
    }
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 6px;
    align-items: center;
}
.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all var(--transition-fast);
    position: relative;
    white-space: nowrap;
    letter-spacing: 0.2px;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
    background: rgba(34, 197, 94, 0.12);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
}
.nav-links a.active {
    color: var(--accent-light);
    font-weight: 600;
}
.nav-cta {
    background: var(--accent) !important;
    color: #000 !important;
    font-weight: 600 !important;
    padding: 9px 20px !important;
    border-radius: 50px !important;
    transition: all var(--transition-bounce) !important;
}
.nav-cta:hover {
    background: var(--accent-light) !important;
    box-shadow: 0 0 30px var(--accent-glow-strong) !important;
    transform: translateY(-2px) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 9991;
    padding: 8px;
    background: none;
    border: none;
}
.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--text-white);
    border-radius: 4px;
    transition: all var(--transition-smooth);
}
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
#mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9989;
    background: rgba(7, 7, 7, 0.96);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}
#mobile-menu.open {
    opacity: 1;
    visibility: visible;
}
#mobile-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#mobile-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    transition: color var(--transition-fast);
}
#mobile-menu a:hover {
    color: var(--accent-light);
}

/* Sections */
.section {
    position: relative;
    z-index: 2;
    padding: 100px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-light);
    margin-bottom: 12px;
    font-weight: 600;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 48px;
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 50%, rgba(34, 197, 94, 0.03) 100%);
    pointer-events: none;
    z-index: 0;
}
.glass-card>* {
    position: relative;
    z-index: 1;
}
.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card), 0 0 50px rgba(34, 197, 94, 0.12);
    transform: translateY(-4px);
}
.glass-card.glow-hover:hover {
    box-shadow: var(--shadow-card), 0 0 70px var(--accent-glow);
}

/* Hero */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    z-index: 2;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.hero-left .hero-greeting {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-light);
    margin-bottom: 8px;
    font-weight: 600;
}
.hero-left h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 12px;
}
.hero-left h1 .accent {
    color: var(--accent-light);
}
.hero-titles {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-light);
    min-height: 44px;
    margin-bottom: 20px;
}
.hero-titles .typed-cursor {
    color: var(--accent-light);
    font-weight: 300;
}
.hero-paragraph {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all var(--transition-bounce);
    letter-spacing: 0.3px;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
    background: transparent;
    color: var(--text-white);
}
.btn-primary {
    background: var(--accent);
    color: #000;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}
.btn-primary:hover {
    background: var(--accent-light);
    box-shadow: 0 6px 35px var(--accent-glow-strong);
    transform: translateY(-3px);
}
.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.2);
    transform: translateY(-3px);
    background: rgba(34, 197, 94, 0.06);
}
.hero-socials {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-light);
    font-size: 1rem;
    transition: all var(--transition-bounce);
    text-decoration: none;
}
.hero-socials a:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    box-shadow: 0 0 28px var(--accent-glow);
    transform: translateY(-3px);
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.portrait-frame {
    width: 380px;
    height: 420px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    position: relative;
}
.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 32px;
}
.stat-item {
    text-align: center;
    padding: 20px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-smooth);
}
.stat-item:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.1);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-light);
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.skills-category {
    margin-bottom: 48px;
}
.skills-category h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.3px;
    border-left: 4px solid var(--accent);
    padding-left: 16px;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 18px;
}
.skill-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 24px 18px;
    text-align: center;
    transition: all var(--transition-smooth);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.skill-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.15);
    transform: translateY(-6px);
}
.skill-card i {
    font-size: 2rem;
    color: var(--accent-light);
    margin-bottom: 10px;
    transition: transform var(--transition-bounce);
}
.skill-card:hover i {
    transform: scale(1.2);
}
.skill-card .skill-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.skill-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}
.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 10px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 50px rgba(34, 197, 94, 0.13);
    transform: translateY(-6px);
}
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: rgba(34, 197, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-light);
    margin-bottom: 16px;
    transition: all var(--transition-smooth);
}
.service-card:hover .service-icon {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 30px var(--accent-glow);
}
.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}
.filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
    font-family: var(--font-body);
    letter-spacing: 0.3px;
}
.filter-btn.active,
.filter-btn:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    box-shadow: 0 0 22px var(--accent-glow);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.portfolio-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-smooth);
}
.portfolio-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 45px rgba(34, 197, 94, 0.12);
    transform: translateY(-5px);
}
.portfolio-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.portfolio-card:hover .portfolio-img {
    transform: scale(1.06);
}
.portfolio-info {
    padding: 20px 22px;
}
.portfolio-info h3 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.portfolio-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}
.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.portfolio-tags span {
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-light);
    letter-spacing: 0.4px;
}
.portfolio-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.portfolio-links a {
    font-size: 0.8rem;
    padding: 7px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
    letter-spacing: 0.3px;
}
.btn-live {
    background: var(--accent);
    color: #000;
}
.btn-live:hover {
    box-shadow: 0 0 24px var(--accent-glow);
}
.btn-gh {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-gh:hover {
    border-color: var(--accent);
}
.btn-case {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-case:hover {
    border-color: var(--accent-light);
    color: #fff;
}

.timeline {
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), transparent);
}
.timeline-item {
    position: relative;
    margin-bottom: 36px;
    padding-left: 28px;
}
.timeline-icon {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}
.timeline-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    transition: all var(--transition-smooth);
}
.timeline-content:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 35px rgba(34, 197, 94, 0.1);
}
.timeline-content h3 {
    font-weight: 700;
    font-size: 1.05rem;
}
.timeline-meta {
    color: var(--accent-light);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}
.timeline-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonial-swiper {
    padding: 20px 0 40px;
}
.testimonial-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    text-align: center;
    transition: all var(--transition-smooth);
}
.testimonial-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.1);
}
.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px;
    border: 2px solid var(--accent);
}
.testimonial-stars i {
    color: #22C55E;
    font-size: 0.85rem;
    margin: 0 1px;
}
.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
}
.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
}
.testimonial-company {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-smooth);
}
.contact-info-item:hover {
    border-color: var(--accent);
}
.contact-info-item i {
    font-size: 1.3rem;
    color: var(--accent-light);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
}
.contact-info-item span {
    font-size: 0.9rem;
    color: var(--text-light);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-smooth);
    resize: vertical;
    outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.15);
    background: rgba(34, 197, 94, 0.03);
}
.contact-form textarea {
    min-height: 140px;
}
.contact-form button {
    align-self: flex-start;
}

#footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border-subtle);
    padding: 60px 24px 30px;
    background: rgba(7, 7, 7, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto 40px;
}
.footer-grid h4 {
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1rem;
    letter-spacing: -0.3px;
}
.footer-grid ul {
    list-style: none;
}
.footer-grid ul li {
    margin-bottom: 8px;
}
.footer-grid ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}
.footer-grid ul li a:hover {
    color: var(--accent-light);
}
.footer-newsletter input {
    padding: 11px 16px;
    border-radius: 50px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    width: 100%;
    margin-bottom: 10px;
    outline: none;
    transition: all var(--transition-smooth);
}
.footer-newsletter input:focus {
    border-color: var(--accent);
}
.footer-newsletter button {
    padding: 10px 22px;
    border-radius: 50px;
    background: var(--accent);
    color: #000;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    transition: all var(--transition-bounce);
    letter-spacing: 0.3px;
}
.footer-newsletter button:hover {
    box-shadow: 0 0 28px var(--accent-glow);
}
.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}
.footer-socials a {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}
.footer-socials a:hover {
    color: var(--accent-light);
}

/* Ripple */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    pointer-events: none;
}
@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-left h1 {
        font-size: 3rem;
    }
    .hero-paragraph {
        max-width: 100%;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-socials {
        justify-content: center;
    }
    .hero-right {
        order: -1;
    }
    .portrait-frame {
        width: 260px;
        height: 300px;
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}
@media (max-width: 640px) {
    .hero-left h1 {
        font-size: 2.3rem;
    }
    .hero-titles {
        font-size: 1.1rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section {
        padding: 60px 16px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    #navbar {
        width: calc(100% - 20px);
        padding: 0 16px;
        border-radius: var(--radius);
    }
    .btn {
        padding: 11px 20px;
        font-size: 0.85rem;
    }
}