/* ===================================================== */
/* PORTFOLIO PAGE ONLY — NO HOME STYLES SHOULD LIVE HERE */
/* ===================================================== */

/* ========================= */
/* GLOBAL BACKGROUND */
/* ========================= */

body {
    background: #142a0a;
    color: rgb(255, 255, 255);
}

/* ========================= */
/* PARTICLE LAYER SUPPORT */
/* ========================= */

.has-particles {
    position: relative;
    overflow: hidden;
}

.has-particles canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.has-particles * {
    position: relative;
    z-index: 2;
}


/* ========================= */
/* PORTFOLIO HERO */
/* ========================= */

.portfolio-hero {
    position: relative;
    min-height: 100vh;
    background: url("../media/PortfolioBackground1.png") center / cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.portfolio-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #00000099;
    z-index: 0;
}

#journeyCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none; /* important */
}

.portfolio-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.portfolio-hero-content h1 {
    font-size: 4.5rem;
    color: #00bcd4;
    margin-bottom: 25px;
}

.portfolio-hero-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #e0f7fa;
}

        /* ========================= */
        /* JOURNEY TIMELINE SECTION*/
        /* ========================= */

            /* ========================= */
            /* JOURNEY SECTION – VOID */
            /* ========================= */

            .portfolio-journey {
                position: relative;
                padding: 160px 8%;
                background: linear-gradient(
                    to bottom,
                    #000000 0%,
                    #00262e 50%,
                    #000000 100%
                ); /* deep void */
                overflow: hidden;
            }

            /* Subtle ambient noise (fake depth) */
            .portfolio-journey::before {
                content: "";
                position: absolute;
                inset: 0;
                background:
                    radial-gradient(circle at 20% 30%, rgba(0,188,212,0.06), transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.04), transparent 45%);
                z-index: 0;
            }

            /* Animated neon vertical line */
            .portfolio-journey::after {
                content: "";
                position: absolute;
                top: -20%;
                bottom: -20%;
                left: 50%;
                width: 2px;
                background: linear-gradient(
                    to bottom,
                    transparent,
                    rgba(0,188,212,0.9),
                    transparent
                );
                filter: drop-shadow(0 0 18px rgba(0,188,212,0.9));
                animation: neonFlow 6s ease-in-out infinite;
                z-index: 0;
            }

            /* Glow motion */
            @keyframes neonFlow {
                0%   { opacity: 0.4; transform: translateY(0); }
                50%  { opacity: 1; transform: translateY(-40px); }
                100% { opacity: 0.4; transform: translateY(0); }
            }

            /* Keep timeline content above effects */
            .portfolio-journey * {
                position: relative;
                z-index: 2;
            }

            /* ========================= */
            /* JOURNEY SECTION BACKGROUND */
            /* ========================= */

            .journey-section {
                position: relative;
                padding: 140px 8% 160px;
                background: linear-gradient(
                    to bottom,
                    #00bcd4e6 0%,
                    #00bcd4e6 45%,
                    #00bcd4e6 100%
                );
                overflow: hidden;
            }

            /* Smooth fade into Journey */
            .journey-section::before {
                content: "";
                position: absolute;
                top: -140px;
                left: 0;
                right: 0;
                height: 140px;
                background: linear-gradient(
                    to top,
                    rgba(43, 7, 37, 0),
                    rgba(7,26,43,1)
                );
                pointer-events: none;
            }

            /* Smooth fade out of Journey */
            .journey-section::after {
                content: "";
                position: absolute;
                bottom: -140px;
                left: 0;
                right: 0;
                height: 140px;
                background: linear-gradient(
                    to bottom,
                    rgba(222, 16, 177, 0),
                    rgba(7,26,43,1)
                );
                pointer-events: none;
            }

            /* ========================= */
            /* JOURNEY TIMELINE */
            /* ========================= */

            .journey-title {
                text-align: center;
                font-size: 3.5rem;
                margin-bottom: 100px;
                color: #fff;
                text-shadow: 0 0 25px #00bcd4;
            }

            .journey-timeline {
                position: relative;
                max-width: 1100px;
                margin: 0 auto;
                padding: 60px 0;
            }

            .journey-timeline::before {
                content: "";
                position: absolute;
                top: 0;
                left: 50%;
                transform: translateX(-50%);
                width: 3px;
                height: 100%;
                background: linear-gradient(
                    to bottom,
                    transparent,
                    #00bcd4,
                    transparent
                );
                box-shadow: 0 0 20px rgba(0,188,212,0.8);
            }

            .journey-timeline::after {
                content: "";
                position: absolute;
                top: 0;
                left: 50%;
                transform: translateX(-50%);
                width: 3px;
                height: var(--timeline-progress, 0%);
                background: linear-gradient(
                    to bottom,
                    #00bcd4,
                    rgba(0,188,212,0.6)
                );
                box-shadow: 0 0 25px rgba(0,188,212,0.9);
                transition: height 0.2s ease-out;
            }

            /* ========================= */
            /* JOURNEY CARD STRUCTURE */
            /* ========================= */

            .journey-card {
                display: flex;
                align-items: stretch;
                background: rgba(255,255,255,0.06);
                backdrop-filter: blur(10px);
                border-radius: 18px;
                border: 1px solid rgba(255,255,255,0.08);
                box-shadow: 0 25px 50px rgba(0,0,0,0.45);
                overflow: hidden;
            }

            /* ========================= */
            /* CONTENT TEXT */
            /* ========================= */
            .journey-text {
                flex: 1;
                padding: 28px 32px;
                padding-left: 5px;
            }

            .journey-text h4 {
                font-size: 1.4rem;
                color: #00bcd4;
                margin-bottom: 6px;
            }

            .journey-sub {
                font-size: 0.95rem;
                color: #cbeeff;
                margin-bottom: 15px;
            }

            /* ========================= */
            /* BULLET LIST */
            /* ========================= */

            .journey-text ul {
                list-style: none;
                padding: 0;
                margin: 0;
            }

            .journey-text li {
                margin-bottom: 10px;
                line-height: 1.6;
                color: #e0f7fa;
            }

            .journey-text li::before {
                content: "• ";
                color: #00bcd4;
                font-weight: bold;
            }

            /* ========================= */
            /* CONTENT PANEL */
            /* ========================= */

            .journey-text {
                flex: 1;
                background: rgba(255,255,255,0.06);
                backdrop-filter: blur(10px);
                padding: 25px 30px;
                border-radius: 16px;
                border: 1px solid rgba(0,188,212,0.15);
                box-shadow: 0 20px 40px rgba(0,0,0,0.4);
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }

            .journey-item:hover .journey-text {
                transform: translateY(-6px);
                box-shadow: 0 30px 60px rgba(0,188,212,0.35);
            }
            
            /* ========================= */
            /* DATE COLUMN */
            /* ========================= */

            .journey-date {
                width: 48px;
                display: flex;
                align-items: center;
                justify-content: center;
                writing-mode: vertical-rl;
                font-weight: 700;
                letter-spacing: 3px;
                color: #00bcd4;
                background: linear-gradient(
                    to bottom,
                    rgba(0,188,212,0.2),
                    rgba(0,188,212,0.05)
                );
                box-shadow: inset -1px 0 0 rgba(255,255,255,0.1);
            }

            /* LEFT SIDE CARDS */
                .journey-item:nth-child(odd) .journey-card {
                    flex-direction: row;
                }

                .journey-item:nth-child(odd) .journey-date {
                    transform: rotate(180deg); /* bottom → top reading */
                }

            /* RIGHT SIDE CARDS */
                .journey-item:nth-child(even) .journey-card {
                    flex-direction: row-reverse;
                }

                .journey-item:nth-child(even) .journey-date {
                    transform: none; /* top → bottom reading */
                }

            /* ========================= */
            /* JOURNEY ITEMS */
            /* ========================= */

            .journey-item {
                position: relative;
                display: flex;
                align-items: stretch;
                width: 50%;
                padding: 30px 40px;
                opacity: 0;
                transition: opacity 0.6s ease, transform 0.6s ease;
            }

            /* LEFT */
            .journey-item:nth-child(odd) {
                left: 0;
                flex-direction: row-reverse;
                text-align: left;
                transform: translateX(-80px);
            }

            /* RIGHT */
            .journey-item:nth-child(even) {
                left: 50%;
                flex-direction: row;
                text-align: left;
                transform: translateX(80px);
            }

            .journey-item.active {
                opacity: 1;
                transform: translateX(0);
            }

            /* DOT */
            .journey-item::before {
                content: "";
                position: absolute;
                top: 40px;
                width: 14px;
                height: 14px;
                background: #00bcd4;
                border-radius: 50%;
                box-shadow: 0 0 15px rgba(0,188,212,0.9);
                z-index: 2;
            }

            .journey-item:nth-child(odd)::before {
                right: -7px;
            }

            .journey-item:nth-child(even)::before {
                left: -7px;
            }

            




