/* ═══════════════════════════════════════════════════════════════════
   GLOBAL DESIGN SYSTEM — HS CodeLabs
   Shared tokens, eyebrow badges, headings, CTAs — used on every page
   ═══════════════════════════════════════════════════════════════════ */

/* ── SVG icon helpers (replaces feather.js runtime) ─────────────── */
/* All inline SVGs: baseline vertical alignment, no overflow clip.
   Sizing is handled by HTML width/height attrs or .icon-* / .social svg rules. */
svg[aria-hidden="true"] {
    display: inline-block;
    vertical-align: middle;
    overflow: visible;
}

.icon-xs {
    width: 16px;
    height: 16px;
}

.icon-sm {
    width: 20px;
    height: 20px;
}

.icon-md {
    width: 28px;
    height: 28px;
}

/* ── Design tokens ──────────────────────────────────────────────── */
:root {
    --hs-primary:          #00bcd4;
    --hs-primary-hover:    #0097a7;
    --hs-dark:             #172d51;
    --hs-ink:              #111827;
    --hs-text:             #4b5563;
    --hs-muted:            #64748b;
    --hs-border:           rgba(148, 163, 184, 0.18);
    --hs-card-radius:      1.75rem;
    --hs-card-radius-sm:   1.25rem;
}

/* ── Page background (all interior pages) ───────────────────────── */
.page-bg {
    position: relative;
    overflow-x: clip;
    background:
        radial-gradient(circle at top left,  rgba(0, 188, 212, 0.09), transparent 28%),
        radial-gradient(circle at 85% 8%,    rgba(45, 212, 191, 0.06), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 36%, #f4f7fb 100%);
}

.page-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 85%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 85%);
    pointer-events: none;
}

.page-bg > * {
    position: relative;
    z-index: 1;
}

/* ── Eyebrow badge (universal pill label above headings) ────────── */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.04);
    color: #475569;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-size: 0.70rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Blue tint for pages with a blue-accented background */
.solutions-page .section-eyebrow,
.articles-page .section-eyebrow {
    border: 1px solid rgba(96, 165, 250, 0.20);
    background: rgba(96, 165, 250, 0.07);
    color: #2563eb;
}

