/* ── Portfolio page styles ── */

/* ── Portfolio Hero Animation ── */
.port-anim-wrap {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    background: radial-gradient(ellipse at 47% 80%, rgba(141,255,79,0.13) 0%, rgba(4,12,6,0.35) 40%, transparent 70%);
}
.port-anim-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 55px 22px #030a04;
    pointer-events: none;
    z-index: 6;
}
.port-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pg-ground { position: absolute; bottom: 4%; left: 46%; transform: translateX(-50%); width: 50%; height: 18%; z-index: 3; pointer-events: none; }
.pg-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(141,255,79,0.28); animation: pgRingPulse 3.4s ease-out infinite; }
.pg-ring:nth-child(1) { width: 16%; height: 30%; animation-delay: 0s; }
.pg-ring:nth-child(2) { width: 38%; height: 58%; animation-delay: 0.85s; }
.pg-ring:nth-child(3) { width: 66%; height: 88%; animation-delay: 1.7s; }
.pg-ring:nth-child(4) { width: 100%; height: 128%; animation-delay: 2.55s; }
@keyframes pgRingPulse { 0% { opacity: 0.75; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.26); } }
.pg-glow { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 11px; height: 11px; border-radius: 50%; background: #8dff4f; box-shadow: 0 0 16px 7px rgba(141,255,79,0.82), 0 0 36px 16px rgba(141,255,79,0.36); animation: pgGlowPulse 2s ease-in-out infinite; }
@keyframes pgGlowPulse { 0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 1; } 50% { transform: translate(-50%,-50%) scale(1.7); opacity: 0.6; } }
@media (max-width: 760px) { .port-anim-wrap { height: 280px; } }

/* ── Nav active ── */
.main-nav a.nav-active { color: var(--neon); position: relative; }
.main-nav a.nav-active::after { content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 6px var(--neon); }

/* ── Hero label ── */
.port-hero-label { text-align: left; font-size: 0.82rem; letter-spacing: 0.14em; color: var(--neon); text-transform: uppercase; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.port-hero-label::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--neon); opacity: 0.7; }
.neon-text { color: var(--neon); }

/* ── Hero desc ── */
.port-hero-desc { color: var(--text-soft); font-size: 1rem; line-height: 1.68; max-width: 480px; margin: 18px 0 28px; }

/* ── Stat boxes ── */
.port-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.stat-box { display: flex; align-items: center; gap: 10px; background: rgba(10,24,12,0.72); border: 1px solid rgba(141,255,79,0.22); border-radius: 12px; padding: 11px 15px; flex: 1; min-width: 130px; }
.stat-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.stat-num { display: block; font-family: "Orbitron", sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--neon); line-height: 1.1; }
.stat-label { display: block; font-size: 0.76rem; color: var(--text-soft); line-height: 1.3; margin-top: 2px; }