/* ========================= */
/* PORTFOLIO PROJECTS – WOW BACKGROUND */
/* ========================= */
.port-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: #00bcd4;
    color: white;
    border: 2px solid #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.port-btn.secondary {
    background: transparent;
    border: 2px solid #00bcd4;
}

/* Icon hidden by default */
.btn-icon {
    opacity: 0;
    transform: translateX(-12px);
    transition: all 0.3s ease;
}

/* Hover effect */
.port-btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,188,212,0.6);
}

/* Icon slides IN from right on hover */
.hero-btn:hover .btn-icon {
    opacity: 1;
    transform: translateX(0);
}
/*---*/

.portfolio-projects {
    position: relative;
    padding: 140px 8%;
    background: linear-gradient(
        to bottom,
        #06131f 0%,
        #071c2d 50%,
        #06131f 100%
    );
    overflow: hidden;
}

#portfolioCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.portfolio-projects::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 20%,
        rgba(0,188,212,0.15),
        transparent 65%
    );
    pointer-events: none;
}

.portfolio-projects::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 70%;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
        to right,
        transparent,
        rgba(0,188,212,0.8),
        transparent
    );
}



.projects-title {
    text-align: center;
    font-size: 3.2rem;
    color: #00bcd4;
    margin-bottom: 80px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================= */
/* PROJECT LOGOS */
/* ========================= */

.project-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}