/* ── Universal page headings ────────────────────────────────────── */
.section-title {
    color: var(--hs-ink, #111827);
    letter-spacing: -0.03em;
}

.section-title.display-5 {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: 0.97;
}

.section-title.display-6 {
    font-size: clamp(2rem, 3.5vw, 2.9rem);
    line-height: 1.04;
}

/* ── Universal page body text ───────────────────────────────────── */
.section-lead {
    color: var(--hs-text, #4b5563);
    line-height: 1.75;
}

.section-body {
    color: var(--hs-text, #4b5563);
    line-height: 1.72;
}

/* ── Primary CTA button (all pages) ────────────────────────────── */
.btn-primary {
    border-radius: 0.65rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 18px rgba(0, 188, 212, 0.18) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 188, 212, 0.26) !important;
}

/* ── Outline-dark secondary button (all pages) ──────────────────── */
.btn-outline-dark {
    border-radius: 0.65rem !important;
    border: 1.5px solid var(--hs-dark, #172d51) !important;
    color: var(--hs-dark, #172d51) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
    transform: translateY(-1px);
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(23, 45, 81, 0.10) !important;
    color: var(--hs-dark, #172d51) !important;
    border-color: var(--hs-dark, #172d51) !important;
}

/* Sizing variants */
.btn-lg.btn-primary,
.btn-lg.btn-outline-dark {
    padding: 0.9rem 1.8rem;
    font-size: 1.05rem;
}

.btn-sm.btn-primary {
    padding: 0.45rem 0.9rem;
    border-radius: 0.5rem !important;
    box-shadow: none !important;
}

/* ── Universal CTA panel ────────────────────────────────────────── */
.cta-panel {
    border-radius: var(--hs-card-radius, 1.75rem);
    padding: clamp(1.4rem, 2.5vw, 2rem) clamp(1.4rem, 3vw, 2.2rem);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 252, 0.99)),
        radial-gradient(circle at top right, rgba(0, 188, 212, 0.10), transparent 30%),
        radial-gradient(circle at 0% 100%,   rgba(45, 212, 191, 0.07), transparent 30%);
    border: 1px solid var(--hs-border, rgba(148, 163, 184, 0.18));
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.cta-panel h2 { color: var(--hs-ink, #111827); }
.cta-panel p  { color: var(--hs-text, #4b5563); }

/* ── Breadcrumb / back link ─────────────────────────────────────── */
.page-back-link,
.page-back-link,
.project-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--hs-muted, #64748b);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0.4rem 0;
}

.page-back-link:hover,
.project-detail-back:hover {
    color: var(--hs-dark, #172d51);
}

/* ── Contact form card ──────────────────────────────────────────── */
.contact-form-card {
    border-radius: var(--hs-card-radius, 1.75rem);
    border: 1px solid var(--hs-border, rgba(148, 163, 184, 0.18));
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 1px 3px rgba(23, 45, 81, 0.04),
        0 18px 44px rgba(23, 45, 81, 0.08);
    overflow: hidden;
}

.contact-form-card__body {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

@media (max-width: 767.98px) {
    .contact-form-card {
        border-radius: var(--hs-card-radius-sm, 1.25rem);
    }
}

/* ─────────────────────────────────────────────────────────────────
   END GLOBAL DESIGN SYSTEM
   ───────────────────────────────────────────────────────────────── */

section.services,
section.projects,
section.contact {
    padding-top: 120px;
}

@media (min-width: 992px) {
    section.services,
    section.projects,
    section.contact {
        padding-top: 160px;
    }
}

.navbar-brand img{
    width:250px;
}

.navbar:not(.nav-sticky) {
    background-color: transparent;
    box-shadow: none;
    border-bottom: 0;
}

@media (max-width: 991.98px) {
    .navbar:not(.nav-sticky) {
        background-color: #fff;
        box-shadow: 0 10px 28px rgba(23, 45, 81, 0.08);
    }

    .navbar .navbar-collapse {
        background-color: #fff;
        margin-top: 0.5rem;
        padding: 0.75rem 0;
        border-top: 1px solid rgba(23, 45, 81, 0.08);
        border-radius: 0.75rem;
        box-shadow: 0 14px 36px rgba(23, 45, 81, 0.06);
    }

.navbar .navbar-nav .nav-link {
        padding: 0.65rem 1rem;
    }
}

/* ── Navbar booking CTA ─────────────────────────────────────────── */
.nav-link--booking {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45rem 1.4rem !important;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #0dd6ef 0%, #00b4cc 45%, #0087a0 100%);
    color: #fff !important;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    box-shadow:
        0 4px 18px rgba(0, 188, 212, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    text-decoration: none !important;
}

/* Shimmer sweep on hover */
.nav-link--booking::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 28%,
        rgba(255, 255, 255, 0.26) 50%,
        transparent 72%
    );
    transform: translateX(-120%);
    transition: transform 0.52s ease;
    pointer-events: none;
}

.nav-link--booking:hover::before,
.nav-link--booking:focus::before {
    transform: translateX(120%);
}

.nav-link--booking:hover,
.nav-link--booking:focus {
    color: #fff !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 10px 32px rgba(0, 188, 212, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.nav-link--booking:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.30);
}

/* Override theme's last-child padding-right:0 rule (same specificity, loads after) */
.navbar .navbar-nav .nav-item:last-child .nav-link--booking {
    padding: 0.45rem 1.4rem !important;
}

/* Mobile — pill stays clean inside the collapsed menu */
@media (max-width: 991.98px) {
    .nav-link--booking {
        display: inline-flex;
        width: fit-content;
        margin-top: 0.35rem;
    }
}

#about h4{
    text-align:justify;
}

.language-switcher {
    letter-spacing: 0.12em;
}

.language-switcher__link {
    color: #8a94a6;
    font-size: 0.98rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.language-switcher__link:hover,
.language-switcher__link:focus {
    color: #00bcd4;
}

.language-switcher__link.is-active {
    color: #00bcd4;
}

.language-switcher__divider {
    color: rgba(23, 45, 81, 0.24);
    margin: 0 0.7rem;
    font-weight: 300;
}

@media (max-width: 991.98px) {
    .language-switcher {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
  #services .bg-text {
    top: 48px;
  }

  #services .bg-text h1 {
    font-size: 52px;
  }
}

/* Desktop and laptop screens: floating effect */
@media (min-width: 992px) {
    #contact img {
        float: left;
        padding-right: 20px;
    }
}

.project-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 1px 3px rgba(23, 45, 81, 0.05),
        0 8px 24px rgba(23, 45, 81, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 4px 12px rgba(23, 45, 81, 0.09),
        0 20px 44px rgba(23, 45, 81, 0.13);
}

/* 16:9 image well — consistent across all cards */
.project-card-media {
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #eef4f8;
}

.project-card-img,
.project-card-img-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.project-card-img {
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.project-card-media img {
    max-width: 100% !important;
}

.project-card-img-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #edf4f8 0%, #f8fbfd 100%);
}

.project-card-fallback-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: rgba(23, 45, 81, 0.07);
    color: #172d51;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Subtle dark overlay — screenshot stays readable through it */
.project-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.40);
    opacity: 0;
    transition: opacity 0.28s ease;
}

/* White pill CTA centred in overlay */
.project-card-cta {
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 24px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.95);
    color: #172d51;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
    line-height: 1.4;
    white-space: nowrap;
}

/* Card body — controlled padding, no Bootstrap p-4 override needed */
.project-card-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 1.2rem 1.4rem 1.4rem;
}

.project-card-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    color: #172d51;
    margin-bottom: 0.35rem;
}

.project-card-summary {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #8a94a6;
    min-height: calc(1.65em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

/* Touch-device CTA — replaces overlay on mobile */
.project-card-cta-mobile {
    display: none;
    margin-top: auto;
    padding-top: 0.875rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #172d51;
    opacity: 0.65;
}

@media (hover: hover) and (pointer: fine) {
    .project-card:hover .project-card-img {
        transform: scale(1.04);
    }

    .project-card:hover .project-card-overlay {
        opacity: 1;
    }
}

@media (max-width: 991.98px) {
    .project-card {
        box-shadow:
            0 1px 3px rgba(23, 45, 81, 0.06),
            0 6px 20px rgba(23, 45, 81, 0.08);
    }
}

/* ── Services page background ───────────────────────────────────── */
.services-page {
    position: relative;
    overflow-x: clip;
    background:
        radial-gradient(circle at top left,  rgba(0, 188, 212, 0.09), transparent 26%),
        radial-gradient(circle at 88% 6%,    rgba(45, 212, 191, 0.06), transparent 20%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 38%, #f4f7fb 100%);
}

.services-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.028) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 80%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 80%);
    pointer-events: none;
}

.services-page > * {
    position: relative;
    z-index: 1;
}

/* ── Portfolio page background ──────────────────────────────────── */
.portfolio-page {
    position: relative;
    overflow-x: clip;
    background:
        radial-gradient(circle at top left,  rgba(0, 188, 212, 0.08), transparent 26%),
        radial-gradient(circle at 82% 5%,    rgba(45, 212, 191, 0.05), transparent 20%),
        linear-gradient(180deg, #ffffff 0%, #f8f9fc 40%, #f5f7fb 100%);
}

.portfolio-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 80%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 80%);
    pointer-events: none;
}

.portfolio-page > * {
    position: relative;
    z-index: 1;
}

/* Solutions page */
.solutions-page {
    position: relative;
    overflow-x: clip;
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.14), transparent 28%),
        radial-gradient(circle at 80% 10%, rgba(45, 212, 191, 0.08), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 36%, #f4f7fb 100%);
}

