:root {
    --navy-950: #0a1230;
    --navy-900: #101c48;
    --navy-800: #16255e;
    --navy-700: #1d3178;
    --teal-400: #2f6fed;
    --teal-300: #1d54c9;
    --amber-400: #5b78b8;
    --bg-page: #f5f7fc;
    --surface: #ffffff;
    --surface-alt: #eef1fa;
    --border-soft: rgba(15, 28, 80, .09);
    --ink-100: #0d1638;
    --ink-300: #5b6489;
    --ink-500: #8a92b3;
    --radius-lg: 22px;
    --radius-md: 14px;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-page);
    color: var(--ink-100);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.display-font {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.01em;
    color: var(--ink-100);
}

.eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--teal-400);
}

a {
    text-decoration: none;
}

.btn-teal {
    background: var(--teal-400);
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: .75rem 1.6rem;
    border: none;
    transition: .25s ease;
    box-shadow: 0 10px 24px -10px rgba(47, 111, 237, .5);
}

.btn-teal:hover {
    background: var(--teal-300);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-line {
    border: 1px solid rgba(13, 22, 56, .18);
    color: var(--ink-100);
    border-radius: 999px;
    padding: .75rem 1.6rem;
    font-weight: 600;
    transition: .25s ease;
}

.btn-outline-line:hover {
    border-color: var(--teal-400);
    color: var(--teal-400);
    background: rgba(47, 111, 237, .06);
}

/* ---------- Fixed site header (topbar + navbar) ---------- */
#siteHeader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
}

.topbar {
    background: var(--teal-400);
    border-bottom: none;
    font-size: .85rem;
    color: #fff;
    padding: .55rem 0;
    overflow: hidden;
}

.topbar-marquee {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent);
}

.topbar-marquee-track {
    display: inline-block;
    padding-left: 100%;
    animation: topbar-scroll 22s linear infinite;
    font-weight: 500;
    color: #fff;
}

.topbar-marquee-track span {
    margin: 0 .4rem;
    opacity: .85;
}

@keyframes topbar-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.topbar-search {
    color: #fff;
    background: rgba(255, 255, 255, .16);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
    margin-left: 1rem;
    border: none;
}

.topbar-search:hover {
    background: rgba(255, 255, 255, .28);
    color: #fff;
}

.topbar .topbar-item {
    display: flex;
    align-items: center;
    gap: .45rem;
    white-space: nowrap;
}

.topbar .topbar-item i {
    color: #fff;
}

.topbar .hotline {
    font-weight: 700;
    letter-spacing: .02em;
}

.topbar .social-mini {
    display: flex;
    align-items: center;
    gap: .15rem;
    margin-right: 1.1rem;
    padding-right: 1.1rem;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.topbar .social-mini a {
    color: #fff;
    font-size: .82rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: .35rem;
    transition: .2s ease;
}

.topbar .social-mini a:hover {
    background: rgba(255, 255, 255, .3);
}

/* ---------- Navbar ---------- */
.navbar {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
    padding-top: .7rem;
    padding-bottom: .7rem;
    box-shadow: 0 4px 20px -12px rgba(15, 28, 80, .12);
}

.navbar-logo-wrap {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: .3rem .7rem;
    display: inline-flex;
    align-items: center;
}

.navbar-logo {
    height: 34px;
    width: auto;
    display: block;
}

.footer-logo-wrap {
    background: #fff;
    border-radius: 10px;
    padding: .5rem 1rem;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 38px;
    width: auto;
    display: block;
}

.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--ink-100) !important;
}

.navbar-brand span {
    color: var(--teal-400);
}

.nav-link {
    color: var(--ink-300) !important;
    font-weight: 500;
    font-size: .95rem;
    margin: 0 .35rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--teal-400) !important;
}

