/* ==================== GOOGLE FONTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ==================== CSS VARIABLES ==================== */
:root {
    --hue-color: 260;
    --sat: 80%;
    --lig: 60%;
    --first-color: hsl(var(--hue-color), var(--sat), var(--lig));
    --first-color-alt: hsl(var(--hue-color), var(--sat), 50%);
    --first-color-lighter: hsl(var(--hue-color), 70%, 85%);
    --first-color-glow: hsl(var(--hue-color), var(--sat), 70%);

    /* Dark theme (default) */
    --body-color: #000000;
    --container-color: #0A0A10;
    --card-color: #0d0d15;
    --title-color: #FFFFFF;
    --text-color: rgba(255, 255, 255, 0.55);
    --text-color-light: rgba(255, 255, 255, 0.35);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.18);
    --input-bg: #111118;
    --nav-bg: rgba(0, 0, 0, 0.72);
    --glow-sm: 0 0 15px rgba(139, 92, 246, 0.15);
    --glow-md: 0 0 30px rgba(139, 92, 246, 0.12);
    --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.4);

    --header-height: 5.5rem;

    /* Font sizes */
    --big-font-size: 5rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;

    /* Font weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;
    --font-extra-bold: 800;

    /* Z-index */
    --z-fixed: 100;
    --z-modal: 1000;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== LIGHT THEME ==================== */
body.light-theme {
    --body-color: #f8f8fc;
    --container-color: #ffffff;
    --card-color: #f0f0f5;
    --title-color: #0a0a10;
    --text-color: rgba(0, 0, 0, 0.6);
    --text-color-light: rgba(0, 0, 0, 0.35);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-hover: rgba(0, 0, 0, 0.18);
    --input-bg: #e8e8ef;
    --nav-bg: rgba(248, 248, 252, 0.82);
    --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.08);
}

body.light-theme #particle-canvas {
    opacity: 1;
}