.project-logo img {
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(0,188,212,0.35));
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Subtle hover lift */
.project-card:hover .project-logo img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 18px rgba(0,188,212,0.6));
}

.project-card {
    background: rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 35px;
    backdrop-filter: blur(6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 30px 70px rgba(0,0,0,0.6),
        0 0 40px rgba(0,188,212,0.25);
}


.project-card h3 {
    font-size: 1.8rem;
    color: #00bcd4;
    margin-bottom: 5px;
}

.project-tag {
    font-size: 0.9rem;
    color: #cbeeff;
    margin-bottom: 20px;
}

.project-card p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #e0f7fa;
}

.project-card ul {
    margin-left: 18px;
    margin-bottom: 20px;
}

.project-card li {
    margin-bottom: 8px;
}

.project-card .tech {
    margin-bottom: 25px;
}

.project-card a {
    color: #00bcd4;
    font-weight: bold;
    text-decoration: none;
}

/* ========================= */
/* PORTFOLIO MOBILE */
/* ========================= */
    @media (max-width: 768px) {

        .portfolio-intro h1 {
            font-size: 2.4rem;
        }

        .portfolio-intro p {
            font-size: 1rem;
        }

        .project-card {
            padding: 30px 20px;
        }

        .project-logo img {
            max-width: 110px;
        }

        .project-info h2 {
            font-size: 1.6rem;
            text-align: center;
        }

        .project-info p {
            font-size: 0.95rem;
            text-align: center;
        }

        .project-link {
            display: inline-block;
            margin-top: 15px;
        }
    }

    @media (max-width: 768px) 
    {
            .journey-item {
                width: 100%;
                left: 0 !important;
                text-align: left;
                padding: 20px 0;
            }

            .journey-timeline::before,
            .journey-timeline::after {
                left: 20px;
                transform: none;
            }

            .journey-card {
                margin-left: 40px;
            }

    }


/* ========================= */
/* BACK TO TOP BUTTON */
/* ========================= */

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #00bcd4;
    color: white;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 2000;
}

#backToTop.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,188,212,0.6);
}

/* ========================= */
/* CONNECT WITH ME BUTTONS */
/* ========================= */
.connect-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center; /* CENTER HORIZONTALLY */
    align-items: center;
}