.navbar-toggler {
    border: none;
    color: var(--ink-100);
    font-size: 1.4rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.dropdown-toggle::after {
    vertical-align: .15em;
    margin-left: .4rem;
}

.dropdown-menu {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: .5rem;
    margin-top: .5rem !important;
    box-shadow: 0 24px 48px -20px rgba(15, 28, 80, .28);
    min-width: 260px;
}

.dropdown-item {
    color: var(--ink-300);
    border-radius: 8px;
    padding: .55rem .9rem;
    font-size: .92rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.dropdown-item i {
    color: var(--teal-400);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(47, 111, 237, .08);
    color: var(--teal-400);
}

@media (max-width:991.98px) {
    .dropdown-menu {
        box-shadow: none;
        border: none;
        background: var(--surface-alt);
        margin-top: .25rem !important;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 6.5rem 0 6rem;
    background:
        radial-gradient(60% 60% at 85% 10%, rgba(47, 111, 237, .10), transparent 70%),
        radial-gradient(50% 50% at 10% 90%, rgba(47, 111, 237, .06), transparent 70%),
        var(--bg-page);
    border-bottom: 1px solid var(--border-soft);
}

@media (min-width:768px) {
    .hero {
        padding-top: 10rem;
    }
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13, 22, 56, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 22, 56, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
}

.hero .lead {
    color: var(--ink-300);
    font-size: 1.1rem;
    max-width: 540px;
}

.stat-strip {
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    background: var(--surface);
}

.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--teal-400);
}

.stat-label {
    color: var(--ink-500);
    font-size: .85rem;
}

.hero-card {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 30px 60px -25px rgba(15, 28, 80, .35);
}

.hero-card .code-line {
    font-family: monospace;
    font-size: .82rem;
    color: rgba(255, 255, 255, .75);
}

.hero-card .code-line .kw {
    color: #7ea4ff;
}

.hero-card .code-line .str {
    color: #ffb648;
}

.hero-card .stat-label {
    color: rgba(255, 255, 255, .5);
}

/* ---------- Sections generic ---------- */
section {
    padding: 5.5rem 0;
}

.section-title {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 700;
}

.section-sub {
    color: var(--ink-300);
    max-width: 620px;
}

/* ---------- Services ---------- */
.service-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 2rem 1.6rem;
    height: 100%;
    transition: .25s ease;
    box-shadow: 0 2px 10px -4px rgba(15, 28, 80, .06);
}

.service-card:hover {
    border-color: rgba(47, 111, 237, .4);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -20px rgba(47, 111, 237, .3);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(47, 111, 237, .1);
    color: var(--teal-400);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.service-card h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.service-card p {
    color: var(--ink-300);
    font-size: .93rem;
    margin-bottom: 0;
}

/* ---------- Section carousel (Team / Testimonials) ---------- */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.carousel-nav {
    display: flex;
    gap: .6rem;
    flex-shrink: 0;
}

.carousel-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: var(--surface);
    color: var(--ink-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: .2s ease;
}

.carousel-nav button:hover {
    background: var(--teal-400);
    border-color: var(--teal-400);
    color: #fff;
}

.carousel-viewport {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.carousel-track>.carousel-slide {
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0 .6rem;
}

/* ---------- Why choose / process ---------- */
.process-row {
    border-top: 1px solid var(--border-soft);
}

.process-item {
    border-bottom: 1px solid var(--border-soft);
    padding: 1.6rem 0;
}

.process-num {
    font-family: 'Space Grotesk', sans-serif;
    color: rgba(13, 22, 56, .15);
    font-weight: 700;
    font-size: 1.6rem;
}

/* ---------- Products ---------- */
.product-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: .25s ease;
    position: relative;
    box-shadow: 0 2px 10px -4px rgba(15, 28, 80, .06);
}

.product-card:hover {
    border-color: rgba(47, 111, 237, .4);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -20px rgba(47, 111, 237, .3);
}

.product-badge {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: rgba(255, 140, 0, .12);
    color: #c17600;
    padding: .28rem .6rem;
    border-radius: 999px;
}

.product-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(47, 111, 237, .1);
    color: var(--teal-400);
    font-size: 1.3rem;
    margin-bottom: 1.1rem;
}

