/* ============================
    GLOBAL RESET & BASE STYLES
============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', 'Segoe UI', sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    line-height: 1.7;
    padding: clamp(1rem, 3vw, 2rem);
    padding-top: 3.5rem;
    font-size: clamp(16px, 2vw, 18px);
}

/* ============================
   MODERN GRADIENT BACKGROUND
============================ */
body {
    background: radial-gradient(circle at top right, #1e1e2e, #0f0f14 55%, #050507 95%);
    background-attachment: fixed;
}

/* ============================
             HEADER
============================ */
header {
    background: radial-gradient(circle at top right, #1e1e2e, #0f0f14 55%, #050507 95%);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 10px;
    position: relative;
    text-align: center;
}

/* Cinematic Vignette Overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.4) 100%);
    z-index: 0;
}

header h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 0.5rem;
}

header p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #94a3b8;
}

header[id] {
    margin-top: 2.6rem;
    margin-bottom: 1.2rem;
}

/* ============================
      HOME HEADER (LANDING)
============================ */
.home-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
    background: linear-gradient(
        145deg,
        rgba(10, 18, 38, 0.58) 0%,
        rgba(8, 14, 28, 0.42) 45%,
        rgba(6, 10, 22, 0.22) 100%
    );
    border: 1px solid rgba(56, 189, 248, 0.14);
    box-shadow: inset 0 0 120px rgba(56, 189, 248, 0.06);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    overflow: hidden;
    isolation: isolate;
}

#about-me,
.experience-timeline,
.projects-timeline,
.contact-section {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.home-tech-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

#heroTechCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.92;
    filter: saturate(1.12) contrast(1.08);
}

.home-tech-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.09) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 0.85), transparent 78%);
    opacity: 0.14;
    animation: grid-drift 18s linear infinite;
}

@keyframes grid-drift {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(42px);
    }
}

.home-header > *:not(.home-tech-bg) {
    position: relative;
    z-index: 2;
}

.experience-header {
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: inset 0 0 80px rgba(148, 163, 184, 0.06);
}

.experience-moon-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

#experienceMoonCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    filter: saturate(1.04) contrast(1.06);
}

.experience-header > h1,
.experience-header > p {
    position: relative;
    z-index: 2;
}

.home-header-photo {
    width: clamp(130px, 18vw, 180px);
    height: clamp(130px, 18vw, 180px);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(148, 163, 184, 0.7);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
}

.home-header-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: nowrap;
}

.home-header-actions .header-social {
    align-self: center;
    margin-top: 1.5rem;
}

.home-header-badges {
    margin-top: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.home-header-badge {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #020617;
    border: 1.5px solid rgba(148, 163, 184, 0.62);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.48);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-header-badge img {
    width: 72%;
    height: 72%;
    object-fit: contain;
}

.home-header-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.82);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.58), 0 0 18px rgba(56, 189, 248, 0.25);
}

.home-header-badge-northcore img {
    width: 128%;
    height: 128%;
}

.header-social {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1.5px solid rgba(148, 163, 184, 0.6);
    background: #020617;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.header-social img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.header-social:hover {
    transform: translateY(-2px);
    border-color: #38bdf8;
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.35);
}

/* ============================
   HERO PROFILE CLUSTER (HOME)
   (big circle + 3 small ones)
============================ */

/* ============================
      RESPONSIVE HERO CLUSTER
============================ */
.hero-profile {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.hero-profile-inner {
    position: relative;
    width: 28vw;
    height: 28vw;
    max-width: 380px;
    max-height: 380px;
    min-width: 240px;
    min-height: 240px;
}

/* BIG CIRCLE (YOU) */
.hero-main-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    top: -65%;
    right: 5%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(148, 163, 184, 0.85);
    box-shadow: 0 22px 45px rgba(0,0,0,0.6);
}

.hero-main-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SMALL BADGES */
.hero-badge {
    position: absolute;
    width: 22%;
    height: 22%;
    border-radius: 50%;
    background: #020617;
    border: 2px solid rgba(148, 163, 184, 0.85);
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,0.55);
}