.solutions-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 88%);
    pointer-events: none;
}

.solutions-page section {
    position: relative;
    z-index: 1;
}

/* Spacer works on any page that uses section-spacer */
.section-spacer {
    padding-top: 120px;
}

/* .section-eyebrow is now defined globally above */

.solutions-page .hero-panel,
.solutions-page .content-panel,
.solutions-page .cta-panel {
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.solutions-page .hero-panel {
    padding: clamp(0.5rem, 1vw, 1rem) 0 clamp(2rem, 4vw, 4rem);
}

/* .section-title, .section-lead, .section-body now defined globally — keeping page-specific max-width only */

.solutions-page .section-title.display-5 {
    max-width: 11ch;
}

.solutions-page .section-title.display-6 {
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
}

/* btn-primary, btn-outline-dark now styled globally above */

.solutions-page .solutions-grid,
.solutions-page .future-grid {
    display: grid;
    gap: clamp(1.25rem, 2vw, 1.75rem);
}

.solutions-page .solutions-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.solutions-page .future-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.solutions-page .solution-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 18px 44px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.76);
    transform: translateY(0);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    animation: solution-rise 0.8s ease both;
    animation-delay: var(--solution-delay, 0ms);
    --solution-accent-rgb: 59, 130, 246;
}

.solutions-page .solution-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.26);
    box-shadow:
        0 26px 60px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(59, 130, 246, 0.05);
}