.product-card h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    margin-bottom: .5rem;
}

.product-card .product-desc {
    color: var(--ink-300);
    font-size: .9rem;
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    flex-grow: 1;
}

.product-features li {
    color: var(--ink-300);
    font-size: .85rem;
    margin-bottom: .5rem;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}

.product-features li i {
    color: var(--teal-400);
    font-size: .85rem;
    margin-top: .2rem;
}

.product-price {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--ink-100);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.product-price span {
    color: var(--ink-500);
    font-weight: 400;
    font-size: .8rem;
}

.product-actions {
    display: flex;
    gap: .6rem;
}

.btn-demo {
    flex: 1;
    border: 1px solid rgba(13, 22, 56, .16);
    color: var(--ink-100);
    border-radius: 999px;
    padding: .6rem 1rem;
    font-weight: 600;
    font-size: .85rem;
    text-align: center;
    transition: .25s ease;
}

.btn-demo:hover {
    border-color: var(--teal-400);
    color: var(--teal-400);
    background: rgba(47, 111, 237, .06);
}

.btn-order {
    flex: 1;
    background: var(--teal-400);
    color: #fff;
    border-radius: 999px;
    padding: .6rem 1rem;
    font-weight: 700;
    font-size: .85rem;
    text-align: center;
    border: none;
    transition: .25s ease;
}

.btn-order:hover {
    background: var(--teal-300);
    transform: translateY(-1px);
}

.product-filter {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.product-filter button {
    background: var(--surface);
    border: 1px solid rgba(13, 22, 56, .14);
    color: var(--ink-300);
    border-radius: 999px;
    padding: .45rem 1.1rem;
    font-size: .85rem;
    font-weight: 600;
    transition: .2s ease;
}

.product-filter button.active,
.product-filter button:hover {
    background: var(--teal-400);
    border-color: var(--teal-400);
    color: #fff;
}

/* ---------- Portfolio ---------- */
.portfolio-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    display: flex;
    align-items: flex-end;
    box-shadow: 0 20px 40px -22px rgba(15, 28, 80, .4);
}

.portfolio-card .tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    padding: .3rem .7rem;
    border-radius: 999px;
}

.portfolio-card .info {
    padding: 1.4rem;
    width: 100%;
    background: linear-gradient(180deg, transparent, rgba(6, 10, 28, .85) 65%);
}

.portfolio-card h6 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: .1rem;
    color: #fff;
}

.portfolio-card small {
    color: rgba(255, 255, 255, .7);
}

/* ---------- Team ---------- */
.team-card {
    text-align: center;
}

.team-avatar {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--radius-md);
    background: linear-gradient(160deg, var(--navy-800), var(--navy-700));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #7ea4ff;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 20px 40px -24px rgba(15, 28, 80, .4);
}

.team-card h6 {
    font-weight: 600;
    margin-bottom: .1rem;
}

.team-card small {
    color: var(--ink-500);
}

.team-social a {
    color: var(--ink-500);
    font-size: .95rem;
    margin: 0 .3rem;
}

.team-social a:hover {
    color: var(--teal-400);
}

/* ---------- Testimonials ---------- */
.testi-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    height: 100%;
    box-shadow: 0 2px 10px -4px rgba(15, 28, 80, .06);
}

.testi-card i.bi-quote {
    color: var(--teal-400);
    font-size: 1.6rem;
}

.testi-card p {
    color: var(--ink-300);
    font-size: .95rem;
}

.testi-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy-800);
    color: #7ea4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

/* ---------- CTA ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--navy-800), var(--navy-950));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -25px rgba(15, 28, 80, .35);
}

.cta-band::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 111, 237, .35), transparent 70%);
}

.cta-band .section-title,
.cta-band .section-sub {
    color: #fff;
}

.cta-band .section-sub {
    color: rgba(255, 255, 255, .7);
}

/* ---------- Footer ---------- */
footer {
    background: var(--navy-950);
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 4rem 0 1.5rem;
}