.connect-btn {
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.connect-btn.whatsapp {
    background: #25D366;
    color: #fff;
}

.connect-btn.email {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.connect-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}



/* ===================================================== */
/* PORTFOLIO PAGE ONLY — NO HOME STYLES SHOULD LIVE HERE */
/* ===================================================== */

/* ========================= */
/* GLOBAL BACKGROUND */
/* ========================= */

body {
    background: #142a0a;
    color: rgb(255, 255, 255);
}

/* ========================= */
/* PARTICLE LAYER SUPPORT */
/* ========================= */

.has-particles {
    position: relative;
    overflow: hidden;
}

.has-particles canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.has-particles * {
    position: relative;
    z-index: 2;
}


/* ========================= */
/* PORTFOLIO HERO */
/* ========================= */

.portfolio-hero {
    position: relative;
    min-height: 100vh;
    background: url("../media/PortfolioBackground1.png") center / cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.portfolio-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #00000099;
    z-index: 0;
}

#journeyCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none; /* important */
}

.portfolio-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.portfolio-hero-content h1 {
    font-size: 4.5rem;
    color: #00bcd4;
    margin-bottom: 25px;
}

.portfolio-hero-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #e0f7fa;
}

        /* ========================= */
        /* JOURNEY TIMELINE SECTION*/
        /* ========================= */

            /* ========================= */
            /* JOURNEY SECTION – VOID */
            /* ========================= */

            .portfolio-journey {
                position: relative;
                padding: 160px 8%;
                background: linear-gradient(
                    to bottom,
                    #000000 0%,
                    #00262e 50%,
                    #000000 100%
                ); /* deep void */
                overflow: hidden;
            }

            /* Subtle ambient noise (fake depth) */
            .portfolio-journey::before {
                content: "";
                position: absolute;
                inset: 0;
                background:
                    radial-gradient(circle at 20% 30%, rgba(0,188,212,0.06), transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.04), transparent 45%);
                z-index: 0;
            }

            /* Animated neon vertical line */
            .portfolio-journey::after {
                content: "";
                position: absolute;
                top: -20%;
                bottom: -20%;
                left: 50%;
                width: 2px;
                background: linear-gradient(
                    to bottom,
                    transparent,
                    rgba(0,188,212,0.9),
                    transparent
                );
                filter: drop-shadow(0 0 18px rgba(0,188,212,0.9));
                animation: neonFlow 6s ease-in-out infinite;
                z-index: 0;
            }

            /* Glow motion */
            @keyframes neonFlow {
                0%   { opacity: 0.4; transform: translateY(0); }
                50%  { opacity: 1; transform: translateY(-40px); }
                100% { opacity: 0.4; transform: translateY(0); }
            }

            /* Keep timeline content above effects */
            .portfolio-journey * {
                position: relative;
                z-index: 2;
            }

            /* ========================= */
            /* JOURNEY SECTION BACKGROUND */
            /* ========================= */

            .journey-section {
                position: relative;
                padding: 140px 8% 160px;
                background: linear-gradient(
                    to bottom,
                    #00bcd4e6 0%,
                    #00bcd4e6 45%,
                    #00bcd4e6 100%
                );
                overflow: hidden;
            }

            /* Smooth fade into Journey */
            .journey-section::before {
                content: "";
                position: absolute;
                top: -140px;
                left: 0;
                right: 0;
                height: 140px;
                background: linear-gradient(
                    to top,
                    rgba(43, 7, 37, 0),
                    rgba(7,26,43,1)
                );
                pointer-events: none;
            }

            /* Smooth fade out of Journey */
            .journey-section::after {
                content: "";
                position: absolute;
                bottom: -140px;
                left: 0;
                right: 0;
                height: 140px;
                background: linear-gradient(
                    to bottom,
                    rgba(222, 16, 177, 0),
                    rgba(7,26,43,1)
                );
                pointer-events: none;
            }

            /* ========================= */
            /* JOURNEY TIMELINE */
            /* ========================= */

            .journey-title {
                text-align: center;
                font-size: 3.5rem;
                margin-bottom: 100px;
                color: #fff;
                text-shadow: 0 0 25px #00bcd4;
            }

            .journey-timeline {
                position: relative;
                max-width: 1100px;
                margin: 0 auto;
                padding: 60px 0;
            }

            .journey-timeline::before {
                content: "";
                position: absolute;
                top: 0;
                left: 50%;
                transform: translateX(-50%);
                width: 3px;
                height: 100%;
                background: linear-gradient(
                    to bottom,
                    transparent,
                    #00bcd4,
                    transparent
                );
                box-shadow: 0 0 20px rgba(0,188,212,0.8);
            }

            .journey-timeline::after {
                content: "";
                position: absolute;
                top: 0;
                left: 50%;
                transform: translateX(-50%);
                width: 3px;
                height: var(--timeline-progress, 0%);
                background: linear-gradient(
                    to bottom,
                    #00bcd4,
                    rgba(0,188,212,0.6)
                );
                box-shadow: 0 0 25px rgba(0,188,212,0.9);
                transition: height 0.2s ease-out;
            }

            /* ========================= */
            /* JOURNEY CARD STRUCTURE */
            /* ========================= */

            .journey-card {
                display: flex;
                align-items: stretch;
                background: rgba(255,255,255,0.06);
                backdrop-filter: blur(10px);
                border-radius: 18px;
                border: 1px solid rgba(255,255,255,0.08);
                box-shadow: 0 25px 50px rgba(0,0,0,0.45);
                overflow: hidden;
            }

            /* ========================= */
            /* CONTENT TEXT */
            /* ========================= */
            .journey-text {
                flex: 1;
                padding: 28px 32px;
                padding-left: 5px;
            }

            .journey-text h4 {
                font-size: 1.4rem;
                color: #00bcd4;
                margin-bottom: 6px;
            }

            .journey-sub {
                font-size: 0.95rem;
                color: #cbeeff;
                margin-bottom: 15px;
            }

            /* ========================= */
            /* BULLET LIST */
            /* ========================= */

            .journey-text ul {
                list-style: none;
                padding: 0;
                margin: 0;
            }

            .journey-text li {
                margin-bottom: 10px;
                line-height: 1.6;
                color: #e0f7fa;
            }

            .journey-text li::before {
                content: "• ";
                color: #00bcd4;
                font-weight: bold;
            }

            /* ========================= */
            /* CONTENT PANEL */
            /* ========================= */

            .journey-text {
                flex: 1;
                background: rgba(255,255,255,0.06);
                backdrop-filter: blur(10px);
                padding: 25px 30px;
                border-radius: 16px;
                border: 1px solid rgba(0,188,212,0.15);
                box-shadow: 0 20px 40px rgba(0,0,0,0.4);
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }

            .journey-item:hover .journey-text {
                transform: translateY(-6px);
                box-shadow: 0 30px 60px rgba(0,188,212,0.35);
            }
            
            /* ========================= */
            /* DATE COLUMN */
            /* ========================= */

            .journey-date {
                width: 48px;
                display: flex;
                align-items: center;
                justify-content: center;
                writing-mode: vertical-rl;
                font-weight: 700;
                letter-spacing: 3px;
                color: #00bcd4;
                background: linear-gradient(
                    to bottom,
                    rgba(0,188,212,0.2),
                    rgba(0,188,212,0.05)
                );
                box-shadow: inset -1px 0 0 rgba(255,255,255,0.1);
            }

            /* LEFT SIDE CARDS */
                .journey-item:nth-child(odd) .journey-card {
                    flex-direction: row;
                }

                .journey-item:nth-child(odd) .journey-date {
                    transform: rotate(180deg); /* bottom → top reading */
                }

            /* RIGHT SIDE CARDS */
                .journey-item:nth-child(even) .journey-card {
                    flex-direction: row-reverse;
                }

                .journey-item:nth-child(even) .journey-date {
                    transform: none; /* top → bottom reading */
                }

            /* ========================= */
            /* JOURNEY ITEMS */
            /* ========================= */

            .journey-item {
                position: relative;
                display: flex;
                align-items: stretch;
                width: 50%;
                padding: 30px 40px;
                opacity: 0;
                transition: opacity 0.6s ease, transform 0.6s ease;
            }

            /* LEFT */
            .journey-item:nth-child(odd) {
                left: 0;
                flex-direction: row-reverse;
                text-align: left;
                transform: translateX(-80px);
            }

            /* RIGHT */
            .journey-item:nth-child(even) {
                left: 50%;
                flex-direction: row;
                text-align: left;
                transform: translateX(80px);
            }

            .journey-item.active {
                opacity: 1;
                transform: translateX(0);
            }

            /* DOT */
            .journey-item::before {
                content: "";
                position: absolute;
                top: 40px;
                width: 14px;
                height: 14px;
                background: #00bcd4;
                border-radius: 50%;
                box-shadow: 0 0 15px rgba(0,188,212,0.9);
                z-index: 2;
            }

            .journey-item:nth-child(odd)::before {
                right: -7px;
            }

            .journey-item:nth-child(even)::before {
                left: -7px;
            }

            