.hero-badge img {
    width: 84%;
    height: 84%;
    margin: 8%;
    object-fit: contain;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 780px) {
    .hero-profile-inner {
        width: 42vw;
        height: 42vw;
    }
    .hero-badge {
        width: 26%;
        height: 26%;
    }
}

@media (max-width: 800px) {
    .hero-profile {
        justify-content: center;
    }

    .hero-profile-inner {
        width: 270px;
        height: 230px;
    }

    .hero-main-circle {
        top: 35px;
        right: 35px;
        width: 180px;
        height: 180px;
    }

    .hero-badge {
        width: 74px;
        height: 74px;
    }

    .hero-badge-ucd {
        top: 0;
        right: 65px;
    }

    .hero-badge-chevron {
        top: 120px;
        right: 0;
    }

    .hero-badge-valor {
        bottom: 0;
        right: 95px;
    }
}

@media (max-width: 700px) {
    .home-header {
        background: radial-gradient(circle at top right, #1e1e2e, #0f0f14 55%, #050507 95%);
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    #heroTechCanvas {
        opacity: 0.72;
    }

    .home-tech-grid {
        opacity: 0.08;
        animation-duration: 26s;
    }

    .home-header-badges {
        gap: 0.6rem;
        margin-top: 0.7rem;
    }

    .home-header-badge {
        width: 52px;
        height: 52px;
    }

    #experienceMoonCanvas {
        opacity: 0.78;
    }
}

@media (max-width: 700px) {
    header[id] {
        margin-top: 2rem;
        margin-bottom: 0.95rem;
    }

    #about-me,
    .experience-timeline,
    .projects-timeline,
    .contact-section {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}

/* ============================
        TOP NAV BAR
============================ */
.top-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99998;
    background: rgba(12, 12, 16, 0.92);
}

.top-nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
    letter-spacing: 0.01em;
}

.top-nav-link:hover {
    color: #f0f0f0;
    background: rgba(148, 163, 184, 0.1);
}

.top-nav-link.active {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
}

/* Hide top nav on mobile, show hamburger instead */
@media (max-width: 700px) {
    .top-nav {
        display: none;
    }
}

/* Hide hamburger on desktop, show top nav instead */
@media (min-width: 701px) {
    .hamburger {
        display: none !important;
    }
}

/* ============================
         HAMBURGER MENU
============================ */
.hamburger {
    position: fixed;
    top: 1.2rem;
    right: 1.5rem;
    z-index: 10001;
    width: 44px;
    height: 44px;
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hamburger:hover {
    background: rgba(30, 30, 46, 0.95);
    border-color: rgba(148, 163, 184, 0.5);
}

.hamburger-lines {
    width: 22px;
    height: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-lines span {
    display: block;
    height: 2px;
    width: 100%;
    background: #f0f0f0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
}

.hamburger.active .hamburger-lines span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-lines span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.hamburger.active .hamburger-lines span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Slide-in nav panel */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: rgba(15, 15, 20, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(148, 163, 184, 0.15);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
}

.nav-panel.open {
    transform: translateX(0);
}

.nav-panel a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    transition: color 0.2s ease, padding-left 0.2s ease;
    letter-spacing: 0.02em;
}

.nav-panel a:last-child {
    border-bottom: none;
}

.nav-panel a:hover {
    color: #38bdf8;
    padding-left: 0.5rem;
}

.nav-panel a.nav-active {
    color: #38bdf8;
}

/* ============================
          RESUME BUTTON
============================ */
.resume-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.8rem;
    background-color: #f0f0f0;
    color: #121212;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.resume-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(240, 240, 240, 0.2);
}

/* Resume Modal */
.resume-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 1rem;
}

.resume-modal.show {
    display: flex;
}

.resume-modal-content {
    background: #1f1f1f;
    padding: 1.2rem;
    border-radius: 12px;
    width: min(92vw, 860px);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    text-align: center;
}

.resume-modal-content h3 {
    margin-bottom: 1rem;
}