footer h6 {
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.1rem;
}

footer a.flink {
    color: rgba(255, 255, 255, .65);
    display: block;
    margin-bottom: .6rem;
    font-size: .92rem;
}

footer a.flink:hover {
    color: #7ea4ff;
}

footer p {
    color: rgba(255, 255, 255, .65);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    color: rgba(255, 255, 255, .5);
    font-size: .85rem;
}

.social-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .75);
}

.social-circle:hover {
    border-color: #7ea4ff;
    color: #7ea4ff;
}

@media (max-width:991.98px) {
    .navbar-collapse {
        background: var(--surface);
        border-radius: var(--radius-md);
        margin-top: 1rem;
        padding: 1rem 1.2rem;
        border: 1px solid var(--border-soft);
        box-shadow: 0 20px 40px -20px rgba(15, 28, 80, .15);
    }

    section {
        padding: 3.5rem 0;
    }

    .cta-band {
        padding: 2rem 1.4rem;
        text-align: center;
    }
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
    position: relative;
    padding: 9.5rem 0 3.5rem;
    background:
        radial-gradient(60% 60% at 85% 10%, rgba(47, 111, 237, .10), transparent 70%),
        radial-gradient(50% 50% at 10% 90%, rgba(47, 111, 237, .06), transparent 70%),
        var(--bg-page);
    border-bottom: 1px solid var(--border-soft);
}

.page-header h1 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: .6rem;
}

.breadcrumb-line {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    color: var(--ink-300);
    font-weight: 500;
}

.breadcrumb-line a {
    color: var(--ink-300);
}

.breadcrumb-line a:hover {
    color: var(--teal-400);
}

.breadcrumb-line i {
    font-size: .7rem;
    color: var(--ink-500);
}

.breadcrumb-line .current {
    color: var(--teal-400);
}

/* ---------- Blog cards ---------- */
.blog-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: .25s ease;
    box-shadow: 0 2px 10px -4px rgba(15, 28, 80, .06);
}

.blog-card:hover {
    border-color: rgba(47, 111, 237, .4);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -20px rgba(47, 111, 237, .3);
}

.blog-thumb {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-thumb i {
    font-size: 2.2rem;
    color: #7ea4ff;
}

.blog-thumb .tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    padding: .3rem .7rem;
    border-radius: 999px;
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: .8rem;
    color: var(--ink-500);
    margin-bottom: .7rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.blog-card h5,
.blog-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    margin-bottom: .7rem;
}

.blog-card h5 a,
.blog-card h3 a {
    color: var(--ink-100);
}

.blog-card h5 a:hover,
.blog-card h3 a:hover {
    color: var(--teal-400);
}

.blog-card p {
    color: var(--ink-300);
    font-size: .9rem;
    flex-grow: 1;
}

.blog-readmore {
    font-weight: 600;
    font-size: .88rem;
    color: var(--teal-400);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .6rem;
}

.blog-readmore i {
    transition: .2s ease;
}

.blog-card:hover .blog-readmore i {
    transform: translateX(4px);
}

.card-link-more {
    font-weight: 600;
    font-size: .85rem;
    color: var(--teal-400);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: 1rem;
}

.card-link-more i {
    transition: .2s ease;
}

.service-card:hover .card-link-more i,
.portfolio-link-card:hover .card-link-more i {
    transform: translateX(4px);
}

/* ---------- Sidebar widgets (blog) ---------- */
.widget-box {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    margin-bottom: 1.6rem;
    box-shadow: 0 2px 10px -4px rgba(15, 28, 80, .06);
}

.widget-box h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    margin-bottom: 1.1rem;
}

.widget-search {
    position: relative;
}

.widget-search input {
    border-radius: 999px;
    border: 1px solid rgba(13, 22, 56, .16);
    padding: .65rem 1.1rem;
    font-size: .9rem;
    width: 100%;
    padding-right: 2.8rem;
}