/* ========================= */
/* PORTFOLIO PROJECTS – WOW BACKGROUND */
/* ========================= */
.port-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: #00bcd4;
    color: white;
    border: 2px solid #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.port-btn.secondary {
    background: transparent;
    border: 2px solid #00bcd4;
}

/* Icon hidden by default */
.btn-icon {
    opacity: 0;
    transform: translateX(-12px);
    transition: all 0.3s ease;
}

/* Hover effect */
.port-btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,188,212,0.6);
}

/* Icon slides IN from right on hover */
.hero-btn:hover .btn-icon {
    opacity: 1;
    transform: translateX(0);
}
/*---*/

.portfolio-projects {
    position: relative;
    padding: 140px 8%;
    background: linear-gradient(
        to bottom,
        #06131f 0%,
        #071c2d 50%,
        #06131f 100%
    );
    overflow: hidden;
}

#portfolioCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.portfolio-projects::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 20%,
        rgba(0,188,212,0.15),
        transparent 65%
    );
    pointer-events: none;
}

.portfolio-projects::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 70%;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
        to right,
        transparent,
        rgba(0,188,212,0.8),
        transparent
    );
}



.projects-title {
    text-align: center;
    font-size: 3.2rem;
    color: #00bcd4;
    margin-bottom: 80px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================= */
/* PROJECT LOGOS */
/* ========================= */

.project-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}