body.light-theme .hero__title {
    background: linear-gradient(180deg, var(--title-color) 0%, rgba(0, 0, 0, 0.45) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

body.light-theme .timeline__line {
    background: rgba(0, 0, 0, 0.06);
}

body.light-theme .timeline__line-fill {
    background: linear-gradient(180deg, var(--first-color), rgba(0, 0, 0, 0.12));
}

body.light-theme .timeline__pill {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
}

body.light-theme .process__card {
    background: linear-gradient(145deg, #f8f5ff 0%, #ede8f7 100%);
    border-color: rgba(139, 92, 246, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.light-theme .process__number {
    background: linear-gradient(145deg, #ede8f7 0%, #ddd6f0 100%);
    color: var(--first-color);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.light-theme .process__line {
    background: rgba(139, 92, 246, 0.1);
}

body.light-theme .process__line-fill {
    background: linear-gradient(180deg, var(--first-color), rgba(139, 92, 246, 0.15));
}

body.light-theme .contact__form {
    background: linear-gradient(145deg, #f0ecf7 0%, #e8e4f2 100%);
    border-color: rgba(139, 92, 246, 0.12);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

body.light-theme .contact__input {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(139, 92, 246, 0.12);
    color: #1a1a2e;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

body.light-theme .button--pill:hover {
    background: rgba(0, 0, 0, 0.04);
}

body.light-theme .globe__sphere {
    background: radial-gradient(circle at 35% 35%, rgba(139, 92, 246, 0.12), rgba(59, 130, 246, 0.05));
}

body.light-theme .globe__meridian,
body.light-theme .globe__equator {
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .globe__tag {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}



/* ==================== BASE RESET ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s, color 0.4s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    color: var(--title-color);
    font-weight: var(--font-bold);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* ==================== REUSABLE CLASSES ==================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 7rem 0 5rem;
    position: relative;
}

.section__label {
    display: inline-block;
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    border: 1px solid var(--border-color);
    padding: 0.4rem 1.1rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
    font-weight: var(--font-medium);
}

.section__title {
    font-size: var(--h1-font-size);
    font-weight: var(--font-extra-bold);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.3;
}

.section__description {
    text-align: center;
    color: var(--text-color);
    max-width: 620px;
    margin: 0 auto 3.5rem;
    font-size: var(--normal-font-size);
    line-height: 1.8;
}

.section__cta-link {
    display: inline-block;
    margin-top: 2.5rem;
    color: var(--first-color);
    border: 1px solid var(--first-color);
    padding: 0.55rem 1.5rem;
    border-radius: 2rem;
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    transition: all var(--transition-base);
}

.section__cta-link:hover {
    background: var(--first-color);
    color: #fff;
    box-shadow: var(--glow-sm);
}

/* Center text for sections */
.timeline .container,
.process .container,
.projects .container,
.team .container,
.globe .container,
.contact .container {
    text-align: center;
}

/* ==================== PARTICLE CANVAS ==================== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

/* ==================== HEADER / NAVBAR ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    background: var(--nav-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.4s, border-color var(--transition-base);
}

.header--scrolled {
    border-bottom-color: var(--border-color-hover);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav__logo-img {
    height: 5rem;
    width: auto;
    max-width: 300px;
    display: block;
    object-fit: contain;
    transition: transform var(--transition-base);
}

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

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    color: var(--text-color);
    transition: color var(--transition-base);
    position: relative;
}

.nav__link:hover,
.nav__link--active {
    color: var(--title-color);
}

.nav__link--active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--first-color);
    border-radius: 1px;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color var(--transition-base);
}

.nav__theme-toggle:hover {
    color: var(--title-color);
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    color: var(--title-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.button--pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.3rem;
    border-radius: 2rem;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--title-color);
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.button--pill:hover {
    border-color: var(--border-color-hover);
    background: rgba(255, 255, 255, 0.05);
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 2rem);
    position: relative;
    overflow: hidden;
}

.hero__content {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Grid Lines */
.hero__grid-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero__line--h1,
.hero__line--h2 {
    position: absolute;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
}

.hero__line--h1 { top: 30%; }
.hero__line--h2 { top: 68%; }

.hero__line--v1,
.hero__line--v2 {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.04), transparent);
}

.hero__line--v1 { left: 28%; }
.hero__line--v2 { left: 72%; }

.hero__label {
    display: inline-block;
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 1px solid var(--border-color);
    padding: 0.4rem 1.3rem;
    border-radius: 2rem;
    margin-bottom: 2rem;
    font-weight: var(--font-medium);
}

.hero__title {
    font-size: clamp(3.5rem, 10vw, 7.5rem);
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.35) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 3.5rem;
    line-height: 1.8;
    font-weight: var(--font-light);
}

/* ==================== HERO LAYERED CARDS ==================== */
.hero__cards {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 440px;
    margin-bottom: 3rem;
    perspective: 1000px;
}

.hero__card {
    position: absolute;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__card--center {
    z-index: 3;
    transform: scale(1);
}

.hero__card--left {
    z-index: 1;
    transform: translateX(-68%) scale(0.87) rotateY(5deg);
    opacity: 0.35;
    filter: blur(1.5px);
}

.hero__card--right {
    z-index: 1;
    transform: translateX(68%) scale(0.87) rotateY(-5deg);
    opacity: 0.35;
    filter: blur(1.5px);
}

/* ==================== CARD COMPONENT ==================== */
.card {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    width: 320px;
    text-align: left;
    box-shadow: var(--shadow-card);
}

.card__header {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.card__header svg {
    color: var(--text-color-light);
}

.hero__card-logo {
    height: 2.2rem;
    width: auto;
    max-width: 110px;
    display: block;
    object-fit: contain;
}

.card h4 {
    font-size: 1.1rem;
    font-weight: var(--font-semi-bold);
    margin-bottom: 0.25rem;
    text-align: center;
}

.card__muted {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    text-align: center;
    margin-bottom: 1.25rem;
}

.card__label {
    display: block;
    font-size: var(--smaller-font-size);
    color: var(--text-color);
    margin-bottom: 0.4rem;
    margin-top: 0.75rem;
    font-weight: var(--font-medium);
}

.card__input-mock {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-color-light);
    font-size: var(--small-font-size);
    transition: border-color var(--transition-base);
}

.card__btn {
    display: block;
    width: 100%;
    padding: 0.65rem;
    margin-top: 0.85rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--title-color);
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    transition: all var(--transition-base);
    text-align: center;
}

.card__btn:hover {
    border-color: var(--border-color-hover);
    background: rgba(255, 255, 255, 0.03);
}

.card__btn--primary {
    background: var(--first-color);
    border-color: var(--first-color);
    color: #fff;
}

.card__btn--primary:hover {
    background: var(--first-color-alt);
    border-color: var(--first-color-alt);
    box-shadow: var(--glow-sm);
}

/* Service list inside cards */
.card__service-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 1rem 0;
}

.card__service-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--small-font-size);
    color: var(--text-color);
}

.card__service-item i {
    color: var(--first-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.card__footer-text {
    text-align: center;
    margin-top: 1rem;
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.card__footer-text span {
    color: var(--first-color);
    font-weight: var(--font-medium);
}

/* ==================== TECH STACK MARQUEE ==================== */
.skills {
    padding: 2rem 0 5rem;
    overflow: hidden;
}

.skills__marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.skills__track {
    display: flex;
    width: fit-content;
    margin-bottom: 3rem;
}

.skills__track:hover .skills__list {
    animation-play-state: paused;
}

.skills__track .skills__list {
    animation: scroll-left 40s linear infinite;
}

.skills__track--reverse .skills__list {
    animation: scroll-right 40s linear infinite;
}

.skills__list {
    display: flex;
    gap: 4rem;
    padding: 0 2rem;
    flex-shrink: 0;
}

.skills__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    min-width: 80px;
    transition: transform var(--transition-base);
    cursor: pointer;
}

.skills__item:hover {
    transform: translateY(-4px);
}

.skills__list i {
    font-size: 4rem;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.4s ease;
}

.skills__list .skills__icon {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

/* Express, Next.js, Apple — black logos, invert so they're white in dark mode */
.skills__list .skills__icon--dark {
    filter: grayscale(100%) opacity(0.5) invert(1);
}

.skills__list i:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.skills__list .skills__icon:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.skills__list .skills__icon--dark:hover {
    filter: grayscale(0%) opacity(1) invert(1);
}

/* Light theme: dark icons should NOT be inverted */
body.light-theme .skills__list .skills__icon--dark {
    filter: grayscale(100%) opacity(0.5);
}

body.light-theme .skills__list .skills__icon--dark:hover {
    filter: grayscale(0%) opacity(1);
}

/* Legacy: kept for any remaining font-icon usage */
.skills__list .devicon-express-original,
.skills__list .devicon-nextjs-original,
.skills__list .devicon-apple-original {
    filter: grayscale(100%) opacity(0.5) invert(1);
}

.skills__list .devicon-express-original:hover,
.skills__list .devicon-nextjs-original:hover,
.skills__list .devicon-apple-original:hover {
    filter: grayscale(0%) opacity(1) invert(1);
}

/* Light theme */
body.light-theme .skills__list .devicon-express-original,
body.light-theme .skills__list .devicon-nextjs-original,
body.light-theme .skills__list .devicon-apple-original {
    filter: grayscale(100%) opacity(0.5);
}

body.light-theme .skills__list .devicon-express-original:hover,
body.light-theme .skills__list .devicon-nextjs-original:hover,
body.light-theme .skills__list .devicon-apple-original:hover {
    filter: grayscale(0%) opacity(1);
}

.skills__item span {
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    white-space: nowrap;
    font-weight: var(--font-medium);
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

@keyframes scroll-right {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==================== SKEUOMORPHIC TIMELINE ==================== */
.timeline__container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Center vertical line */
.timeline__line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(-50%);
    border-radius: 1px;
    overflow: hidden;
}

.timeline__line-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--first-color), rgba(139, 92, 246, 0.1));
    border-radius: 1px;
    transition: height 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline__line-fill.active {
    height: 100%;
}

/* Timeline items */
.timeline__item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline__item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline__item--left {
    justify-content: flex-end;
    padding-right: calc(50% + 30px);
}

.timeline__item--right {
    justify-content: flex-start;
    padding-left: calc(50% + 30px);
}

/* Connection dot on the center line */
.timeline__dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--first-color);
    border: 2px solid var(--body-color);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
    z-index: 2;
}

/* 3D Skeuomorphic Pills */
.timeline__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.5rem;
    border-radius: 3rem;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    cursor: default;
    transition: all var(--transition-base);
    position: relative;

    /* Skeuomorphic 3D effect */
    background: linear-gradient(145deg, #1a1a2e 0%, #0d0d15 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

body.light-theme .timeline__pill {
    background: linear-gradient(145deg, #ffffff 0%, #e8e8ef 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.timeline__pill:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 12px 40px rgba(139, 92, 246, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

.timeline__pill i {
    font-size: 1.1rem;
    color: var(--first-color);
}

.timeline__pill span {
    white-space: nowrap;
}

/* ==================== HOW WE WORK — PROCESS TIMELINE ==================== */
.process__container {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    padding: 1.5rem 0;
}

/* Center process line */
.process__line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

.process__line-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--first-color), rgba(139, 92, 246, 0.08));
    border-radius: 1px;
    transition: height 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.process__line-fill.active {
    height: 100%;
}

/* Process step */
.process__step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process__step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Numbered circle (skeuomorphic) */
.process__number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.15rem;
    font-weight: var(--font-bold);
    color: var(--first-color-glow);
    z-index: 2;
    position: relative;

    /* Skeuomorphic 3D */
    background: linear-gradient(145deg, #1e1035 0%, #0d0815 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    box-shadow:
        0 6px 24px rgba(139, 92, 246, 0.2),
        0 2px 6px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    text-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

/* Process card (skeuomorphic neon) */
.process__card {
    flex: 1;
    padding: 1.5rem 1.75rem;
    border-radius: 1rem;
    text-align: left;
    transition: all var(--transition-base);
    position: relative;

    /* Dark purplish neon skeuomorphic */
    background: linear-gradient(145deg, #150d28 0%, #0a0612 100%);
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(139, 92, 246, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.process__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.process__card:hover::before {
    opacity: 1;
}

.process__card:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow:
        0 12px 40px rgba(139, 92, 246, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(139, 92, 246, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.process__card h3 {
    font-size: 1rem;
    font-weight: var(--font-semi-bold);
    margin-bottom: 0.4rem;
    color: var(--title-color);
}

.process__card p {
    font-size: var(--small-font-size);
    color: var(--text-color);
    line-height: 1.7;
}

.process__cta {
    display: inline-block;
    margin-top: 2.5rem;
    padding: 0.7rem 2rem;
    border-radius: 2rem;
    background: var(--first-color);
    color: #fff;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

.process__cta:hover {
    background: var(--first-color-alt);
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

/* ==================== PROJECTS SECTION ==================== */
.projects__filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.projects__filter {
    padding: 0.5rem 1.3rem;
    border-radius: 2rem;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-color);
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-base);
}

.projects__filter:hover {
    border-color: var(--border-color-hover);
    color: var(--title-color);
}

.projects__filter--active {
    background: var(--first-color);
    border-color: var(--first-color);
    color: #fff;
}

.projects__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}

.projects__card {
    width: calc(25% - 1rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects__card.hidden {
    display: none;
}

.projects__img-wrap {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 1 / 1;
    background: var(--card-color);
}

.projects__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.projects__card:hover .projects__img {
    transform: scale(1.05);
}

.projects__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.projects__card:hover .projects__overlay {
    opacity: 1;
}

.projects__title {
    font-size: 0.95rem;
    font-weight: var(--font-semi-bold);
    color: #fff;
    margin-bottom: 0.15rem;
}

.projects__cat {
    font-size: var(--smaller-font-size);
    color: rgba(255, 255, 255, 0.6);
}

.projects__link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--first-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.projects__card:hover .projects__link {
    transform: translateY(0);
    opacity: 1;
}

.projects__link:hover {
    background: var(--first-color-alt);
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.35);
}

/* ==================== TEAM SECTION ==================== */
.team {
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.04) 20%, rgba(139, 92, 246, 0.08) 50%, rgba(139, 92, 246, 0.04) 80%, transparent 100%);
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    margin: 0;
}

.team__member {
    text-align: center;
    transition: transform var(--transition-base);
    min-width: 0;
}

.team__member:hover {
    transform: translateY(-6px);
}

.team__card {
    background: var(--container-color);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2.5rem 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-base);
    aspect-ratio: 1 / 1;
}

.team__card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.team__photo-wrap {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(230, 70%, 55%), hsl(260, 80%, 60%));
    overflow: hidden;
    flex-shrink: 0;
}

.team__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 50%;
    transform: scale(1.15);
}

/* Individual photo adjustments */
.team__member:nth-child(1) .team__photo {
    transform: scale(1.05);
}

.team__member:nth-child(2) .team__photo {
    transform: scale(0.85);
    object-position: center 20%;
}

.team__member:nth-child(3) .team__photo {
    transform: scale(1.25);
}

.team__name {
    font-size: 1.05rem;
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    margin-bottom: 0.25rem;
}

.team__role {
    font-size: var(--smaller-font-size);
    color: var(--first-color);
    font-weight: var(--font-medium);
    margin-bottom: 0.6rem;
    display: block;
}

.team__links {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

.team__link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    color: var(--text-color-light);
    font-size: 1.1rem;
    transition: all var(--transition-base);
}

.team__link:hover {
    background: var(--first-color);
    border-color: var(--first-color);
    color: #fff;
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.35);
    transform: translateY(-2px);
}

/* ==================== HOLOGRAPHIC GLOBE ==================== */
.globe__container {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.globe__visual {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The main sphere */
.globe__sphere {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%,
        rgba(139, 92, 246, 0.25),
        rgba(59, 130, 246, 0.08),
        transparent 65%);
    box-shadow:
        0 0 60px rgba(139, 92, 246, 0.12),
        0 0 120px rgba(139, 92, 246, 0.06),
        inset 0 0 40px rgba(139, 92, 246, 0.05);
    animation: globeRotate 20s linear infinite;
}

@keyframes globeRotate {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Meridian lines (3D ring effect) */
.globe__meridian {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.12);
}

.globe__meridian--1 {
    transform: rotateY(60deg);
}

.globe__meridian--2 {
    transform: rotateY(-60deg);
}

.globe__meridian--3 {
    transform: rotateX(60deg);
}

.globe__equator {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.18);
}

/* Core glow */
.globe__core {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.6), transparent);
    animation: coreGlow 3s ease-in-out infinite;
}

@keyframes coreGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
}

.globe__glow {
    position: absolute;
    width: 280px;
    height: 280px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06), transparent 70%);
    pointer-events: none;
}

/* Orbiting service tags */
.globe__orbit {
    position: absolute;
}

.globe__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    font-size: var(--smaller-font-size);
    font-weight: var(--font-medium);
    color: var(--title-color);
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    white-space: nowrap;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: tagFloat 4s ease-in-out infinite;
}

