@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
    --white:#FFFFFF;
    --bg-soft:#F2F9FF;
    --container:#DFF1FF;
    --hero-bg:#D9EEFF;
    --cta-bg:#D5ECFF;
    --card:#EAF6FF;
    --btn:#4DA6FF;
    --btn-hover:#3399FF;
    --icon:#4DA6FF;
    --link:#3399FF;
    --border:#BFE1FB;
    --divider:#DCEEFC;
    --heading:#111827;
    --paragraph:#6B7280;

    --radius-container:24px;
    --radius-card:18px;
    --radius-btn:12px;

    --shadow-soft:0 10px 30px rgba(77,166,255,.10);
    --shadow-card:0 8px 24px rgba(17,24,39,.06);
    --shadow-card-hover:0 18px 40px rgba(77,166,255,.18);

    --ff-heading:'Plus Jakarta Sans', sans-serif;
    --ff-body:'Inter', sans-serif;

    --ease:cubic-bezier(.22,1,.36,1);
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
    font-family: var(--ff-body);
    background: var(--white);
    color: var(--paragraph);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img{ max-width:100%; display:block; }
ul{ list-style:none; }
a{ text-decoration:none; color:inherit; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
input, select, textarea{ font-family:inherit; }
h1,h2,h3,h4{ font-family: var(--ff-heading); color: var(--heading); font-weight:700; letter-spacing:-.01em; margin:0; }
p{ margin:0; }

:focus-visible{ outline:2px solid var(--btn-hover); outline-offset:3px; border-radius:4px; }

/* =========================================================
   Reveal-on-scroll (fade up / left / right)
   ========================================================= */
[data-animate]{
    opacity:0;
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    will-change: transform, opacity;
}
[data-animate="up"]{ transform: translateY(32px); }
[data-animate="left"]{ transform: translateX(-32px); }
[data-animate="right"]{ transform: translateX(32px); }
[data-animate].in-view{ opacity:1; transform: translate(0,0); }

/* =========================================================
   Layout helpers
   ========================================================= */
.section{ padding: 26px 6% 0; }
.section:last-of-type{ padding-bottom: 10px; }

.container{
    max-width: 1240px;
    margin: 0 auto;
    background: var(--container);
    border-radius: var(--radius-container);
    box-shadow: var(--shadow-soft);
    padding: 56px 48px;
}

.section-head{ max-width: 640px; margin-bottom: 40px; }
.section-head.center{ max-width: 640px; margin-left:auto; margin-right:auto; text-align:center; }
.section-head-row{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; max-width:none; flex-wrap:wrap; }
.section-head h2,.section-head h1{ font-size: clamp(26px,3vw,36px); margin-top:12px; line-height:1.25; }
.body-text{ color: var(--paragraph); font-size:16px; margin-top:12px; }

.eyebrow{
    display:inline-flex; align-items:center; gap:8px;
    font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
    color: var(--link);
    background: rgba(77,166,255,.1);
    padding:7px 14px; border-radius:999px;
}
.eyebrow i{ font-size:12px; }

.text-accent{ color: var(--btn-hover); }

/* =========================================================
   Buttons
   ========================================================= */
.btn{
    display:inline-flex; align-items:center; gap:9px;
    font-weight:600; font-size:15px;
    padding:13px 26px; border-radius: var(--radius-btn);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn i{ font-size:13px; transition: transform .25s var(--ease); }
.btn:hover i{ transform: translateX(3px); }

.btn-primary{
    position:relative; overflow:hidden;
    background: var(--btn);
    color: #fff;
    box-shadow: 0 8px 20px rgba(77,166,255,.35);
}
.btn-primary::after{
    content:"";
    position:absolute; top:0; left:-60%; width:40%; height:100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
    transform: skewX(-20deg);
    transition: left .6s var(--ease);
}
.btn-primary:hover::after{ left:130%; }
.btn-primary:hover{ background: var(--btn-hover); box-shadow: 0 10px 26px rgba(51,153,255,.45); transform: translateY(-2px); }

.btn-outline{
    background: #fff;
    color: var(--heading);
    border: 1.5px solid var(--border);
}
.btn-outline:hover{ border-color: var(--btn); color: var(--btn-hover); transform: translateY(-2px); box-shadow: var(--shadow-card); }

.btn-lg{ padding:15px 30px; font-size:16px; }
.btn-sm{ padding:9px 18px; font-size:14px; }
.btn-full{ width:100%; justify-content:center; }

/* =========================================================
   Navbar
   ========================================================= */
.site-header{ position: sticky; top:0; z-index: 999; background: rgba(223,241,255,.7); backdrop-filter: blur(14px); transition: box-shadow .3s ease, background .3s ease; animation: navDropIn .6s var(--ease) both; }
.site-header.scrolled{ background: rgba(255,255,255,.9); box-shadow: 0 4px 24px rgba(17,24,39,.08); }
@keyframes navDropIn{ from{ transform:translateY(-100%); } to{ transform:translateY(0); } }

.navbar{
    max-width:1280px; margin:0 auto; padding:16px 5%;
    display:flex; align-items:center; justify-content:space-between;
    gap:16px;
}
.brand{
    display:flex; align-items:center; gap:9px; flex-shrink:0;
    font-family: var(--ff-heading); font-weight:700; font-size:18px; color: var(--btn-hover); cursor:pointer;
    white-space:nowrap;
}
.brand-mark{
    width:34px; height:34px; border-radius:9px; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    overflow:hidden; transition: transform .35s var(--ease);
    background: rgba(77,166,255,.12);
}
.brand-mark img{ width:100%; height:100%; object-fit:contain; }
.brand-mark i{ font-size:16px; }
.brand:hover .brand-mark{ transform: scale(1.08) rotate(-4deg); }
.brand-text{ display:flex; flex-direction:column; line-height:1.05; }
.brand-thin{
    font-weight:600; color: var(--paragraph); font-size:9.5px;
    letter-spacing:.09em; text-transform:uppercase; margin-top:2px;
}

.nav-right{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.menu-toggle{
    display:none; width:42px; height:42px; border-radius:50%;
    align-items:center; justify-content:center;
    background: var(--container); color: var(--heading);
}

.nav-links{ display:flex; align-items:center; gap:2px; }
.nav-links li > a{
    padding:9px 12px; border-radius:999px; font-size:14px; font-weight:500; color: var(--heading);
    white-space:nowrap; transition: color .2s, background .2s;
}
.nav-links li > a:hover{ color: var(--btn-hover); background: rgba(77,166,255,.08); }
.nav-links-top, .nav-cta-mobile{ display:none; }

.overlay{ position:fixed; inset:0; background:rgba(17,24,39,.35); z-index:998; opacity:0; pointer-events:none; transition:opacity .3s; }
.overlay.active{ opacity:1; pointer-events:auto; }

/* =========================================================
   Hero
   ========================================================= */
.hero-container{ background: var(--hero-bg); padding:64px 56px; position:relative; overflow:hidden; }
.hero-container::before, .hero-container::after{
    content:""; position:absolute; border-radius:50%;
    background: radial-gradient(circle, rgba(77,166,255,.14), transparent 70%);
    filter: blur(6px);
    animation: floatSoft 9s ease-in-out infinite;
    pointer-events:none;
}
.hero-container::before{ width:280px; height:280px; top:-80px; right:-60px; }
.hero-container::after{ width:220px; height:220px; bottom:-60px; left:10%; animation-delay:-3s; }
@keyframes floatSoft{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-16px); } }

.hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center; }

