/* Alpine hides elements with x-cloak until it initialises. */
html [x-cloak] {
    display: none;
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-400.woff2') format('woff2');
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-500.woff2') format('woff2');
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-600.woff2') format('woff2');
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter-700.woff2') format('woff2');
}

@font-face {
    font-family: Poppins;
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/poppins-500.woff2') format('woff2');
}

@font-face {
    font-family: Poppins;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/poppins-600.woff2') format('woff2');
}

@font-face {
    font-family: Poppins;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/poppins-700.woff2') format('woff2');
}

@font-face {
    font-family: Poppins;
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/poppins-800.woff2') format('woff2');
}

:root {
    --navy: #061426;
    --navy-soft: #030B18;
    --blue: #123A70;
    --blue-soft: #eef4ff;
    --orange: #FF6A1A;
    --orange-soft: #fff3e9;
    --white: #fff;
    --grey: #F5F8FF;
    --ink: #132238;
    --muted: #637186;
    --line: #e3e9f1;
    --green: #25d366;
    --font-body: Poppins, 'Segoe UI', system-ui, sans-serif;
    --font-head: Poppins, 'Segoe UI', system-ui, sans-serif;
    --container: 1180px;
    --radius: 18px;
    --radius-lg: 26px;
    --shadow-sm: 0 4px 16px rgba(6, 20, 38, .06);
    --shadow: 0 14px 40px rgba(6, 20, 38, .09);
    --shadow-lg: 0 30px 80px rgba(6, 20, 38, .2);

    /* Bootstrap 5 theme bindings */
    --bs-body-font-family: var(--font-body);
    --bs-body-font-size: 1rem;
    --bs-body-line-height: 1.65;
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--white);
    --bs-border-color: var(--line);
    --bs-border-radius: 12px;
    --bs-border-radius-sm: 8px;
    --bs-border-radius-lg: 16px;
    --bs-link-color: var(--blue);
    --bs-link-hover-color: var(--orange);
    --bs-primary: var(--orange);
    --bs-secondary: var(--blue);
    --bs-heading-font-family: var(--font-head);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font: 400 16px/1.65 var(--font-body);
    -webkit-font-smoothing: antialiased;
}
body, button, input, select, textarea { font-family: var(--font-body); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .6em;
    color: var(--navy);
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.035em;
}
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.17em; }
h4 { font-size: 1em; }
h5 { font-size: .83em; }
h6 { font-size: .67em; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; padding-inline: calc(.5 * var(--bs-gutter-x)); }
.section { padding: clamp(48px, 6vw, 76px) 0; }
.section-soft, .section-grey { background: var(--grey); }
.hero-copy h1 .hero-ideas { color: #91B3E0; }
.hero-services { position: absolute; z-index: 5; right: 0; bottom: -60px; left: 0; }
.services-strip { min-height: 76px; display: flex; align-items: center; justify-content: space-around; gap: 14px; padding: 12px 22px; border: 1px solid rgba(6,20,38,.08); border-radius: 16px; color: var(--navy); background: var(--white); box-shadow: 0 16px 38px rgba(6,20,38,.16); }
.service-chip { min-width: 0; display: inline-flex; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 10px; color: var(--navy); font-size: .94rem; font-weight: 600; white-space: nowrap; transition: transform .2s ease, background .2s ease; }
.service-chip:hover { transform: translateY(-2px); background: var(--grey); }
.service-chip-icon { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: var(--white); background: var(--blue); font-size: 1.3rem; font-weight: 700; }
.service-chip-icon.orange { background: var(--orange); }
.client-logo { min-width: 0; min-height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 10px; border: 1.5px solid var(--line); border-radius: 14px; color: #25344c; background: var(--white); font: 700 .78rem var(--font-head); text-align: center; cursor: pointer; transition: transform .3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow .3s ease, border-color .3s ease, background .3s ease; }
.home-trusted { max-width: 1180px; }
.home-section-heading { max-width: none; margin: 0 0 20px; text-align: left; }
.home-section-heading .eyebrow { margin-bottom: 4px; color: #2672c9; font-size: .82rem; letter-spacing: .07em; }
.home-section-heading h2 { max-width: none; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.home-client-grid { --bs-gutter-x: 14px; --bs-gutter-y: 14px; }
.home-client-marquee { overflow: hidden; padding: 12px 0 8px; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.home-client-track { display: flex; width: max-content; animation: trusted-clients-scroll 24s linear infinite; }
.home-client-group { display: flex; flex: 0 0 auto; gap: 14px; padding-right: 14px; }
.home-client-group .client-logo { flex: 0 0 clamp(172px, 18vw, 220px); }
.home-client-marquee:hover .home-client-track { animation-play-state: paused; }
@keyframes trusted-clients-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-logo-mark { display: grid; width: 38px; height: 38px; min-height: 38px; place-items: center; color: #17243d; font: 700 1.8rem/1 var(--font-head); }
.client-logo-image { display: block; width: min(100%, 188px); height: 74px; object-fit: contain; filter: grayscale(100%); opacity: 0.65; transition: filter .35s ease, opacity .35s ease, transform .35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.star-row { display: flex; align-items: center; gap: 8px; color: #ffae17; letter-spacing: .13em; }
.star-track {
    background: linear-gradient(90deg, var(--orange) 0 var(--star-fill, 100%), #dfe6f0 var(--star-fill, 100%) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.star-value { color: var(--navy); font-size: .78rem; font-weight: 700; letter-spacing: 0; }
.project-photo { width: 100%; height: 210px; object-fit: cover; transition: transform .5s ease; }
.blog-photo { width: 100%; height: 205px; object-fit: cover; transition: transform .5s ease; }
.blog-body .cat-chip { position: static; display: inline-flex; align-self: flex-start; margin-bottom: 12px; }
.page-banner .container { position: relative; z-index: 1; }
.cta-banner { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); color: white; background: linear-gradient(120deg, #030B18, #0B2850 56%, #174579); box-shadow: var(--shadow); }
.cta-banner h2 { color: white; }
.cta-banner p { color: #eaf2ff; }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.map-frame { width: 100%; min-height: 230px; border: 0; border-radius: var(--radius); }
.profile-photo { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; }
.testimonial-person .profile-photo { width: 62px; height: 62px; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(6, 20, 38, .14); }
.hero-person { width: 100%; height: 440px; object-fit: cover; object-position: center 25%; border-radius: 24px; opacity: 1; }
.hero-person-wrap { position: relative; }
.hero-person-wrap::after { position: absolute; inset: 0; border-radius: 24px; background: linear-gradient(0deg, rgba(3,11,24,.28), transparent 58%); content: ''; pointer-events: none; }
.client-review-card { display: flex; flex-direction: column; height: 100%; }
.client-review-card .card-body > p { flex: 1; color: var(--muted); }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.testimonial-person > div { display: flex; flex-direction: column; }
.filter-bar { flex-wrap: wrap; }
.blog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 30px; }
.process-promo { overflow: hidden; }


@media (max-width: 900px) {
    .hero-person { height: 380px; }
}

@media (max-width: 680px) {
    .cta-banner-inner { align-items: flex-start; flex-direction: column; }
}
.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 38px;
}
.section-heading-row > div { max-width: 720px; }
.section-heading-row h2, .section-head h2 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.15rem);
}
.section-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { margin: 14px 0 0; color: var(--muted); font-size: 1.05rem; }
.page-content-intro { max-width: 820px; margin: 0 0 30px; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.page-content-intro .eyebrow { margin-bottom: 9px; color: #2672c9; }
.page-content-intro h2 { max-width: 760px; font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.page-content-intro p { max-width: 720px; margin-top: 10px; font-size: .98rem; line-height: 1.75; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--blue);
    font: 700 .75rem/1.2 var(--font-head);
    letter-spacing: .12em;
    text-transform: uppercase;
}
.eyebrow-orange { color: var(--orange); }
.eyebrow-dark { color: #d7e1ef; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255, 107, 0, .14); }

/* Buttons re-based on the Bootstrap 5 button component (variables + variants). */
.btn {
    --bs-btn-padding-x: 22px;
    --bs-btn-padding-y: 12px;
    --bs-btn-font-family: var(--font-head);
    --bs-btn-font-size: .92rem;
    --bs-btn-font-weight: 600;
    --bs-btn-line-height: 1.2;
    --bs-btn-border-radius: 999px;
    --bs-btn-box-shadow: none;
    --bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(18, 58, 112, .25);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
    letter-spacing: normal;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 17px; height: 17px; }
.btn-primary {
    --bs-btn-bg: var(--orange);
    --bs-btn-border-color: var(--orange);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #e85f00;
    --bs-btn-hover-border-color: #e85f00;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #e85f00;
    --bs-btn-active-border-color: #e85f00;
    --bs-btn-active-color: #fff;
    --bs-btn-disabled-bg: var(--orange);
    --bs-btn-disabled-border-color: var(--orange);
    --bs-btn-disabled-color: #fff;
    box-shadow: 0 9px 22px rgba(255, 107, 0, .22);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(255, 107, 0, .3); }
.btn-outline-light {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, .35);
    --bs-btn-bg: rgba(255, 255, 255, .04);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgba(255, 255, 255, .1);
    --bs-btn-hover-border-color: #fff;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgba(255, 255, 255, .16);
    --bs-btn-active-border-color: #fff;
}
.btn-outline-dark {
    --bs-btn-color: var(--navy);
    --bs-btn-border-color: var(--navy);
    --bs-btn-bg: transparent;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--navy);
    --bs-btn-hover-border-color: var(--navy);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--navy);
    --bs-btn-active-border-color: var(--navy);
}
.btn-dark {
    --bs-btn-bg: var(--navy);
    --bs-btn-border-color: var(--navy);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #102b4c;
    --bs-btn-hover-border-color: #102b4c;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #102b4c;
    --bs-btn-active-border-color: #102b4c;
    --bs-btn-active-color: #fff;
}
.btn-secondary {
    --bs-btn-bg: var(--blue);
    --bs-btn-border-color: var(--blue);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #0C315F;
    --bs-btn-hover-border-color: #0C315F;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #0C315F;
    --bs-btn-active-border-color: #0C315F;
    --bs-btn-active-color: #fff;
    box-shadow: 0 9px 22px rgba(18, 58, 112, .22);
}
.btn-whatsapp {
    --bs-btn-bg: var(--green);
    --bs-btn-border-color: var(--green);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #1eb855;
    --bs-btn-hover-border-color: #1eb855;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #1eb855;
    --bs-btn-active-border-color: #1eb855;
    --bs-btn-active-color: #fff;
}
.btn-lg {
    --bs-btn-padding-x: 28px;
    --bs-btn-padding-y: 15px;
    --bs-btn-font-size: .92rem;
    min-height: 54px;
}
.btn-link {
    --bs-btn-color: var(--blue);
    --bs-btn-hover-color: var(--orange);
    --bs-btn-active-color: var(--orange);
    min-height: 0;
    padding: 0;
    gap: 7px;
    text-decoration: none;
}
.btn-link:hover { transform: none; }
.btn-link .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.btn-link:hover .icon { transform: translateX(3px); }
.btn-outline-secondary {
    --bs-btn-color: #59687d;
    --bs-btn-border-color: var(--line);
    --bs-btn-bg: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--blue);
    --bs-btn-hover-border-color: var(--blue);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--blue);
    --bs-btn-active-border-color: var(--blue);
    --bs-btn-disabled-color: #59687d;
    --bs-btn-disabled-bg: #fff;
    --bs-btn-disabled-border-color: var(--line);
}

/* Shared header */
.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(227, 233, 241, .8); transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(6, 20, 38, .09); }
.brand-dot { position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px; border: 3px solid var(--white); border-radius: 50%; background: var(--orange); }
.brand-text { min-width: 0; display: flex; flex-direction: column; line-height: 1.14; }
.brand-text small { margin-top: 4px; color: var(--muted); font: 600 .74rem/1.2 var(--font-body); letter-spacing: .09em; }
.main-nav.collapse { display: flex; align-items: center; gap: 4px; }
.main-nav > a:not(.btn):hover, .main-nav > a.active:not(.btn) { color: var(--blue); background: var(--blue-soft); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; color: var(--navy); font-weight: 600; text-decoration: none; transition: color .2s ease, background .2s ease; }
.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown-toggle.active { color: var(--blue); background: var(--blue-soft); }
.nav-dropdown-menu { position: absolute; top: 100%; left: 0; padding-top: 10px; min-width: 200px; display: none; flex-direction: column; gap: 4px; z-index: 1100; }
.nav-dropdown-menu-inner { display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 30px 60px rgba(6,20,38,.14); position: relative; }
.nav-dropdown-menu-inner::before { content: ''; position: absolute; top: -6px; left: 28px; width: 12px; height: 12px; transform: rotate(45deg); background: var(--white); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.nav-dropdown-menu a { display: flex; align-items: center; padding: 9px 12px; border-radius: 10px; color: var(--navy); font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .2s ease, background .2s ease; }
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active { color: var(--blue); background: var(--blue-soft); }
.nav-dropdown:hover .nav-dropdown-menu { display: flex; }
.nav-cta { min-height: 43px; margin-left: 8px; padding: 10px 18px; font-size: .8rem; }
.nav-toggle { display: none; width: 44px; height: 44px; flex: 0 0 auto; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); background: var(--white); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Homepage */
.hero-home { position: relative; isolation: isolate; overflow-x: clip; overflow-y: visible; margin-bottom: 62px; color: var(--white); background-color: var(--navy); background-image: linear-gradient(100deg, rgba(4, 12, 26, .88) 0%, rgba(4, 12, 26, .74) 34%, rgba(7, 24, 50, .42) 60%, rgba(4, 12, 26, .58) 100%), url('/images/hero-futuristic-blue-workspace.png'); background-repeat: no-repeat; background-position: center center; background-size: cover; }
.hero-layout { min-height: 560px; padding-top: 40px; padding-bottom: 40px; }
.hero-copy { position: relative; z-index: 2; max-width: 610px; }
.hero-copy h1 { margin: 12px 0 20px; color: var(--white); font-size: clamp(3.2rem, 5vw, 4.5rem); line-height: 1.04; letter-spacing: -.065em; }
.hero-copy h1 span { color: var(--orange); }
.hero-copy > p { max-width: 525px; color: #b9c7d9; font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 40px; transform: translateY(-14px); }
.proof-avatars { display: flex; padding-left: 2px; }
.proof-avatars span { width: 35px; height: 35px; display: grid; place-items: center; margin-left: -3px; border: 2px solid var(--navy); border-radius: 50%; color: var(--white); background: var(--blue); font: 700 .63rem var(--font-head); }
.proof-avatars span:nth-child(2) { background: var(--orange); }
.proof-avatars span:nth-child(3) { background: #31506f; }
.hero-proof p { display: flex; flex-direction: column; margin: 0; }
.hero-proof strong { color: var(--white); font-size: .83rem; }
.hero-proof small { color: #91a2b8; font-size: .74rem; }
.hero-glow { position: absolute; z-index: -1; width: 500px; height: 500px; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-blue { top: -260px; left: 25%; background: radial-gradient(circle, rgba(18, 58, 112, .42), transparent 68%); }
.hero-glow-orange { right: -250px; bottom: -300px; background: radial-gradient(circle, rgba(255, 107, 0, .2), transparent 68%); }
.hero-visual { position: relative; min-width: 0; padding: 30px 0; animation: hero-image-enter .75s 120ms both; }
.floating-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.7); border-radius: 13px; background: var(--white); box-shadow: var(--shadow); animation: float-gently 4s ease-in-out infinite; }
.note-top { top: 7px; right: -24px; }
.note-bottom { bottom: 5px; left: -25px; }
.floating-note > span:last-child { display: flex; flex-direction: column; }
.floating-note b { color: var(--navy); font: 600 .7rem var(--font-head); }
.floating-note small { color: var(--muted); font-size: .59rem; }
.note-icon, .note-check { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--blue); background: var(--blue-soft); }
.note-icon .icon { width: 18px; height: 18px; }
.note-check { color: #0f6b42; background: #e8f8ef; font-weight: 700; }
.card-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 14px; color: var(--blue); background: var(--blue-soft); }
.card-icon.orange { color: var(--orange); background: var(--orange-soft); }
.card-icon .icon { width: 24px; height: 24px; }
.project-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-shot { position: relative; overflow: hidden; padding: 22px 18px 0; background: #eaf1fb; }
.project-cat, .cat-chip { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.55); border-radius: 30px; color: var(--navy); background: rgba(255,255,255,.9); font: 600 .65rem var(--font-head); }
.project-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 22px; }
.project-body h3 { margin-bottom: 8px; font-size: 1rem; }
.project-body p { margin-bottom: 16px; color: var(--muted); font-size: .85rem; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 17px; }
.tech-tags span { padding: 4px 8px; border-radius: 6px; color: #526177; background: var(--grey); font-size: .66rem; font-weight: 600; }
.project-body .btn-link { margin-top: auto; }
.testimonial-card { min-width: 0; display: flex; flex-direction: column; margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.stars { display: flex; gap: 3px; color: var(--orange); }
.stars .icon { width: 16px; height: 16px; }
.stars { position: relative; display: inline-block; letter-spacing: .1em; }
.stars-bg { color: #dfe6f0; }
.stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--orange); }
.testimonial-text { flex: 1; margin: 19px 0 23px; color: #425168; font-size: .93rem; line-height: 1.75; }
.testimonial-person > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.testimonial-person b { color: var(--navy); font: 600 .84rem var(--font-head); }
.testimonial-person small { color: var(--muted); font-size: .72rem; }
.avatar { width: 43px; height: 43px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: var(--blue-soft); font: 700 .75rem var(--font-head); }
.avatar.orange { color: var(--orange); background: var(--orange-soft); }
.avatar.navy { color: var(--white); background: var(--navy); }

/* Internal page hero */
.page-banner { position: relative; overflow: hidden; padding: clamp(44px, 6vw, 72px) 0; color: var(--white); background: var(--navy); }
.page-banner::before, .page-banner::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; pointer-events: none; }
.page-banner::before { width: 480px; height: 480px; top: -330px; right: 8%; box-shadow: 0 0 0 50px rgba(255,255,255,.02), 0 0 0 100px rgba(255,255,255,.02); }
.page-banner::after { width: 240px; height: 240px; right: 22%; bottom: -210px; border-color: rgba(255,107,0,.25); }
/* Breadcrumbs re-based on the Bootstrap 5 breadcrumb component. */
.breadcrumb {
    --bs-breadcrumb-divider: "›";
    --bs-breadcrumb-divider-color: #91a1b6;
    --bs-breadcrumb-margin-bottom: 20px;
    --bs-breadcrumb-item-padding-x: .55rem;
    --bs-breadcrumb-item-active-color: #91a1b6;
    align-items: center;
    margin-bottom: 20px;
    font: 600 .68rem var(--font-head);
    letter-spacing: .12em;
    text-transform: uppercase;
}
.breadcrumb a { color: #9bbcff; }
.breadcrumb a:hover { color: var(--white); }

/* Shared information cards, mission and team */
/* Cards re-based on the Bootstrap 5 card component. */
.card {
    --bs-card-spacer-y: 26px;
    --bs-card-spacer-x: 28px;
    --bs-card-border-color: var(--line);
    --bs-card-border-radius: var(--radius);
    --bs-card-bg: var(--white);
    --bs-card-cap-bg: var(--white);
    min-width: 0;
    color: inherit;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-body { padding: 26px 28px; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--muted); font-size: .9rem; }
.service-group-label { display: flex; align-items: center; gap: 11px; margin: 0 0 26px; font-size: 1.35rem; letter-spacing: -.02em; }
.service-group-label::before { content: ''; width: 5px; height: 27px; border-radius: 5px; background: var(--blue); }
.service-group-label.orange::before { background: var(--orange); }

/* Portfolio filter and website preview */
.filter-bar, .blog-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filter-bar .btn { min-height: 39px; padding: 8px 15px; font-size: .76rem; }

/* Process timeline */
.timeline { position: relative; max-width: 850px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; top: 28px; bottom: 34px; left: 31px; width: 1px; background: var(--line); }
.timeline-step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding-bottom: 36px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-marker { position: relative; z-index: 1; width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 18px; color: var(--blue); background: var(--white); box-shadow: var(--shadow-sm); }
.timeline-marker .icon { width: 25px; height: 25px; }
.timeline-num { position: absolute; right: -8px; bottom: -8px; min-width: 26px; padding: 3px 4px; border-radius: 8px; color: var(--white); background: var(--orange); font: 700 .55rem var(--font-head); text-align: center; }
.timeline-content { padding: 5px 0 20px; border-bottom: 1px solid var(--line); }
.timeline-step:last-child .timeline-content { border-bottom: 0; }
.timeline-content h3 { margin-bottom: 8px; font-size: 1.2rem; }
.timeline-content p { color: var(--muted); }
.process-work-section { background: linear-gradient(180deg, #f2f7fd 0%, #fff 100%); }
.process-work-section .process-work-heading { max-width: 820px; margin: 0 0 38px; padding: 0; border: 0; text-align: left; }
.process-work-section .process-work-heading .eyebrow { margin-bottom: 9px; color: #2672c9; }
.process-work-section .process-work-heading h2 { margin-inline: 0; color: var(--navy); }
.process-work-section .process-work-heading p { max-width: 700px; margin: 12px 0 0; color: var(--muted); font-size: .98rem; line-height: 1.75; }
.process-work-section .timeline { max-width: 900px; }
.process-work-section .timeline::before { top: 34px; bottom: 50px; left: 0; width: 70px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 130'%3E%3Cpath d='M35 0 C58 22 12 43 35 65 S58 108 35 130' fill='none' stroke='%237fa9d6' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center top / 70px 130px repeat-y; }
.process-work-section .timeline-step { grid-template-columns: 70px minmax(0, 1fr); gap: 22px; padding-bottom: 22px; }
.process-work-section .timeline-marker { width: 70px; height: 70px; border: 3px solid #fff; border-radius: 22px; color: #fff; background: linear-gradient(145deg, #2672c9, #123a70); box-shadow: 0 8px 22px rgba(18, 58, 112, .2); }
.process-work-section .timeline-marker::before,
.process-work-section .timeline-marker::after { position: absolute; top: 50%; z-index: 2; width: 25px; height: 30px; background-repeat: no-repeat; background-size: 100% 100%; content: ''; transform: translateY(-50%); }
.process-work-section .timeline-marker::before { right: 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 30'%3E%3Cpath d='M25 15 C14 15 13 3 0 3' fill='none' stroke='%237fa9d6' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.process-work-section .timeline-marker::after { left: 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 30'%3E%3Cpath d='M0 15 C11 15 12 27 25 27' fill='none' stroke='%237fa9d6' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.process-work-section .timeline-marker > span:first-child { font-size: 1.55rem; line-height: 1; }
.process-work-section .timeline-num { right: -7px; bottom: -7px; min-width: 27px; padding: 5px 6px; border: 2px solid #fff; border-radius: 9px; color: #fff; background: var(--orange); font-size: .58rem; }
.process-work-section .timeline-content { min-height: 108px; padding: 21px 24px; border: 1px solid #e1eaf4; border-radius: 17px; background: #fff; box-shadow: 0 9px 24px rgba(9, 35, 67, .06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.process-work-section .timeline-step:hover .timeline-content { transform: translateY(-2px); border-color: #bfd4ed; box-shadow: 0 14px 30px rgba(9, 35, 67, .1); }
.process-work-section .timeline-content h3 { margin-bottom: 7px; color: var(--navy); font-size: 1.12rem; }
.process-work-section .timeline-content p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.promo-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(28px, 5vw, 52px); border-radius: var(--radius-lg); color: var(--white); background: var(--navy); box-shadow: var(--shadow-lg); }
.promo-banner h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.2rem); }
.promo-banner p { max-width: 600px; color: #b6c4d6; }

/* Blog */
.blog-toolbar .blog-cats { justify-content: flex-end; margin: 0; }
.search-box { min-width: min(100%, 300px); }
.search-box .icon { width: 18px; height: 18px; color: var(--muted); }
.blog-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.blog-body { flex: 1; display: flex; flex-direction: column; padding: 22px; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 12px; color: var(--muted); font-size: .69rem; }
.blog-meta span { display: inline-flex; align-items: center; gap: 5px; }
.blog-meta .icon { width: 14px; height: 14px; }
.blog-body h3 { margin-bottom: 9px; font-size: 1.03rem; line-height: 1.4; }
.blog-body h3 a:hover { color: var(--blue); }
.blog-body > p { margin-bottom: 18px; color: var(--muted); font-size: .84rem; }
.no-results { display: none; padding: 36px; color: var(--muted); text-align: center; }
.no-results.show { display: block; }

/* Testimonials */
.rating-summary { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 64px); margin-bottom: 40px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--grey); }
.rating-summary > div { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.rating-summary .big { color: var(--navy); font: 700 2rem var(--font-head); }
.rating-summary small { color: var(--muted); font-size: .74rem; }
.rating-summary .stars .icon { width: 15px; height: 15px; }
.rating-divider { width: 1px; height: 54px; background: var(--line); }

/* Contact form */
.form-card { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.5rem; }
.form-card > p { margin-bottom: 25px; color: var(--muted); font-size: .9rem; }
/* Forms re-based on the Bootstrap 5 form controls. */
.form-label {
    margin-bottom: 7px;
    color: var(--navy);
    font: 600 .8rem var(--font-head);
}
.form-label .req { color: var(--orange); }
.form-control, .form-select {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    background-color: var(--grey);
    font-size: .87rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--blue);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(8, 102, 255, .12);
}
.form-control::placeholder { color: #8a97a8; }
.form-select {
    padding-right: 38px;
    background-position: right 14px center;
}
.form-control.is-invalid, .form-select.is-invalid { border-color: #c33e36; }
.invalid-feedback {
    margin-top: 5px;
    color: #c33e36;
    font-size: .73rem;
}
.form-text { color: var(--muted); font-size: .73rem; }
.input-group-text {
    border-color: var(--line);
    border-radius: 10px;
    color: var(--muted);
    background: var(--grey);
}

/* Alerts re-based on the Bootstrap 5 alert component. */.alert {
    --bs-alert-border-radius: 10px;
    --bs-alert-padding-x: 15px;
    --bs-alert-padding-y: 13px;
    margin-bottom: 20px;
    font-size: .84rem;
}
.alert-success {
    --bs-alert-color: #137b4a;
    --bs-alert-bg: #e8f8ef;
    --bs-alert-border-color: #b9e8cf;
}
.alert-danger {
    --bs-alert-color: #991b1b;
    --bs-alert-bg: #fef2f2;
    --bs-alert-border-color: #fecaca;
}

/* Pagination re-based on the Bootstrap 5 pagination component. */
.pagination {
    --bs-pagination-border-radius: 10px;
    --bs-pagination-color: var(--blue);
    --bs-pagination-hover-color: #fff;
    --bs-pagination-hover-bg: var(--blue);
    --bs-pagination-hover-border-color: var(--blue);
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: var(--orange);
    --bs-pagination-active-border-color: var(--orange);
    --bs-pagination-border-color: var(--line);
    --bs-pagination-font-size: .8rem;
    gap: 6px;
}
.pagination .page-link { min-width: 40px; text-align: center; font-weight: 600; }
.pagination .page-item.active .page-link { box-shadow: 0 8px 18px rgba(255, 107, 0, .25); }
.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.contact-panel { padding: 28px; border-radius: var(--radius-lg); color: #c4d0df; background: var(--navy); }
.contact-panel h3 { margin-bottom: 20px; color: var(--white); font-size: 1.15rem; }
.contact-panel ul { display: flex; flex-direction: column; gap: 18px; }
.contact-panel li { display: flex; align-items: flex-start; gap: 12px; font-size: .8rem; }
.contact-panel .ic { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: var(--blue); background: rgba(8,102,255,.17); }
.contact-panel .ic.orange { color: var(--orange); background: rgba(255,107,0,.14); }
.contact-panel b { display: block; margin-bottom: 2px; color: var(--white); font: 600 .78rem var(--font-head); }
.contact-panel a:hover { color: var(--white); }
.contact-panel .btn-whatsapp { width: 100%; margin-top: 22px; }

/* FAQ re-based on the Bootstrap 5 accordion component. */
.accordion.faq-list {
    --bs-accordion-border-color: var(--line);
    --bs-accordion-border-radius: 14px;
    --bs-accordion-inner-border-radius: 12px;
    --bs-accordion-btn-color: var(--navy);
    --bs-accordion-btn-bg: var(--white);
    --bs-accordion-active-color: var(--blue);
    --bs-accordion-active-bg: var(--white);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(18, 58, 112, .2);
    --bs-accordion-btn-padding-y: 19px;
    --bs-accordion-btn-padding-x: 21px;
    --bs-accordion-body-padding-y: 0;
    --bs-accordion-body-padding-x: 21px;
    width: min(820px, 100%);
    gap: 12px;
    margin: 0 auto;
}
.faq-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}
.faq-list .accordion-button {
    gap: 18px;
    padding: 19px 21px;
    color: var(--navy);
    font: 600 .91rem/1.4 var(--font-head);
}
.faq-list .accordion-button:not(.collapsed) { color: var(--blue); box-shadow: none; }
.faq-list .accordion-button::after {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--blue);
    background-color: var(--blue-soft);
    background-image: none;
    content: "+";
    font-size: 1.15rem;
    line-height: 1;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}
.faq-list .accordion-button:not(.collapsed)::after {
    color: #fff;
    background-color: var(--orange);
}
.faq-list .accordion-body {
    padding: 0 21px 20px;
    color: var(--muted);
    font-size: .88rem;
}

/* Shared CTA and footer */
.site-footer { color: #aab8ca; background: #040e1b; }
.footer-grid { padding-top: 60px; padding-bottom: 46px; }
.site-footer .brand-text strong { color: var(--white); }
.site-footer .brand-text small { color: #9cabc0; }
.footer-brand p { max-width: 340px; margin: 17px 0; color: #9eacc0; font-size: .83rem; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: #fff; background: #12233a; transition: transform .2s ease, background .2s ease, color .2s ease; }
.footer-socials a:hover { transform: translateY(-3px); color: var(--white); border-color: var(--blue); background: var(--blue); }
.footer-socials .icon { width: 16px; height: 16px; }
.footer-col h4 { position: relative; margin-bottom: 18px; padding-bottom: 10px; color: var(--white); font: 600 .9rem var(--font-head); letter-spacing: 0; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 3px; background: var(--orange); }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: #aab8ca; font-size: .78rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: .77rem; }
.footer-contact .icon { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; color: var(--blue); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; color: #8796aa; font-size: .7rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .heart { color: var(--orange); }

@media (max-width: 1100px) {
    .brand { gap: 8px; }
    .brand-mark { width: 43px; height: 43px; }
    .site-logo { width: 68px; height: 40px; flex: 0 0 68px; }
    .brand-text strong { font-size: .83rem; }
    .brand-text small { font-size: .56rem; }
    .nav-cta { padding-inline: 13px; }
}

@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .main-nav.collapse { position: absolute; top: 81px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 24px 22px; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 20px 35px rgba(6,20,38,.12); }
    .main-nav.collapse.show { display: flex; }
    .main-nav > a:not(.btn) { padding: 12px; font-size: .9rem; }
    .nav-dropdown { width: 100%; }
    .nav-dropdown-toggle { width: 100%; justify-content: flex-start; padding: 12px; font-size: .9rem; border-radius: 12px; }
    .nav-dropdown-menu { position: static; display: flex; width: 100%; padding-top: 0; }
    .nav-dropdown-menu-inner { width: 100%; box-shadow: none; border: none; background: transparent; padding: 4px 0 0 10px; gap: 2px; }
    .nav-dropdown-menu-inner::before { display: none; }
    .nav-dropdown-menu a { padding: 10px 12px; font-size: .88rem; }
    .nav-cta { margin: 8px 0 0; }
    .hero-layout { min-height: initial; padding-top: 58px; padding-bottom: 58px; }
    .hero-copy { max-width: 700px; }
    .hero-visual { width: min(100%, 650px); margin: 0 auto; }
    .hero-home { background-position: center top; background-image: linear-gradient(180deg, rgba(4, 12, 26, .88) 0%, rgba(4, 12, 26, .66) 45%, rgba(4, 12, 26, .88) 100%), url('/images/hero-futuristic-blue-workspace.png'); }
}

@media (max-width: 680px) {
    .container { width: calc(100% - 36px); }
    .section { padding: 44px 0; }
    .section-heading-row { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 22px; }
    .section-heading-row h2, .section-head h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
    .home-section-heading { margin-bottom: 16px; }
    .home-section-heading h2 { font-size: clamp(1.55rem, 7vw, 2rem); }
    .hero-layout { padding-top: 38px; padding-bottom: 34px; }
    .hero-copy h1 { font-size: clamp(2.7rem, 11vw, 3.6rem); }
    .hero-copy > p { font-size: .98rem; }
    .hero-proof { display: none; margin-top: 28px; }
    .hero-actions { gap: 9px; }
    .hero-actions .btn { min-height: 45px; padding: 11px 15px; font-size: .82rem; }
    .hero-visual { padding: 10px 0; }
    .hero-person { height: 320px; }
    .floating-note { gap: 7px; padding: 9px 10px; }
    .note-top { right: -4px; }
    .note-bottom { left: -4px; }
    .floating-note b { font-size: .62rem; }
    .floating-note small { font-size: .52rem; }
    .note-icon, .note-check { width: 29px; height: 29px; }
    .hero-home { margin-bottom: 82px; }
    .hero-services { bottom: -74px; }
    .services-strip { min-height: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); justify-content: stretch; gap: 2px; overflow: hidden; padding: 7px 5px; border-radius: 14px; }
    .service-chip { min-width: 0; min-height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 4px 1px; font-size: .56rem; line-height: 1.15; text-align: center; white-space: normal; }
    .service-chip > span:last-child { max-width: 100%; overflow-wrap: anywhere; }
    .service-chip-icon { width: 30px; height: 30px; border-radius: 8px; font-size: .95rem; }
    .project-shot { padding: 22px 15px 0; }
    .project-body { padding: 19px; }
    .page-banner { padding: 36px 0; }
    .page-banner h1 { font-size: clamp(2.3rem, 10vw, 3.4rem); }
    .filter-bar { justify-content: flex-start; }
    .timeline::before { left: 24px; }
    .timeline-step { grid-template-columns: 50px 1fr; gap: 17px; padding-bottom: 23px; }
    .timeline-marker { width: 50px; height: 50px; border-radius: 15px; }
    .timeline-content { padding-top: 2px; }
    .timeline-content h3 { font-size: 1.05rem; }
    .promo-banner { align-items: flex-start; flex-direction: column; padding: 28px 22px; }
    .blog-toolbar { align-items: stretch; flex-direction: column; }
    .blog-toolbar .blog-cats { justify-content: flex-start; }
    .search-box { min-width: 0; }
    .rating-summary { flex-wrap: wrap; gap: 17px; padding: 18px 10px; }
    .rating-summary > div { flex: 1 1 100px; }
    .rating-divider { display: none; }
    .form-card { padding: 23px 17px; }
    .faq-list .accordion-button { padding: 16px; font-size: .84rem; }
    .faq-list .accordion-body { padding: 0 16px 17px; font-size: .82rem; }
    .footer-grid { padding-top: 42px; }
    .footer-bottom-inner { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@keyframes hero-enter {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-image-enter {
    from { opacity: 0; transform: translateX(26px) scale(.98); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes float-gently {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-copy > * {
    animation: hero-enter .65s both;
}

.hero-copy > *:nth-child(2) { animation-delay: 80ms; }
.hero-copy > *:nth-child(3) { animation-delay: 150ms; }
.hero-copy > *:nth-child(4) { animation-delay: 220ms; }
.hero-copy > *:nth-child(5) { animation-delay: 290ms; }
.floating-note.note-bottom { animation-delay: -2s; }

/* Reveal animations use the individual `translate` property so card hover lifts keep working. */
.scroll-reveal {
    opacity: 0;
    translate: 0 24px;
    transition: opacity .65s ease, translate .65s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--reveal-delay, 0ms);
}

.scroll-reveal.is-visible {
    opacity: 1;
    translate: 0 0;
}

/* Hover lifts share one transition so the reveal animation keeps priority over card transitions. */
.project-card, .blog-card, .client-logo, .client-review-card, .faq-item {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.client-logo:hover {
    transform: translateY(-5px);
    border-color: rgba(8, 102, 255, 0.45);
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(6, 20, 38, 0.1);
}
.client-logo:hover .client-logo-image {
    filter: grayscale(0%) saturate(1.2) !important;
    opacity: 1 !important;
    transform: scale(1.08);
}
.client-logo:hover .client-logo-mark {
    color: var(--blue);
    transform: scale(1.08);
}
.project-card:hover .project-photo, .blog-card:hover .blog-photo { transform: scale(1.045); }

/* Keep the homepage reference sections compact and preserve their desktop grid at tablet widths. */
.home-trusted-section { position: relative; isolation: isolate; padding: 28px 0 22px; background: #fff; }
.home-services-section { padding: 10px 0 24px; background: #fff; }
.home-services-section + .section { padding-top: 24px; }
.home-trusted, .home-services-container { width: 100%; max-width: none; padding-inline: clamp(24px, 4vw, 56px); }
.home-section-heading.section-head { max-width: none; margin: 0 0 12px; text-align: left; }
.home-section-heading.section-head .eyebrow { margin-bottom: 2px; font-size: .9rem; letter-spacing: .04em; }
.home-section-heading.section-head h2 { max-width: none; font-size: clamp(1.7rem, 3.8vw, 2.1rem); line-height: 1.15; }
.home-client-grid .client-logo { min-height: 94px; padding: 10px 6px; gap: 4px; border: 1px solid #e8edf5; border-radius: 13px; color: #17243d; box-shadow: 0 3px 12px rgba(6, 20, 38, .035); font-size: .82rem; }
.home-service-detail-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-shot.service-shot-alt { opacity: 0; transition: opacity .35s ease, transform .35s ease; }
.home-service-detail:hover .service-shot-alt, .service-card:hover .service-shot-alt { opacity: 1; }
@media (hover: none) {
    .service-shot.service-shot-alt { display: none; }
}
.home-service-detail:hover .home-service-detail-image img { transform: scale(1.04); }
.home-service-detail:nth-child(even) .home-service-detail-icon { color: var(--orange); background: var(--orange-soft); }
.home-lower-container { width: 100%; max-width: none; padding-inline: clamp(24px, 4vw, 56px); }
.home-section-label { margin-bottom: 12px; }
.home-section-label .eyebrow, .home-featured-heading .eyebrow { margin: 0; color: #2672c9; font-size: .95rem; letter-spacing: .04em; }
.home-why-section { padding: 28px 0 26px; background: linear-gradient(160deg, #123c6b 0%, #0a2447 55%, #061426 100%); }
.home-why-section .home-section-label .eyebrow { color: #9cc4ff; }
.home-why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.home-why-card { min-height: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 10px 8px; border: 1px solid #e8edf5; border-radius: 13px; background: white; box-shadow: 0 10px 24px rgba(2, 10, 22, .26); text-align: center; }
.home-why-icon { width: 36px; height: 36px; color: var(--orange); }
.home-why-card:nth-child(2) .home-why-icon { color: #2672c9; }
.home-why-card h3 { max-width: 160px; margin: 0; font-size: .9rem; line-height: 1.3; }
.home-featured-section { padding: 24px 0 28px; background: #fff; }
.home-featured-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.home-featured-all { color: #2672c9; font-size: .85rem; font-weight: 600; }
.home-project-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 16px; }
.home-project-filters .btn { min-width: 88px; padding: 9px 17px; border: 1px solid #e7edf5; border-radius: 10px; color: var(--navy); background: #f4f7fb; font-weight: 600; }
.home-project-filters .btn:hover { border-color: var(--orange); color: var(--orange); background: #fff; }
.home-project-filters .btn.active { border-color: var(--orange); color: white; background: var(--orange); }
.home-project-grid { --bs-gutter-x: 18px; --bs-gutter-y: 18px; }
.home-project-grid > div { min-width: 0; }
.home-project-grid .project-card { height: 100%; border-radius: 13px; }
.home-project-grid .project-shot { height: 155px; padding: 0; background: #eaf1fb; }
.home-project-grid .project-cat { top: 10px; left: 10px; }
.home-project-grid .project-photo { width: 100%; height: 100%; object-fit: cover; }
.home-project-grid .project-body { padding: 12px 14px 14px; }
.home-project-grid .project-body h3 { margin: 0 0 7px; font-size: .98rem; }
.home-project-grid .project-body p, .home-project-grid .tech-tags { display: none; }
.home-project-grid .project-body .btn { min-height: 0; margin-top: auto; padding: 0; color: #2672c9; background: transparent; box-shadow: none; font-size: .85rem; }
.home-testimonial-section { padding: 28px 0 40px; background: #fff; }
.home-testimonial-section .home-featured-heading { justify-content: space-between; }
.home-testimonial-grid { display: grid; grid-auto-columns: calc((100% - 48px) / 3); grid-auto-flow: column; gap: 24px; overflow-x: auto; padding: 24px 2px 14px; scroll-snap-type: none; scrollbar-width: none; }
.home-testimonial-grid::-webkit-scrollbar { display: none; }
.home-testimonial-grid > * { min-width: 0; scroll-snap-align: start; }
.home-testimonial-actions { display: flex; align-items: center; gap: 18px; }
.home-testimonial-toggle { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--blue); background: #fff; font: 600 .76rem var(--font-head); cursor: pointer; }
.home-testimonial-toggle:hover { border-color: var(--blue); background: var(--blue-soft); }
@media (max-width: 991px) { .home-testimonial-grid { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; } }
@media (max-width: 600px) { .home-testimonial-grid { grid-auto-columns: 86%; gap: 14px; } }
.home-testimonial-grid .client-review-card { min-height: 190px; border-radius: 13px; }
.home-testimonial-grid .client-review-card .card-body { padding: 18px 20px; }
.home-testimonial-grid .star-row { margin-bottom: 8px; color: var(--orange); font-size: 1.25rem; letter-spacing: .08em; }
.home-testimonial-grid .star-value { font-size: .78rem; }
.home-testimonial-grid .client-review-card .card-body > p { margin-bottom: 12px; font-size: .91rem; line-height: 1.55; }
.home-testimonial-grid .testimonial-person { margin-top: auto; }
@media (max-width: 991px) { .home-testimonial-grid { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; } }
@media (max-width: 600px) { .home-testimonial-section { padding: 30px 0 34px; } .home-testimonial-grid { grid-auto-columns: 86%; gap: 14px; padding-top: 18px; } .home-testimonial-actions { gap: 10px; } .home-testimonial-toggle { padding: 6px 10px; } }
.profile-initials { display: inline-grid; flex: 0 0 auto; place-items: center; border: 3px solid #fff; color: #fff; background: linear-gradient(135deg, var(--blue), #2672c9); box-shadow: 0 6px 16px rgba(6, 20, 38, .14); font: 700 .9rem/1 var(--font-head); letter-spacing: .02em; }
.service-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-card-image img { transform: scale(1.04); }
.service-card-content .btn-link { margin-top: auto; padding: 0; }

/* Service cards: stronger image treatment and clearer, more readable copy. */
.home-service-detail {
    flex: 1 1 0;
    min-width: calc((100% - (var(--service-col-gap, 30px) * 2)) / 3 - 1px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 310px;
    padding: 0;
    border: 1px solid #123a70;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(6, 20, 38, .07);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.home-service-detail:hover {
    transform: translateY(-4px);
    border-color: #0a2b52;
    box-shadow: 0 14px 30px rgba(6, 20, 38, .12);
}
.home-service-detail-image::after {
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent, rgba(3, 11, 24, .38));
    content: '';
    pointer-events: none;
}
.home-service-detail-icon { position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; display: grid; place-items: center; margin: 0; border: 2px solid #fff; border-radius: 9px; color: var(--blue); background: var(--blue-soft); font-size: .95rem; font-weight: 700; z-index: 1; }
.service-image-cta {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 999px;
    color: #fff;
    background: rgba(7, 28, 60, .74);
    box-shadow: 0 6px 16px rgba(3, 11, 24, .3);
    backdrop-filter: blur(6px);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .01em;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .28s ease, transform .28s ease;
}
.home-service-detail:hover .service-image-cta { opacity: 1; transform: translateY(0); }
.service-card-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 11px;
    border-radius: 999px;
    color: #0f2a4d;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 4px 12px rgba(3, 11, 24, .2);
    backdrop-filter: blur(6px);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
@media (hover: none) {
    .service-image-cta { display: none; }
}
.home-service-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-bottom: 6px; }
.home-service-detail-heading > span, .service-card-category {
    padding: 4px 7px;
    border-radius: 999px;
    color: #1b5dae;
    background: #eef4ff;
    font-size: .61rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-color: #e6ebf3;
    border-radius: 17px;
    box-shadow: 0 7px 22px rgba(6, 20, 38, .065);
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(8, 102, 255, .32);
    box-shadow: 0 16px 34px rgba(6, 20, 38, .13);
}
.service-card-image { position: relative; overflow: hidden; height: 150px; flex: 0 0 auto; background: #eaf1fb; }
.service-card-image::after {
    position: absolute;
    inset: 42% 0 0;
    background: linear-gradient(transparent, rgba(3, 11, 24, .32));
    content: '';
    pointer-events: none;
}
.service-card-image .card-icon { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; display: grid; place-items: center; margin: 0; border: 2px solid #fff; border-radius: 10px; color: var(--blue); background: var(--blue-soft); z-index: 1; }
.service-card-content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 14px 16px 16px; }
.service-card-category { margin-bottom: 6px; }
.service-card-content h3 { margin-bottom: 5px; font-size: 1.05rem; }
.service-card-content p { flex: 1; margin-bottom: 10px; color: #657286; font-size: .84rem; line-height: 1.58; }
.service-card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: #1766c2; font-size: .86rem; font-weight: 700; }
.service-card-link span { transition: transform .2s ease; }
.service-card-link:hover { color: var(--orange); }
.service-card-link:hover span { transform: translateX(4px); }

@media (max-width: 680px) {
    .home-service-detail-heading { align-items: flex-start; flex-direction: column; gap: 4px; margin-bottom: 5px; }
    .home-service-detail-heading > span { font-size: .52rem; }
    .service-card-content h3 { font-size: 1rem; }
    .service-card-content p { font-size: .82rem; }
}

/* Service section: one spacing token drives every gap so all cards stay evenly spaced. */
.home-services-container { --service-gap: 20px; --service-col-gap: calc(var(--service-gap) * 1.5); }
.home-service-groups { display: grid; gap: var(--service-gap); }
.home-service-group-title { margin: 0 0 var(--service-gap); color: var(--navy); font-size: 1.08rem; }
.home-service-detail-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--service-gap) var(--service-col-gap);
    margin: 0;
}
.home-service-detail-image { position: relative; overflow: hidden; flex: 0 0 auto; height: 180px; }
.home-service-detail-copy { flex: 1 1 auto; display: flex; flex-direction: column; padding: 18px 20px 20px; }
.home-service-detail h4 { margin: 0; color: var(--navy); font-size: 1.08rem; line-height: 1.25; letter-spacing: -.02em; }
.home-service-detail p { margin: 0; color: #657286; font-size: .88rem; line-height: 1.6; }

@media (max-width: 900px) {
    .home-services-container { --service-gap: 14px; }
    .home-service-detail { min-height: 260px; }
    .home-service-detail-image { height: 140px; }
}

@media (max-width: 768px) {
    .home-services-container { --service-gap: 12px; }
    .home-service-detail { min-width: calc((100% - var(--service-col-gap, 30px)) / 2 - 1px); }
}

@media (min-width: 576px) {
    .home-why-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
}

@media (max-width: 900px) {
    .home-client-grid { --bs-gutter-x: 12px; --bs-gutter-y: 12px; }
    .home-client-group { gap: 12px; padding-right: 12px; }
}

@media (max-width: 680px) {
    .home-trusted, .home-services-container { width: 100%; padding-inline: 18px; }
    .home-lower-container { padding-inline: 18px; }
    .home-trusted-section { padding: 24px 0 18px; }
    .home-services-section { padding: 8px 0 22px; }
    .home-section-heading.section-head { margin-bottom: 16px; }
    .home-section-heading.section-head h2 { font-size: clamp(1.55rem, 7vw, 1.9rem); }
    .home-client-grid { --bs-gutter-x: 10px; --bs-gutter-y: 10px; }
    .home-client-track { animation-duration: 20s; }
    .home-client-group { gap: 10px; padding-right: 10px; }
    .home-client-group .client-logo { flex-basis: 150px; }
    .home-services-container { --service-gap: 10px; }
    .home-service-detail { min-height: 168px; border-radius: 12px; }
    .home-service-detail-image { height: 82px; }
    .home-service-detail-copy { padding: 8px; }
    .home-service-detail h4 { font-size: .8rem; }
    .home-service-detail p { font-size: .68rem; line-height: 1.4; }
    .home-why-section, .home-featured-section, .home-testimonial-section { padding: 20px 0; }
    .home-why-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
    .home-why-card { min-width: 0; min-height: 80px; gap: 4px; padding: 6px 3px; border-radius: 10px; }
    .home-why-icon { width: 27px; height: 27px; }
    .home-why-card h3 { max-width: none; font-size: .56rem; line-height: 1.18; overflow-wrap: anywhere; }
    .home-testimonial-grid { grid-auto-columns: 78%; gap: 12px; }
    .home-testimonial-grid .client-review-card { min-height: 170px; }
    .home-testimonial-grid .client-review-card .card-body { padding: 12px 14px; }
    .home-testimonial-grid .star-row { margin-bottom: 6px; font-size: 1.1rem; }
    .home-testimonial-grid .client-review-card .card-body > p { display: -webkit-box; overflow: hidden; margin-bottom: 7px; font-size: .78rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
    .home-testimonial-grid .testimonial-person { gap: 8px; margin-top: 8px; padding-top: 8px; }
    .home-testimonial-grid .testimonial-person .profile-photo { width: 42px; height: 42px; border-width: 2px; }
    .home-project-filters { justify-content: flex-start; gap: 7px; overflow-x: auto; padding-bottom: 4px; }
    .home-project-filters .btn { min-width: auto; padding: 8px 13px; }
    .home-project-grid .project-shot { height: 190px; }
    .home-featured-heading { align-items: flex-start; }
    .home-featured-all { font-size: .75rem; white-space: nowrap; }
    .home-testimonial-grid { gap: 16px; }
    .service-card-image { height: 160px; }
    .service-card-content { padding: 16px; }
}

@media (min-width: 481px) and (max-width: 680px) {
    .home-why-grid { gap: 8px; }
    .home-why-card { min-height: 76px; gap: 4px; padding: 5px 2px; border-radius: 9px; }
    .home-why-icon { width: 24px; height: 24px; }
    .home-why-card h3 { font-size: .6rem; line-height: 1.15; }
    .home-featured-section { padding: 16px 0 20px; }
    .home-featured-heading { margin-bottom: 8px; }
    .home-section-label .eyebrow, .home-featured-heading .eyebrow { font-size: .75rem; }
    .home-project-filters { justify-content: center; gap: 6px; margin-bottom: 10px; }
    .home-project-filters .btn { min-height: 30px; min-width: 58px; padding: 5px 9px; border-radius: 7px; font-size: .64rem; }
    .home-project-grid { --bs-gutter-x: 9px; --bs-gutter-y: 9px; }
    .home-project-grid .project-shot { height: 78px; }
    .home-project-grid .project-cat { display: none; }
    .home-project-grid .project-body { padding: 7px 8px 9px; }
    .home-project-grid .project-body h3 { margin-bottom: 4px; font-size: .65rem; line-height: 1.25; }
    .home-project-grid .project-body .btn { font-size: .6rem; }
}

main > .section.about-story-section { padding: clamp(42px, 6vw, 76px) 0 30px; background: linear-gradient(180deg, #f5f8ff 0%, #fff 78%); }
.about-story-layout { --bs-gutter-x: clamp(24px, 4vw, 52px); --bs-gutter-y: 26px; align-items: center; }
.about-story-visual { position: relative; min-height: 340px; overflow: hidden; border: 1px solid rgba(18, 58, 112, .1); border-radius: 26px; background: var(--navy); box-shadow: 0 24px 56px rgba(6, 20, 38, .16); }
.about-story-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 74% center; }
.about-story-visual::after { position: absolute; inset: 35% 0 0; background: linear-gradient(0deg, rgba(3, 11, 24, .74), transparent); content: ''; pointer-events: none; }
.about-story-badge { position: absolute; z-index: 1; right: 18px; bottom: 18px; left: 18px; display: flex; flex-direction: column; gap: 3px; color: #fff; }
.about-story-badge strong { font: 600 1rem var(--font-head); }
.about-story-badge span { color: #d8e6f8; font-size: .74rem; }
.about-story-copy { padding-block: 12px; }
.about-story-copy .eyebrow { margin-bottom: 10px; }
.about-story-copy h2 { max-width: 610px; margin: 0 0 14px; font-size: clamp(1.85rem, 3.5vw, 2.7rem); line-height: 1.15; }
.about-story-copy p { max-width: 700px; margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.8; }
.about-story-copy .about-story-detail { margin-top: 12px; }
.about-story-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.about-story-skills span { padding: 7px 12px; border: 1px solid #dce6f3; border-radius: 999px; color: #24466f; background: #fff; font-size: .72rem; font-weight: 600; }
.about-stats-band { width: 100%; margin-top: 28px; padding: 28px 0; background: linear-gradient(110deg, #061426 0%, #0b2c52 55%, #123f70 100%); }
.about-stats-band > .container { width: 100%; max-width: none; margin: 0; padding-inline: clamp(24px, 4vw, 56px); }
.about-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.about-stat-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 96px; padding: 14px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: rgba(255,255,255,.07); text-align: center; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.about-stat-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.12); }
.about-stat-card strong { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.1; }
.about-stat-card span { margin-top: 7px; color: #c4d8f1; font-size: .74rem; line-height: 1.3; }
.about-mission-section { padding: 42px 0 48px; background: linear-gradient(180deg, #f5f8fc 0%, #fff 100%); }
.about-purpose-heading { max-width: 700px; margin: 0 0 26px; text-align: left; }
.about-purpose-heading .eyebrow { display: inline-block; margin-bottom: 9px; color: #2672c9; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.about-purpose-heading h2 { margin: 0 0 9px; color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.2; }
.about-purpose-heading p { max-width: 590px; margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.7; }
.about-mission-grid { --bs-gutter-x: 22px; --bs-gutter-y: 18px; }
.about-mission-card { min-height: 150px; display: flex; align-items: flex-start; gap: 18px; padding: 16px 20px; border: 1px solid #e1e9f2; border-radius: 20px; background: #fff; box-shadow: 0 14px 36px rgba(10, 36, 67, .08); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.about-mission-card:hover { transform: translateY(-4px); border-color: #c8d9ed; box-shadow: 0 20px 44px rgba(10, 36, 67, .13); }
.about-mission-copy { min-width: 0; }
.about-mission-kicker { display: block; margin: 1px 0 4px; color: #718198; font-size: .67rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.about-mission-icon { width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center; margin-top: 10px; border-radius: 16px; }
.about-mission-icon.orange { color: #fff; background: var(--orange); }
.about-mission-icon.blue { color: #fff; background: #2672c9; }
.about-mission-icon .icon { width: 30px; height: 30px; }
.about-mission-card h3 { margin: 0 0 6px; color: var(--navy); font-size: 1.08rem; }
.about-mission-card p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.62; }
.about-team-section { padding: 24px 0 32px; }
.about-team-banner { min-height: 250px; overflow: hidden; border: 1px solid rgba(18, 58, 112, .15); border-radius: 22px; color: #fff; background: linear-gradient(90deg, rgba(3, 16, 38, .85) 0%, rgba(3, 16, 38, .55) 35%, rgba(3, 16, 38, .2) 60%, transparent 80%), url('/images/about-team-workspace.png') center center / cover no-repeat; box-shadow: 0 18px 44px rgba(6, 20, 38, .14); }
.about-team-copy { display: flex; flex-direction: column; justify-content: center; height: 100%; min-height: 250px; padding: clamp(18px, 3vw, 34px); }
.about-team-eyebrow { margin-bottom: 8px; color: #8fc4ff; font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.about-team-copy h2 { max-width: 470px; margin: 0 0 10px; color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.14; }
.about-team-copy p { max-width: 560px; margin: 0 0 8px; color: #d8e3f1; font-size: .9rem; line-height: 1.7; }
.about-team-copy .about-team-note { margin-top: 10px; color: #fff; font-weight: 700; }
.about-values-section { padding: 36px 0 44px; background: #f5f8fc; }
.about-values-heading { max-width: 700px; margin: 0 auto 24px; text-align: center; }
.about-values-heading .eyebrow { display: inline-block; margin: 0 0 9px; color: #2672c9; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.about-values-heading h2 { margin: 0 0 9px; color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.2; }
.about-values-heading p { max-width: 620px; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.about-values-grid { --bs-gutter-x: 14px; --bs-gutter-y: 14px; }
.about-value-card { min-width: 0; min-height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 12px 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); text-align: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.about-value-card:hover { transform: translateY(-4px); border-color: #c8d9ed; box-shadow: 0 14px 30px rgba(10, 36, 67, .12); }
.about-value-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--orange); background: var(--orange-soft); }
.about-value-icon .icon { width: 21px; height: 21px; }
.about-value-icon.tone-2, .about-value-icon.tone-4 { color: #2672c9; background: var(--blue-soft); }
.about-value-card h3 { margin: 0; font-size: .84rem; line-height: 1.28; }

@media (max-width: 680px) {
    .about-page-hero { min-height: 78px; background-position: center 50%; }
    .about-page-hero h1 { margin-top: 3px; font-size: 1.15rem; }
    .about-page-hero .breadcrumb { gap: 0; font-size: .58rem; }
    main > .section.about-story-section { padding: 30px 0 20px; }
    .about-story-layout { --bs-gutter-x: 12px; --bs-gutter-y: 18px; align-items: center; }
    .about-story-layout > .col-12:first-child { order: 2; }
    .about-story-layout > .about-story-copy { order: 1; }
    .about-story-visual { min-height: 220px; border-radius: 18px; }
    .about-story-image { object-position: 72% center; }
    .about-story-badge { right: 13px; bottom: 13px; left: 13px; }
    .about-story-badge strong { font-size: .9rem; }
    .about-story-badge span { font-size: .67rem; }
    .about-story-copy { padding-block: 4px; }
    .about-story-copy .eyebrow { margin-bottom: 7px; font-size: .64rem; letter-spacing: .08em; }
    .about-story-copy h2 { margin-bottom: 9px; font-size: clamp(1.4rem, 6vw, 1.8rem); line-height: 1.2; }
    .about-story-copy p { font-size: .84rem; line-height: 1.65; }
    .about-story-copy .about-story-detail { margin-top: 9px; }
    .about-story-skills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 13px; }
    .about-story-skills span { display: flex; min-width: 0; min-height: 38px; align-items: center; justify-content: center; padding: 5px 3px; text-align: center; font-size: .58rem; line-height: 1.2; }
    .about-stats-band { margin-top: 18px; padding: 18px 0; }
    .about-stats-band > .container { padding-inline: 18px; }
    .about-stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .about-stat-card { min-width: 0; min-height: 62px; padding: 6px 2px; border-radius: 9px; }
    .about-stat-card strong { font-size: .95rem; }
    .about-stat-card span { margin-top: 4px; font-size: .5rem; line-height: 1.15; }
    main > .section.about-mission-section { padding: 28px 0 32px; }
    .about-purpose-heading { margin: 0 0 18px; text-align: left; }
    .about-purpose-heading .eyebrow { margin-bottom: 6px; font-size: .67rem; }
    .about-purpose-heading h2 { margin-bottom: 7px; font-size: 1.45rem; }
    .about-purpose-heading p { margin: 0; font-size: .83rem; line-height: 1.6; }
    .about-mission-grid { --bs-gutter-x: 8px; --bs-gutter-y: 8px; }
    .about-mission-grid > * { flex: 0 0 auto; width: 50%; }
    .about-mission-card { min-height: 0; flex-direction: column; gap: 9px; padding: 12px 10px; border-radius: 13px; }
    .about-mission-icon { width: 38px; height: 38px; flex-basis: 38px; margin-top: 0; border-radius: 11px; }
    .about-mission-icon .icon { width: 21px; height: 21px; }
    .about-mission-kicker { font-size: .54rem; }
    .about-mission-card h3 { margin-bottom: 5px; font-size: .84rem; }
    .about-mission-card p { font-size: .68rem; line-height: 1.45; }
    .about-team-section { padding: 12px 0 22px; }
    .about-team-banner { min-height: 0; border-radius: 16px; background-position: center center; }
    .about-team-copy { min-height: 260px; padding: 22px; background: linear-gradient(90deg, rgba(5, 22, 48, .82), rgba(5, 22, 48, .5), transparent); }
    .about-team-eyebrow { margin-bottom: 7px; font-size: .64rem; }
    .about-team-copy h2 { margin-bottom: 9px; font-size: 1.4rem; line-height: 1.2; }
    .about-team-copy p { font-size: .82rem; line-height: 1.6; }
    .about-team-copy .about-team-note { margin-top: 10px; }
    .about-values-section { padding: 26px 0 30px; }
    .about-values-heading { margin: 0 0 17px; text-align: left; }
    .about-values-heading .eyebrow { margin-bottom: 6px; font-size: .67rem; }
    .about-values-heading h2 { margin-bottom: 7px; font-size: 1.45rem; }
    .about-values-heading p { margin: 0; font-size: .8rem; line-height: 1.6; }
    .about-values-grid { --bs-gutter-x: 5px; --bs-gutter-y: 5px; }
    .row.row-cols-2.about-values-grid > * { flex: 0 0 auto; width: 20%; }
    .about-value-card { min-height: 76px; gap: 5px; padding: 7px 3px; border-radius: 9px; }
    .about-value-icon { width: 27px; height: 27px; border-radius: 8px; }
    .about-value-icon .icon { width: 16px; height: 16px; }
    .about-value-card h3 { font-size: .54rem; line-height: 1.15; overflow-wrap: anywhere; }
}

/* Shared section sizing keeps page content aligned while allowing height to follow its content. */
main > .section {
    width: 100%;
    padding-block: clamp(36px, 4.5vw, 56px);
}

main > section > .container {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: clamp(24px, 4vw, 56px);
}

main > .section .row {
    align-items: stretch;
}

/* Rows sit flush with their container's content edge. */
main > section > .container > .row {
    margin-inline: 0;
}

@media (max-width: 680px) {
    main > .section {
        padding-block: 30px;
    }

    main > .section > .container {
        padding-inline: 18px;
    }
}

/* Keep the long brand and all navigation actions balanced across screen sizes. */
.header-inner {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 16px;
    min-height: 80px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 2vw, 30px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}
.site-logo { display: block; width: 100px; height: 48px; object-fit: contain; }
.footer-logo { display: block; width: 190px; height: 105px; padding: 4px; border-radius: 8px; background: #fff; object-fit: contain; }
.brand-mark {
    position: relative;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 8px 20px rgba(18, 58, 112, .25);
    font: 800 .92rem/1 var(--font-head);
    letter-spacing: -.07em;
}
.brand-text strong {
    color: var(--navy);
    font: 700 1.1rem/1.2 var(--font-head);
    letter-spacing: -.025em;
    white-space: nowrap;
}
.main-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}
.main-nav > a:not(.btn) {
    padding: 11px 12px;
    border-radius: 9px;
    color: #46556b;
    font: 500 .96rem/1.2 var(--font-head);
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}
.main-nav > .nav-cta {
    min-height: 44px;
    margin-left: 10px;
    padding: 12px 19px;
    border-radius: 10px;
    font-size: .96rem;
    white-space: nowrap;
}

@media (min-width: 1101px) {
    .header-inner > .brand { flex: 0 0 38%; }
}

@media (max-width: 1100px) {
    .header-inner { gap: 14px; width: 100%; min-height: 74px; }
    .nav-toggle { display: inline-flex; }
    .main-nav.collapse {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        padding: 14px 20px 20px;
        border-top: 1px solid rgba(227, 233, 241, .8);
        border-bottom: 1px solid var(--line);
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 18px 30px rgba(6, 20, 38, .12);
    }
    .main-nav.collapse.show { display: flex; }
    .main-nav > a:not(.btn) { padding: 14px 14px; font-size: 1.05rem; }
    .main-nav > .nav-cta { justify-content: center; margin: 8px 0 0; }
}

@media (max-width: 680px) {
    .header-inner { width: 100%; height: 72px; min-height: 68px; padding-left: 0; padding-right: 12px; gap: 8px; }
    .brand { min-width: 0; flex: 1 1 auto; gap: 9px; }
    .site-logo { width: 64px; height: 38px; flex: 0 0 64px; }
    .brand-mark { width: 40px; height: 40px; border-radius: 12px; font-size: .78rem; }
    .brand-text { min-width: 0; }
    .brand-text strong { max-width: none; font-size: clamp(.76rem, 3.4vw, .9rem); line-height: 1.15; white-space: normal; }
    .brand-text small { margin-top: 3px; font-size: .64rem; }
    .nav-toggle { width: 42px; height: 42px; border-radius: 11px; }
    .main-nav { top: 71px; padding: 12px 16px 18px; }
}

/* Inner-page heroes share a single dark, image-led layout; the homepage hero is unchanged. */
.page-banner.section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    padding-block: 34px;
    color: #fff;
    background-color: #061426;
    background-image:
        linear-gradient(90deg, rgba(3, 11, 24, .84) 0%, rgba(6, 20, 38, .62) 40%, rgba(6, 20, 38, .24) 74%, rgba(6, 20, 38, .08) 100%),
        var(--page-hero-image, url('/images/about-hero-collaborative-team.png'));
    background-repeat: no-repeat;
    background-position: center, center 48%;
    background-size: cover;
}
.page-banner.services-page-hero {
    background-image:
        linear-gradient(90deg, rgba(3, 11, 24, .3) 0%, rgba(6, 20, 38, .2) 48%, rgba(6, 20, 38, .08) 100%),
        var(--page-hero-image);
}
.page-banner.portfolio-page-hero {
    background-image:
        linear-gradient(90deg, rgba(3, 11, 24, .24) 0%, rgba(6, 20, 38, .16) 48%, rgba(6, 20, 38, .06) 100%),
        var(--page-hero-image);
}
.page-banner.process-page-hero {
    background-image:
        linear-gradient(90deg, rgba(3, 11, 24, .78) 0%, rgba(6, 20, 38, .64) 42%, rgba(6, 20, 38, .24) 100%),
        var(--page-hero-image);
}
.page-banner.blog-page-hero {
    background-image:
        linear-gradient(90deg, rgba(3, 11, 24, .22) 0%, rgba(6, 20, 38, .14) 50%, rgba(6, 20, 38, .06) 100%),
        var(--page-hero-image);
}
.about-page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    align-items: center;
    padding-block: 18px;
    color: #fff;
    background-color: #061426;
    background-image:
        linear-gradient(90deg, rgba(3, 11, 24, .82) 0%, rgba(6, 20, 38, .58) 38%, rgba(6, 20, 38, .18) 72%, rgba(6, 20, 38, .04) 100%),
        url('/images/about-team-hero.png');
    background-position: center, center 48%;
    background-size: cover;
}
.about-page-hero-inner { position: relative; z-index: 1; width: 100%; }

.page-banner.section::before,
.about-page-hero::before {
    position: absolute;
    z-index: -1;
    top: -190px;
    right: 4%;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 45px rgba(255, 255, 255, .025), 0 0 0 95px rgba(255, 255, 255, .02);
    content: '';
    pointer-events: none;
}

.page-banner.section::after,
.about-page-hero::after {
    position: absolute;
    z-index: -1;
    right: 18%;
    bottom: -180px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 106, 26, .32);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.page-banner .page-hero-inner { position: relative; z-index: 1; }
.page-banner .breadcrumb {
    justify-content: flex-start;
    gap: 0;
    margin: 0 0 14px;
    color: #b4c5dc;
    font-size: .72rem;
    letter-spacing: .1em;
}
.about-page-hero .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    margin: 0 0 14px;
    color: #b4c5dc;
    font-size: .72rem;
    letter-spacing: .1em;
}
.page-banner .breadcrumb a { color: #a9c8ff; }
.about-page-hero .breadcrumb a { color: #a9c8ff; }
.page-banner .page-hero-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #ffb27d;
    font: 600 .72rem var(--font-head);
    letter-spacing: .16em;
    text-transform: uppercase;
}
.page-banner h1 {
    max-width: 700px;
    margin: 0 0 12px;
    color: #fff;
    text-align: left;
    font-size: clamp(2.35rem, 4.7vw, 3.65rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}
.about-page-hero h1 {
    max-width: 700px;
    margin: 0;
    color: #fff;
    text-align: left;
    font-size: clamp(2.35rem, 4.7vw, 3.65rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}
.about-page-hero-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #ffb27d;
    font: 600 .72rem var(--font-head);
    letter-spacing: .16em;
    text-transform: uppercase;
}
.about-page-hero-copy {
    max-width: 560px;
    margin: 14px 0 0;
    color: #edf4fc;
    font-size: clamp(.95rem, 1.35vw, 1.08rem);
    line-height: 1.7;
}
.page-banner p {
    max-width: 600px;
    margin: 0;
    color: #d2deed;
    text-align: left;
    font-size: .98rem;
    line-height: 1.7;
}
@media (max-width: 900px) {
    .page-banner.section { min-height: 260px; }
    .about-page-hero { min-height: 230px; }
}

@media (max-width: 680px) {
    .page-banner.section {
        min-height: 210px;
        padding-block: 24px;
    }
    .about-page-hero { min-height: 190px; padding-block: 20px; background-position: center, center 56%; }
    .page-banner .breadcrumb, .about-page-hero .breadcrumb { margin-bottom: 8px; font-size: .62rem; }
    .page-banner h1, .about-page-hero h1 { margin-bottom: 8px; font-size: clamp(1.8rem, 8vw, 2.45rem); }
    .page-banner .page-hero-eyebrow { margin-bottom: 6px; font-size: .58rem; }
    .about-page-hero-eyebrow { margin-bottom: 6px; font-size: .58rem; }
    .about-page-hero-copy { max-width: 480px; margin-top: 8px; font-size: .78rem; line-height: 1.5; }
    .page-banner p { font-size: .82rem; line-height: 1.55; }
    .page-banner.section::before, .about-page-hero::before { right: -180px; width: 340px; height: 340px; }
}

/* Reduced motion: keep the layout, drop the movement. Declared last so it wins over every base rule. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        transition-duration: .01ms;
        animation-duration: .01ms;
        animation-iteration-count: 1;
    }

    .home-client-track { animation: none; }

    /* Elements with their own transition/animation rules need a matching override. */
    .service-chip, .btn, .btn-link .icon, .main-nav > a:not(.btn), .site-header, .card, .project-card,
    .blog-card, .client-logo, .client-review-card, .faq-item, .project-photo, .blog-photo, .footer-socials a,
    .footer-col a, .home-service-detail, .home-service-detail-image img, .service-card-image img,
    .service-shot.service-shot-alt, .service-card-link span, .scroll-reveal, .hero-copy > *, .hero-visual,
    .floating-note, .form-control, .form-select, .form-check-input, .nav-link, .page-link, .dropdown-toggle,
    .accordion-button, .accordion-collapse, .collapse, .collapsing, .fade, .faq-list .accordion-button::after {
        transition-duration: .01ms;
        animation-duration: .01ms;
        animation-iteration-count: 1;
    }

    .scroll-reveal {
        opacity: 1;
        translate: none;
    }
}


/* Job Apply Form Styling */
#job-apply {
    scroll-margin-top: 90px;
}
.job-form-card {
    width: 100%;
    max-width: 1040px;
    margin-inline: auto;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(17, 39, 68, .08);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 22px 60px rgba(17, 39, 68, .1);
}
.job-form-cover {
    position: relative;
    height: clamp(105px, 13vw, 150px);
    overflow: hidden;
    margin: -24px -24px 18px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: var(--navy);
}
.job-form-cover::after {
    position: absolute;
    inset: 30% 0 0;
    content: "";
    background: linear-gradient(0deg, rgba(8, 22, 42, .76), transparent);
}
.job-form-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.job-form-cover > span {
    position: absolute;
    z-index: 1;
    right: 22px;
    bottom: 18px;
    left: 22px;
    color: var(--white);
    font: 700 clamp(1.1rem, 2.4vw, 1.55rem)/1.2 var(--font-head);
}
.job-form-card h2 { color: var(--navy); font-size: clamp(1.35rem, 2.4vw, 1.65rem); }
.job-form-card .badge { font-size: .72rem; font-weight: 700; }
.job-form-card .form-label { margin-bottom: 5px; font-size: .76rem; }
.job-form-card .form-control, .job-form-card .form-select {
    min-height: 40px;
    border-color: #e4eaf1;
    border-radius: 11px;
    background-color: #f8fafc;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.job-form-card textarea.form-control { min-height: auto; }
.job-form-card .form-control:focus, .job-form-card .form-select:focus {
    border-color: var(--blue);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(8, 102, 255, .1);
}
.job-form-card input[type="file"].form-control { padding: 9px 11px; }
.job-form-card input[type="file"]::file-selector-button {
    margin: -2px 12px -2px -3px;
    padding: 8px 12px;
    border: 0;
    border-radius: 7px;
    color: var(--blue);
    background: rgba(8, 102, 255, .09);
    font-weight: 600;
}
.job-form-submit { min-height: 46px; border-radius: 10px; font-weight: 700; }
.job-position-select { position: relative; z-index: 2; }
.job-position-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
}
.job-position-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    max-height: min(340px, 55vh);
    overflow-y: auto;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 16px 36px rgba(6, 20, 38, .18);
}
.job-position-group + .job-position-group { margin-top: 5px; padding-top: 5px; border-top: 1px solid var(--line); }
.job-position-group-label { padding: 8px 11px 5px; color: var(--muted); font: 700 .68rem/1.3 var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.job-position-option {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 11px;
    border: 0;
    border-radius: 7px;
    color: var(--ink);
    background: transparent;
    font: 400 .85rem/1.4 var(--font-body);
    text-align: left;
    cursor: pointer;
}
.job-position-option:hover, .job-position-option[aria-selected="true"] { color: var(--blue); background: rgba(8, 102, 255, .08); }
.job-position-check { color: var(--blue); font-weight: 700; }
@media (max-width: 680px) {
    .job-form-card { padding: 16px; }
    .job-form-cover { height: 105px; margin: -16px -16px 15px; }
    .job-form-card .row { --bs-gutter-y: .5rem; }
    .job-position-menu { max-height: 45vh; }
}

/* Admin area */
.admin-body { min-height: 100vh; color: #172b45; background: #f4f7fb; }
.admin-topbar { position: relative; display: flex; min-height: 72px; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 5vw, 72px); border-bottom: 1px solid #e5ebf2; background: #fff; }
.admin-header-left { display: flex; align-items: center; gap: clamp(22px, 4vw, 54px); }
.admin-brand { display: inline-flex; align-items: center; gap: 10px; color: #10243e; font: 700 1rem var(--font-head); text-decoration: none; }
.admin-brand-logo { display: block; width: 82px; height: 48px; object-fit: contain; }
.admin-brand-copy { display: flex; flex-direction: column; gap: 3px; }
.admin-brand-copy strong { color: #10243e; font: 700 .82rem/1.2 var(--font-head); white-space: nowrap; }
.admin-brand-copy small { color: #73839a; font-size: .56rem; font-weight: 700; letter-spacing: .14em; }
.admin-brand small { display: block; margin-top: 2px; color: #73839a; font-size: .58rem; letter-spacing: .14em; }
.admin-brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; color: #fff; background: var(--blue); font-size: 1.1rem; }
.admin-user { display: flex; align-items: center; gap: 18px; color: #53647a; font-size: .83rem; }
.admin-nav { position: absolute; left: 50%; display: flex; align-items: center; gap: 7px; transform: translateX(-50%); }
.admin-nav a { padding: 9px 12px; border-radius: 8px; color: #65768d; font-size: .82rem; font-weight: 600; text-decoration: none; }
.admin-nav a:hover, .admin-nav a.active { color: #155cb1; background: #eef5ff; }
.admin-user form { margin: 0; }
.admin-logout, .admin-view-link, .admin-back-link { color: var(--blue); font-weight: 600; text-decoration: none; }
.admin-logout { padding: 6px 12px; border: 1px solid #dce5f0; border-radius: 8px; background: white; }
.admin-main { width: min(1180px, calc(100% - 40px)); margin: 42px auto 72px; }
.admin-page-heading, .admin-detail-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.admin-eyebrow { color: var(--blue); font: 700 .7rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
.admin-page-heading h1, .admin-detail-heading h1, .admin-login-card h1 { margin: 7px 0 5px; color: #10243e; font: 700 clamp(1.8rem, 4vw, 2.35rem)/1.15 var(--font-head); }
.admin-page-heading p, .admin-detail-heading p, .admin-login-card > p { margin: 0; color: #74839a; font-size: .92rem; }
.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.admin-stats article, .admin-panel { border: 1px solid #e7edf4; border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(16, 36, 62, .045); }
.admin-stats article { display: flex; min-height: 100px; flex-direction: column; justify-content: center; gap: 8px; padding: 18px 22px; }
.admin-stats article span { color: #75849a; font-size: .77rem; }
.admin-stats article strong { color: #10243e; font: 700 1.8rem/1 var(--font-head); }
.admin-panel { padding: 22px; }
.admin-filters { display: grid; grid-template-columns: minmax(220px, 1fr) 190px auto; gap: 10px; margin-bottom: 18px; }
.admin-filters .form-control, .admin-filters .form-select, .admin-status-panel .form-select { min-height: 42px; border-color: #e0e7f0; background-color: #f8fafc; }
.admin-filters .btn { padding-inline: 20px; }
.admin-message-filter { grid-template-columns: minmax(220px, 1fr) auto; }
.admin-table { min-width: 720px; }
.admin-table th { padding: 13px 12px; border-bottom-color: #e9eef5; color: #77869b; font: 700 .68rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.admin-table td { padding: 15px 12px; border-bottom-color: #edf1f6; color: #34465e; font-size: .82rem; }
.admin-table td:first-child strong, .admin-table td:first-child small { display: block; }
.admin-table td:first-child strong { color: #182d48; font-size: .85rem; }
.admin-table td:first-child small { margin-top: 3px; color: #8190a3; }
.admin-message-preview { max-width: 360px; color: #687990 !important; line-height: 1.5 !important; }
.status-pill { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.status-new { color: #1765c0; background: #eaf3ff; }
.status-reviewing { color: #946200; background: #fff5d8; }
.status-shortlisted { color: #7040b4; background: #f2eaff; }
.status-rejected { color: #b43b3b; background: #ffeded; }
.status-hired { color: #16734a; background: #e5f7ee; }
.admin-view-link { white-space: nowrap; }
.admin-empty { display: grid; min-height: 150px; place-content: center; gap: 6px; color: #78889d; text-align: center; }
.admin-empty strong { color: #253a55; }
.admin-pagination { padding-top: 20px; }
.admin-pagination nav { display: flex; justify-content: center; }
.admin-back-link { display: inline-block; margin-bottom: 20px; font-size: .84rem; }
.admin-detail-heading { align-items: center; margin-bottom: 24px; }
.admin-detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .8fr); gap: 18px; align-items: start; }
.admin-panel h2 { margin: 0 0 18px; color: #182d48; font: 700 1.1rem var(--font-head); }
.admin-panel h3 { margin: 24px 0 9px; color: #182d48; font: 700 .9rem var(--font-head); }
.admin-candidate-info dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; }
.admin-candidate-info dt { margin-bottom: 5px; color: #8794a7; font-size: .7rem; font-weight: 600; text-transform: uppercase; }
.admin-candidate-info dd { margin: 0; color: #273c57; font-size: .86rem; overflow-wrap: anywhere; }
.admin-candidate-info dd a { color: var(--blue); text-decoration: none; }
.admin-cover-letter { min-height: 70px; color: #52647b; font-size: .88rem; line-height: 1.7; white-space: pre-line; }
.admin-status-panel > p { margin-top: -10px; color: #7a899e; font-size: .82rem; }
.admin-setting-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px; }
.admin-setting-copy { display: flex; align-items: flex-start; gap: 14px; }
.admin-setting-copy h2 { margin: 0 0 7px; }
.admin-setting-copy p { max-width: 620px; margin: 0 0 12px; color: #74839a; font-size: .86rem; line-height: 1.6; }
.admin-setting-indicator { width: 12px; height: 12px; flex: 0 0 12px; margin-top: 3px; border-radius: 50%; box-shadow: 0 0 0 5px rgba(22, 115, 74, .1); }
.admin-setting-indicator.is-enabled { background: #21a366; }
.admin-setting-indicator.is-disabled { background: #c34b4b; box-shadow: 0 0 0 5px rgba(195, 75, 75, .1); }
.admin-setting-state { font-size: .75rem; }
.admin-setting-state.is-enabled { color: #16734a; }
.admin-setting-state.is-disabled { color: #b43b3b; }
.admin-login-wrap { display: grid; min-height: calc(100vh - 150px); place-items: center; }
.admin-login-card { width: min(100%, 430px); padding: 34px; border: 1px solid #e5ebf2; border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(16, 36, 62, .09); }
.admin-login-card h1 { margin-top: 9px; font-size: 1.8rem; }
.admin-login-card > p { margin-bottom: 25px; }
.admin-login-card .form-control { min-height: 45px; border-color: #e0e7f0; background: #f8fafc; }
.admin-remember { display: flex; align-items: center; gap: 8px; color: #5c6d83; font-size: .8rem; }
.admin-login-card .btn { min-height: 46px; }
@media (max-width: 760px) {
    .admin-main { width: min(100% - 28px, 1180px); margin-top: 28px; }
    .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .admin-stats article { min-height: 84px; padding: 14px; }
    .admin-panel { padding: 16px; }
    .admin-filters { grid-template-columns: 1fr 1fr; }
    .admin-filters .form-control { grid-column: 1 / -1; }
    .admin-filters .btn { min-height: 42px; }
    .admin-detail-grid { grid-template-columns: 1fr; }
    .admin-setting-card { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
    .admin-topbar { min-height: 64px; flex-wrap: wrap; padding: 10px 14px; }
    .admin-header-left { width: 100%; justify-content: center; gap: 8px; flex-wrap: wrap; }
    .admin-brand { margin-right: auto; }
    .admin-brand-logo { width: 72px; height: 42px; }
    .admin-brand-copy strong { font-size: .68rem; }
    .admin-nav { position: static; order: 3; width: 100%; justify-content: center; gap: 0; transform: none; }
    .admin-user { position: absolute; top: 12px; right: 14px; }
    .admin-nav a { padding: 7px; font-size: .7rem; }
    .admin-user { gap: 8px; font-size: .73rem; }
    .admin-logout { padding: 6px 8px; }
    .admin-detail-heading { align-items: flex-start; flex-direction: column; }
    .admin-candidate-info dl { grid-template-columns: 1fr; gap: 14px; }
    .admin-login-card { padding: 24px; }
}


/* Floating Internship Card in Hero Section */
.floating-note.note-internship {
    top: 50%;
    right: -32px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-width: 250px;
    padding: 15px 18px;
    border-radius: 16px;
    border: 1.5px solid rgba(8, 102, 255, 0.28);
    background: linear-gradient(145deg, #ffffff 0%, #f4f8fe 100%);
    box-shadow: 0 16px 36px rgba(6, 20, 38, 0.14);
    text-decoration: none;
    cursor: pointer;
    animation: float-gently-center 4.5s ease-in-out infinite;
    animation-delay: -1s;
    transition: transform .25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow .25s ease, border-color .25s ease;
}

.floating-note.note-internship:hover {
    border-color: var(--blue);
    box-shadow: 0 20px 45px rgba(8, 102, 255, 0.28);
    transform: translateY(calc(-50% - 6px)) scale(1.02);
}

.note-internship-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.note-internship-info {
    display: flex;
    flex-direction: column;
}

.note-internship .note-icon-internship {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue) 0%, #004dc9 100%);
    box-shadow: 0 6px 16px rgba(8, 102, 255, 0.35);
    flex-shrink: 0;
}

.note-internship .note-icon-internship .icon {
    width: 24px;
    height: 24px;
}

.note-internship-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 700 0.62rem var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 3px;
}

.note-internship-tag .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
    animation: pulse 1.8s infinite;
}

.note-internship b {
    color: var(--navy);
    font: 700 0.95rem var(--font-head);
    line-height: 1.25;
}

.note-internship-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(8, 102, 255, 0.1);
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 500;
}

.note-internship-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--white);
    background: var(--blue);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.66rem;
    transition: background .2s ease, transform .2s ease;
}

.floating-note.note-internship:hover .note-internship-action {
    background: #004dc9;
    transform: translateX(2px);
}

@keyframes float-gently-center {
    0%, 100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(calc(-50% - 8px));
    }
}

@media (max-width: 680px) {
    .floating-note.note-internship {
        top: 50%;
        right: -4px;
        min-width: 220px;
        padding: 11px 13px;
        gap: 8px;
    }
    .note-internship .note-icon-internship {
        width: 36px;
        height: 36px;
    }
    .note-internship .note-icon-internship .icon {
        width: 18px;
        height: 18px;
    }
    .note-internship b {
        font-size: 0.82rem;
    }
    .note-internship-footer {
        font-size: 0.66rem;
        padding-top: 6px;
    }
    .note-internship-action {
        padding: 2px 8px;
        font-size: 0.6rem;
    }
    .note-internship-tag {
        font-size: 0.56rem;
    }
}