.solutions-page .solution-card--compact {
    background: rgba(255, 255, 255, 0.96);
}

.solutions-page .solution-card__visual {
    position: relative;
    aspect-ratio: 16 / 8.4;
    background:
        linear-gradient(145deg, rgba(241, 245, 249, 0.95), rgba(226, 232, 240, 0.9));
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.solutions-page .solution-card--compact .solution-card__visual {
    aspect-ratio: 16 / 8.8;
}

.solutions-page .solution-card__image,
.solutions-page .solution-card__screen {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.solutions-page .solution-card__image {
    object-fit: cover;
    object-position: center;
    max-width: 100%;
}

.solutions-page .solution-card__visual-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0.8rem;
    pointer-events: none;
}

.solutions-page .solution-card__visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.86);
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.solutions-page .solution-card__screen {
    position: relative;
    height: 100%;
    min-height: 100%;
    border-radius: 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(248, 250, 252, 0.85)),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 18%),
        radial-gradient(circle at 82% 14%, rgba(96, 165, 250, 0.16), transparent 18%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    overflow: hidden;
}

.solutions-page .solution-card__screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 100% 20px;
    opacity: 0.5;
}

.solutions-page .solution-card__screen::after {
    content: "";
    position: absolute;
    inset: auto 1rem 1rem auto;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 68%);
    opacity: 0.8;
    filter: blur(2px);
}

.solutions-page .solution-card__mockup {
    position: absolute;
    inset: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.solutions-page .solution-card__label {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.84);
    color: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.solutions-page .solution-card__screen-lines {
    display: grid;
    gap: 0.7rem;
    margin-top: auto;
}

.solutions-page .solution-card__screen-line {
    height: 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
}

.solutions-page .solution-card__screen-line:nth-child(1) {
    width: 82%;
}

.solutions-page .solution-card__screen-line:nth-child(2) {
    width: 64%;
}

.solutions-page .solution-card__screen-line:nth-child(3) {
    width: 72%;
    height: 18px;
    background: linear-gradient(90deg, rgba(var(--solution-accent-rgb), 0.3), rgba(var(--solution-accent-rgb), 0.14));
}

.solutions-page .solution-card__body {
    padding: 1.2rem 1.35rem 1.35rem;
}

.solutions-page .solution-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.solutions-page .solution-card__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    border-radius: 999px;
    padding: 0.42rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.solutions-page .solution-card__pill--category {
    background: rgba(59, 130, 246, 0.09);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.14);
}

.solutions-page .solution-card__pill--status {
    background: rgba(15, 23, 42, 0.04);
    color: #334155;
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.solutions-page .solution-card__title {
    margin-bottom: 0.7rem;
    color: #111827;
    font-size: 1.28rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.solutions-page .solution-card__description {
    margin-bottom: 1.15rem;
    color: #4b5563;
    line-height: 1.72;
}

.solutions-page .solution-card__features {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.solutions-page .solution-card__features li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    color: #334155;
    line-height: 1.55;
}

.solutions-page .solution-card__bullet {
    display: inline-flex;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.2rem;
    margin-top: 0.15rem;
    background: rgba(var(--solution-accent-rgb), 0.12);
    color: #0f172a;
}

.solutions-page .solution-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.15rem;
}

.solutions-page .solution-card__tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.42rem 0.65rem;
    font-size: 0.74rem;
    color: #475569;
    background: rgba(248, 250, 252, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.solutions-page .solution-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.1rem;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.solutions-page .solution-card__cta:hover,
.solutions-page .solution-card__cta:focus {
    color: #1d4ed8;
}

/* Articles */
.articles-page {
    position: relative;
    overflow-x: clip;
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.12), transparent 26%),
        radial-gradient(circle at 90% 0%, rgba(45, 212, 191, 0.08), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f8fbfe 42%, #f5f8fc 100%);
}

.articles-page .articles-hero {
    display: grid;
    gap: 1.25rem;
    justify-items: start; /* prevent eyebrow from stretching full-width */
}

.articles-page .articles-hero__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    align-items: end;
}

.articles-page .articles-hero__meta {
    display: grid;
    gap: 0.9rem;
    justify-items: stretch;
}

.articles-page .articles-hero__stat {
    padding: 1rem 1.1rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.articles-page .articles-hero__stat-label {
    color: #64748b;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.articles-page .articles-hero__stat-value {
    margin-top: 0.25rem;
    color: #111827;
    font-size: 1.08rem;
    font-weight: 600;
}

.articles-page .articles-hero__intro {
    max-width: 56rem;
}

.articles-page .articles-grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    margin-top: 2rem;
}