.globe__tag:hover {
    border-color: var(--first-color);
    color: var(--first-color);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}

.globe__tag i {
    font-size: 0.9rem;
    color: var(--first-color);
}

/* Position each orbit around the globe */
.globe__orbit--1 { top: 2%; left: 50%; transform: translateX(-50%); }
.globe__orbit--2 { top: 20%; right: -5%; }
.globe__orbit--3 { bottom: 20%; right: -10%; }
.globe__orbit--4 { bottom: 0%; left: 50%; transform: translateX(-50%); }
.globe__orbit--5 { bottom: 20%; left: -10%; }
.globe__orbit--6 { top: 20%; left: -5%; }

/* Stagger floating animations */
.globe__orbit--1 .globe__tag { animation-delay: 0s; }
.globe__orbit--2 .globe__tag { animation-delay: 0.5s; }
.globe__orbit--3 .globe__tag { animation-delay: 1s; }
.globe__orbit--4 .globe__tag { animation-delay: 1.5s; }
.globe__orbit--5 .globe__tag { animation-delay: 2s; }
.globe__orbit--6 .globe__tag { animation-delay: 2.5s; }

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

/* Connecting lines from tags to globe (dashed) */
.globe__orbit::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0.2), transparent);
    pointer-events: none;
}

.globe__orbit--1::before { bottom: -40px; left: 50%; transform: translateX(-50%); }
.globe__orbit--2::before { bottom: 50%; left: -25px; width: 25px; height: 1px; background: linear-gradient(to left, rgba(139, 92, 246, 0.2), transparent); }
.globe__orbit--3::before { top: -25px; left: -25px; width: 25px; height: 1px; background: linear-gradient(to left, rgba(139, 92, 246, 0.2), transparent); }
.globe__orbit--4::before { top: -40px; left: 50%; transform: translateX(-50%); }
.globe__orbit--5::before { bottom: 50%; right: -25px; width: 25px; height: 1px; background: linear-gradient(to right, rgba(139, 92, 246, 0.2), transparent); }
.globe__orbit--6::before { bottom: 50%; right: -25px; width: 25px; height: 1px; background: linear-gradient(to right, rgba(139, 92, 246, 0.2), transparent); }

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    padding: 5rem 0;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 820px;
    margin: 0 auto;
}