.hero-content .eyebrow{ margin-bottom:20px; background:#fff; }
.hero-content h1{ font-size: clamp(32px,4.2vw,52px); line-height:1.15; margin-bottom:20px; }
.lead{ font-size:17px; color: var(--paragraph); max-width:500px; margin-bottom:30px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:38px; }
.hero-stats{ display:flex; gap:32px; flex-wrap:wrap; }
.hero-stat{ display:flex; flex-direction:column; }
.hero-stat strong{ font-family: var(--ff-heading); font-size:26px; color: var(--heading); }
.hero-stat span{ font-size:13px; color: var(--paragraph); }

/* Hero dashboard mockup */
.hero-visual{ position:relative; }
.dashboard-card{
    background:#fff; border-radius: var(--radius-card); border:1px solid var(--border);
    box-shadow: 0 24px 60px rgba(77,166,255,.20);
    overflow:hidden; animation: floatSoft 7s ease-in-out infinite;
}
.dashboard-topbar{ display:flex; gap:7px; padding:14px 18px; border-bottom:1px solid var(--divider); }
.dot{ width:9px; height:9px; border-radius:50%; }
.dot-a{ background:#FFB4A2; } .dot-b{ background:#FFD97D; } .dot-c{ background:#9AE6B4; }
.dashboard-body{ padding:22px; }
.dashboard-row{ display:flex; gap:16px; margin-bottom:20px; }
.dashboard-stat{ background: var(--card); border-radius:12px; padding:14px 16px; flex:1; }
.dashboard-label{ display:block; font-size:12px; color: var(--paragraph); margin-bottom:4px; }
.dashboard-value{ font-family: var(--ff-heading); font-size:19px; color: var(--heading); font-weight:700; }
.dashboard-chart{ display:flex; align-items:flex-end; gap:8px; height:80px; margin-bottom:20px; }
.dashboard-chart span{
    flex:1; background: linear-gradient(180deg, var(--btn), var(--btn-hover)); border-radius:6px 6px 0 0;
    transform-origin:bottom; animation: growBar .8s var(--ease) both, barPulse 2.4s ease-in-out infinite;
    animation-delay: var(--bar-delay, 0s), calc(var(--bar-delay, 0s) + .8s);
}
.dashboard-chart span:nth-child(1){ --bar-delay: .05s; }
.dashboard-chart span:nth-child(2){ --bar-delay: .15s; }
.dashboard-chart span:nth-child(3){ --bar-delay: .25s; }
.dashboard-chart span:nth-child(4){ --bar-delay: .35s; }
.dashboard-chart span:nth-child(5){ --bar-delay: .45s; }
.dashboard-chart span:nth-child(6){ --bar-delay: .55s; }
.dashboard-chart span:nth-child(7){ --bar-delay: .65s; }
@keyframes growBar{ from{ transform:scaleY(0); opacity:.4; } to{ transform:scaleY(1); opacity:1; } }
@keyframes barPulse{ 0%,100%{ transform:scaleY(1); } 50%{ transform:scaleY(.62); } }
.dashboard-list{ display:flex; flex-direction:column; gap:10px; }
.dashboard-item{ display:flex; align-items:center; gap:9px; font-size:13.5px; color: var(--heading); }
.dashboard-item i{ color:#22C55E; }

.float-chip{
    position:absolute; display:flex; align-items:center; gap:8px;
    background:#fff; border:1px solid var(--border); border-radius:999px;
    padding:9px 15px; font-size:13px; font-weight:600; color: var(--heading);
    box-shadow: var(--shadow-card); animation: floatSoft 6s ease-in-out infinite;
}
.float-chip i{ color: var(--icon); }
.chip-1{ top:-6%; left:-6%; animation-delay:-1.5s; }
.chip-2{ bottom:-4%; right:-4%; animation-delay:-3.5s; }

/* =========================================================
   Company logos strip
   ========================================================= */
.logos-strip{ padding: 40px 0 10px; text-align:center; }
.logos-label{ font-size:13px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color: var(--paragraph); margin-bottom:22px; }
.logos-marquee{ overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.logos-inner{ display:flex; width:max-content; animation: logosScroll 22s linear infinite; }
.logos-track{ display:flex; align-items:center; gap:48px; padding-right:48px; }
.logo-chip:hover{ color: var(--heading); }
@keyframes logosScroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* =========================================================
   About
   ========================================================= */
.about-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:center; }
.about-media{ position:relative; height:400px; }
.about-img{ position:absolute; border-radius: var(--radius-card); object-fit:cover; box-shadow: var(--shadow-card); border:1px solid var(--border); }
.about-img-1{ width:70%; height:78%; top:0; left:0; z-index:1; }
.about-img-2{ width:52%; height:52%; bottom:0; right:0; z-index:2; border:4px solid var(--container); }

.about-content .eyebrow{ margin-bottom:18px; }
.about-content h2{ font-size: clamp(26px,3vw,34px); margin-bottom:16px; line-height:1.25; }
.capability-list{ display:flex; flex-direction:column; gap:18px; margin:26px 0 30px; }
.capability-info{ display:flex; justify-content:space-between; font-size:14px; font-weight:600; color: var(--heading); margin-bottom:8px; }
.capability-track{ height:7px; border-radius:8px; background: var(--divider); overflow:hidden; }
.capability-fill{ height:100%; border-radius:8px; background: var(--btn); transition: width 1.2s var(--ease); }

/* =========================================================
   Card grids (services / why-choose / portfolio)
   ========================================================= */
.card-grid{ display:grid; gap:22px; }
.card-grid-4{ grid-template-columns: repeat(4,1fr); }
.card-grid-2{ grid-template-columns: repeat(2,1fr); }

.why-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:48px; align-items:center; }
.why-media{ position:relative; height:380px; }
.why-img{ position:absolute; border-radius: var(--radius-card); object-fit:cover; box-shadow: var(--shadow-card); border:1px solid var(--border); }
.why-img-1{ width:72%; height:76%; top:0; left:0; z-index:1; }
.why-img-2{ width:55%; height:50%; bottom:0; right:0; z-index:2; border:4px solid var(--container); }
.why-badge{
    position:absolute; top:8%; right:2%; z-index:3;
    display:flex; align-items:center; gap:8px;
    background:#fff; border:1px solid var(--border); border-radius:999px;
    padding:9px 15px; font-size:12.5px; font-weight:600; color: var(--heading);
    box-shadow: var(--shadow-card); animation: floatSoft 6s ease-in-out infinite;
}
.why-badge i{ color:#22C55E; }

/* =========================================================
   Team
   ========================================================= */
.team-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,320px)); justify-content:center; gap:28px; }
.team-card2{
    border-radius: var(--radius-card); overflow:hidden; box-shadow: var(--shadow-card);
    border:1px solid var(--border); background:#fff;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.team-card2:hover{ transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.team-photo2{ aspect-ratio: 4 / 5; overflow:hidden; }
.team-photo2 img{ width:100%; height:100%; object-fit:cover; object-position: center top; transition: transform .5s var(--ease); }
.team-card2:hover .team-photo2 img{ transform: scale(1.06); }
.team-caption{
    background: var(--heading); color:#fff; padding:20px 22px; text-align:center;
}
.team-caption h3{ color:#fff; font-size:18px; margin-bottom:4px; }
.team-caption .team-role{ display:inline-block; font-size:13px; font-weight:600; color: var(--btn); margin-bottom:8px; }
.team-caption p{ font-size:14px; color: rgba(255,255,255,.75); margin:0; }

.white-card{
    background:#fff; border:1px solid var(--border); border-radius: var(--radius-card);
    padding:28px 24px; box-shadow: var(--shadow-card);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.white-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: var(--btn); }

.card-icon{
    width:48px; height:48px; border-radius:12px; margin-bottom:18px;
    display:flex; align-items:center; justify-content:center;
    background: rgba(77,166,255,.12); color: var(--icon); font-size:19px;
}
.white-card h3{ font-size:17px; margin-bottom:8px; }
.white-card p{ font-size:14.5px; color: var(--paragraph); }

/* =========================================================
   Process
   ========================================================= */
.process-track{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.process-step{
    background:#fff; border:1px solid var(--border); border-radius: var(--radius-card);
    padding:26px 22px; box-shadow: var(--shadow-card);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.process-step:hover{ transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.process-num{ display:inline-block; font-family: var(--ff-heading); font-weight:800; font-size:13px; color:#fff; background: var(--btn); padding:5px 11px; border-radius:999px; margin-bottom:16px; }
.process-step h3{ font-size:17px; margin-bottom:8px; }
.process-step p{ font-size:14.5px; color: var(--paragraph); }

/* =========================================================
   Filter tabs (portfolio + pricing)
   ========================================================= */
.filter-tabs{ display:flex; gap:10px; margin-bottom:34px; flex-wrap:wrap; }
.filter-btn, .tab-btn{
    padding:11px 22px; border-radius:999px; background:#fff; border:1.5px solid var(--border);
    color: var(--heading); font-weight:600; font-size:14px; transition: all .25s;
}
.filter-btn.active, .filter-btn:hover, .tab-btn.active, .tab-btn:hover{
    background: var(--btn); color:#fff; border-color: var(--btn);
}

.portfolio-card{ padding:0; overflow:hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), opacity .25s ease; }
.portfolio-card.hide{ display:none; }
.portfolio-card.fade-out{ opacity:0; transform: translateY(10px); }
.portfolio-img{ height:190px; overflow:hidden; display:flex; align-items:center; justify-content:center; background: var(--container); transition: transform .3s var(--ease); }
.portfolio-card:hover .portfolio-img{ transform: scale(1.03); }
.portfolio-card .tag{ display:inline-block; margin:16px 0 0 20px; font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color: var(--link); }
.portfolio-card h3{ font-size:16px; margin:6px 20px 20px; }

/* App preview: phone frame mockup */
.preview-app{ background: linear-gradient(180deg, var(--container), var(--bg-soft)); }
.phone-frame{ width:98px; height:170px; background:#fff; border-radius:16px; border:3px solid var(--heading); padding:8px 6px; box-shadow: var(--shadow-card); position:relative; }
.phone-notch{ width:32px; height:5px; background: var(--heading); border-radius:4px; margin:0 auto 8px; }
.phone-screen{ height:calc(100% - 13px); border-radius:8px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; }
.phone-screen i{ font-size:22px; color:#fff; }
.phone-bars{ display:flex; flex-direction:column; gap:5px; width:70%; }
.phone-bars span{ display:block; height:5px; border-radius:4px; background: rgba(255,255,255,.65); }
.phone-bars span:nth-child(2){ width:75%; } .phone-bars span:nth-child(3){ width:55%; }
.accent-app1{ background: linear-gradient(160deg, #4DA6FF, #2E86E0); }
.accent-app2{ background: linear-gradient(160deg, #34B4A1, #1E8F80); }
.accent-app3{ background: linear-gradient(160deg, #6C8CFF, #4462E0); }
.accent-app4{ background: linear-gradient(160deg, #3399FF, #1F6FC4); }

/* Web preview: browser frame mockup */
.preview-web{ background: linear-gradient(180deg, var(--container), var(--bg-soft)); padding:16px; }
.browser-frame{ width:100%; height:100%; background:#fff; border-radius:10px; border:1px solid var(--border); box-shadow: var(--shadow-card); overflow:hidden; display:flex; flex-direction:column; }
.browser-top{ display:flex; gap:5px; padding:9px 12px; border-bottom:1px solid var(--divider); }
.browser-top span{ width:7px; height:7px; border-radius:50%; background: var(--border); }
.browser-body{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; }
.browser-body i{ font-size:26px; color: var(--icon); }
.browser-lines{ display:flex; flex-direction:column; gap:6px; width:60%; }
.browser-lines span{ display:block; height:5px; border-radius:4px; background: var(--divider); }
.browser-lines span:last-child{ width:65%; }

/* UI/UX preview: design canvas mockup */
.preview-uiux{ background: linear-gradient(180deg, var(--container), var(--bg-soft)); padding:18px; }
.canvas-frame{ width:100%; height:100%; border:1.5px dashed var(--border); border-radius:12px; background:#fff; display:flex; align-items:center; justify-content:center; gap:14px; position:relative; }
.canvas-frame i{ font-size:24px; color: var(--icon); }
.canvas-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:6px; width:46px; }
.canvas-grid span{ display:block; height:16px; border-radius:4px; background: var(--container); border:1px solid var(--border); }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonial-wrapper{ max-width:740px; margin:0 auto; }
/* Stage stacks all cards on top of each other; only .active is visible */
.testimonial-stage{ position:relative; min-height:300px; }
.testimonial-card{
    position:absolute; inset:0;
    text-align:center; padding:44px 40px;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    opacity:0; visibility:hidden;
    transform: translateY(14px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.testimonial-card.active{
    opacity:1; visibility:visible; transform: translateY(0);
    position:relative;
}
.rating-stars{ color:#FBBF24; margin-bottom:18px; display:flex; justify-content:center; gap:4px; }
.client-feedback{ font-size:18px; line-height:1.7; color: var(--heading); margin-bottom:26px; }
.client-profile{ display:flex; align-items:center; justify-content:center; gap:12px; }
.client-profile img{ width:46px; height:46px; border-radius:50%; object-fit:cover; border:2px solid var(--border); }
.avatar-initials{
    width:46px; height:46px; border-radius:50%; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    font-family: var(--ff-heading); font-weight:700; font-size:15px; color:#fff;
    border:2px solid var(--border);
}
.av-1{ background: linear-gradient(135deg, #4DA6FF, #3399FF); }
.av-2{ background: linear-gradient(135deg, #6C8CFF, #4462E0); }
.av-3{ background: linear-gradient(135deg, #34B4A1, #1E8F80); }
.av-4{ background: linear-gradient(135deg, #FFA95E, #F7862E); }
.av-5{ background: linear-gradient(135deg, #FF7E9E, #E85C82); }
.client-profile div{ text-align:left; }
.client-profile h4{ font-size:15px; }
.client-profile span{ font-size:13px; color: var(--paragraph); }

.slider-controls{ display:flex; align-items:center; justify-content:center; gap:22px; margin-top:30px; }
.ctrl-btn{
    width:42px; height:42px; border-radius:50%; background:#fff; border:1.5px solid var(--border);
    color: var(--heading); display:flex; align-items:center; justify-content:center; transition:.25s;
}
.ctrl-btn:hover{ background: var(--btn); color:#fff; border-color: var(--btn); }
.slider-dots{ display:flex; gap:9px; }
.slider-dots .dot{ width:8px; height:8px; border-radius:50%; background: var(--border); cursor:pointer; transition:.25s; }
.slider-dots .dot.active{ background: var(--btn); width:22px; border-radius:5px; }

/* =========================================================
   Pricing
   ========================================================= */
.pricing-wrapper{ display:none; grid-template-columns:repeat(3,1fr); gap:22px; }
.pricing-wrapper.active{ display:grid; }
.pricing-wrapper.active .pricing-card{ animation: popFade .5s var(--ease) both; }
.pricing-wrapper.active .pricing-card:nth-child(2){ animation-delay:.08s; }
.pricing-wrapper.active .pricing-card:nth-child(3){ animation-delay:.16s; }
@keyframes popFade{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:translateY(0); } }
.pricing-card{ position:relative; text-align:left; }
.pricing-card.popular{ border-color: var(--btn); box-shadow: var(--shadow-card-hover); }
.popular-tag{
    position:absolute; top:-13px; left:50%; transform:translateX(-50%);
    background: var(--btn); color:#fff; font-size:12px; font-weight:700;
    padding:6px 16px; border-radius:999px; white-space:nowrap;
}
.badge{ font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color: var(--paragraph); }
.price{ display:flex; align-items:baseline; gap:9px; margin:10px 0 12px; }
.price h3{ font-size:36px; }
.price span{ font-size:13.5px; color: var(--paragraph); }
.pricing-card .body-text{ margin-top:0; margin-bottom:20px; min-height:42px; }
.features{ display:flex; flex-direction:column; gap:11px; margin-bottom:26px; }
.features li{ display:flex; align-items:center; gap:9px; font-size:14px; color: var(--heading); }
.features li i{ color:#22C55E; font-size:12px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-container{ max-width:900px; }
.faq-list{ display:flex; flex-direction:column; gap:14px; }
.faq-item{
    background:#fff; border:1px solid var(--border); border-radius: var(--radius-card);
    overflow:hidden; transition: border-color .3s;
}
.faq-item.active{ border-color: var(--btn); }
.faq-question{
    width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
    padding:19px 22px; font-family: var(--ff-heading); font-size:15.5px; font-weight:600; color: var(--heading);
}
.faq-question i{ color: var(--icon); transition: transform .3s var(--ease); flex-shrink:0; }
.faq-item.active .faq-question i{ transform: rotate(180deg); }
.faq-answer{ max-height:0; overflow:hidden; transition: max-height .35s var(--ease); }
.faq-answer p{ padding:0 22px 20px; color: var(--paragraph); font-size:14.5px; }
.faq-item.active .faq-answer{ max-height:220px; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid{ display:grid; grid-template-columns:.75fr 1.25fr; gap:32px; align-items:start; }
.contact-info{ display:flex; flex-direction:column; gap:16px; }
.contact-photo{ position:relative; border-radius: var(--radius-card); overflow:hidden; box-shadow: var(--shadow-card); height:180px; }
.contact-photo img{ width:100%; height:100%; object-fit:cover; }
.contact-photo-badge{
    position:absolute; left:14px; bottom:14px;
    display:flex; align-items:center; gap:8px;
    background:#fff; border-radius:999px; padding:8px 14px;
    font-size:12.5px; font-weight:600; color: var(--heading);
    box-shadow: var(--shadow-card);
}
.contact-photo-badge i{ color: var(--icon); }
.info-card{ display:flex; align-items:center; gap:16px; padding:20px; }
.info-label{ display:block; font-size:12px; text-transform:uppercase; letter-spacing:.04em; color: var(--paragraph); margin-bottom:3px; }
.info-card p{ font-size:14.5px; font-weight:600; color: var(--heading); }
.info-card p a{ color: inherit; text-decoration:none; transition: color .2s; }
.info-card p a:hover{ color: var(--btn-hover); }

.order-form{ padding:34px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-group{ margin-bottom:18px; position:relative; }
.form-group label{ display:block; font-size:13.5px; font-weight:600; margin-bottom:8px; color: var(--heading); }
.form-group label span{ color: var(--btn-hover); }
.form-group input, .form-group select, .form-group textarea{
    width:100%; padding:12px 15px; border-radius:10px; border:1.5px solid var(--border);
    background: var(--bg-soft); color: var(--heading); font-size:14.5px;
    transition: border-color .2s, box-shadow .2s;
}
.form-group input::placeholder, .form-group textarea::placeholder{ color:#9CA6B4; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
    outline:none; border-color: var(--btn); box-shadow: 0 0 0 3px rgba(77,166,255,.18);
}
.form-group textarea{ resize:vertical; min-height:110px; }
.error-msg{ display:none; color:#EF4444; font-size:12.5px; margin-top:6px; }
.form-group.invalid-field input, .form-group.invalid-field select, .form-group.invalid-field textarea{ border-color:#EF4444; }
.form-group.invalid-field .error-msg{ display:block; }

.success-box{ display:none; text-align:center; padding:56px 30px; }
.success-box.show-success{ display:block; animation: fadeIn .5s ease; }
.success-icon{ font-size:44px; color:#22C55E; margin-bottom:16px; }
.success-box h3{ font-size:20px; margin-bottom:10px; }
.success-box p{ color: var(--paragraph); max-width:400px; margin:0 auto; }
@keyframes fadeIn{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:translateY(0); } }

/* =========================================================
   Footer
   ========================================================= */
.footer{ background:#fff; padding: 60px 6% 0; }
.footer-cta{ background: var(--cta-bg); text-align:center; margin-bottom:56px; padding:52px 40px; }
.footer-cta h2{ font-size: clamp(24px,3.4vw,36px); margin-bottom:24px; }

.footer-grid{ max-width:1240px; margin:0 auto; display:grid; grid-template-columns:1.6fr 1fr 1.2fr 1.2fr; gap:40px; padding-bottom:44px; }
.footer-col h4{ font-size:15px; color: var(--heading); margin-bottom:18px; }
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col ul a{ color: var(--paragraph); font-size:14.5px; transition: color .2s; }
.footer-col ul a:hover{ color: var(--btn-hover); }
.brand-col p{ color: var(--paragraph); font-size:14.5px; margin:16px 0 20px; max-width:300px; }
.footer-col:not(.brand-col):not(.newsletter-col) p{ color: var(--paragraph); font-size:14.5px; margin-bottom:9px; }

.social-icons{ display:flex; gap:10px; }
.social-icons a{
    width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    background: var(--container); color: var(--btn); transition:.25s;
}
/* Brand colors */
.social-icons a:nth-child(1){ background: rgba(24,119,242,.12);  color:#1877F2; } /* Facebook  */
.social-icons a:nth-child(2){ background: rgba(37,211,102,.12);  color:#25D366; } /* WhatsApp  */
.social-icons a:nth-child(3){ background: rgba(10,102,194,.12);  color:#0A66C2; } /* LinkedIn  */
.social-icons a:nth-child(4){ background: rgba(228,64,95,.12);   color:#E4405F; } /* Instagram */

.social-icons a:hover{ color:#fff; transform: translateY(-2px); }
.social-icons a:nth-child(1):hover{ background:#1877F2; }
.social-icons a:nth-child(2):hover{ background:#25D366; }
.social-icons a:nth-child(3):hover{ background:#0A66C2; }
.social-icons a:nth-child(4):hover{ background: linear-gradient(45deg,#F58529,#DD2A7B,#8134AF); }

.newsletter-form{ display:flex; gap:8px; }
.newsletter-form input{
    flex:1; padding:12px 15px; border-radius:999px; border:1.5px solid var(--border);
    background: var(--bg-soft); font-size:14px; color: var(--heading);
}
.newsletter-form button{
    width:44px; height:44px; border-radius:50%; flex-shrink:0;
    background: var(--btn); color:#fff; display:flex; align-items:center; justify-content:center; transition:.25s;
}
.newsletter-form button:hover{ background: var(--btn-hover); }

.footer-bottom{
    max-width:1240px; margin:0 auto; display:flex; align-items:center; justify-content:space-between;
    gap:16px; flex-wrap:wrap; padding:24px 0; border-top:1px solid var(--divider);
}
.footer-bottom p{ color: var(--paragraph); font-size:13.5px; }
.footer-bottom-links{ display:flex; align-items:center; gap:10px; }
.footer-bottom-links a{ color: var(--paragraph); font-size:13.5px; }
.footer-bottom-links a:hover{ color: var(--btn-hover); }
.footer-bottom-links span{ color: var(--border); }

/* =========================================================
   Scroll to top
   ========================================================= */
.scroll-to-top{
    position:fixed; bottom:92px; right:31px; z-index:500;
    width:46px; height:46px; border-radius:50%; background: var(--btn); color:#fff;
    display:flex; align-items:center; justify-content:center;
    box-shadow: 0 8px 22px rgba(77,166,255,.4);
    opacity:0; visibility:hidden; transform:translateY(10px);
    transition:.3s var(--ease);
}
.scroll-to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
.scroll-to-top:hover{ background: var(--btn-hover); }

.whatsapp-float{
    position:fixed; bottom:28px; right:28px; z-index:500;
    width:52px; height:52px; border-radius:50%; background:#25D366; color:#fff;
    display:flex; align-items:center; justify-content:center; font-size:26px;
    box-shadow: 0 8px 22px rgba(37,211,102,.45);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    animation: whatsappPulse 2.6s ease-in-out infinite;
}
.whatsapp-float:hover{ transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 28px rgba(37,211,102,.55); }
@keyframes whatsappPulse{
    0%, 100%{ box-shadow: 0 8px 22px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
    50%{ box-shadow: 0 8px 22px rgba(37,211,102,.45), 0 0 0 10px rgba(37,211,102,0); }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:1100px){
    .card-grid-4{ grid-template-columns:repeat(2,1fr); }
    .process-track{ grid-template-columns:repeat(2,1fr); }
    .footer-grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width:960px){
    .hero-grid{ grid-template-columns:1fr; }
    .hero-visual{ order:-1; max-width:460px; margin:0 auto 10px; }
    .about-grid{ grid-template-columns:1fr; }
    .about-media{ max-width:460px; margin:0 auto; height:auto; display:flex; flex-direction:column; gap:16px; }
    .about-media .about-img{ position:static; width:100%; height:auto; display:block; }
    .why-grid{ grid-template-columns:1fr; }
    .why-media{ max-width:460px; margin:0 auto; height:340px; }
    .contact-grid{ grid-template-columns:1fr; }
    .container{ padding:44px 28px; }
    .hero-container{ padding:44px 28px; }
}

@media (max-width:1220px){
    .nav-links{
        position:fixed; top:0; right:-100%; height:100vh; width:min(320px,84vw); z-index:1001;
        background:#fff; flex-direction:column; align-items:stretch; gap:4px; padding:24px;
        box-shadow:-10px 0 40px rgba(17,24,39,.12); transition: right .35s var(--ease);
    }
    .nav-links.active{ right:0; }
    .nav-links-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
    .nav-links-label{ font-size:12px; text-transform:uppercase; color: var(--paragraph); }
    .close-btn{ width:34px; height:34px; border-radius:50%; background: var(--container); display:flex; align-items:center; justify-content:center; }
    .nav-links li > a{ padding:13px 14px; display:block; }
    .nav-cta-mobile{ display:block; margin-top:14px; }
    .nav-cta-mobile .btn{ width:100%; justify-content:center; }
    .nav-cta-desktop{ display:none; }
    .menu-toggle{ display:flex; }
}

@media (max-width:768px){
    .filter-tabs{ flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding-bottom:6px; }
    .filter-tabs::-webkit-scrollbar{ display:none; }
    .filter-btn{ white-space:nowrap; flex:0 0 auto; padding:10px 18px; font-size:13.5px; }
    .card-grid-4{ grid-template-columns:1fr; }
    .card-grid-2{ grid-template-columns:1fr; }
    .team-grid{ grid-template-columns:1fr; }
    .process-track{ grid-template-columns:1fr; }
    .pricing-wrapper.active{ grid-template-columns:1fr; }
    .form-row{ grid-template-columns:1fr; }
    .footer-grid{ grid-template-columns:1fr; gap:30px; }
    .footer-bottom{ flex-direction:column; text-align:center; }
    .section-head-row{ flex-direction:column; align-items:flex-start; }
    .section{ padding:20px 5% 0; }
}

@media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    [data-animate]{ opacity:1 !important; transform:none !important; }
    *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}
/* =========================================================
   Portfolio real screenshots
   ========================================================= */
.preview-shot{ background: var(--container); padding:0; }
.preview-shot img{ width:100%; height:100%; object-fit:cover; object-position:top center; }
.portfolio-card.has-detail{ cursor:pointer; }
.portfolio-card.has-detail::after{
    content:"View Details"; display:block;
    margin:0 20px 20px; font-size:12.5px; font-weight:700;
    color: var(--link); letter-spacing:.02em;
}
.portfolio-detail{ display:none; }

/* =========================================================
   Project detail modal
   ========================================================= */
.pd-modal{ position:fixed; inset:0; z-index:1200; display:none; }
.pd-modal.open{ display:block; }
.pd-backdrop{ position:absolute; inset:0; background: rgba(17,24,39,.55); backdrop-filter: blur(4px); animation: fadeIn .3s ease; }
.pd-panel{
    position:relative; z-index:1; max-width:920px; width:92%;
    margin:5vh auto; max-height:90vh; overflow-y:auto;
    background:#fff; border:1px solid var(--border); border-radius: var(--radius-container);
    box-shadow: 0 30px 80px rgba(17,24,39,.28);
    animation: popFade .45s var(--ease) both;
}
.pd-close{
    position:absolute; top:16px; right:16px; z-index:3;
    width:38px; height:38px; border-radius:50%;
    background:#fff; border:1.5px solid var(--border); color: var(--heading);
    display:flex; align-items:center; justify-content:center; transition:.25s;
    box-shadow: var(--shadow-card);
}
.pd-close:hover{ background: var(--btn); color:#fff; border-color: var(--btn); }
.pd-hero:empty{ display:none; }
.pd-hero img{
    width:100%; max-height:420px; object-fit:cover; object-position:top center;
    border-radius: var(--radius-container) var(--radius-container) 0 0;
    border-bottom:1px solid var(--divider);
}
.pd-content{ padding:34px 38px 38px; }
.pd-content h2{ font-size: clamp(24px,3vw,32px); margin:14px 0 18px; line-height:1.25; }
.pd-body p{ color: var(--paragraph); font-size:15.5px; margin-bottom:14px; }
.pd-body h4{ font-size:17px; margin:26px 0 14px; }
.pd-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:11px 22px; margin-bottom:28px; }
.pd-list li{ display:flex; align-items:center; gap:9px; font-size:14.5px; color: var(--heading); }
.pd-list li i{ color:#22C55E; font-size:12px; flex-shrink:0; }
body.pd-lock{ overflow:hidden; }

@media (max-width:768px){
    .pd-panel{ width:94%; margin:3vh auto; max-height:94vh; }
    .pd-content{ padding:26px 22px 30px; }
    .pd-list{ grid-template-columns:1fr; }
    .pd-hero img{ max-height:260px; }
}
.portfolio-card{ display:flex; flex-direction:column; }
.portfolio-card h3{ margin-bottom:auto; }
.portfolio-card.has-detail::after{ margin-top:14px; }
/* =========================================================
   Full logo lockup
   ========================================================= */
.brand-full{ gap:0; }
.brand-full img{
    height:40px; width:auto; max-width:230px;
    object-fit:contain;
    transition: transform .35s var(--ease);
}
.brand-full:hover img{ transform: scale(1.04); }
.footer .brand-full img{ height:44px; max-width:250px; }

@media (max-width:520px){
    .brand-full img{ height:34px; max-width:180px; }
}
/* =========================================================
   Text logo lockup
   ========================================================= */
.brand-lockup{ display:flex; align-items:center; gap:12px; }
.lockup-mark{
    font-family: var(--ff-heading);
    font-weight:800; font-size:30px; line-height:1;
    letter-spacing:-.04em; font-style:normal;
    color: var(--btn);
}
.lockup-mark b{ color: var(--heading); font-weight:800; }
.lockup-bar{ width:1.5px; height:30px; background: var(--border); flex-shrink:0; }
.lockup-text{ display:flex; flex-direction:column; line-height:1; }
.lockup-name{
    font-family: var(--ff-heading);
    font-weight:800; font-size:21px; letter-spacing:.04em;
    color: var(--btn);
}
.lockup-sub{
    font-size:9px; font-weight:600; letter-spacing:.19em;
    text-transform:uppercase; color: var(--paragraph); margin-top:4px;
}
.brand-lockup{ cursor:default; }

@media (max-width:520px){
    .lockup-mark{ font-size:25px; }
    .lockup-name{ font-size:17px; }
    .lockup-sub{ font-size:8px; letter-spacing:.16em; }
}
#servicesGrid .white-card.has-detail{ cursor:pointer; }
#servicesGrid .white-card.has-detail::after{
    content:"View Details"; display:block; margin-top:14px;
    font-size:12.5px; font-weight:700; color: var(--link); letter-spacing:.02em;
}
/* =========================================================
   Team member detail (clickable cards + modal hero)
   ========================================================= */
.team-detail{ display:none; }
.team-card2.has-team-detail{ cursor:pointer; }
.team-card2.has-team-detail .team-caption::after{
    content:"View Profile"; display:block; margin-top:12px;
    font-size:12.5px; font-weight:700; color: var(--btn); letter-spacing:.02em;
}

.pd-team-hero{
    display:flex; align-items:center; justify-content:center;
    padding:40px 24px;
    background: linear-gradient(160deg, var(--hero-bg), var(--bg-soft));
    border-bottom:1px solid var(--divider);
    border-radius: var(--radius-container) var(--radius-container) 0 0;
}
.pd-hero .pd-team-hero img{
    width:210px; height:auto; max-height:none;
    aspect-ratio: 4 / 5;
    object-fit:cover; object-position:center top;
    border-radius: var(--radius-card);
    border:4px solid #fff;
    box-shadow: 0 18px 40px rgba(77,166,255,.28);
}

@media (max-width:768px){
    .pd-team-hero{ padding:28px 18px; }
    .pd-hero .pd-team-hero img{ width:160px; }
}
/* ===== FAQ ASK BAR ===== */
.faq-ask-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  margin-top:32px;
  padding:26px 32px;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:20px;
  box-shadow:0 8px 24px rgba(15,23,42,.06);
}
.faq-ask-text h3{
  margin:0 0 6px;
  font-size:1.15rem;
  line-height:1.3;
}
.faq-ask-text p{
  margin:0;
  color:#64748b;
  font-size:.95rem;
}
.faq-ask-bar .btn{ flex-shrink:0; }

@media (max-width:640px){
  .faq-ask-bar{
    flex-direction:column;
    align-items:stretch;
    text-align:center;
    padding:24px 20px;
  }
  .faq-ask-bar .btn{ width:100%; justify-content:center; }
}
/* ===== TECH STACK ===== */
.stack-subhead{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 22px;
  font-size:1.15rem;
}
.stack-subhead i{ color:#2563eb; }

#stack .card-grid + .stack-subhead{ margin-top:48px; }
/* ===== BRAND LOGO IMAGE ===== */
.brand-lockup .lockup-img{
  height:40px;
  width:auto;
  display:block;
  flex-shrink:0;
  object-fit:contain;
}
.footer .brand-lockup .lockup-img{ height:36px; }

@media (max-width:640px){
  .brand-lockup .lockup-img{ height:32px; }
}
/* ===== WORDMARK COLOUR MATCH ===== */
.lockup-name .ln-x{ color:#0f172a; }
.portfolio-img.preview-shot-inset{
    padding:14px;
    background: linear-gradient(180deg, var(--container), var(--bg-soft));
}
.portfolio-img.preview-shot-inset img{
    width:auto;
    height:auto;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    object-position:center;
    border-radius:10px;
}
/* ===== PORTFOLIO CARD BOTTOM SPACING ===== */
.portfolio-card{ padding-bottom:22px; }
.portfolio-card h3{ margin-bottom:18px; }/* =========================================================
   Project detail page
   ========================================================= */
.portfolio-card.is-linked{ cursor:pointer; }
.portfolio-card.is-linked::after{
    content:"View Project  \2192"; display:block;
    margin:0 20px 4px; font-size:12.5px; font-weight:700;
    color: var(--link); letter-spacing:.02em;
    transition: transform .25s var(--ease);
}
.portfolio-card.is-linked:hover::after{ transform: translateX(4px); }

.project-hero{ background: var(--hero-bg); }
.project-back{
    display:inline-flex; align-items:center; gap:8px;
    font-size:14px; font-weight:600; color: var(--paragraph);
    margin-bottom:22px; transition: color .2s, transform .25s var(--ease);
}
.project-back:hover{ color: var(--btn-hover); }
.project-back:hover i{ transform: translateX(-3px); }
.project-back i{ font-size:12px; transition: transform .25s var(--ease); }

.project-hero h1{ font-size: clamp(30px,4vw,46px); line-height:1.15; margin:16px 0 16px; }
.project-hero .lead{ margin-bottom:34px; max-width:640px; }

.project-shot{
    border-radius: var(--radius-card); overflow:hidden;
    border:1px solid var(--border); background:#fff;
    box-shadow: 0 24px 60px rgba(77,166,255,.20);
}
.project-shot img{ width:100%; display:block; }
.project-hero-fallback{
    display:flex; align-items:center; justify-content:center;
    height:300px; background: linear-gradient(160deg, var(--container), var(--bg-soft));
}
.project-hero-fallback i{ font-size:64px; color: var(--icon); }

.project-grid{ display:grid; grid-template-columns: 1.6fr .9fr; gap:44px; align-items:start; }
.project-body h2{ font-size: clamp(21px,2.4vw,26px); margin-bottom:16px; }
.project-body .project-subhead{ margin-top:36px; }
.project-body p{ color: var(--paragraph); font-size:15.5px; margin-bottom:15px; }

.project-features{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px 24px; }
.project-features li{ display:flex; align-items:flex-start; gap:10px; font-size:14.5px; color: var(--heading); }
.project-features li i{ color:#22C55E; font-size:12px; margin-top:5px; flex-shrink:0; }

.project-aside{ display:flex; flex-direction:column; gap:20px; position:sticky; top:100px; }
.project-meta h3, .project-cta h3{ font-size:17px; margin-bottom:16px; }
.project-meta-row{
    display:flex; justify-content:space-between; gap:14px;
    padding:11px 0; border-bottom:1px solid var(--divider);
}
.project-meta-row:last-child{ border-bottom:none; padding-bottom:0; }
.project-meta-key{ font-size:13.5px; color: var(--paragraph); }
.project-meta-val{ font-size:13.5px; font-weight:600; color: var(--heading); text-align:right; }
.project-cta p{ font-size:14.5px; color: var(--paragraph); margin-bottom:20px; }

.project-missing{ text-align:center; padding:80px 40px; }
.project-missing h1{ font-size: clamp(26px,3.4vw,36px); margin:16px 0 12px; }
.project-missing .body-text{ margin-bottom:26px; }

@media (max-width:960px){
    .project-grid{ grid-template-columns:1fr; gap:34px; }
    .project-aside{ position:static; }
}
@media (max-width:640px){
    .project-features{ grid-template-columns:1fr; }
    .project-hero-fallback{ height:200px; }
    .project-hero-fallback i{ font-size:44px; }
}
/* =========================================================
   Team member profile page
   ========================================================= */
.team-card2.is-team-linked{ cursor:pointer; }
.team-card2.is-team-linked .team-caption::after{
    content:"View Profile  \2192"; display:block; margin-top:12px;
    font-size:12.5px; font-weight:700; color: var(--btn); letter-spacing:.02em;
    transition: transform .25s var(--ease);
}
.team-card2.is-team-linked:hover .team-caption::after{ transform: translateX(4px); }

.member-hero{ background: var(--hero-bg); }

.member-grid{
    display:grid; grid-template-columns: minmax(0,320px) 1fr;
    gap:44px; align-items:start; margin-top:22px;
}

.member-photo{
    border-radius: var(--radius-card); overflow:hidden;
    border:4px solid #fff; background:#fff;
    box-shadow: 0 24px 60px rgba(77,166,255,.22);
}
.member-photo img{
    width:100%; aspect-ratio: 4 / 5;
    object-fit:cover; object-position:center top; display:block;
}

.member-intro h1{ font-size: clamp(28px,3.6vw,42px); line-height:1.15; margin:16px 0 6px; }
.member-sub{ font-size:16px; font-weight:600; color: var(--btn-hover); margin-bottom:16px; }
.member-intro .lead{ margin-bottom:26px; }

.member-meta{ padding:22px 24px; }
.member-contact{ padding:24px; }
.member-contact h3{ font-size:17px; margin-bottom:14px; }
.member-contact-row{
    display:flex; align-items:center; gap:11px;
    padding:11px 0; font-size:14px; color: var(--heading);
    border-bottom:1px solid var(--divider);
    transition: color .2s;
}
.member-contact-row:last-child{ border-bottom:none; padding-bottom:0; }
.member-contact-row:hover{ color: var(--btn-hover); }
.member-contact-row i{ color: var(--icon); width:16px; flex-shrink:0; }

@media (max-width:900px){
    .member-grid{ grid-template-columns:1fr; gap:28px; }
    .member-photo{ max-width:320px; }
}
/* ===== CONTACT PAGE LAYOUT ===== */
#contact .contact-grid{ align-items:stretch; }

#contact .order-form{
  position:sticky;
  top:100px;
  align-self:start;
}

#contact .contact-info{ gap:14px; }
#contact .contact-photo{ height:200px; }
#contact .info-card{ padding:18px 20px; }

@media (max-width:960px){
  #contact .order-form{ position:static; }
}
/* ===== ACTIVE NAV LINK ===== */
.nav-links li > a.nav-current{
  color: var(--btn-hover);
  background: rgba(77,166,255,.12);
  font-weight:600;
}
.nav-links li > a.nav-current:hover{
  background: rgba(77,166,255,.18);
}
/* ===== TESTIMONIAL CAROUSEL (3-up) ===== */
.testimonial-wrapper{ max-width:1180px; position:relative; }

.testimonial-stage{
  position:relative;
  min-height:430px;
  overflow:hidden;
  padding:10px 0;
}

.testimonial-card{
  position:absolute;
  inset:auto;
  top:0; left:50%;
  width:min(720px, 76%);
  text-align:left;
  align-items:flex-start;
  justify-content:flex-start;
  padding:34px 32px;
  opacity:0; visibility:hidden;
  transform:translateX(-50%) scale(.84);
  transition:transform .55s var(--ease), opacity .55s var(--ease), visibility .55s;
  z-index:1;
}

.testimonial-card.active{
  position:absolute;
  opacity:1; visibility:visible;
  transform:translateX(-50%) scale(1);
  box-shadow:0 22px 50px rgba(77,166,255,.20);
  z-index:3;
}

/* previous + next siblings of the active card - no JS needed */
.testimonial-card:has(+ .testimonial-card.active),
.testimonial-card.active + .testimonial-card{
  opacity:.42; visibility:visible; z-index:2;
}
.testimonial-card:has(+ .testimonial-card.active){
  transform:translateX(calc(-50% - 430px)) scale(.8);
}
.testimonial-card.active + .testimonial-card{
  transform:translateX(calc(-50% + 430px)) scale(.8);
}

/* big quote mark */
.testimonial-card::before{
  content:"\201C";
  font-family:Georgia, serif;
  font-size:70px; line-height:.8;
  color:var(--btn);
  display:block; margin-bottom:6px;
}

.testimonial-card .rating-stars{ justify-content:flex-start; margin-bottom:14px; }

.testimonial-card .client-feedback{
  font-size:16px; line-height:1.7;
  display:-webkit-box;
  -webkit-line-clamp:6;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin-bottom:20px;
}

.testimonial-card .client-profile{
  justify-content:flex-start;
  width:100%;
  padding-top:18px;
  border-top:1px solid var(--divider);
}

/* arrows on the sides */
.slider-controls{ margin-top:22px; }
.slider-controls .ctrl-btn{
  position:absolute;
  top:calc(50% - 30px);
  z-index:5;
  width:46px; height:46px;
  box-shadow:var(--shadow-card);
}
.slider-controls .prev-btn{ left:0; }
.slider-controls .next-btn{ right:0; }
/* ===== Testimonials - mobile ===== */
@media (max-width:768px){
  .testimonial-stage{ min-height:0; height:auto; overflow:visible; padding:0; }
  .testimonial-card{
    width:100%; padding:24px 22px;
    justify-content:flex-start;
  }
  .testimonial-card::before{ font-size:38px; margin-bottom:4px; }
  .testimonial-card .rating-stars{ margin-bottom:10px; }
  .testimonial-card .client-feedback{
    font-size:14.5px; line-height:1.6; margin-bottom:14px;
    display:block; overflow:visible;
  }
  .testimonial-card .client-profile{ margin-top:auto; padding-top:14px; }
  .testimonial-card.active{ position:relative; }
  .testimonial-card:has(+ .testimonial-card.active),
  .testimonial-card.active + .testimonial-card{ opacity:0; visibility:hidden; }
  .slider-controls{ display:flex; justify-content:center; align-items:center; gap:14px; margin-top:16px; }
  .slider-controls .ctrl-btn{ position:static; top:auto; left:auto; right:auto; }
}



@media (max-width:1100px){
  .testimonial-card{ width:min(600px, 82%); }
  .testimonial-card:has(+ .testimonial-card.active){ transform:translateX(calc(-50% - 330px)) scale(.8); }
  .testimonial-card.active + .testimonial-card{ transform:translateX(calc(-50% + 330px)) scale(.8); }
}
@media (max-width:820px){
  .testimonial-card{ width:88%; }
  .testimonial-card:has(+ .testimonial-card.active),
  .testimonial-card.active + .testimonial-card{ opacity:0; visibility:hidden; }
  .slider-controls .ctrl-btn{ position:static; }
  .slider-controls{ position:relative; }
}
/* ===== 5-STEP PROCESS TRACK ===== */
.process-track{ grid-template-columns:repeat(5,1fr); gap:18px; }
.process-step{ padding:24px 20px; }

@media (max-width:1300px){
  .process-track{ grid-template-columns:repeat(3,1fr); gap:22px; }
}
@media (max-width:900px){
  .process-track{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px){
  .process-track{ grid-template-columns:1fr; }
}
.logos-inner{ animation-duration: 16s; }
/* ===== LOGO MARQUEE FIX (4 clients) ===== */
.logos-track{ gap:70px; padding-right:70px; }
.logo-chip{
  font-size:17px;
  font-weight:600;
  white-space:nowrap;
  color: var(--paragraph);
  transition: color .25s;
}
.logos-inner{ animation-duration: 26s; }
/* ===== WHY CHOOSE US - BALANCED COLUMNS ===== */
.why-grid{
  grid-template-columns: 1fr 1.05fr;
  gap:40px;
  align-items:center;
}
.why-media{ height:520px; }
.why-img-1{ width:76%; height:66%; }
.why-img-2{ width:62%; height:44%; }

.why-grid .card-grid-2{ gap:18px; }
.why-grid .white-card{ padding:24px 22px; }
.why-grid .white-card h3{ font-size:16.5px; }
.why-grid .white-card p{ font-size:14px; }

@media (max-width:960px){
  .why-media{ height:360px; }
}
/* ===== PRICING PAGE CTA ===== */
#pricing-cta, .page-cta{
  margin-top:40px;
  padding:44px 40px;
  text-align:center;
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.page-cta h2{
  font-size: clamp(22px,2.6vw,30px);
  margin-bottom:12px;
}
.page-cta p{
  color: var(--paragraph);
  font-size:15.5px;
  max-width:560px;
  margin:0 auto 24px;
}

@media (max-width:640px){
  .page-cta{ padding:32px 22px; }
  .page-cta .btn{ width:100%; justify-content:center; }
}
/* ===== SHOW FULL REVIEW TEXT ===== */
.testimonial-card .client-feedback{
  display:block;
  -webkit-line-clamp:none;
  overflow:visible;
}
/* ===== ABOUT PAGE HEADING ===== */
.about-head{ padding-top:70px; padding-bottom:70px; }
.about-head h1{
  font-size: clamp(48px,7vw,88px);
  line-height:1.02;
  letter-spacing:-.03em;
  margin:20px auto 14px;
}
.about-head-sub{
  font-size: clamp(20px,2.4vw,29px);
  font-weight:600;
  color: var(--btn-hover);
  line-height:1.3;
  max-width:640px;
  margin:0 auto 18px;
}
.about-head .lead{
  margin:0 auto;
  max-width:560px;
}
/* ===== PROJECT PAGE HERO IMAGE ===== */
.project-shot{
  max-width:620px;
  margin-right:auto;
  margin-left:0;
}
.project-shot img{
  width:100%;
  height:auto;
  display:block;
}

@media (max-width:768px){
  .project-shot{ max-width:100%; }
}
/* ===== PROJECT HERO: IMAGE LEFT, INFO RIGHT ===== */
.project-hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:44px;
  align-items:center;
}
.project-hero-grid .project-shot{ max-width:100%; margin:0; }

.project-hero-info h1{
  font-size: clamp(28px,3.6vw,42px);
  line-height:1.12;
  margin:16px 0 14px;
}
.project-hero-info .lead{ margin-bottom:24px; }

.project-hero-facts{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius-card);
  padding:18px 22px;
  margin-bottom:24px;
  box-shadow: var(--shadow-card);
}

@media (max-width:960px){
  .project-hero-grid{ grid-template-columns:1fr; gap:28px; }
}
/* ===== FORCE FULL REVIEW TEXT EVERYWHERE ===== */
.testimonial-card .client-feedback{
  display:block !important;
  -webkit-line-clamp:unset !important;
  -webkit-box-orient:initial !important;
  overflow:visible !important;
  max-height:none !important;
}

/* =========================================================
   RESPONSIVE POLISH (mobile / tablet / small phones)
   ========================================================= */
/* keep hidden testimonial cards on-canvas on phones (no sideways overflow) */
@media (max-width:768px){
  .testimonial-card:has(+ .testimonial-card.active),
  .testimonial-card.active + .testimonial-card{ transform:translateX(-50%) scale(.9); }
  .project-meta-val{ overflow-wrap:anywhere; }
  .info-card{ min-width:0; }
  .info-card p, .footer-col p{ overflow-wrap:anywhere; }
}

/* pricing cards: single comfortable column on tablets and phones */
@media (max-width:900px){
  .pricing-wrapper.active{ grid-template-columns:1fr; }
}

/* FAQ: long answers were clipped by the 220px accordion cap on narrow screens */
@media (max-width:640px){
  .faq-item.active .faq-answer{ max-height:520px; }
  .faq-question{ font-size:14.5px; padding:16px 18px; }
}

/* small phones (320–520px): tighter panels, comfortable type */
@media (max-width:520px){
  .section{ padding:16px 4% 0; }
  .container{ padding:34px 20px; }
  .hero-container{ padding:36px 20px; }
  .section-head h2,.section-head h1{ font-size:24px; }
  .hero-content h1{ font-size:30px; }
  .lead{ font-size:15.5px; }
  .btn-lg{ width:100%; justify-content:center; }
  .hero-actions .btn{ flex:1 1 auto; justify-content:center; }
}
/* ===== ABOUT CONTENT BUTTON SPACING ===== */
.about-content .btn{ margin-top:16px; }
/* ===== SUCCESS BOX ACTIONS ===== */
.success-actions{ display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-top:24px; }
@media (max-width:520px){ .success-actions .btn{ width:100%; justify-content:center; } }
/* ===== WHATSAPP COUNTRY SELECTOR ===== */
.wa-input-row{ display:flex; gap:10px; }
.wa-input-row select{ flex:0 0 190px; width:190px; }
.wa-input-row input{ flex:1; min-width:0; }
@media (max-width:520px){
  .wa-input-row select{ flex:0 0 150px; width:150px; font-size:13.5px; }
}
/* ===== WHATSAPP COUNTRY SELECTOR ===== */
.wa-input-row{ display:flex; gap:10px; }
.wa-input-row select{ flex:0 0 190px; width:190px; }
.wa-input-row input{ flex:1; min-width:0; }
@media (max-width:520px){
  .wa-input-row select{ flex:0 0 150px; width:150px; font-size:13.5px; }
}
/* ===== CUSTOM COUNTRY CODE + CENTERED SUCCESS ===== */
.wa-input-row #waCustomCode{ flex:0 0 90px; width:90px; }
.success-box.show-success{ display:flex; flex-direction:column; align-items:center; justify-content:center; }
/* ===== PRICING CUSTOM SCOPE CARD - MOBILE ===== */
@media (max-width:640px){
  .custom-scope-card{ padding:34px 22px !important; }
  .custom-scope-btn{ width:100% !important; justify-content:center !important; font-size:15px !important; padding:15px 18px !important; }
}