.resume-preview {
    width: 100%;
    height: clamp(360px, 62vh, 560px);
    min-height: 320px;
    border: none;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    background: #000;
}

.resume-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.confirm-download {
    background: #38bdf8;
    border: none;
    padding: 0.6rem 1.3rem;
    color: #121212;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

.cancel-download {
    background: #444;
    border: none;
    padding: 0.6rem 1.3rem;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.confirm-download:hover {
    opacity: 0.9;
}

.cancel-download:hover {
    opacity: 0.8;
}

@media (min-width: 701px) {
    .resume-modal-content {
        padding: 1.1rem 1.2rem 1rem;
    }

    .resume-modal-content h3 {
        margin-bottom: 0.75rem;
    }

    .resume-preview {
        height: clamp(340px, 58vh, 520px);
        min-height: 340px;
    }
}

@media (max-width: 700px) {
    .resume-modal {
        padding: 0.6rem;
    }

    .resume-modal-content {
        width: min(95vw, 560px);
        max-height: calc(100vh - 1.2rem);
        padding: 0.9rem;
    }

    .resume-modal-content h3 {
        margin-bottom: 0.65rem;
        font-size: 1.25rem;
    }

    .resume-preview {
        height: min(58vh, 520px);
        min-height: 280px;
        margin-bottom: 0.8rem;
    }

    .resume-modal-buttons {
        gap: 0.6rem;
    }

    .confirm-download,
    .cancel-download {
        padding: 0.55rem 1rem;
        font-size: 0.95rem;
    }
}

/* ============================
             SECTIONS
============================ */
section {
    margin-top: 3rem;
}

footer {
    margin-top: 4rem;
    text-align: center;
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: #aaa;
}

/* ============================
      ABOUT SECTION & LOGOS
============================ */
.about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
    text-align: center;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

/* PROFILE + CIRCLE ICONS */
.about-profile {
    flex: 0 0 290px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

.profile-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(148, 163, 184, 0.7);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
    background: #020617;
}

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

.profile-tagline {
    font-size: 0.9rem;
    text-align: center;
    color: #e5e7eb;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 0.2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: #020617;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #f9fafb;
    font-size: 0.9rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.social-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.social-icon:hover {
    transform: translateY(-1px);
    border-color: #38bdf8;
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.35);
}

/* Badges */
.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    margin-top: 0.6rem;
}

.badge-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #020617;
    border: 1px solid rgba(148, 163, 184, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.badge-circle img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.about-text {
    max-width: 720px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d1d5db;
}

.about-text h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    color: #f0f0f0;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 0.9rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 800px) {
    .about-text {
        max-width: 640px;
        text-align: center;
    }
}

.about-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.about-logos img {
    width: clamp(120px, 20vw, 170px);
    height: auto;
    filter: brightness(1.1) contrast(1.2);
    transition: transform 0.3s ease;
}

.about-logos img:hover {
    transform: scale(1.08);
}

.about-logos img[alt="Chevron Logo"] {
    width: clamp(140px, 22vw, 190px);
}

/* Box dropdown removed - replaced by hamburger nav */

/* Extra mobile optimization */
@media (max-width: 650px) {
    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-logos {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ============================
      PROJECTS TIMELINE
============================ */
.projects-timeline {
    max-width: 900px;
    margin: 2.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    padding-left: 2.5rem;
}

.projects-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #a855f7 0%, #6366f1 50%, rgba(99, 102, 241, 0.15) 100%);
    border-radius: 2px;
    animation: proj-timeline-glow 3s ease-in-out infinite alternate;
}

@keyframes proj-timeline-glow {
    0% {
        box-shadow: 0 0 6px rgba(168, 85, 247, 0.3), 0 0 12px rgba(168, 85, 247, 0.1);
        filter: brightness(1);
    }
    100% {
        box-shadow: 0 0 10px rgba(168, 85, 247, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
        filter: brightness(1.3);
    }
}

.proj-card {
    background: rgba(27, 27, 27, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.08);
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.proj-card::before {
    content: "";
    position: absolute;
    left: -2.5rem;
    top: 2.2rem;
    width: 14px;
    height: 14px;
    background: #a855f7;
    border-radius: 50%;
    border: 2.5px solid #121212;
    transform: translateX(-6px);
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.proj-card:hover {
    border-color: rgba(168, 85, 247, 0.15);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    transform: translateX(4px);
}

.proj-card:hover::before {
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.7), 0 0 24px rgba(168, 85, 247, 0.3);
    transform: translateX(-6px) scale(1.2);
}

.proj-card-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.proj-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: #020617;
    border: 2px solid rgba(148, 163, 184, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.proj-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.proj-icon-northcore img {
    width: 130%;
    height: 130%;
    object-fit: contain;
}

.proj-title-block h3 {
    font-size: 1.3rem;
    color: #f0f0f0;
    line-height: 1.3;
}

.proj-tagline {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-top: 0.15rem;
    line-height: 1.5;
}

.proj-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
    cursor: pointer;
}

.proj-image {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.proj-image-container::after {
    content: "🔍";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.18);
    font-size: 1.8rem;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.proj-image-container:hover::after {
    opacity: 1;
}

.proj-details {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.proj-details li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.98rem;
    color: #d1d5db;
    line-height: 1.6;
}

.proj-details li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: #a855f7;
    border-radius: 50%;
}

@media (max-width: 650px) {
    .projects-timeline {
        padding-left: 1.5rem;
    }

    .proj-card {
        padding: 1.2rem;
    }

    .proj-card::before {
        left: -1.5rem;
        width: 10px;
        height: 10px;
        transform: translateX(-4px);
    }

    .proj-card:hover {
        transform: translateX(2px);
    }

    .proj-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .proj-title-block h3 {
        font-size: 1.15rem;
    }
}

/* Compact project grid override */
.projects-timeline {
    max-width: 1220px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 0 0.3rem;
    margin-bottom: 2.4rem;
}

.projects-timeline::before {
    display: none;
}

.proj-card {
    background: linear-gradient(175deg, rgba(22, 28, 46, 0.88), rgba(16, 20, 34, 0.9));
    border-radius: 14px;
    padding: 0.85rem 0.85rem 0.9rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(125, 211, 252, 0.12);
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.proj-card::before,
.proj-card-header,
.proj-tagline,
.proj-details {
    display: none;
}

.proj-card:hover {
    transform: translateY(-3px);
    border-color: rgba(125, 211, 252, 0.3);
    box-shadow: 0 18px 35px rgba(3, 7, 18, 0.66), 0 0 24px rgba(56, 189, 248, 0.12);
}

.proj-image-container {
    border-radius: 10px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(125, 211, 252, 0.16);
}

.proj-image {
    height: 170px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.28s ease;
}

.proj-card:hover .proj-image {
    transform: scale(1.04);
}

.proj-image-container::after {
    content: "+";
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.48));
    font-size: 2rem;
    color: #e2e8f0;
    font-weight: 300;
}

.proj-title {
    margin: 0;
    color: #f8fafc;
    font-size: 1.22rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.proj-summary {
    margin: 0.45rem 0 0.65rem;
    color: #cbd5e1;
    font-size: 0.93rem;
    line-height: 1.45;
    min-height: 2.65em;
}

.proj-mini-details {
    margin: 0 0 0.62rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.28rem;
}

.proj-mini-details li {
    position: relative;
    padding-left: 0.9rem;
    color: #dbe7f3;
    font-size: 0.84rem;
    line-height: 1.38;
}

.proj-mini-details li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #38bdf8;
}

.proj-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
    margin-top: auto;
}

.tech-tag {
    background: rgba(14, 116, 144, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: #7dd3fc;
    padding: 0.24rem 0.58rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.tech-tag:hover {
    background: rgba(14, 116, 144, 0.24);
    border-color: rgba(56, 189, 248, 0.46);
}

@media (max-width: 980px) {
    .projects-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .projects-timeline {
        grid-template-columns: 1fr;
        gap: 0.95rem;
        padding: 0;
        margin-bottom: 1.8rem;
    }

    .proj-card {
        padding: 0.75rem;
    }

    .proj-image {
        height: 180px;
    }

    .proj-title {
        font-size: 1.12rem;
    }

    .proj-summary {
        margin: 0.38rem 0 0.56rem;
        min-height: 0;
    }

    .proj-mini-details li {
        font-size: 0.82rem;
    }
}

/* Fullscreen zoom overlay */
.image-zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.image-zoom-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.zoomed-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0,0,0,0.7);
    cursor: zoom-out;
    transition: transform 0.3s ease;
}

/* PC Gallery */
.pc-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pc-gallery .project-image,
.pc-gallery .exp-image {
    max-height: 350px;
}

@media (max-width: 720px) {
    .pc-gallery {
        grid-template-columns: 1fr;
    }
}

/* ============================
      SCROLL DOWN HINT
============================ */
.scroll-down-hint {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(56, 189, 248, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #38bdf8;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 99997;
    padding: 0;
}

.scroll-down-hint.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.scroll-down-hint:hover {
    background: rgba(56, 189, 248, 0.25);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.25);
}

.scroll-down-hint span:first-child {
    display: none;
}

.scroll-down-hint .arrow {
    font-size: 1.3rem;
    line-height: 1;
    animation: scroll-float 2s ease-in-out infinite;
}

@keyframes scroll-float {
    0%, 100% { transform: translateY(-2px); opacity: 1; }
    50% { transform: translateY(4px); opacity: 0.5; }
}

/* ============================
          CONTACT FORM
============================ */
.contact-section {
    margin-top: 3rem;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: #1b1b1b;
    border-radius: 12px;
    padding: 2.8rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-card h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: clamp(1.6rem, 3vw, 2rem);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-label {
    font-size: 0.9rem;
    color: #e5e7eb;
    margin-top: 0.4rem;
}

.contact-input,
.contact-textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: #020617;
    color: #f9fafb;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-input:focus,
.contact-textarea:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.6);
    background: #020617;
}

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

.contact-button {
    margin-top: 1.5rem;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #f9fafb;
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.contact-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 35px rgba(129, 140, 248, 0.55);
    opacity: 0.98;
}

.contact-button:active {
    transform: translateY(0);
    box-shadow: none;
}

.contact-success {
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.7);
    color: #bbf7d0;
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 0.4rem;
}