.widget-search input:focus {
    outline: none;
    border-color: var(--teal-400);
}

.widget-search button {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    width: 34px;
    border-radius: 50%;
    background: var(--teal-400);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-cat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: .9rem;
    color: var(--ink-300);
    font-weight: 500;
}

.widget-cat:last-child {
    border-bottom: none;
}

.widget-cat:hover {
    color: var(--teal-400);
}

.widget-cat span.count {
    color: var(--ink-500);
    font-size: .8rem;
}

.widget-post {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    padding: .7rem 0;
    border-bottom: 1px solid var(--border-soft);
}

.widget-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget-post-thumb {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7ea4ff;
    font-size: 1.1rem;
}

.widget-post h6 {
    font-size: .86rem;
    margin-bottom: .25rem;
    line-height: 1.35;
    font-weight: 600;
}

.widget-post h6 a {
    color: var(--ink-100);
}

.widget-post h6 a:hover {
    color: var(--teal-400);
}

.widget-post small {
    color: var(--ink-500);
    font-size: .76rem;
}

.widget-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.widget-tags a {
    background: var(--surface-alt);
    color: var(--ink-300);
    border-radius: 999px;
    padding: .4rem .9rem;
    font-size: .8rem;
    font-weight: 500;
}

.widget-tags a:hover {
    background: var(--teal-400);
    color: #fff;
}

/* ---------- Pagination ---------- */
.pg-nav {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.pg-nav a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-100);
    font-weight: 600;
    font-size: .9rem;
    transition: .2s ease;
}

.pg-nav a.active,
.pg-nav a:hover {
    background: var(--teal-400);
    border-color: var(--teal-400);
    color: #fff;
}

/* ---------- Article / blog details ---------- */
.article-hero-thumb {
    aspect-ratio: 21/9;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.2rem;
    box-shadow: 0 30px 60px -25px rgba(15, 28, 80, .35);
}

.article-hero-thumb i {
    font-size: 3.5rem;
    color: #7ea4ff;
}

.article-body {
    color: var(--ink-300);
    font-size: 1.02rem;
    line-height: 1.85;
}

.article-body h2,
.article-body h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--ink-100);
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.3rem;
}

.article-body ul {
    margin-bottom: 1.3rem;
    padding-left: 1.2rem;
}

.article-body li {
    margin-bottom: .5rem;
}

.article-body blockquote {
    border-left: 4px solid var(--teal-400);
    background: var(--surface-alt);
    padding: 1.2rem 1.5rem;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--ink-100);
    font-weight: 500;
    margin: 1.6rem 0;
}

.author-box {
    background: var(--surface-alt);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    gap: 1.1rem;
    align-items: center;
    margin-top: 2.5rem;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--navy-800), var(--navy-700));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7ea4ff;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.share-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: 2.2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-soft);
}

.tag-row a {
    background: var(--surface-alt);
    color: var(--ink-300);
    border-radius: 999px;
    padding: .4rem .9rem;
    font-size: .8rem;
    font-weight: 500;
    margin: 0 .4rem .4rem 0;
    display: inline-block;
}

.tag-row a:hover {
    background: var(--teal-400);
    color: #fff;
}

.comment-box {
    display: flex;
    gap: 1rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--border-soft);
}

.comment-box .author-avatar {
    width: 48px;
    height: 48px;
    font-size: 1rem;
}

/* ---------- Contact page ---------- */
.contact-info-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    height: 100%;
    text-align: center;
    transition: .25s ease;
    box-shadow: 0 2px 10px -4px rgba(15, 28, 80, .06);
}

.contact-info-card:hover {
    border-color: rgba(47, 111, 237, .4);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -20px rgba(47, 111, 237, .3);
}

.contact-info-card .service-icon {
    margin: 0 auto 1.1rem;
}

.contact-info-card p {
    color: var(--ink-300);
    font-size: .9rem;
    margin-bottom: 0;
}