.articles-page .article-card {
    overflow: hidden;
    border-radius: 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.articles-page .article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.12);
}

.articles-page .article-card__media {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(145deg, #e8eef6, #f8fbfd);
}

.articles-page .article-card__image,
.articles-page .article-card__placeholder {
    width: 100%;
    height: 100%;
    display: block;
}

.articles-page .article-card__image {
    object-fit: cover;
    object-position: center;
}

.articles-page .article-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    color: #1d4ed8;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.articles-page .article-card__body {
    padding: 1.25rem 1.25rem 1.35rem;
}

.articles-page .article-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.9rem;
}

.articles-page .article-card__pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.38rem 0.7rem;
    border: 1px solid rgba(59, 130, 246, 0.16);
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.articles-page .article-card__date {
    color: #64748b;
    font-size: 0.78rem;
}

.articles-page .article-card__title {
    margin: 0 0 0.65rem;
    color: #111827;
    font-size: 1.22rem;
    line-height: 1.28;
    letter-spacing: -0.02em;
}

.articles-page .article-card__title a:hover,
.articles-page .article-card__title a:focus {
    color: #1d4ed8;
}

.articles-page .article-card__excerpt {
    margin-bottom: 1.05rem;
    color: #4b5563;
    line-height: 1.7;
}

.articles-page .article-card__footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.articles-page .articles-empty {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px dashed rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.articles-page .articles-empty__text {
    margin: 0;
    color: #334155;
}

.articles-page .article-detail {
    display: grid;
    gap: 1.5rem;
}

.articles-page .article-detail__hero {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
}

.articles-page .article-detail__hero--admin {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.articles-page .article-detail__title {
    max-width: 14ch;
}

.articles-page .article-detail__excerpt {
    max-width: 52rem;
}

.articles-page .article-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.articles-page .article-detail__meta-item {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.9);
    color: #334155;
    font-size: 0.78rem;
}

.articles-page .article-detail__media {
    overflow: hidden;
    border-radius: 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.articles-page .article-detail__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.articles-page .article-detail__content-card {
    padding: clamp(1.2rem, 2vw, 1.7rem);
    border-radius: 1.75rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.articles-page .article-content {
    max-width: 780px;
    color: #172d51;
    line-height: 1.85;
    font-size: 1.04rem;
}

.articles-page .article-content > * + * {
    margin-top: 1rem;
}

.articles-page .article-content p {
    margin: 0;
}

.articles-page .article-content h2,
.articles-page .article-content h3,
.articles-page .article-content h4,
.articles-page .article-content h5,
.articles-page .article-content h6 {
    margin: 2rem 0 0.65rem;
    color: #0f172a;
    line-height: 1.22;
    letter-spacing: -0.02em;
}

.articles-page .article-content ul,
.articles-page .article-content ol {
    margin: 0;
    padding-left: 1.4rem;
}

.articles-page .article-content li + li {
    margin-top: 0.45rem;
}

.articles-page .article-content a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.articles-page .article-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.2rem;
    border-left: 4px solid rgba(59, 130, 246, 0.35);
    border-radius: 1rem;
    background: rgba(59, 130, 246, 0.06);
    color: #1e293b;
}

.articles-page .article-content pre {
    overflow: auto;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.7;
}

.articles-page .article-content code {
    padding: 0.15rem 0.35rem;
    border-radius: 0.4rem;
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.92em;
}

.articles-page .article-content pre code {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
}

.articles-page .article-detail__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.4rem 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.16);
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.08), rgba(255, 255, 255, 0.95));
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.articles-page .article-detail__cta-copy {
    max-width: 42rem;
}