/* ============================
   LEFT BADGE CLUSTER
============================ */
.left-badge-cluster {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.1rem;
    z-index: 10;
}

.left-badge-link {
    text-decoration: none;
    display: inline-flex;
}

/* Keep Chevron anchor visible below fixed top nav */
#chevron {
    scroll-margin-top: 96px;
}

#valor {
    scroll-margin-top: 96px;
}

#northcore {
    scroll-margin-top: 96px;
}

.left-badge {
    width: clamp(100px, 10vw, 130px);
    height: clamp(100px, 10vw, 130px);
    border-radius: 50%;
    background: #020617;
    border: 2px solid rgba(148, 163, 184, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(0,0,0,0.55);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.left-badge img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.left-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(56, 189, 248, 0.35);
}

.left-badge-northcore img {
    width: 130%;
    height: 130%;
    object-fit: contain;
}

@media (max-width: 600px) {
    .left-badge {
        width: 70px;
        height: 70px;
    }
}

/* About overview redesign */
.about-section {
    max-width: 1160px;
    margin: 2.2rem auto 0;
    display: grid;
    gap: 1.25rem;
    align-items: start;
    justify-items: start;
}

.about-content {
    max-width: 760px;
}

.about-kicker {
    margin: 0;
    color: #94a3b8;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    font-weight: 700;
}

.about-headline {
    margin: 0.2rem 0 0.6rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    color: #f8fafc;
    font-weight: 800;
}

.about-description {
    margin: 0;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 720px;
}

.about-skill-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.about-skill-card {
    position: relative;
    background:
        radial-gradient(circle at 12% 14%, rgba(56, 189, 248, 0.18), transparent 44%),
        linear-gradient(170deg, rgba(22, 30, 52, 0.9), rgba(12, 17, 31, 0.94));
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 16px;
    padding: 1rem 1rem 0.95rem;
    min-height: 122px;
    display: grid;
    align-content: start;
    gap: 0.72rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.about-skill-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(130deg, rgba(125, 211, 252, 0.14), transparent 40%);
    opacity: 0.55;
}

.about-skill-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.52);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5), 0 0 26px rgba(56, 189, 248, 0.12);
}

