/* FLEVO v5.8 — Home projects spotlight carousel */
.home-projects-showcase{position:relative;overflow:hidden;background:radial-gradient(circle at 50% 15%,rgba(18,115,143,.16),transparent 34%),linear-gradient(180deg,#041426 0%,#02101f 100%);color:#fff}
.home-projects-showcase:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(20,183,198,.04),transparent 18%,transparent 82%,rgba(20,183,198,.04))}
.home-projects-head{text-align:center;position:relative;z-index:1}.home-projects-head .section-title{color:#fff;margin-bottom:8px}.home-projects-head .section-title:after{content:"";display:block;width:66px;height:3px;margin:14px auto 0;border-radius:99px;background:linear-gradient(90deg,transparent,var(--teal),transparent)}
.home-projects-sub{max-width:720px;margin:0 auto 26px;color:#91a8b9;font-size:14px;line-height:1.9}
.home-projects-filters{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-bottom:34px;position:relative;z-index:3}
.home-projects-filter{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 22px;border:1px solid rgba(132,174,197,.22);border-radius:15px;background:rgba(255,255,255,.025);color:#d4e0e8;font-family:inherit;font-size:13px;cursor:pointer;transition:.25s ease;white-space:nowrap}
.home-projects-filter:hover{border-color:rgba(32,202,215,.55);color:#fff;transform:translateY(-2px)}
.home-projects-filter.active{color:#fff;border-color:#22c8d5;background:linear-gradient(135deg,#17b9c7,#118fa7);box-shadow:0 0 26px rgba(22,190,205,.24)}
.home-projects-stage{position:relative;min-height:470px;display:flex;align-items:center;justify-content:center;perspective:1300px;margin-inline:auto;max-width:1450px}
.home-projects-track{position:relative;width:100%;height:440px;touch-action:pan-y;user-select:none}
.home-project-card{--card-shift:0;position:absolute;top:50%;left:50%;width:min(30vw,410px);height:380px;border:1px solid rgba(121,179,205,.2);border-radius:22px;overflow:hidden;background:#0b2034;box-shadow:0 22px 55px rgba(0,0,0,.32);opacity:0;pointer-events:none;transform:translate(-50%,-50%) scale(.72);transition:transform .48s cubic-bezier(.2,.8,.2,1),opacity .36s ease,filter .36s ease,z-index 0s;will-change:transform,opacity}
.home-project-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease}
.home-project-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,15,28,.03) 28%,rgba(3,15,28,.94) 100%)}
.home-project-card.is-active{z-index:5;opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1);filter:none;border-color:rgba(29,203,216,.65);box-shadow:0 25px 75px rgba(0,0,0,.5),0 0 0 1px rgba(22,199,212,.14),0 0 42px rgba(12,161,179,.16)}
.home-project-card.is-prev{z-index:3;opacity:.84;pointer-events:auto;transform:translate(calc(-50% - min(25vw,350px)),-50%) scale(.82);filter:saturate(.82) brightness(.83)}
.home-project-card.is-next{z-index:3;opacity:.84;pointer-events:auto;transform:translate(calc(-50% + min(25vw,350px)),-50%) scale(.82);filter:saturate(.82) brightness(.83)}
.home-project-card.is-far-prev{z-index:2;opacity:.42;transform:translate(calc(-50% - min(43vw,620px)),-50%) scale(.68);filter:saturate(.55) brightness(.63)}
.home-project-card.is-far-next{z-index:2;opacity:.42;transform:translate(calc(-50% + min(43vw,620px)),-50%) scale(.68);filter:saturate(.55) brightness(.63)}
.home-project-card.is-active:hover img{transform:scale(1.04)}
.home-project-card-content{position:absolute;z-index:2;inset:auto 0 0;padding:26px 28px 25px;text-align:start}
.home-project-tag{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;background:rgba(3,17,30,.72);border:1px solid rgba(255,255,255,.15);font-size:11px;color:#e8f3f7;backdrop-filter:blur(8px)}
.home-project-card h3{font-family:Montserrat,Cairo,sans-serif;font-size:clamp(20px,2vw,30px);line-height:1.25;margin:14px 0 7px;color:#fff}
.home-project-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#d2dfe7;font-size:12px}.home-project-meta i{width:4px;height:4px;border-radius:50%;background:#28bfcc;display:inline-block}
.home-project-open{position:absolute;z-index:3;left:22px;bottom:22px;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(14,158,178,.3);border:1px solid rgba(43,211,224,.65);font-size:23px;transition:.25s ease}.home-project-open:hover{background:#16b8c7;transform:translateX(-3px)}
html[dir="ltr"] .home-project-open{left:auto;right:22px}.home-project-card.is-active .home-project-open{display:grid}.home-project-card:not(.is-active) .home-project-open{display:none}
.home-project-nav{position:absolute;z-index:8;top:50%;width:54px;height:54px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(50,191,208,.28);background:rgba(5,28,46,.82);color:#dffaff;font-size:25px;cursor:pointer;backdrop-filter:blur(10px);transition:.25s ease}.home-project-nav:hover{background:#119db1;border-color:#28d1dd;transform:translateY(-50%) scale(1.07)}
.home-project-prev{right:0;transform:translateY(-50%)}.home-project-next{left:0;transform:translateY(-50%)}
html[dir="ltr"] .home-project-prev{right:auto;left:0}html[dir="ltr"] .home-project-next{left:auto;right:0}
.home-project-dots{min-height:26px;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:4px}.home-project-dot{width:8px;height:8px;padding:0;border:0;border-radius:99px;background:#2d5063;cursor:pointer;transition:.25s ease}.home-project-dot.active{width:42px;background:linear-gradient(90deg,#17b9c8,#26d5df);box-shadow:0 0 15px rgba(30,209,221,.35)}
.home-projects-actions{text-align:center;margin-top:24px}.home-projects-actions .outline{margin-top:0;background:rgba(3,17,31,.25);min-height:54px;align-items:center;gap:10px}.home-projects-loading,.home-projects-empty{display:grid;place-items:center;width:100%;min-height:350px;color:#9bb0bd;text-align:center}
.home-projects-loading:before{content:"";width:34px;height:34px;margin-bottom:12px;border:3px solid rgba(36,196,210,.2);border-top-color:#21c5d2;border-radius:50%;animation:flevoProjectSpin .8s linear infinite}@keyframes flevoProjectSpin{to{transform:rotate(360deg)}}
@media(max-width:980px){.home-projects-stage{min-height:430px}.home-projects-track{height:405px}.home-project-card{width:min(58vw,390px);height:350px}.home-project-card.is-prev{transform:translate(calc(-50% - 37vw),-50%) scale(.76)}.home-project-card.is-next{transform:translate(calc(-50% + 37vw),-50%) scale(.76)}.home-project-card.is-far-prev,.home-project-card.is-far-next{opacity:0}.home-project-nav{width:48px;height:48px}.home-project-prev{right:8px}.home-project-next{left:8px}}
@media(max-width:620px){.home-projects-showcase{padding-bottom:62px}.home-projects-sub{font-size:13px;margin-bottom:20px}.home-projects-filters{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;margin-inline:-12px;padding:2px 12px 10px;scrollbar-width:none}.home-projects-filters::-webkit-scrollbar{display:none}.home-projects-filter{min-height:42px;padding:9px 17px}.home-projects-stage{min-height:420px;margin-inline:-12px}.home-projects-track{height:390px;overflow:hidden}.home-project-card{width:82vw;max-width:360px;height:360px}.home-project-card.is-active{transform:translate(-50%,-50%) scale(1)}.home-project-card.is-prev{opacity:.42;transform:translate(calc(-50% - 79vw),-50%) scale(.8)}.home-project-card.is-next{opacity:.42;transform:translate(calc(-50% + 79vw),-50%) scale(.8)}.home-project-card-content{padding:22px 20px}.home-project-card h3{font-size:23px;padding-inline-end:48px}.home-project-open{width:44px;height:44px;left:18px;bottom:18px}.home-project-nav{top:auto;bottom:-4px;width:46px;height:46px}.home-project-prev{right:calc(50% + 12px);transform:none}.home-project-next{left:calc(50% + 12px);transform:none}.home-project-nav:hover{transform:scale(1.05)}.home-project-dots{margin-top:48px}.home-project-dot{display:none}.home-project-dot.active{display:block;width:48px;height:4px}.home-projects-actions{margin-top:17px}.home-projects-actions .outline{width:100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){.home-project-card,.home-project-card img,.home-project-nav,.home-project-dot{transition:none}}
