:root {
    /* Deep navy-black — matches the tagline ink in the NAJO logo */
    --brand-obsidian: #090e1c;
    --brand-charcoal: #111828;
    --brand-steel: #8e95a8;
    --brand-silver: #e6e8ed;

    /* NAJO blue — company name colour in the logo */
    --brand-blue: #4f87c5;
    --brand-blue-deep: #2e6aad;
    --brand-blue-rgb: 79, 135, 197;

    /* NAJO orange — terracotta accent at the right end of the logo underline */
    --brand-orange: #cc5020;
    --brand-orange-deep: #a83e15;
    --brand-orange-rgb: 204, 80, 32;

    --surface-light: #f4f6fb;
    --surface-card: #ffffff;
    --text-main: #0f1626;
    --text-soft: #5e6c85;
    --radius-lg: 1.25rem;
    --radius-md: 0.9rem;
    --shadow-soft: 0 20px 50px rgba(10, 18, 38, 0.1);
    --shadow-blue: 0 12px 36px rgba(var(--brand-blue-rgb), 0.28);
    --shadow-orange: 0 12px 36px rgba(var(--brand-orange-rgb), 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-main);
    background: var(--surface-light);
    line-height: 1.7;
}

@media (min-width: 992px) {
    body {
        padding-top: 46px;
    }

    body.topbar-hidden {
        padding-top: 0;
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-wordmark {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pb-extra {
    padding-bottom: 8rem !important;
}

.hero-narrow {
    max-width: 760px;
}

.text-light-soft {
    color: rgba(244, 247, 255, 0.78);
}

@keyframes float-y {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -12px, 0);
    }
}

@keyframes pulse-soft {
    0%,
    100% {
        opacity: 0.28;
        transform: scale(1);
    }
    50% {
        opacity: 0.42;
        transform: scale(1.06);
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* ── TOPBAR ──────────────────────────────────────────── */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1032;
    background: linear-gradient(90deg,
        rgba(var(--brand-orange-rgb), 0.92) 0%,
        rgba(var(--brand-orange-rgb), 0.98) 50%,
        rgba(var(--brand-orange-rgb), 0.90) 100%);
    border-top: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 3px 16px rgba(var(--brand-orange-rgb), 0.35);
    color: #ffffff;
    font-size: 0.82rem;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.topbar.hidden-by-scroll {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.topbar-inner {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.topbar-left,
.topbar-right,
.topbar-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.topbar-left span,
.topbar-right a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.topbar-left span i,
.topbar-right a i,
.topbar-social a i {
    color: #fff;
    font-weight: 600;
}

.topbar a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: color 0.22s ease;
}

.topbar-left a:hover,
.topbar-right > a:hover {
    color: #fff;
    opacity: 0.78;
}

.topbar-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.38);
    opacity: 1;
}

.topbar-social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
}

.topbar-social a:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ── NAVBAR ──────────────────────────────────────────── */

#site-loader {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 20%, #163d78, #0a2050 65%);
    z-index: 9999;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

#site-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-mark {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid rgba(var(--brand-blue-rgb), 0.35);
    border-top-color: var(--brand-blue);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.navbar-glass {
    background: linear-gradient(120deg,
        rgba(8, 11, 22, 0.62),
        rgba(12, 18, 36, 0.48));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    z-index: 1031;
}

@media (min-width: 992px) {
    .navbar-glass {
        top: 46px !important;
        transition: top 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
    }

    .navbar-glass.topbar-collapsed {
        top: 0 !important;
    }
}

/* Scrolled: solid dark + blue → orange gradient bottom border */
.navbar-glass.scrolled {
    background: rgba(8, 11, 22, 0.95);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-orange) 100%) 1;
}

.navbar-logo {
    height: 40px;
    width: auto;
    background: #fff;
    border-radius: 6px;
    padding: 4px 10px;
}

.footer-logo {
    height: 44px;
    width: auto;
    background: #fff;
    border-radius: 6px;
    padding: 5px 12px;
}