.testimonials__card {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.75rem;
    text-align: left;
    transition: all var(--transition-base);
}

.testimonials__card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.testimonials__card p {
    font-size: var(--small-font-size);
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonials__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonials__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--smaller-font-size);
    color: #fff;
    font-weight: var(--font-semi-bold);
    flex-shrink: 0;
}

.testimonials__author strong {
    display: block;
    font-size: var(--small-font-size);
    color: var(--first-color-lighter);
    font-weight: var(--font-medium);
}

.testimonials__author span {
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 7rem 0;
}

.contact__form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(145deg, #150d28 0%, #0a0612 100%);
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 24px rgba(139, 92, 246, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
}

.contact__form:hover {
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow:
        0 16px 48px rgba(139, 92, 246, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(139, 92, 246, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

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

.contact__field {
    margin-bottom: 1.25rem;
}

.contact__label {
    display: block;
    font-size: var(--smaller-font-size);
    font-weight: var(--font-medium);
    color: var(--text-color-light);
    margin-bottom: 0.4rem;
}

.contact__input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: var(--small-font-size);
    font-family: var(--body-font);
    color: var(--title-color);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.12);
    border-radius: 0.65rem;
    outline: none;
    transition: all var(--transition-base);
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 0 0 rgba(139, 92, 246, 0);
}

.contact__input::placeholder {
    color: var(--text-color-light);
    opacity: 0.5;
}

.contact__input:focus {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(139, 92, 246, 0.1);
}

.contact__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact__submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2.25rem;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    font-family: var(--body-font);
    color: #fff;
    background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow:
        0 4px 16px rgba(139, 92, 246, 0.25),
        0 2px 6px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.contact__submit:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(139, 92, 246, 0.35),
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact__submit:active {
    transform: translateY(0);
    box-shadow:
        0 2px 8px rgba(139, 92, 246, 0.2),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact__submit i {
    font-size: 1.1rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(165deg, hsl(260, 60%, 12%) 0%, hsl(260, 50%, 8%) 50%, hsl(260, 40%, 5%) 100%);
    border-top: 1px solid rgba(139, 92, 246, 0.15);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.footer__top {
    padding: 4rem 0 3rem;
}

.footer__top-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: opacity var(--transition-base);
    align-self: flex-start;
}

/* Purple glow splash behind the logo */
.footer__logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
        rgba(139, 92, 246, 0.55) 0%,
        rgba(109, 40, 217, 0.30) 35%,
        rgba(139, 92, 246, 0.10) 65%,
        transparent 80%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(8px);
}

.footer__logo:hover {
    opacity: 0.85;
}

.footer__logo-img {
    position: relative;
    z-index: 1;
    height: 7rem;
    width: auto;
    max-width: 380px;
    display: block;
    object-fit: contain;
}

.footer__tagline {
    font-size: var(--small-font-size);
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
}

.footer__heading {
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    color: #fff;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer__list a {
    font-size: var(--small-font-size);
    color: rgba(255, 255, 255, 0.45);
    transition: all var(--transition-base);
}

.footer__list a:hover {
    color: var(--first-color-lighter);
    padding-left: 4px;
}

.footer__bottom {
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    padding: 1.5rem 0;
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__copy {
    font-size: var(--smaller-font-size);
    color: rgba(255, 255, 255, 0.35);
}

.footer__bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer__bottom-links a {
    font-size: var(--smaller-font-size);
    color: rgba(255, 255, 255, 0.35);
    transition: color var(--transition-base);
}

.footer__bottom-links a:hover {
    color: var(--first-color-lighter);
}

/* ==================== SCROLL REVEAL ==================== */
.sr-hidden {
    visibility: hidden;
}

/* ==================== RESPONSIVE ==================== */
@media screen and (max-width: 1024px) {
    :root {
        --big-font-size: 3.5rem;
        --h1-font-size: 2rem;
        --h2-font-size: 1.5rem;
    }

    .process__container {
        max-width: 100%;
    }

    .projects__card {
        width: calc(33.333% - 1rem);
    }

    .team__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .team__card {
        aspect-ratio: 1 / 1;
    }

    .team__photo-wrap {
        width: 160px;
        height: 160px;
    }

    .globe__visual {
        width: 320px;
        height: 320px;
    }

    .globe__sphere {
        width: 160px;
        height: 160px;
    }
}

@media screen and (max-width: 768px) {
    .section {
        padding: 4.5rem 0 3.5rem;
    }

    .hero__title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        letter-spacing: -1.5px;
    }

    .hero__cards {
        height: auto;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        perspective: none;
    }

    .hero__card {
        position: relative;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }

    .hero__card--left,
    .hero__card--right {
        display: none;
    }

    .hero__card--center {
        position: relative;
    }

    .card {
        width: 100%;
        max-width: 320px;
    }

    .skills__list i {
        font-size: 3rem;
    }

    .skills__list {
        gap: 3rem;
        padding: 0 1.5rem;
    }

    .skills__track {
        margin-bottom: 2rem;
    }

    /* Timeline responsive */
    .timeline__container {
        max-width: 100%;
    }

    .timeline__line {
        left: 20px;
    }

    .timeline__item--left,
    .timeline__item--right {
        justify-content: flex-start;
        padding-left: 50px;
        padding-right: 0;
    }

    .timeline__dot {
        left: 20px;
    }

    /* Process responsive */
    .process__container {
        padding-left: 0;
    }

    .process__line {
        left: 28px;
    }

    .process__card {
        padding: 1.25rem 1.25rem;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .projects__card {
        width: calc(50% - 0.75rem);
    }

    .contact__form {
        padding: 1.75rem;
    }

    .contact__form-row {
        grid-template-columns: 1fr;
    }

    /* Team responsive */
    .team__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* 5th member alone → span both columns and centre */
    .team__member:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 0.75rem);
    }

    .team__photo-wrap {
        width: 140px;
        height: 140px;
    }

    /* Globe responsive */
    .globe__visual {
        width: 300px;
        height: 300px;
    }

    .globe__sphere {
        width: 140px;
        height: 140px;
    }

    .globe__tag {
        font-size: 0.65rem;
        padding: 0.35rem 0.65rem;
    }

    .footer__top-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer__bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--container-color);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        padding: 2rem;
        transition: right 0.4s ease;
        z-index: calc(var(--z-fixed) + 10);
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__toggle {
        display: flex;
        align-items: center;
    }

    .nav__logo {
        position: static;
        transform: none;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .button--pill {
        padding: 0.4rem 1rem;
        font-size: var(--smaller-font-size);
    }

    .nav__logo-img {
        height: 3.5rem;
        max-width: 200px;
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

    .hero__subtitle br,
    .section__title br,
    .section__description br {
        display: none;
    }

    .skills__list i {
        font-size: 2.5rem;
    }

    .skills__list .skills__icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .skills__list {
        gap: 2.5rem;
        padding: 0 1.25rem;
    }

    .skills__track {
        margin-bottom: 1.5rem;
    }

    .team__grid {
        grid-template-columns: 1fr 1fr;
        margin: 0 auto;
    }

    /* 5th member alone in 480px 2-col → centre it */
    .team__member:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 0.75rem);
    }

    .team__photo-wrap {
        width: 120px;
        height: 120px;
    }

    .projects__card {
        width: calc(50% - 0.75rem);
    }

    .footer__top-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .globe__visual {
        width: 260px;
        height: 260px;
    }

    .globe__sphere {
        width: 120px;
        height: 120px;
    }

    .globe__orbit--2,
    .globe__orbit--5 { display: none; }

    .globe__tag {
        font-size: 0.6rem;
        padding: 0.3rem 0.5rem;
    }
}
