/* GSAP Story → Team Reveal v1.7.2 — base layout. Colors, sizes, fonts come from Elementor controls. Author: Asif Iqbal */

.slpStoryWrap,.slpStoryWrap *{box-sizing:border-box}

.slpStoryWrap{position:relative;width:100%;height:360vh;background:#0d0d15;overflow:visible}
.slpStoryWrap.slpFullWidth{width:100vw;margin-left:calc(50% - 50vw)}

.slpStoryStage{position:sticky;top:0;width:100%;height:100vh;height:100svh;overflow:hidden;background:#0d0d15}

/* ---------- Story ---------- */
.slpStoryMain{position:absolute;inset:0;z-index:3;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;text-align:center}
.slpStoryMainInner{width:100%;max-width:1000px;min-height:100%;margin:0 auto;padding:30px 5%;display:flex;flex-direction:column;align-items:center;justify-content:center}
.slpStoryLeft{width:100%;max-width:850px;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}

.slpStoryTag{display:inline-flex;align-items:center;justify-content:center;color:#ff7a00}
.slpStoryTag::before{content:"";display:inline-block;width:12px;height:12px;margin-right:9px;border-radius:50%;background:#ff7a00;box-shadow:0 0 14px rgba(255,122,0,.45)}

.slpStoryTitle{width:100%;max-width:800px;margin:16px auto 30px;color:#fff;text-align:center}

.slpStoryParts{width:100%;max-width:780px;margin:0 auto;display:grid;gap:17px;text-align:center}
.slpStoryPart{padding-bottom:17px;border-bottom:1px solid rgba(255,255,255,.16)}
.slpStoryPart:last-child{padding-bottom:0;border-bottom:0}
.slpStoryPart p{margin:0;text-align:center}

/* ---------- Team background ---------- */
.slpTeamBg{position:absolute;inset:0;z-index:4;background-position:center center;background-size:cover;background-repeat:no-repeat;clip-path:inset(0 50%);transform:scale(1.05);will-change:clip-path,transform}
.slpTeamBg::before{content:"";position:absolute;inset:0;background:var(--slp-overlay,linear-gradient(90deg,rgba(7,8,15,.9),rgba(7,8,15,.72),rgba(7,8,15,.78)))}

/* ---------- Team ---------- */
.slpTeam{position:absolute;inset:0;z-index:5;width:100%;height:100%;padding:40px 0;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;overflow:hidden}
.slpTeamInner{width:100%;max-width:1380px;margin:0 auto;padding:0 5%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.slpTeamHead{width:100%;max-width:820px;margin:0 auto 25px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;flex-shrink:0}
.slpTeamSlider{width:100%;overflow:visible}
.slpTeamGrid{width:100%;display:flex;flex-wrap:nowrap;align-items:stretch;justify-content:center;gap:var(--slp-gap,18px);text-align:left}

.slpTeamCard{position:relative;max-width:320px;min-width:0;overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.035));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);display:flex;flex-direction:column;box-shadow:0 15px 45px rgba(0,0,0,.22);transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease}

.slpTeamPhoto{position:relative;width:100%;height:300px;flex:0 0 300px;background-repeat:no-repeat;background-position:center center;background-size:cover;background-color:#151621;transition:transform .5s ease}
.slpTeamPhoto::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(7,8,15,.48),rgba(7,8,15,.03) 48%,rgba(7,8,15,.01));pointer-events:none}

.slpTeamInfo{position:relative;padding:16px 17px 18px;flex:1;background:rgba(8,9,16,.92);text-align:left}
.slpTeamInfo h3{margin:0 0 6px;text-align:left}
.slpTeamInfo p{margin:0;text-align:left}

/* ---------- Desktop: cards in a row ---------- */
@media (min-width:1025px){
	.slpTeamCard{width:calc((100% - var(--slp-gap,18px) * (var(--slp-cols,4) - 1)) / var(--slp-cols,4));flex:0 1 calc((100% - var(--slp-gap,18px) * (var(--slp-cols,4) - 1)) / var(--slp-cols,4))}
}

/* ---------- Tablet + mobile: cards become a scroll-driven slider ---------- */
@media (max-width:1024px){
	.slpTeam{padding:35px 0}
	.slpTeamInner{max-width:760px;padding:0 28px}
	.slpTeamSlider{max-width:520px;margin:0 auto;overflow:hidden;border-radius:18px}
	.slpTeamGrid{justify-content:flex-start;gap:0;transform:translate3d(0,0,0);will-change:transform}
	.slpTeamCard{width:100%;min-width:100%;max-width:100%;flex:0 0 100%;margin:0}
	.slpTeamCard:hover,.slpTeamCard:hover .slpTeamPhoto{transform:none !important}
}

@media (max-width:767px){
	.slpStoryMainInner{max-width:100%;padding:20px 18px}
	.slpTeam{padding:20px 14px}
	.slpTeamInner{max-width:500px;padding:0}
	.slpTeamSlider{max-width:410px}
}

@media (prefers-reduced-motion:reduce){
	.slpTeamCard,.slpTeamPhoto,.slpSoc,.slpTeamBtn{transition:none !important}
}


/* =====================================================================
   v1.1  Card link, social icons, buttons
===================================================================== */

.slpCardLink{position:absolute;inset:0;z-index:1;display:block;text-decoration:none;cursor:pointer}
.slpTeamInfo h3 a{color:inherit;font:inherit;text-decoration:none}
.slpTeamInfo h3 a:hover{text-decoration:underline}

.slpTeamSocials{position:relative;z-index:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px;margin-top:12px}
.slpSoc{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:36px;height:36px;padding:0;border:1px solid rgba(255,255,255,.18);border-radius:50px;background:rgba(255,255,255,.08);color:#fff;text-decoration:none;line-height:1;cursor:pointer;transition:transform .25s ease,background-color .25s ease,border-color .25s ease,color .25s ease}
.slpSoc svg{display:block;width:17px;height:17px;flex:0 0 auto;stroke-width:2}
.slpSoc span{white-space:nowrap}
.slpTeamSocials--labels .slpSoc{padding:0 14px}
.slpSoc:hover{color:#fff}

/* brand colours */
.slpSocials--brand .slpSoc--facebook{--b:#1877f2}
.slpSocials--brand .slpSoc--messenger{--b:#0084ff}
.slpSocials--brand .slpSoc--instagram{--b:#e1306c}
.slpSocials--brand .slpSoc--linkedin{--b:#0a66c2}
.slpSocials--brand .slpSoc--x{--b:#111111}
.slpSocials--brand .slpSoc--whatsapp{--b:#25d366}
.slpSocials--brand .slpSoc--telegram{--b:#229ed9}
.slpSocials--brand .slpSoc--youtube{--b:#ff0000}
.slpSocials--brand .slpSoc--tiktok{--b:#fe2c55}
.slpSocials--brand .slpSoc--email{--b:#ea4335}
.slpSocials--brand .slpSoc--phone{--b:#2ea44f}
.slpSocials--brand .slpSoc--website{--b:#ff7a00}
.slpSocials--brand .slpSoc:hover{background-color:var(--b,#ff7a00);border-color:var(--b,#ff7a00)}

.slpTeamActions{position:relative;z-index:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px;margin-top:14px}
.slpTeamBtn{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border:1px solid #ff7a00;border-radius:10px;background:#ff7a00;color:#fff;font-family:inherit;font-weight:600;font-size:14px;line-height:1.2;text-decoration:none;cursor:pointer;transition:background-color .25s ease,color .25s ease,border-color .25s ease,transform .25s ease}
.slpTeamBtn:hover{background:#fff;border-color:#fff;color:#0d0d15}
button.slpTeamBtn{-webkit-appearance:none;appearance:none;margin:0}

/* =====================================================================
   v1.1  Auto reply popup (lives on <body> inside .slpGhost)
===================================================================== */

html.slpLocked{overflow:hidden !important}
html.slpSmoothOn{scroll-behavior:auto !important}

.slpGhost{position:static;margin:0;padding:0}
.slpGhost .elementor-element{position:static;margin:0;padding:0}

.slpModal,.slpModal *{box-sizing:border-box}
.slpModal{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:20px;background-color:rgba(5,6,12,.72);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:0;transition:opacity .25s ease;overscroll-behavior:contain}
.slpModal[hidden]{display:none}
.slpModal.is-open{opacity:1}

.slpModalBox{position:relative;width:100%;max-width:420px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto;padding:20px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background-color:#12131d;color:#e8e6ee;box-shadow:0 30px 80px rgba(0,0,0,.5);text-align:left;transform:translateY(14px) scale(.98);transition:transform .3s ease}
.slpModal.is-open .slpModalBox{transform:none}

.slpModalClose{position:absolute;top:12px;right:12px;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.08);color:currentColor;cursor:pointer;line-height:1;transition:background-color .2s ease}
.slpModalClose:hover{background:rgba(255,255,255,.18)}

.slpModalHead{display:flex;align-items:center;gap:14px;padding-right:36px}
.slpModalAvatar{flex:0 0 54px;width:54px;height:54px;border-radius:50%;background-color:#1c1d2b;background-position:center top;background-size:cover;background-repeat:no-repeat;border:2px solid rgba(255,255,255,.14)}
.slpModalWho{min-width:0}
.slpModalName{color:#fff;font-size:17px;font-weight:600;line-height:1.2}
.slpModalRole{margin-top:3px;color:#ff7a00;font-size:13px;font-weight:500;line-height:1.3}
.slpModalStatus{display:flex;align-items:center;gap:6px;margin-top:4px;color:#35d07f;font-size:12px;line-height:1.2}
.slpModalStatus::before{content:"";width:8px;height:8px;border-radius:50%;background-color:#35d07f;box-shadow:0 0 8px currentColor}

.slpModalChat{margin-top:16px}
.slpBubble{display:inline-block;max-width:100%;min-height:42px;padding:12px 16px;border-radius:16px;border-top-left-radius:4px;background-color:rgba(255,255,255,.08);color:#e8e6ee;font-size:15px;line-height:1.55;white-space:pre-line;opacity:.95}
.slpBubble.is-in{animation:slpPop .35s ease both}
@keyframes slpPop{from{opacity:0;transform:translateY(6px) scale(.97)}to{opacity:1;transform:none}}

.slpTyping{display:inline-flex;align-items:center;gap:5px;height:18px}
.slpTyping i{display:block;width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.4;animation:slpDot 1s infinite ease-in-out}
.slpTyping i:nth-child(2){animation-delay:.15s}
.slpTyping i:nth-child(3){animation-delay:.3s}
@keyframes slpDot{0%,80%,100%{transform:translateY(0);opacity:.35}40%{transform:translateY(-5px);opacity:1}}

.slpModalActions{margin-top:16px}
.slpModalGo{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:13px 18px;border-radius:12px;background-color:#ff7a00;color:#fff;font-size:15px;font-weight:600;line-height:1.2;text-decoration:none;transition:background-color .2s ease,transform .2s ease}
.slpModalGo:hover{background-color:#ff9433;color:#fff;transform:translateY(-1px)}
.slpIc{display:inline-flex}
.slpIc svg{display:block;width:18px;height:18px}

.slpChannelsTitle{margin-bottom:10px;font-size:13px;opacity:.75}
.slpChannels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.slpChan{display:flex;align-items:center;gap:9px;padding:10px 12px;border-radius:12px;background-color:rgba(255,255,255,.08);color:#fff;font-size:14px;font-weight:500;line-height:1.2;text-decoration:none;transition:background-color .2s ease}
.slpChan:hover{background-color:rgba(255,255,255,.16);color:#fff}

.slpModalCount{margin-top:10px;font-size:13px;opacity:.8}
.slpModalCount:empty{display:none}
.slpCountCancel{margin:0 0 0 6px;padding:0;border:0;background:none;color:#ff7a00;font:inherit;text-decoration:underline;cursor:pointer}

.slpModalFormWrap{margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.1)}
.slpModalFormTitle{margin-bottom:10px;font-size:14px;font-weight:600;opacity:.9}
.slpModalForm{display:grid;gap:10px;margin:0}
.slpModalForm input,.slpModalForm textarea{width:100%;margin:0;padding:11px 14px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background-color:rgba(255,255,255,.06);color:#fff;font-family:inherit;font-weight:400;font-size:14px;line-height:1.4;outline:none;box-shadow:none;resize:vertical}
.slpModalForm input::placeholder,.slpModalForm textarea::placeholder{color:rgba(255,255,255,.45)}
.slpModalForm input:focus,.slpModalForm textarea:focus{border-color:#ff7a00}
.slpModalForm .slpHp{position:absolute !important;left:-9999px !important;width:1px !important;height:1px !important;opacity:0 !important;pointer-events:none !important}
.slpFormBtn{margin:0;padding:12px 18px;border:0;border-radius:12px;background-color:#ff7a00;color:#fff;font-size:15px;font-weight:600;line-height:1.2;cursor:pointer;transition:background-color .2s ease}
.slpFormBtn:hover{background-color:#ff9433}
.slpFormBtn:disabled{opacity:.6;cursor:wait}
.slpFormMsg{min-height:0;font-size:13px;line-height:1.4}
.slpFormMsg:empty{display:none}
.slpFormMsg.is-ok{color:#35d07f}
.slpFormMsg.is-err{color:#ff6b6b}

@media (max-width:600px){
	.slpModal{align-items:flex-end;padding:0}
	.slpModalBox{max-width:100% !important;max-height:92vh;max-height:92dvh;border-radius:20px 20px 0 0}
	.slpChannels{grid-template-columns:1fr 1fr}
}

@media (prefers-reduced-motion:reduce){
	.slpModal,.slpModalBox,.slpBubble.is-in,.slpTyping i{transition:none !important;animation:none !important}
}


/* =====================================================================
   v1.2  Custom icons, button icons, outline buttons
===================================================================== */

.slpIcoCustom{display:inline-flex;align-items:center;justify-content:center;line-height:1}
.slpIcoCustom svg{fill:currentColor;stroke:none}
.slpIcoCustom i{line-height:1}
.slpSoc i{display:block;width:17px;height:17px;font-size:17px;line-height:17px;text-align:center}
.slpIc i{font-size:18px}

.slpTeamBtn{gap:8px}
.slpBtnIc{display:inline-flex;align-items:center;justify-content:center;line-height:1}
.slpBtnIc i,.slpBtnIc svg{display:block;width:14px;height:14px;font-size:14px;line-height:14px;text-align:center}
.slpBtnTxt{display:inline-block}

.slpTeamBtn--outline{background-color:transparent;color:#ff7a00;border-color:#ff7a00}
.slpTeamBtn--outline:hover{background-color:#ff7a00;color:#fff;border-color:#ff7a00}


/* v1.3  "Message copied" notice (direct inbox mode) */
.slpToast{position:fixed;left:50%;bottom:28px;z-index:2147483001;max-width:min(92vw,420px);padding:12px 18px;border-radius:12px;background-color:#12131d;color:#fff;font-size:14px;line-height:1.4;text-align:center;box-shadow:0 12px 40px rgba(0,0,0,.4);transform:translate(-50%,16px);opacity:0;transition:opacity .25s ease,transform .25s ease;pointer-events:none}
.slpToast[hidden]{display:none}
.slpToast.is-on{opacity:1;transform:translate(-50%,0)}


/* =====================================================================
   v1.7  Image section — lives inside the pinned stage, after the team
===================================================================== */

.slpBoxSection,.slpBoxSection *{box-sizing:border-box}
.slpBoxSection{position:absolute;inset:0;z-index:6;width:100%;height:100%;padding:50px 20px;display:flex;align-items:center;justify-content:center;overflow:hidden;background-color:#0d0d15;opacity:0;visibility:hidden}
.slpBoxInner{--slp-box-cols:2;--slp-box-gap:32px;width:100%;max-width:1200px;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;align-content:center;gap:32px}
.slpBoxMainHead{flex:0 0 100%;width:100%;display:flex;flex-direction:column;align-items:stretch;text-align:center;margin-bottom:10px}
.slpBoxMainHead .slpBoxMainTag{align-self:center;margin-bottom:12px}
.slpBoxMainTitle{margin:0;color:#fff;font-size:42px;font-weight:700;line-height:1.2}
.slpBoxMainSub{margin:12px 0 0;color:rgba(255,255,255,.75);font-size:16px;line-height:1.6}
.slpBoxItem{--slp-box-n:min(var(--slp-box-cols),var(--slp-box-count,2));flex:0 1 calc((100% - var(--slp-box-gap) * (var(--slp-box-n) - 1)) / var(--slp-box-n));display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-width:0}

.slpBoxHead{width:100%;text-align:center}
.slpBoxTitle{margin:0;color:#fff;font-size:30px;font-weight:700;line-height:1.2}
.slpBoxText{margin:10px 0 0;color:rgba(255,255,255,.75);font-size:16px;line-height:1.6}

/* auto mode: the frame hugs the whole image, nothing is cropped */
.slpBoxFrame{isolation:isolate;position:relative;width:fit-content;max-width:100%;height:auto;overflow:hidden;border-radius:12px;background-color:#171826;box-shadow:0 25px 60px rgba(0,0,0,.45);--slp-box-hs:1.05;--slp-box-t:.8s;-webkit-mask-image:-webkit-radial-gradient(white,black)}
.slpBoxLink{display:block;position:relative;color:inherit;text-decoration:none}
.slpBoxMedia{position:relative;overflow:hidden;transition:transform var(--slp-box-t) ease}
.slpBoxLink,.slpBoxMedia{border-radius:inherit}
.slpBoxImg{display:block;width:auto;height:auto;max-width:100%;max-height:56vh;object-fit:contain;-webkit-user-drag:none}

/* fixed-height mode */
.slpBoxMode--fixed .slpBoxFrame{width:100%;height:520px;min-height:120px}
.slpBoxMode--fixed .slpBoxLink{width:100%;height:100%}
.slpBoxMode--fixed .slpBoxMedia{position:absolute;inset:0}
.slpBoxMode--fixed .slpBoxImg{width:100%;height:100%;max-height:none;object-fit:contain;object-position:center center}

/* one image at a time: every item sits in the same grid cell */
.slpBoxLayout--sequence .slpBoxInner{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;align-items:center}
.slpBoxLayout--sequence .slpBoxMainHead{grid-area:1/1;width:100%}
.slpBoxLayout--sequence .slpBoxItem{grid-area:2/1;width:100%;max-width:100%}

.slpBoxHover--zoom:hover .slpBoxMedia{transform:scale(var(--slp-box-hs))}
.slpBoxHover--zoomout .slpBoxMedia{transform:scale(var(--slp-box-hs))}
.slpBoxHover--zoomout:hover .slpBoxMedia{transform:scale(1)}

.slpBoxOverlay{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;padding:30px;background:linear-gradient(to top,rgba(7,8,15,.85),rgba(7,8,15,.05) 70%)}
.slpBoxPos--overlay-top .slpBoxOverlay{justify-content:flex-start;background:linear-gradient(to bottom,rgba(7,8,15,.85),rgba(7,8,15,.05) 70%)}
.slpBoxPos--overlay-center .slpBoxOverlay{justify-content:center;background:rgba(7,8,15,.5)}

@media (max-width:1024px){
	.slpBoxImg{max-height:46vh}
	.slpBoxTitle{font-size:26px}
	.slpBoxMainTitle{font-size:34px}
}
@media (max-width:767px){
	.slpBoxSection{padding:24px 14px}
	.slpBoxInner{--slp-box-cols:1;gap:18px;--slp-box-gap:18px}
	.slpBoxImg{max-height:30vh}
	.slpBoxTitle{font-size:20px}
	.slpBoxMainTitle{font-size:26px}
	.slpBoxItem{gap:10px}
}

@media (prefers-reduced-motion:reduce){
	.slpBoxMedia{transition:none !important}
}