.project-logo img {
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(0,188,212,0.35));
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Subtle hover lift */
.project-card:hover .project-logo img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 18px rgba(0,188,212,0.6));
}

.project-card {
    background: rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 35px;
    backdrop-filter: blur(6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 30px 70px rgba(0,0,0,0.6),
        0 0 40px rgba(0,188,212,0.25);
}


.project-card h3 {
    font-size: 1.8rem;
    color: #00bcd4;
    margin-bottom: 5px;
}

.project-tag {
    font-size: 0.9rem;
    color: #cbeeff;
    margin-bottom: 20px;
}

.project-card p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #e0f7fa;
}

.project-card ul {
    margin-left: 18px;
    margin-bottom: 20px;
}

.project-card li {
    margin-bottom: 8px;
}

.project-card .tech {
    margin-bottom: 25px;
}

.project-card a {
    color: #00bcd4;
    font-weight: bold;
    text-decoration: none;
}

/* ========================= */
/* PORTFOLIO MOBILE */
/* ========================= */
    @media (max-width: 768px) {

        .portfolio-intro h1 {
            font-size: 2.4rem;
        }

        .portfolio-intro p {
            font-size: 1rem;
        }

        .project-card {
            padding: 30px 20px;
        }

        .project-logo img {
            max-width: 110px;
        }

        .project-info h2 {
            font-size: 1.6rem;
            text-align: center;
        }

        .project-info p {
            font-size: 0.95rem;
            text-align: center;
        }

        .project-link {
            display: inline-block;
            margin-top: 15px;
        }
    }

    @media (max-width: 768px) 
    {
            .journey-item {
                width: 100%;
                left: 0 !important;
                text-align: left;
                padding: 20px 0;
            }

            .journey-timeline::before,
            .journey-timeline::after {
                left: 20px;
                transform: none;
            }

            .journey-card {
                margin-left: 40px;
            }

    }


/* ========================= */
/* BACK TO TOP BUTTON */
/* ========================= */

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #00bcd4;
    color: white;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 2000;
}

#backToTop.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,188,212,0.6);
}

/* ========================= */
/* CONNECT WITH ME BUTTONS */
/* ========================= */
.connect-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center; /* CENTER HORIZONTALLY */
    align-items: center;
}

.connect-btn {
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.connect-btn.whatsapp {
    background: #25D366;
    color: #fff;
}

.connect-btn.email {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.connect-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