.articles-page .article-detail__cta-title {
    margin: 0 0 0.45rem;
    color: #111827;
    font-size: 1.45rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.articles-page .article-detail__cta-text {
    margin: 0;
    color: #4b5563;
    line-height: 1.75;
}

@media (max-width: 991.98px) {
    .articles-page .articles-hero__grid,
    .articles-page .article-detail__hero {
        grid-template-columns: 1fr;
    }

    .articles-page .article-detail__cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

.solutions-page .solution-card--accent-amber {
    --solution-accent-rgb: 197, 161, 112;
}

.solutions-page .solution-card--accent-blue {
    --solution-accent-rgb: 124, 153, 244;
}

.solutions-page .solution-card--accent-teal {
    --solution-accent-rgb: 84, 186, 177;
}

.solutions-page .solution-card--accent-graphite {
    --solution-accent-rgb: 143, 154, 171;
}

.solutions-page .solution-card--accent-slate {
    --solution-accent-rgb: 109, 123, 145;
}

.solutions-page .content-panel {
    border-radius: 1.75rem;
    padding: clamp(0.9rem, 2vw, 1.4rem) 0;
}

.solutions-page .content-panel--light {
    background: transparent;
}

.solutions-page .mini-feature {
    display: flex;
    gap: 0.8rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.solutions-page .mini-feature:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.solutions-page .mini-feature__icon {
    display: inline-flex;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 0.95rem;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.7rem;
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.solutions-page .mini-feature__title {
    margin-bottom: 0.2rem;
    color: #111827;
    font-size: 1rem;
}

.solutions-page .mini-feature__text {
    margin-bottom: 0;
    color: #4b5563;
    line-height: 1.68;
}

.solutions-page .process-step {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.solutions-page .process-step__index {
    display: inline-flex;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.95rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
    font-weight: 700;
}

/* .cta-panel is now defined globally above; .solutions-page inherits it */

.solutions-page .fade-in {
    animation: solution-rise 0.8s ease both;
    animation-delay: var(--solution-delay, 0ms);
}

@keyframes solution-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .solutions-page .hero-panel {
        padding: 0 0 2rem;
    }

    .solutions-page .solution-card__body {
        padding: 1.2rem;
    }

    .solutions-page .section-title.display-5 {
        max-width: none;
        font-size: clamp(2.55rem, 8vw, 3.8rem);
    }

    .section-spacer {
        padding-top: 96px;
    }
}

@media (max-width: 767.98px) {
    .solutions-page .solution-card,
    .solutions-page .content-panel,
    .solutions-page .cta-panel {
        border-radius: 1.35rem;
    }

    .solutions-page .solutions-grid,
    .solutions-page .future-grid {
        gap: 1rem;
    }
}

@media (max-width: 767.98px) {
    .project-card:hover {
        transform: none;
    }

    .project-card-overlay {
        display: none;
    }

    .project-card-cta-mobile {
        display: block;
    }
}

.project-modal { border-radius: 16px; overflow: hidden; }

.project-modal__media { position: relative; background: #0b1220; }
.project-modal__img { width: 100%; height: 240px; object-fit: cover; display: block; opacity: .96; }
.project-modal__close { position: absolute; top: 14px; right: 14px; filter: invert(1); opacity: .9; }
.project-modal__close:hover { opacity: 1; }

.project-modal__meta {
  background: rgba(13,110,253,.04);
  border: 1px solid rgba(13,110,253,.10);
  border-radius: 14px;
  padding: 14px;
}

.project-modal__section-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #24324a;
  font-weight: 600;
}

.project-modal__list { padding-left: 0; list-style: none; }
.project-modal__list li { position: relative; padding-left: 18px; margin-bottom: 10px; }
.project-modal__list li:before { content: "•"; position: absolute; left: 0; top: 0; color: #0d6efd; font-weight: 700; }


@media (min-width: 992px) {

  #services .card {
    height: 100%;
  }

  #services .card-body {
    display: flex;
    flex-direction: column;
  }

  #services .card-body p {
    flex-grow: 1;
  }

}

.turnstile-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.turnstile-wrap .cf-turnstile {
    max-width: 100%;
}

@media (min-width: 768px) {
    .turnstile-wrap {
        justify-content: flex-start;
    }

    .turnstile-wrap .cf-turnstile {
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .turnstile-wrap .cf-turnstile {
        transform: scale(0.92);
        transform-origin: center top;
    }
}

@media (max-width: 400px) {
    .turnstile-wrap .cf-turnstile {
        transform: scale(0.88);
    }
}

/* Demo badge — card image corner */
.project-demo-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    width: max-content;
    white-space: nowrap;
    background: rgba(240, 138, 67, 0.92);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    pointer-events: none;
}

/* Demo badge — detail page inline with type badge */
.project-demo-badge--inline {
    background-color: rgba(240, 138, 67, 0.12);
    color: #c8621a;
    border: 1px solid rgba(240, 138, 67, 0.30);
}

/* ── Project detail page ────────────────────────────────────────── */

/* .project-detail-back is now covered by the global .page-back-link rule above */

/* Sidebar meta card */
.project-detail-meta {
    background: #fff;
    border: 1px solid rgba(23, 45, 81, 0.09);
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    box-shadow:
        0 1px 3px rgba(23, 45, 81, 0.04),
        0 6px 18px rgba(23, 45, 81, 0.05);
}

.project-detail-meta__item {
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid rgba(23, 45, 81, 0.06);
}

.project-detail-meta__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a94a6;
    margin-bottom: 0.45rem;
}

.project-detail-meta__private {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #8a94a6;
    padding-top: 0.2rem;
}

/* Hero screenshot */
.project-detail-hero {
    border-radius: 12px;
    overflow: hidden;
    background: #eef4f8;
    line-height: 0;
    /* Reserve space before image loads — prevents CLS */
    aspect-ratio: 16 / 9;
    box-shadow:
        0 2px 6px rgba(23, 45, 81, 0.05),
        0 12px 36px rgba(23, 45, 81, 0.10);
}

.project-detail-hero__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

/* Section labels */
.project-detail-section-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8a94a6;
    margin-bottom: 1.2rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(23, 45, 81, 0.08);
}