/* Brand wordmark: "NAJO" orange, "Technologies" white */
.brand-wordmark {
    color: #fff;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.brand-name-najo {
    color: var(--brand-orange);
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* Nav links */
.nav-link {
    color: rgba(225, 232, 255, 0.82);
    font-weight: 500;
    border-radius: 999px;
    position: relative;
    transition: color 0.22s ease, background 0.22s ease;
}

.nav-link:hover {
    color: #fff;
    background: rgba(var(--brand-blue-rgb), 0.18);
}

/* Active link: orange → blue gradient tint — mirrors the swoash */
.nav-link.active {
    color: #fff;
    background: linear-gradient(90deg,
        rgba(var(--brand-orange-rgb), 0.22) 0%,
        rgba(var(--brand-blue-rgb), 0.26) 100%);
}

/* Orange underline pip on active link (desktop) */
@media (min-width: 992px) {
    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 4px;
        left: 50%;
        transform: translateX(-50%);
        width: 16px;
        height: 2px;
        border-radius: 999px;
        background: var(--brand-orange);
    }
}

/* Navbar CTA button → orange (action / conversion colour) */
#mainNav .btn-brand {
    background: linear-gradient(135deg, var(--brand-orange), #db6230);
    box-shadow: var(--shadow-orange);
    color: #fff;
    font-weight: 700;
    border: none;
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

#mainNav .btn-brand:hover {
    background: linear-gradient(135deg, var(--brand-orange-deep), var(--brand-orange));
    box-shadow: 0 8px 24px rgba(var(--brand-orange-rgb), 0.45);
    color: #fff;
    transform: translateY(-2px);
}

/* Global btn-brand (content sections) → blue */
.btn-brand {
    border: none;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue), #72a8d8);
    box-shadow: var(--shadow-blue);
    font-weight: 700;
    transition: transform 0.22s ease, background 0.22s ease;
}

.btn-brand:hover {
    color: #fff;
    transform: translateY(-2px);
    background: linear-gradient(135deg, #3e76b4, #5c98ca);
}

/* Mobile toggler: orange on open state */
.navbar-toggler[aria-expanded="true"] i,
.navbar-toggler:hover i {
    color: var(--brand-orange) !important;
    transition: color 0.2s ease;
}

/* Mobile nav: active link orange left-bar indicator */
@media (max-width: 991.98px) {
    .nav-link.active {
        border-left: 3px solid var(--brand-orange);
        border-radius: 0.6rem;
        padding-left: calc(1rem - 3px);
    }

    .nav-link.active::after {
        display: none;
    }
}

.hero-section {
    background: #0a1628;
    color: #fff;
    padding-top: 5rem;
    isolation: isolate;
}

/* Per-slide full-bleed photo background */
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1);
    transition: transform 7s ease;
}

.swiper-slide-active .hero-slide-bg {
    transform: scale(1.05);
}

/* Simple directional dark overlay — left heavy so text stays readable */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(5, 12, 28, 0.88) 0%,
        rgba(8, 18, 42, 0.68) 55%,
        rgba(10, 22, 50, 0.42) 100%
    );
    z-index: 1;
}

/* Page hero image background (inner pages) */
.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 18, 44, 0.74);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.hero-kicker,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-size: 0.73rem;
    letter-spacing: 0.12em;
    color: var(--brand-blue);
    font-weight: 700;
}

.hero-kicker::before,
.section-label::before {
    content: '';
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-blue));
}

.hero-glow,
.hero-glow-one,
.hero-glow-two {
    display: none;
}

.hero-panel {
    animation: float-y 7s ease-in-out infinite;
}