.about-skill-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 30%, #2563eb, #1e3a8a 78%);
    border: 1px solid rgba(147, 197, 253, 0.6);
    color: #f8fafc;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    box-shadow: inset 0 0 12px rgba(191, 219, 254, 0.15), 0 4px 14px rgba(37, 99, 235, 0.35);
    z-index: 1;
}

.about-skill-card h3 {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.3;
    font-weight: 720;
    color: #e6eefb;
    z-index: 1;
}

@media (min-width: 900px) {
    .home-header {
        min-height: calc(100vh - 5.1rem);
        justify-content: center;
    }

    .about-section {
        margin-top: 3rem;
    }
}

@media (max-width: 960px) {
    .about-skill-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .about-section {
        gap: 1rem;
        margin-top: 1.55rem;
    }

    .about-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .about-skill-grid {
        grid-template-columns: 1fr;
    }
}

/* Badge cluster stays row on all screens now since about is centered */

/* Center Social Icons */
.center-social-row {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.center-social-icon {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background: #020617;
    border: 2px solid rgba(148, 163, 184, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.center-social-icon img {
    width: 68%;
    height: 68%;
    object-fit: contain;
}

.center-social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(56, 189, 248, 0.35);
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
      EXPERIENCE TIMELINE
============================ */
.experience-timeline {
    --timeline-center: 50%;
    --timeline-gap: 3.6rem;
    --timeline-node-size: 58px;
    max-width: 1180px;
    margin: 2.5rem auto 0;
    position: relative;
    display: grid;
    gap: 2.4rem;
    padding: 0 0.3rem;
}

.experience-timeline::before {
    content: "";
    position: absolute;
    left: var(--timeline-center);
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #38bdf8 0%, #6366f1 50%, rgba(99, 102, 241, 0.15) 100%);
    border-radius: 2px;
    animation: timeline-glow 3s ease-in-out infinite alternate;
}

@keyframes timeline-glow {
    0% {
        box-shadow: 0 0 6px rgba(56, 189, 248, 0.3), 0 0 12px rgba(56, 189, 248, 0.1);
        filter: brightness(1);
    }
    100% {
        box-shadow: 0 0 10px rgba(56, 189, 248, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
        filter: brightness(1.3);
    }
}

.timeline-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 188px minmax(0, 1fr);
    align-items: start;
    column-gap: var(--timeline-gap);
    position: relative;
}

.timeline-side {
    min-width: 0;
}

.timeline-center {
    justify-self: center;
    width: 188px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 0.25rem;
}

.timeline-node {
    width: var(--timeline-node-size);
    height: var(--timeline-node-size);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #1b2f48 0%, #0a1524 70%);
    border: 2px solid rgba(203, 213, 225, 0.82);
    box-shadow: 0 0 0 5px rgba(15, 23, 42, 0.95), 0 0 16px rgba(56, 189, 248, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-node img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.timeline-node-northcore img {
    width: 120%;
    height: 120%;
}

.timeline-date {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    width: 170px;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.25;
    letter-spacing: 0.01em;
    pointer-events: none;
}

.timeline-left .timeline-date {
    left: calc(100% + 0.9rem);
    text-align: left;
}

.timeline-right .timeline-date {
    right: calc(100% + 0.9rem);
    text-align: right;
}

.exp-date-mobile {
    display: none;
    font-size: 0.84rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}

.timeline-left .timeline-side:first-child {
    grid-column: 1;
}

.timeline-left .timeline-side:last-child {
    grid-column: 3;
}

.timeline-right .timeline-side:first-child {
    grid-column: 1;
}

.timeline-right .timeline-side:last-child {
    grid-column: 3;
}

.exp-card {
    background: rgba(27, 27, 27, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.08);
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.timeline-left .exp-card:hover {
    border-color: rgba(56, 189, 248, 0.15);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    transform: translateX(-3px);
}

.timeline-right .exp-card:hover {
    border-color: rgba(56, 189, 248, 0.15);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    transform: translateX(3px);
}

.exp-card-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.exp-logo {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: #020617;
    border: 2px solid rgba(148, 163, 184, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.exp-logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.exp-logo-northcore img {
    width: 130%;
    height: 130%;
    object-fit: contain;
}

.exp-title-block h3 {
    font-size: 1.3rem;
    color: #f0f0f0;
    line-height: 1.3;
}

.exp-via {
    font-weight: 400;
    color: #94a3b8;
    font-size: 0.95rem;
}

.exp-role {
    font-size: 1rem;
    color: #38bdf8;
    font-weight: 500;
    margin-top: 0.15rem;
}

.exp-date {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-top: 0.1rem;
}

.exp-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
    cursor: pointer;
}

.exp-image {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.exp-image-container::after {
    content: "🔍";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.18);
    font-size: 1.8rem;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.exp-image-container:hover::after {
    opacity: 1;
}

.exp-details {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.exp-details li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.98rem;
    color: #d1d5db;
    line-height: 1.6;
}

.exp-details li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: #38bdf8;
    border-radius: 50%;
}

/* Experience PC gallery */
.experience-timeline .pc-gallery {
    margin-bottom: 1rem;
}

.pc-gallery .exp-image {
    max-height: 280px;
}

@media (max-width: 980px) {
    .experience-timeline {
        --timeline-center: 30px;
        --timeline-gap: 1rem;
    }

    .timeline-item {
        grid-template-columns: 60px minmax(0, 1fr);
        column-gap: 1rem;
        align-items: start;
    }

    .timeline-center {
        grid-column: 1;
        grid-row: 1;
        width: 60px;
        gap: 0.5rem;
        align-self: start;
        padding-top: 0.15rem;
    }

    .timeline-left .timeline-side:first-child,
    .timeline-left .timeline-side:last-child,
    .timeline-right .timeline-side:first-child,
    .timeline-right .timeline-side:last-child {
        grid-column: 2;
        grid-row: 1;
    }

    .timeline-side:empty {
        display: none;
    }

    .timeline-node {
        width: 50px;
        height: 50px;
    }

    .timeline-date {
        display: none;
    }

    .exp-date-mobile {
        display: block;
    }
}

@media (max-width: 650px) {
    .experience-timeline {
        --timeline-center: 24px;
        gap: 1.7rem;
    }

    .exp-card {
        padding: 1.2rem;
    }

    .timeline-left .exp-card:hover,
    .timeline-right .exp-card:hover {
        transform: none;
    }

    .exp-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .exp-title-block h3 {
        font-size: 1.15rem;
    }
}

/* ============================
     CONTACT ERROR MESSAGE
============================ */
.contact-error {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.7);
    color: #fecaca;
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 0.4rem;
}

.contact-shell {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}

.contact-section {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.contact-card {
    min-height: 0;
    padding: 2.4rem;
}

/* ============================
    MOBILE RESPONSIVENESS
============================ */
@media (max-width: 480px) {
    body {
        padding: 0.75rem;
    }

    header {
        padding: 1.2rem;
        border-radius: 8px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 0.95rem;
    }

    .center-social-row {
        gap: 1.2rem;
        margin-top: 2rem;
    }

    .center-social-icon {
        width: 70px;
        height: 70px;
    }

    .left-badge {
        width: 70px;
        height: 70px;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .project-card {
        padding: 1rem;
    }
}

/* ================================
   FLOATING PARTICLES BACKGROUND
================================ */
.floating-particles {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    opacity: 0.45;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    from {
        transform: translateY(0) translateX(0);
    }
    to {
        transform: translateY(-120vh) translateX(40px);
    }
}

@media (max-width: 850px) {
    .floating-particles {
        display: none;
    }
}