/* Highlights list */
.project-detail-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-detail-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(23, 45, 81, 0.05);
    font-size: 0.9375rem;
    color: #4a5a7a;
    line-height: 1.55;
}

.project-detail-highlights li:last-child {
    border-bottom: none;
}

.project-detail-highlights li i {
    margin-top: 3px;
}

/* Additional screenshots grid */
.project-detail-screenshot-link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 2px 8px rgba(23, 45, 81, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-detail-screenshot-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(23, 45, 81, 0.12);
}

.project-detail-screenshot {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center top;
}

/* ── Hero entrance animations ─────────────────────────────────────── */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-anim-1 { animation: heroFadeUp 0.55s ease-out 0.05s both; }
.hero-anim-2 { animation: heroFadeUp 0.55s ease-out 0.20s both; }
.hero-anim-3 { animation: heroFadeUp 0.55s ease-out 0.35s both; }
.hero-anim-4 { animation: heroFadeUp 0.55s ease-out 0.50s both; }
.hero-anim-5 { animation: heroFadeUp 0.55s ease-out 0.65s both; }

/* ── Hero typewriter (mobile) ─────────────────────────────────────── */
.hero-typewriter {
    min-height: 2.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.hero-typewrite-word {
    font-size: 1.75rem;
    font-weight: 700;
    color: #172d51;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.hero-typewrite-word > .wrap {
    /* Cursor styling (underline highlight comes from the global `mark` styles) */
    border-right: 0.08em solid #6f809b;
    white-space: nowrap;
}

/* ── Animated gradient on intro text (mobile only) ────────────────── */
@keyframes heroGradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 991.98px) {
    .hero-subtitle {
        text-align: justify;
    }
}

@media (max-width: 991.98px) {
    .hero-intro-text {
        background: linear-gradient(90deg, #00bcd4, #f78c4b, #00bcd4);
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: heroGradientShift 3s ease-in-out infinite;
    }
}

/* ── CTA primary button pulse ring (mobile only) ─────────────────── */
@keyframes heroCtaPulse {
    0%   { box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.50); }
    70%  { box-shadow: 0 0 0 14px rgba(0, 188, 212, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 188, 212, 0); }
}

@media (max-width: 991.98px) {
    .hero-cta-primary {
        animation: heroCtaPulse 2s ease-out 1.2s infinite;
    }
}

/* ── Hero entrance animations ─────────────────────────────────────── */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-anim-1 { animation: heroFadeUp 0.55s ease-out 0.05s both; }
.hero-anim-2 { animation: heroFadeUp 0.55s ease-out 0.20s both; }
.hero-anim-3 { animation: heroFadeUp 0.55s ease-out 0.35s both; }
.hero-anim-4 { animation: heroFadeUp 0.55s ease-out 0.50s both; }
.hero-anim-5 { animation: heroFadeUp 0.55s ease-out 0.65s both; }