/* ── Trusted By ── */
.trusted-strip { background: rgba(10,24,12,0.55); border: 1px solid rgba(141,255,79,0.14); border-radius: 16px; padding: 20px 36px; margin-top: 50px; }
.trusted-strip-label { text-align: center; font-size: 0.84rem; color: var(--text-soft); letter-spacing: 0.05em; margin: 0 0 18px; }
.trusted-logos { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.trusted-logo { display: flex; align-items: center; gap: 7px; color: #9dc59a; font-size: 0.9rem; font-weight: 500; opacity: 0.75; transition: opacity 0.2s; }
.trusted-logo:hover { opacity: 1; }
.trusted-logo-icon { width: 22px; height: 22px; border: 1.5px solid rgba(141,255,79,0.38); border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; color: var(--neon); }

/* ── Portfolio Filters ── */
.port-filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 32px; }
.filter-btn { font-family: "Outfit", sans-serif; font-size: 0.88rem; font-weight: 500; padding: 8px 20px; border-radius: 8px; border: 1px solid rgba(141,255,79,0.22); background: rgba(10,22,12,0.7); color: var(--text-soft); cursor: pointer; transition: all 0.2s ease; line-height: 1; }
.filter-btn:hover { border-color: rgba(141,255,79,0.5); color: var(--text-main); }
.filter-btn.active { background: var(--neon); border-color: var(--neon); color: #0a1a0b; font-weight: 700; }

/* ── Project Cards ── */
.project-badge { position: absolute; top: 10px; left: 10px; z-index: 5; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--neon); background: rgba(5,13,7,0.88); border: 1px solid rgba(141,255,79,0.32); border-radius: 5px; padding: 3px 8px; }
.port-card-img { display: block; width: 100%; height: 148px; object-fit: cover; border-radius: 14px 14px 0 0; position: relative; }
.port-card-link { margin: auto 0 0; align-self: flex-start; color: #d5f7c8; text-decoration: none; border: 1px solid rgba(144,255,90,0.4); border-radius: 10px; min-height: 36px; display: inline-flex; align-items: center; padding: 0 16px; font-size: 0.88rem; background: rgba(19,38,20,0.75); transition: all 0.2s ease; margin: auto 16px 14px; }
.port-card-link:hover { color: #0f1f10; background: linear-gradient(180deg, #abff74 0%, #7de746 100%); border-color: rgba(130,255,66,0.95); }

/* ── Process + Impact layout ── */
.process-impact-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; margin-top: 60px; border: 1px solid rgba(141,255,79,0.18); border-radius: 18px; overflow: hidden; background: rgba(5,13,7,0.72); }
.process-side { padding: 28px 32px; border-right: 1px solid rgba(141,255,79,0.1); }
.section-small-label { font-family: "Orbitron", sans-serif; font-size: 0.8rem; font-weight: 600; color: var(--neon); letter-spacing: 0.03em; margin: 0 0 20px; display: block; }
.process-steps-row { display: flex; gap: 0; align-items: flex-start; }
.process-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 2px; }
.step-dot-connector { flex: 0 0 auto; align-self: flex-start; margin-top: 17px; color: rgba(141,255,79,0.4); font-size: 0.5rem; letter-spacing: 2px; padding: 0 1px; line-height: 1; }
.step-hex-outer { width: 52px; height: 52px; background: rgba(141,255,79,0.35); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); display: flex; align-items: center; justify-content: center; margin-bottom: 9px; }
.step-hex-inner { width: 44px; height: 44px; background: rgba(4,12,6,0.96); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); display: flex; align-items: center; justify-content: center; }
.step-hex-inner svg { width: 18px; height: 18px; stroke: var(--neon); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step-num { font-family: "Orbitron", sans-serif; font-size: 0.6rem; color: var(--text-soft); margin-bottom: 4px; display: block; }
.step-title { font-family: "Orbitron", sans-serif; font-size: 0.68rem; font-weight: 600; color: var(--text-main); margin: 0 0 5px; display: block; }
.step-desc { font-size: 0.66rem; color: var(--text-soft); line-height: 1.4; }

/* ── Impact Side ── */
.impact-side { padding: 28px 32px; position: relative; overflow: hidden; }
#worldMapCanvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.impact-side .section-small-label { position: relative; z-index: 1; }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; position: relative; z-index: 1; }
.impact-stat { display: flex; flex-direction: column; }
.impact-num { font-family: "Orbitron", sans-serif; font-size: clamp(1.9rem, 2.8vw, 2.6rem); font-weight: 700; color: var(--neon); line-height: 1; text-shadow: 0 0 22px rgba(141,255,79,0.38); }
.impact-label { font-size: 0.81rem; color: var(--text-soft); margin-top: 5px; line-height: 1.35; }

/* ── CTA Banner ── */
.port-cta-banner { background: rgba(10,24,12,0.55); border: 1px solid rgba(141,255,79,0.16); border-radius: 20px; padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; margin: 60px 0; }
.port-cta-left { display: flex; align-items: center; gap: 28px; }
.cta-rocket-hex-outer { width: 72px; height: 72px; background: rgba(141,255,79,0.28); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); display: flex; align-items: center; justify-content: center; flex-shrink: 0; filter: drop-shadow(0 0 16px rgba(141,255,79,0.45)); }
.cta-rocket-hex-inner { width: 60px; height: 60px; background: rgba(4,12,6,0.92); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); display: flex; align-items: center; justify-content: center; }
.cta-rocket-hex-inner svg { width: 28px; height: 28px; stroke: var(--neon); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.port-cta-text h3 { font-family: "Orbitron", sans-serif; font-size: clamp(1.1rem, 2vw, 1.55rem); margin: 0 0 8px; }
.port-cta-text p { margin: 0; color: var(--text-soft); font-size: 0.95rem; }
.btn-talk { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0; }

/* ── Full Footer ── */
.site-footer-full { position: relative; z-index: 2; border-top: 1px solid rgba(141,255,79,0.16); padding: 52px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.5fr; gap: 28px 20px; margin-bottom: 40px; align-items: start; }
.footer-col { min-width: 0; }
.footer-col-title { font-family: "Orbitron", sans-serif; font-size: 0.78rem; font-weight: 700; color: var(--text-main); letter-spacing: 0.07em; margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { color: var(--text-soft); text-decoration: none; font-size: 0.86rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--neon); }
.footer-brand-row { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text-main); font-family: "Orbitron", sans-serif; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.07em; margin-bottom: 10px; }
.footer-brand-row img { width: 28px; height: 28px; object-fit: contain; filter: drop-shadow(0 0 9px rgba(142,255,79,0.55)); }
.footer-brand-desc { color: var(--text-soft); font-size: 0.83rem; line-height: 1.62; margin: 0 0 18px; max-width: 190px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social-btn { width: 32px; height: 32px; border-radius: 6px; border: 1px solid rgba(141,255,79,0.22); background: rgba(10,22,12,0.6); display: flex; align-items: center; justify-content: center; color: var(--text-soft); text-decoration: none; font-size: 0.82rem; font-weight: 600; transition: all 0.2s; }
.footer-social-btn:hover { border-color: rgba(141,255,79,0.55); color: var(--neon); background: rgba(141,255,79,0.07); }
.footer-newsletter-desc { color: var(--text-soft); font-size: 0.83rem; line-height: 1.6; margin: 0 0 14px; }
.footer-email-row { display: flex; }
.footer-email-row input { flex: 1; min-width: 0; background: rgba(8,18,10,0.75); border: 1px solid rgba(141,255,79,0.22); border-right: none; border-radius: 8px 0 0 8px; color: var(--text-main); padding: 0 12px; height: 40px; font-size: 0.83rem; font-family: "Outfit", sans-serif; outline: none; transition: border-color 0.2s; }
.footer-email-row input::placeholder { color: var(--text-soft); opacity: 0.55; }
.footer-email-row input:focus { border-color: rgba(141,255,79,0.48); }
.footer-email-send { background: var(--neon); border: none; border-radius: 0 8px 8px 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.95rem; color: #091509; font-weight: 700; transition: background 0.2s; flex-shrink: 0; }
.footer-email-send:hover { background: #b8ff7a; }
.footer-bottom-bar { border-top: 1px solid rgba(141,255,79,0.1); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--text-soft); font-size: 0.8rem; }

/* ── Card hidden state ── */
.port-project-card[data-hidden="true"] { display: none; }

/* ── Responsive ── */
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 900px) {
    .process-impact-wrap { grid-template-columns: 1fr; }
    .process-side { border-right: none; border-bottom: 1px solid rgba(141,255,79,0.1); }
    .port-cta-banner { flex-direction: column; text-align: center; }
    .port-cta-left { flex-direction: column; }
}
@media (max-width: 760px) {
    .port-stats { flex-direction: column; }
    .stat-box { min-width: unset; flex: unset; }
    .trusted-logos { justify-content: center; }
    .step-dot-connector { display: none; }
    .process-steps-row { flex-wrap: wrap; gap: 14px 6px; justify-content: center; }
    .process-step { flex: 0 0 calc(33.33% - 6px); }
    .impact-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .port-cta-banner { padding: 28px 20px; }
}