.glass-card {
    background: linear-gradient(145deg, rgba(244, 245, 255, 0.14), rgba(244, 245, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
}

/* Hero Slider Styles */
.hero-swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.hero-swiper .swiper-slide {
    height: auto;
}

.hero-swiper .swiper-wrapper {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hero Pagination */
.hero-pagination {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: auto !important;
}

.hero-pagination.swiper-pagination-bullets {
    gap: 0.5rem;
    display: flex;
    justify-content: center;
}

.hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(var(--brand-blue-rgb), 0.4);
    margin: 0 0.5rem !important;
    cursor: pointer;
    transition: all 0.35s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    box-shadow: 0 0 12px rgba(var(--brand-blue-rgb), 0.5);
    transform: scale(1.2);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    background: rgba(var(--brand-blue-rgb), 0.15);
    border: 2px solid var(--brand-blue);
    border-radius: 50%;
    color: var(--brand-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.hero-nav:hover {
    background: rgba(var(--brand-blue-rgb), 0.25);
    box-shadow: 0 0 16px rgba(var(--brand-blue-rgb), 0.4);
    transform: translateY(-50%) scale(1.08);
}

.hero-nav:active {
    transform: translateY(-50%) scale(0.96);
}

.hero-nav-prev {
    left: 2rem;
}

.hero-nav-next {
    right: 2rem;
}

.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero::before,
.page-hero::after {
    display: none;
}

.hero-panel {
    padding: 1.5rem;
}

.status-dot {
    color: #9ef7c5;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-dot::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    margin-right: 0.35rem;
    background: #22d37b;
    box-shadow: 0 0 12px #22d37b;
}

.mini-stat {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.mini-stat h3 {
    margin: 0;
    color: #fff;
    font-size: 1.8rem;
}

.mini-stat p {
    margin: 0;
    color: rgba(240, 245, 255, 0.72);
    font-size: 0.88rem;
}

.hero-lines {
    height: 65px;
    border-radius: 10px;
    background-image: linear-gradient(90deg, rgba(var(--brand-orange-rgb), 0.3), rgba(var(--brand-blue-rgb), 0.2), transparent), linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 100% 100%, 12px 12px, 12px 12px;
}

.pill-tag {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.84rem;
}

.section-light {
    background: radial-gradient(circle at top right, #ffffff 15%, #f2f4f9 72%);
}

.section-dark {
    background: linear-gradient(135deg, #164490, #2b65a8);
}

.section-heading {
    max-width: 760px;
}

.section-heading h2 {
    margin-top: 0.7rem;
    margin-bottom: 0.65rem;
    font-size: clamp(1.8rem, 1.6rem + 1.3vw, 2.6rem);
}

.section-heading p {
    color: var(--text-soft);
}

.service-card {
    position: relative;
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    border: 1px solid #e8eaf2;
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.service-card::after,
.portfolio-card::after,
.pricing-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, transparent 0%, rgba(255, 255, 255, 0.18) 50%, transparent 100%);
    transform: translateX(-110%);
    transition: transform 0.75s ease;
    pointer-events: none;
    opacity: 0.28;
}

.service-card:hover::after,
.portfolio-card:hover::after,
.pricing-card:hover::after {
    transform: translateX(110%);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 40px rgba(16, 20, 34, 0.14);
}

.service-card-xl {
    min-height: 280px;
}

.service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(140deg, rgba(var(--brand-blue-rgb), 0.18), rgba(var(--brand-orange-rgb), 0.12));
    color: var(--brand-blue-deep);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.service-link {
    color: var(--brand-blue-deep);
    font-weight: 700;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.stack-grid span {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: #edf0fa;
    text-align: center;
    border-radius: 999px;
    padding: 0.5rem 0.35rem;
    font-size: 0.82rem;
}

.reason-card,
.value-card,
.team-card,
.blog-card,
.contact-card,
.contact-info-card,
.story-card,
.process-card,
.pricing-card {
    background: #fff;
    border: 1px solid #eaedf5;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
}

.service-card,
.reason-card,
.value-card,
.team-card,
.blog-card,
.contact-card,
.contact-info-card,
.story-card,
.process-card,
.pricing-card,
.portfolio-card,
.testimonial-card {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.service-card.is-visible,
.reason-card.is-visible,
.value-card.is-visible,
.team-card.is-visible,
.blog-card.is-visible,
.contact-card.is-visible,
.contact-info-card.is-visible,
.story-card.is-visible,
.process-card.is-visible,
.pricing-card.is-visible,
.portfolio-card.is-visible,
.testimonial-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-story-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.story-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.story-metrics div {
    background: #fff;
    border: 1px solid #eaedf5;
    border-radius: 1rem;
    padding: 1.2rem;
}

.story-metrics h3 {
    margin: 0;
    font-size: 2rem;
    color: var(--brand-blue);
}

.story-metrics p {
    margin: 0;
    color: var(--text-soft);
}

.value-card i {
    font-size: 1.5rem;
    color: var(--brand-blue);
}

.avatar-circle {
    width: 68px;
    height: 68px;
    margin: 0 auto 0.8rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--brand-blue-deep), var(--brand-blue));
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}

.team-credential {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--brand-blue-deep);
    background: rgba(var(--brand-blue-rgb), 0.12);
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    margin: 0.6rem 0 0;
    font-weight: 500;
}

.team-socials {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.team-card:hover .team-socials {
    opacity: 1;
    transform: translateY(0);
}

.team-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(var(--brand-blue-rgb), 0.1);
    color: var(--brand-blue-deep);
    border: 1px solid rgba(var(--brand-blue-rgb), 0.28);
    transition: all 0.25s ease;
    text-decoration: none;
}

.team-socials a:hover {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
    transform: scale(1.1);
}

.portfolio-card {
    background: #fff;
    border: 1px solid #e7eaf3;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.32s ease;
    position: relative;
}

.portfolio-card:hover .portfolio-preview {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.03);
}

.portfolio-card:hover .portfolio-preview.with-image {
    filter: none;
    transform: none;
}

.portfolio-card:hover {
    transform: translateY(-7px);
}

.portfolio-preview {
    height: 180px;
    background: linear-gradient(140deg, #1a2540, #0d1428);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.portfolio-preview.with-image {
    background-color: #0d1428;
    background-size: contain;
    background-position: center;
}

.portfolio-preview-mobile { background: linear-gradient(140deg, #163050, #091928); }
.portfolio-preview-webapp { background: linear-gradient(140deg, #163555, #091525); }
.portfolio-preview-web { background: linear-gradient(140deg, #3a1e0e, #180c06); }
.portfolio-preview-cloud { background: linear-gradient(140deg, #103248, #07151e); }
.portfolio-preview-api { background: linear-gradient(140deg, #162848, #0c1628); }
.portfolio-preview-compliance { background: linear-gradient(140deg, #28180a, #100908); }
.portfolio-preview-networking { background: linear-gradient(140deg, #163050, #091928); }
.portfolio-preview-hosting { background: linear-gradient(140deg, #152e4a, #091622); }

.portfolio-category,
.stack-badge,
.blog-tag {
    display: inline-block;
    font-size: 0.75rem;
    border-radius: 999px;
    padding: 0.22rem 0.68rem;
}

.portfolio-category {
    color: var(--brand-blue-deep);
    background: rgba(var(--brand-blue-rgb), 0.14);
}

.stack-badge {
    color: #1e2d44;
    background: #eef2fa;
}

.testimonial-card {
    background: #fff;
    border: 1px solid #ebedf5;
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    min-height: 245px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.testimonial-card:hover,
.blog-card:hover,
.contact-card:hover,
.contact-info-card:hover,
.team-card:hover,
.reason-card:hover,
.value-card:hover,
.story-card:hover {
    transform: translateY(-6px);
}

.testimonial-card i {
    color: var(--brand-blue);
    font-size: 1.4rem;
}

.cta-band {
    background: linear-gradient(135deg, #0c2550, #163d78);
    color: #fff;
    border-top: 3px solid var(--brand-orange);
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 50%, rgba(var(--brand-orange-rgb), 0.08), transparent 45%), radial-gradient(circle at 85% 50%, rgba(var(--brand-blue-rgb), 0.08), transparent 45%);
    pointer-events: none;
}

.cta-band p {
    color: rgba(239, 243, 255, 0.78);
}

/* ── BLUE SECTION CONTEXTUAL OVERRIDES ──────────────────
   section-dark and hero-section now use brand blue backgrounds.
   Section labels and body copy need adjusted colours so they
   remain legible against blue rather than dark charcoal.      */

.section-dark .section-label,
.section-dark .hero-kicker,
.hero-section .hero-kicker {
    color: var(--brand-orange);
}

.section-dark .section-label::before,
.section-dark .hero-kicker::before,
.hero-section .hero-kicker::before {
    background: linear-gradient(90deg, var(--brand-orange), rgba(255, 255, 255, 0.45));
}

.section-dark .section-heading p {
    color: rgba(220, 235, 255, 0.84);
}

/* Value-card icons fall inside section-dark on the about page */
.section-dark .value-card i {
    color: var(--brand-orange);
}

/* Scrolled nav border uses blue→orange; keep it but shift to
   orange→white on blue backgrounds so the gradient shows     */
.hero-section .hero-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-section .hero-pagination .swiper-pagination-bullet-active {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    box-shadow: 0 0 12px rgba(var(--brand-orange-rgb), 0.55);
}

.hero-section .hero-nav {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.hero-section .hero-nav:hover {
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}

.filter-btn {
    margin: 0.2rem;
    border-radius: 999px;
    border: 1px solid #d5dae6;
    color: #1e2a3e;
    background: #fff;
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background: #132038;
    color: #fff;
    border-color: #132038;
}

.portfolio-item.is-hidden {
    display: none;
}

.portfolio-item {
    scroll-margin-top: 120px;
}

.process-card span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--brand-orange-rgb), 0.18), rgba(var(--brand-blue-rgb), 0.18));
    color: var(--brand-blue-deep);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pricing-card h4 {
    font-size: 2rem;
    margin: 0.5rem 0 1rem;
    color: var(--brand-blue-deep);
}

.pricing-card h4 span {
    font-size: 0.95rem;
    color: var(--text-soft);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
}

.pricing-card li {
    margin-bottom: 0.48rem;
    color: #1e2c45;
}

.pricing-card.featured {
    border-color: rgba(var(--brand-orange-rgb), 0.55);
    box-shadow: 0 28px 44px rgba(25, 29, 45, 0.18), 0 0 0 1px rgba(var(--brand-orange-rgb), 0.18);
    position: relative;
}

.best-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--brand-orange);
    color: #fff;
    border-radius: 999px;
    padding: 0.2rem 0.62rem;
    font-size: 0.7rem;
    font-weight: 600;
}

.glass-table {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    backdrop-filter: blur(6px);
}

.contact-card .form-control {
    border-radius: 0.8rem;
    border-color: #d8deeb;
    padding: 0.78rem 0.92rem;
}

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid #e8ebf2;
}

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

.blog-tag {
    background: rgba(146, 152, 168, 0.18);
    color: #1e2a3e;
}

.blog-card h2 {
    font-size: 1.18rem;
}

.blog-card a {
    color: #182038;
    font-weight: 700;
    text-decoration: none;
}

.site-footer {
    color: rgba(230, 236, 251, 0.85);
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-orange) 100%) 1;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: auto -10% 0 auto;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(var(--brand-blue-rgb), 0.1), transparent 60%);
    animation: pulse-soft 11s ease-in-out infinite;
    pointer-events: none;
}

.site-footer::after {
    content: '';
    position: absolute;
    inset: auto auto 0 -8%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(var(--brand-orange-rgb), 0.07), transparent 60%);
    animation: pulse-soft 13s ease-in-out infinite;
    animation-delay: 2s;
    pointer-events: none;
}

.footer-title {
    color: #fff;
    margin-bottom: 0.9rem;
    font-weight: 600;
}

.footer-copy {
    max-width: 320px;
}

.footer-links li {
    margin-bottom: 0.48rem;
}

.footer-links a,
.footer-links li {
    color: rgba(231, 236, 251, 0.74);
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    text-decoration: none;
}

.social-link.dark {
    border-color: #d9deea;
    color: #223149;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(232, 237, 251, 0.65);
}

.floating-whatsapp,
.back-to-top {
    position: fixed;
    right: 1rem;
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    box-shadow: 0 10px 26px rgba(8, 13, 24, 0.28);
}

.floating-whatsapp {
    bottom: 5.2rem;
    background: #22c55e;
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
}

.back-to-top {
    bottom: 1.25rem;
    background: #111c32;
    color: #fff;
    opacity: 0;
    transform: translateY(14px);
    transition: all 0.25s ease;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .py-6 {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .hero-section {
        padding-top: 4rem;
    }

    .stack-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brand-wordmark {
        font-size: 0.89rem;
    }

    body {
        padding-top: 0;
    }

    .navbar-glass {
        top: 0 !important;
    }

    /* Mobile nav dropdown — dark panel with orange top accent */
    .navbar-collapse {
        margin-top: 0.8rem;
        background: rgba(8, 11, 20, 0.97);
        border: 1px solid rgba(255, 255, 255, 0.07);
        border-top: 2px solid var(--brand-orange);
        border-radius: 0.8rem;
        padding: 0.8rem;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    }

    .topbar {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-panel {
        padding: 1.2rem;
    }

    .hero-pagination {
        bottom: 1.5rem;
    }

    .hero-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 0.3rem !important;

        .hero-nav {
            width: 40px;
            height: 40px;
            font-size: 1rem;
        }

        .hero-nav-prev {
            left: 1rem;
        }

        .hero-nav-next {
            right: 1rem;
        }
    }

    .floating-whatsapp,
    .back-to-top {
        width: 48px;
        height: 48px;
        right: 0.7rem;
    }

    .map-wrap iframe {
        min-height: 300px;
    }
}