/* ── Hero typewriter (mobile) ─────────────────────────────────────── */
.hero-typewriter {
    min-height: 2.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.hero-typewrite-word {
    font-size: 1.75rem;
    font-weight: 700;
    color: #172d51;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.hero-typewrite-word > .wrap {
    /* Cursor styling (underline highlight comes from the global `mark` styles) */
    border-right: 0.08em solid #6f809b;
    white-space: nowrap;
}

/* ── H4 subtitle justified on mobile ─────────────────────────────── */
@media (max-width: 991.98px) {
    .hero-subtitle { text-align: justify; }
}

/* ── Animated gradient on intro text (mobile only) ────────────────── */
@keyframes heroGradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 991.98px) {
    .hero-intro-text {
        background: linear-gradient(90deg, #00bcd4, #f78c4b, #00bcd4);
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: heroGradientShift 3s ease-in-out infinite;
    }
}

/* ── CTA primary button pulse ring (mobile only) ─────────────────── */
@keyframes heroCtaPulse {
    0%   { box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.50); }
    70%  { box-shadow: 0 0 0 14px rgba(0, 188, 212, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 188, 212, 0); }
}

@media (max-width: 991.98px) {
    .hero-cta-primary {
        animation: heroCtaPulse 2s ease-out 1.2s infinite;
    }
}

/* CTA strip */
.project-detail-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    background: rgba(23, 45, 81, 0.03);
    border: 1px solid rgba(23, 45, 81, 0.08);
    border-radius: 12px;
}

@media (min-width: 768px) {
    .project-detail-cta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* ── [data-words] animation container ────────────────────────────── */
[data-words] {
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

@media (min-width: 992px) {
    [data-words] {
        min-width: 500px;
    }
}

/* ── Hero title sizing ────────────────────────────────────────────── */
.hero-one .hero-title {
    font-size: 40px;
    line-height: 70px;
}

@media (max-width: 991.98px) {
    .hero-one .hero-title {
        font-size: 42px;
        line-height: 52px;
    }
}

@media (max-width: 767.98px) {
    .hero-one .hero-title {
        font-size: 34px;
        line-height: 44px;
        margin-bottom: 1rem !important;
    }

    .hero-one h4,
    .hero-one .hero-subtext {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.45;
    }
}

.service-card {
    border: 1px solid rgba(23, 45, 81, 0.06) !important;
    box-shadow: 0 8px 24px rgba(23, 45, 81, 0.04) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
    background: rgba(255, 255, 255, 0.94);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(23, 45, 81, 0.10) !important;
    border-color: rgba(23, 45, 81, 0.14) !important;
    background: rgba(255, 255, 255, 1);
}

.service-card.featured {
    border-color: rgba(23, 45, 81, 0.14) !important;
    box-shadow: 0 14px 32px rgba(23, 45, 81, 0.08) !important;
}

.service-card .card-body {
    padding-top: 1.75rem !important;
    padding-bottom: 1.5rem !important;
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
}

.service-card .icon-md {
    width: 28px;
    height: 28px;
    stroke-width: 2.2;
}

.service-card h5 {
    position: relative;
    margin-bottom: 1.2rem !important;
}

.service-card h5::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 10px;
    border-radius: 999px;
    background: #f08a43;
}

.service-card p {
    line-height: 1.75;
    color: #6d7f9d !important;
}

@media (max-width: 767.98px) {
    .service-card {
        box-shadow: 0 8px 20px rgba(23, 45, 81, 0.05) !important;
    }

    .service-card:hover {
        transform: none;
    }

    .service-card .card-body {
        padding: 1.25rem !important;
        margin: 0 !important;
    }

    .service-card h5 {
        font-size: 1.35rem !important;
    }

    .service-card p {
        line-height: 1.65;
    }
}
.social a:hover .whatsapp {
    border-color: #25D366;
    color: #25D366;
    transition: all 0.5s;
}

.social a:hover .telegram {
    border-color: #229ED9;
    color: #229ED9;
    transition: all 0.5s;
}
.social a:hover .instagram {
    border-color: #E1306C;
    color: #E1306C;
    transition: all 0.5s;
}

/* Social icon circles for inline SVG (mirrors .social i from style.min.css) */
.social svg {
    width: 36px;
    height: 36px;
    border: 1px solid #8997bd;
    color: #8997bd;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: all 0.5s;
}

/* WhatsApp floating button – replace font-size:1.9rem with explicit SVG sizing */
.whatsapp-floating svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.16));
    transition: filter .2s ease, transform .2s ease;
    flex-shrink: 0;
}

.whatsapp-floating:hover svg,
.whatsapp-floating:focus svg {
    filter: drop-shadow(0 5px 10px rgba(0,0,0,.24));
    transform: scale(1.05);
}

  .name-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    font-weight: 500;
}

/* subtle underline animation */
.name-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #ff6b00; /* your accent color */
    transition: width 0.3s ease;
}

.name-link:hover::after {
    width: 100%;
}
     