.contact-form-wrap {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    box-shadow: 0 2px 10px -4px rgba(15, 28, 80, .06);
}

.form-control-custom {
    border: 1px solid rgba(13, 22, 56, .16);
    border-radius: 12px;
    padding: .8rem 1.1rem;
    font-size: .92rem;
    width: 100%;
    background: var(--surface);
    color: var(--ink-100);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--teal-400);
    box-shadow: 0 0 0 3px rgba(47, 111, 237, .12);
}

textarea.form-control-custom {
    resize: vertical;
    min-height: 140px;
}

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    box-shadow: 0 2px 10px -4px rgba(15, 28, 80, .06);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
    display: block;
}

/* ---------- Service / portfolio details ---------- */
.service-side-nav {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 10px -4px rgba(15, 28, 80, .06);
}

.service-side-nav a {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .9rem 1.2rem;
    color: var(--ink-300);
    font-weight: 500;
    font-size: .92rem;
    border-bottom: 1px solid var(--border-soft);
}

.service-side-nav a:last-child {
    border-bottom: none;
}

.service-side-nav a i {
    color: var(--teal-400);
}

.service-side-nav a:hover,
.service-side-nav a.active {
    background: rgba(47, 111, 237, .08);
    color: var(--teal-400);
}

.side-cta-card {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    color: #fff;
    margin-top: 1.6rem;
    box-shadow: 0 30px 60px -25px rgba(15, 28, 80, .35);
}

.side-cta-card h6 {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: .6rem;
}

.side-cta-card p {
    color: rgba(255, 255, 255, .7);
    font-size: .88rem;
    margin-bottom: 1.1rem;
}

.detail-hero-media {
    aspect-ratio: 16/8;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px -25px rgba(15, 28, 80, .35);
    margin-bottom: 2.5rem;
}

.detail-hero-media i {
    font-size: 4rem;
    color: #7ea4ff;
}

.project-meta-box {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    box-shadow: 0 2px 10px -4px rgba(15, 28, 80, .06);
}

.project-meta-row {
    display: flex;
    justify-content: space-between;
    padding: .8rem 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: .9rem;
}

.project-meta-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.project-meta-row span:first-child {
    color: var(--ink-500);
}

.project-meta-row span:last-child {
    color: var(--ink-100);
    font-weight: 600;
    text-align: right;
}

.gallery-thumb {
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7ea4ff;
    font-size: 1.6rem;
}

.feature-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-check-list li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin-bottom: .9rem;
    color: var(--ink-300);
    font-size: .95rem;
}

.feature-check-list li i {
    color: var(--teal-400);
    font-size: 1.1rem;
    margin-top: .1rem;
}

/* ---------- Privacy policy ---------- */
.policy-toc {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    box-shadow: 0 2px 10px -4px rgba(15, 28, 80, .06);
}

.policy-toc a {
    display: block;
    padding: .5rem 0;
    color: var(--ink-300);
    font-size: .9rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-soft);
}

.policy-toc a:last-child {
    border-bottom: none;
}

.policy-toc a:hover {
    color: var(--teal-400);
}

.policy-body h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.35rem;
    margin: 2.4rem 0 1rem;
    scroll-margin-top: 120px;
}

.policy-body h2:first-child {
    margin-top: 0;
}

.policy-body p {
    color: var(--ink-300);
    margin-bottom: 1.1rem;
    line-height: 1.8;
}

.policy-body ul {
    color: var(--ink-300);
    margin-bottom: 1.1rem;
    padding-left: 1.3rem;
    line-height: 1.8;
}

.policy-body li {
    margin-bottom: .5rem;
}

.policy-updated {
    color: var(--ink-500);
    font-size: .88rem;
    margin-bottom: 2rem;
}

@media (max-width:991.98px) {
    .page-header {
        padding: 8rem 0 2.5rem;
    }

    .contact-form-wrap {
        padding: 1.6rem;
    }
}