/*==========================================================================
  InPhoenix — Design System
  Built on Bootstrap 5. Tokens first, then base, then components.
==========================================================================*/

:root {
    /* Brand */
    --primary: #0B57D0;
    --primary-600: #0946A6;
    --primary-050: #EDF3FE;
    --secondary: #0E9384;
    --light: #F4F7FC;
    --dark: #0A1B33;

    /* Neutrals */
    --ink: #0A1B33;
    --ink-soft: #1B2C45;
    --body: #47566B;
    --muted: #6B7A90;
    --line: #E3E9F2;
    --line-soft: #EEF2F8;
    --surface: #FFFFFF;

    /* Elevation */
    --shadow-xs: 0 1px 2px rgba(10, 27, 51, .06);
    --shadow-sm: 0 2px 8px rgba(10, 27, 51, .06);
    --shadow-md: 0 10px 30px -12px rgba(10, 27, 51, .18);
    --shadow-lg: 0 24px 60px -20px rgba(10, 27, 51, .25);

    /* Geometry */
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;

    --ease: cubic-bezier(.2, .7, .3, 1);
}


/*** Base ***/
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--body);
    background-color: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    color: var(--ink);
    letter-spacing: -.02em;
    line-height: 1.2;
}

h1, h2, .fw-bold { font-weight: 700 !important; }
h3, h4, .fw-semi-bold { font-weight: 700 !important; }
h5, h6, .fw-medium { font-weight: 600 !important; }

h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.75rem, 1.1rem + 2vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 1rem + 1vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.0625rem; }

p { color: var(--body); }
p:last-child { margin-bottom: 0; }

a { text-decoration: none; }

::selection {
    background: var(--primary);
    color: #fff;
}

:focus-visible {
    outline: 3px solid rgba(11, 87, 208, .35);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Consistent vertical rhythm for the template's section wrappers */
.container-fluid.py-5 > .container.py-5 {
    padding-top: clamp(3rem, 6vw, 5.5rem) !important;
    padding-bottom: clamp(3rem, 6vw, 5.5rem) !important;
}

.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-light { background-color: var(--light) !important; }
.text-muted-soft { color: var(--muted) !important; }
.lead-soft {
    font-size: 1.125rem;
    color: var(--muted);
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease-out, visibility 0s linear .4s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .4s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.spinner {
    width: 42px;
    height: 42px;
    margin: 0;
    background: transparent;
    border: 3px solid var(--line);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

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


/*** Buttons ***/
.btn {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 600;
    font-size: .975rem;
    letter-spacing: -.01em;
    border-radius: 10px;
    padding: .7rem 1.4rem;
    transition: background-color .2s var(--ease), border-color .2s var(--ease),
                color .2s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn-primary,
.btn-primary:disabled,
.btn-primary.disabled {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-xs);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-check:active + .btn-primary {
    color: #fff !important;
    background-color: var(--primary-600) !important;
    border-color: var(--primary-600) !important;
    box-shadow: 0 8px 20px -8px rgba(11, 87, 208, .55);
}

.btn-secondary {
    color: #fff;
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    color: #fff !important;
    background-color: #0B766A !important;
    border-color: #0B766A !important;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: rgba(11, 87, 208, .35);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #fff !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, .45);
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
    color: var(--ink) !important;
    background: #fff !important;
    border-color: #fff !important;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
}

.btn-square { width: 40px; height: 40px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }

/* Link with a nudging arrow */
.btn-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

.btn-link-arrow i { transition: transform .25s var(--ease); }
.btn-link-arrow:hover { color: var(--primary-600); }
.btn-link-arrow:hover i { transform: translateX(4px); }


/*** Topbar ***/
.topbar {
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.topbar small,
.topbar a {
    color: rgba(255, 255, 255, .72) !important;
    font-size: .85rem;
    letter-spacing: .01em;
}

.topbar a:hover { color: #fff !important; }
.topbar i { color: #6FA0F0; }


/*** Navbar ***/
.navbar {
    transition: background-color .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}

.navbar-brand h1 {
    font-size: 1.5rem;
    font-weight: 800 !important;
    letter-spacing: -.03em;
    display: flex;
    align-items: center;
}

.brand-mark {
    width: 38px;
    height: 38px;
    margin-right: .6rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #2E86F5 100%);
    color: #fff;
    font-size: .95rem;
    box-shadow: 0 6px 16px -8px rgba(11, 87, 208, .8);
    flex-shrink: 0;
}

.navbar-dark .navbar-nav .nav-link {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    position: relative;
    margin-left: 28px;
    padding: 30px 0;
    color: rgba(255, 255, 255, .82);
    font-size: .975rem;
    font-weight: 600;
    letter-spacing: -.01em;
    outline: none;
    transition: color .25s var(--ease);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active { color: #fff; }

.navbar-dark .navbar-brand h1 { color: #fff; }

.navbar-dark .navbar-toggler {
    color: #fff !important;
    border-color: rgba(255, 255, 255, .3) !important;
    border-radius: 10px;
    padding: .45rem .7rem;
}

/* Stuck state */
.sticky-top.navbar-dark {
    background: rgba(255, 255, 255, .94) !important;
    backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(10, 27, 51, .35);
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--ink-soft);
}

.sticky-top.navbar-dark .navbar-nav .nav-link:hover,
.sticky-top.navbar-dark .navbar-nav .nav-link.active { color: var(--primary); }

.sticky-top.navbar-dark .navbar-brand h1 { color: var(--ink); }
.sticky-top.navbar-dark .navbar-toggler {
    color: var(--ink) !important;
    border-color: var(--line) !important;
}

.navbar .nav-cta {
    margin-left: 28px;
    padding: .6rem 1.25rem !important;
    border-radius: 10px;
    color: #fff !important;
    background: var(--primary);
}

.navbar .nav-cta:hover {
    background: var(--primary-600);
    color: #fff !important;
}

.navbar .nav-cta::before { display: none !important; }

@media (max-width: 991.98px) {
    .navbar-dark,
    .sticky-top.navbar-dark {
        position: relative;
        background: #fff !important;
        box-shadow: 0 1px 0 var(--line);
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        margin-left: 0;
        padding: 12px 0;
        color: var(--ink-soft);
        border-bottom: 1px solid var(--line-soft);
    }

    .navbar-dark .navbar-nav .nav-link.active { color: var(--primary); }
    .navbar-dark .navbar-brand h1 { color: var(--ink); }
    .navbar-dark .navbar-toggler { color: var(--ink) !important; border-color: var(--line) !important; }

    .navbar .nav-cta {
        margin: 1rem 0;
        text-align: center;
        border-bottom: 0 !important;
    }

    .navbar-collapse { padding-bottom: .5rem; }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        z-index: 999;
    }

    .sticky-top.navbar-dark {
        position: fixed;
        border-bottom-color: transparent;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: 22px;
        left: 50%;
        border-radius: 2px;
        background: currentColor;
        transition: width .3s var(--ease), left .3s var(--ease);
    }

    .sticky-top.navbar-dark .navbar-nav .nav-link::before { bottom: 12px; }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}


/*** Hero ***/
.hero .carousel-item { position: relative; }

.hero .carousel-item img {
    height: clamp(520px, 82vh, 820px);
    object-fit: cover;
    object-position: center;
}

.hero .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    text-align: left;
    background:
        linear-gradient(180deg, rgba(10, 27, 51, .82) 0%, rgba(10, 27, 51, .55) 45%, rgba(10, 27, 51, .88) 100%),
        linear-gradient(90deg, rgba(8, 22, 45, .92) 0%, rgba(8, 22, 45, .35) 65%, rgba(8, 22, 45, .2) 100%);
    z-index: 1;
}

.hero-inner {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-copy { max-width: 720px; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .4rem .9rem .4rem .6rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 100px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, .92);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero-eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ADE80;
    box-shadow: 0 0 0 4px rgba(74, 222, 128, .2);
}

.hero h1,
.hero .hero-title {
    color: #fff;
    font-size: clamp(2.15rem, 1.2rem + 3.4vw, 4rem);
    font-weight: 800 !important;
    letter-spacing: -.035em;
    line-height: 1.08;
    margin-bottom: 1.25rem;
}

.hero .hero-title .accent {
    background: linear-gradient(100deg, #8FBAFF 0%, #C9DDFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    max-width: 560px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, .78) !important;
    font-size: clamp(1rem, .95rem + .3vw, 1.175rem);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .875rem;
}

.hero .btn { padding: .85rem 1.75rem; font-size: 1rem; }

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    margin-top: 2.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.hero-trust div {
    color: rgba(255, 255, 255, .7);
    font-size: .875rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.hero-trust i { color: #4ADE80; }

/* Slim indicators, no chunky arrows */
.hero .carousel-indicators {
    left: auto;
    right: auto;
    bottom: 2.25rem;
    margin: 0 auto;
    max-width: 1140px;
    padding: 0 1.5rem;
    justify-content: flex-start;
    z-index: 2;
}

.hero .carousel-indicators [data-bs-target] {
    width: 40px;
    height: 3px;
    border: 0;
    border-radius: 3px;
    margin: 0 8px 0 0;
    background: rgba(255, 255, 255, .3);
    opacity: 1;
    transition: background-color .3s var(--ease), width .3s var(--ease);
}

.hero .carousel-indicators .active {
    width: 64px;
    background: #fff;
}

.hero .carousel-control-prev,
.hero .carousel-control-next { display: none; }

@media (max-width: 991.98px) {
    .hero .carousel-item img { height: 680px; }
    .hero-trust { gap: 1rem 1.5rem; }

    /* Leave room for the indicators under the content */
    .hero .carousel-caption { padding-bottom: 3rem; }
    .hero .carousel-indicators { bottom: 1rem; }
}

/* Keep the indicators clear of the overlapping stats card */
@media (min-width: 992px) {
    .hero .carousel-indicators { bottom: 7.5rem; }
}


/*** Page header (inner pages) ***/
.page-header {
    position: relative;
    padding: clamp(7rem, 12vw, 11rem) 0 clamp(3.5rem, 7vw, 6rem);
    background:
        linear-gradient(180deg, rgba(8, 22, 45, .92) 0%, rgba(8, 22, 45, .78) 100%),
        url(../img/carousel-1.jpg) center center / cover no-repeat;
}

.page-header::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    opacity: .08;
}

.page-header h1 {
    color: #fff;
    font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
    font-weight: 800 !important;
    letter-spacing: -.03em;
    margin-bottom: .85rem;
}

.page-header p {
    max-width: 620px;
    color: rgba(255, 255, 255, .72) !important;
}

.breadcrumb-line {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1.1rem;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.breadcrumb-line a { color: rgba(255, 255, 255, .75); }
.breadcrumb-line a:hover { color: #fff; }
.breadcrumb-line .sep { color: rgba(255, 255, 255, .35); }

/* Legacy header block from the original template */
.bg-header {
    background:
        linear-gradient(rgba(8, 22, 45, .9), rgba(8, 22, 45, .78)),
        url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}


/*** Section title ***/
.section-title { position: relative; }

.section-title::before,
.section-title::after { display: none !important; }

.section-eyebrow,
.section-title > h5 {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem !important;
    padding: .35rem .85rem;
    border: 1px solid rgba(11, 87, 208, .18);
    border-radius: 100px;
    background: var(--primary-050);
    color: var(--primary) !important;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: .78rem !important;
    font-weight: 700 !important;
    letter-spacing: .09em;
    text-transform: uppercase;
    line-height: 1.4;
}

.section-title > h5::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.section-title h1,
.section-title h2 {
    font-size: clamp(1.85rem, 1.1rem + 2.2vw, 2.7rem);
    font-weight: 800 !important;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.section-title p {
    margin-top: 1rem;
    color: var(--muted);
}

/* Small variant used in the footer */
.section-title.section-title-sm > h3 {
    font-size: 1.05rem;
    font-weight: 700 !important;
    letter-spacing: .02em;
}


/*** Facts / stat cards ***/
@media (min-width: 992px) {
    .facts {
        position: relative;
        margin-top: -80px;
        z-index: 2;
    }
}

.fact-item {
    height: 100%;
    padding: 2rem 1.75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.fact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.fact-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--primary-050);
    color: var(--primary);
    font-size: 1.05rem;
}

.fact-item h2,
.fact-item .fact-number {
    font-size: 2.5rem;
    font-weight: 800 !important;
    letter-spacing: -.04em;
    line-height: 1;
    margin-bottom: .35rem;
    color: var(--ink);
}

.fact-item .fact-number .plus { color: var(--primary); }

.fact-item p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 500;
}

.facts-row {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.facts-row .fact-item {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    border-right: 1px solid var(--line);
}

.facts-row > div:last-child .fact-item { border-right: 0; }

@media (max-width: 767.98px) {
    .facts-row .fact-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .facts-row > div:last-child .fact-item { border-bottom: 0; }
}


/*** Cards & feature blocks ***/
.card-soft {
    height: 100%;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.card-soft:hover {
    transform: translateY(-4px);
    border-color: rgba(11, 87, 208, .28);
    box-shadow: var(--shadow-md);
}

.icon-tile {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--primary-050);
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

.card-soft:hover .icon-tile,
.service-item:hover .icon-tile {
    background: var(--primary);
    color: #fff;
}

.feature-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 100%;
}

.feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Checklist */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: .85rem;
    font-weight: 600;
    color: var(--ink-soft);
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1rem;
}

.check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .625rem;
    border-radius: 50%;
    background: var(--primary-050);
    color: var(--primary);
}


/*** Service ***/
.service-item {
    position: relative;
    height: 100%;
    padding: 2.25rem 2rem;
    background: #fff !important;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: left !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.service-item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}

.service-item:hover {
    transform: translateY(-4px);
    border-color: rgba(11, 87, 208, .28);
    box-shadow: var(--shadow-md);
}

.service-item:hover::before { transform: scaleX(1); }

.service-item .service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-050);
    border-radius: 14px;
    transform: none;
    transition: background-color .3s var(--ease);
}

.service-item .service-icon i {
    transform: none;
    color: var(--primary) !important;
    font-size: 1.15rem;
    transition: color .3s var(--ease);
}

.service-item:hover .service-icon { background: var(--primary); }
.service-item:hover .service-icon i { color: #fff !important; }

.service-item h4 {
    font-size: 1.2rem;
    margin-bottom: .65rem !important;
}

.service-item p {
    color: var(--muted);
    font-size: .975rem;
    margin-bottom: 1.25rem !important;
}

/* Neutralise the old floating round button */
.service-item a.btn {
    position: static;
    width: auto;
    margin: 0;
    padding: 0;
    opacity: 1;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--primary) !important;
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: auto;
}

.service-item a.btn i { transition: transform .25s var(--ease); }
.service-item:hover a.btn i { transform: translateX(4px); }

/* Highlighted "call us" tile inside the service grid */
.service-cta {
    height: 100%;
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    background: linear-gradient(150deg, var(--primary) 0%, #08337E 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.service-cta h3, .service-cta h2 { color: #fff; }
.service-cta p { color: rgba(255, 255, 255, .78); }


/*** Pricing ***/
.price-item {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.price-item:hover {
    border-color: rgba(11, 87, 208, .28);
    box-shadow: var(--shadow-md);
}

.price-item.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

@media (min-width: 992px) {
    .price-item.featured { transform: scale(1.035); }
    .price-item.featured:hover { transform: scale(1.035) translateY(-4px); }
}

.price-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: .3rem 1rem;
    border-radius: 100px;
    background: var(--primary);
    color: #fff;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: nowrap;
}

.price-item .plan-name {
    font-size: 1.15rem;
    font-weight: 700 !important;
    color: var(--ink);
    margin-bottom: .25rem;
}

.price-item .plan-for {
    display: block;
    color: var(--muted);
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: .2rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}

.price-amount .currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    align-self: flex-start;
    margin-top: .45rem;
}

.price-amount .value {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--ink);
}

.price-amount .period {
    font-size: .95rem;
    color: var(--muted);
    font-weight: 500;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .45rem 0;
    font-size: .975rem;
    color: var(--ink-soft);
}

.price-features li i {
    font-size: .8rem;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.price-features li .fa-check {
    background: rgba(14, 147, 132, .12);
    color: var(--secondary);
}

.price-features li.off { color: var(--muted); }

.price-features li .fa-times {
    background: var(--line-soft);
    color: #98A6B8;
}


/*** Testimonial ***/
.testimonial-carousel .testimonial-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff !important;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #fff !important;
    border-color: rgba(11, 87, 208, .3);
    box-shadow: var(--shadow-md);
}

.testimonial-item .quote-mark {
    font-size: 1.75rem;
    line-height: 1;
    color: var(--primary);
    opacity: .25;
    margin-bottom: 1rem;
}

.testimonial-item .quote-body {
    padding: 0 !important;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-item .author {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

.testimonial-item .avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-050);
    color: var(--primary);
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: -.01em;
}

.testimonial-item .author h4 {
    font-size: 1rem;
    margin: 0 0 .1rem;
    color: var(--ink) !important;
}

.testimonial-item .author small {
    color: var(--muted);
    font-size: .82rem;
    letter-spacing: .04em;
}

.testimonial-carousel .owl-dots {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 4px;
    width: 8px;
    height: 8px;
    background: var(--line);
    border-radius: 100px;
    transition: width .3s var(--ease), background-color .3s var(--ease);
}

.testimonial-carousel .owl-dot.active {
    width: 28px;
    background: var(--primary);
}

.testimonial-carousel .owl-stage { display: flex; }
.testimonial-carousel .owl-item { display: flex; }
.testimonial-carousel .owl-item > div { width: 100%; }


/*** Team & blog (kept for secondary pages) ***/
.team-item,
.blog-item {
    background: #fff !important;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.team-item:hover,
.blog-item:hover {
    transform: translateY(-4px);
    border-color: rgba(11, 87, 208, .28);
    box-shadow: var(--shadow-md);
}

.team-social {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .3s var(--ease);
}

.team-social a.btn {
    position: relative;
    margin: 0 4px;
    margin-top: 40px;
    opacity: 0;
    transition: .3s var(--ease);
}

.team-item:hover .team-social { background: rgba(10, 27, 51, .72); }

.team-item:hover .team-social a.btn { opacity: 1; margin-top: 0; }
.team-item:hover .team-social a.btn:nth-child(2) { transition-delay: .05s; }
.team-item:hover .team-social a.btn:nth-child(3) { transition-delay: .1s; }
.team-item:hover .team-social a.btn:nth-child(4) { transition-delay: .15s; }

.team-item .team-img img,
.blog-item .blog-img img { transition: transform .5s var(--ease); }

.team-item:hover .team-img img,
.blog-item:hover .blog-img img { transform: scale(1.06); }


/*** Contact ***/
.contact-card {
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(11, 87, 208, .28);
    box-shadow: var(--shadow-md);
}

.contact-card h5 {
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted) !important;
    margin-bottom: .35rem !important;
    font-weight: 700 !important;
}

.contact-card a,
.contact-card .value {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.01em;
    line-height: 1.5;
    word-break: break-word;
}

.contact-card a:hover { color: var(--primary); }

.contact-card .value-sm {
    font-size: .95rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.form-control,
.form-select {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .8rem 1rem;
    font-size: 1rem;
    color: var(--ink);
    background-color: #fff;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.form-control::placeholder { color: #9AA7B8; }

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(11, 87, 208, .12);
    background-color: #fff;
}

.form-label {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: .4rem;
}

/* Office details panel (contact page) */
.office-panel {
    background: var(--light);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .5rem 1.75rem;
}

.office-line {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
}

.office-line:last-child { border-bottom: 0; }

.office-line h5 {
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted) !important;
    margin-bottom: .35rem !important;
    font-weight: 700 !important;
}

.office-line .value,
.office-line a {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.01em;
    line-height: 1.5;
}

.office-line a:hover { color: var(--primary); }

.office-line .icon-tile {
    background: #fff;
    border: 1px solid var(--line);
}


/*** CTA band ***/
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, #0A1B33 0%, #0B3E8F 55%, #0B57D0 100%);
    color: #fff;
}

.cta-band::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 65%);
    pointer-events: none;
}

.cta-band h2 {
    color: #fff;
    font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.35rem);
    margin-bottom: .75rem;
}

.cta-band p {
    color: rgba(255, 255, 255, .76);
    margin-bottom: 0;
    max-width: 560px;
}

.cta-band .btn-light {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}

.cta-band .btn-light:hover {
    background: #EDF3FE;
    border-color: #EDF3FE;
    color: var(--primary-600);
}


/*** Footer ***/
.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .68);
    padding-top: clamp(3.5rem, 6vw, 5rem);
}

.footer h3,
.footer h4,
.footer .section-title h3 {
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700 !important;
    letter-spacing: .02em;
    margin-bottom: 1.25rem !important;
}

.footer .section-title::before,
.footer .section-title::after { display: none !important; }

.footer p,
.footer a,
.footer .text-light { color: rgba(255, 255, 255, .68) !important; }

.footer a { transition: color .2s var(--ease), padding-left .2s var(--ease); }
.footer a:hover { color: #fff !important; }

.footer .brand-line h1 {
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.footer .footer-blurb {
    max-width: 340px;
    font-size: .95rem;
    line-height: 1.7;
}

.footer .link-animated a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem 0;
    font-size: .95rem;
}

.footer .link-animated a:hover { padding-left: 6px; }
.footer .link-animated i { color: var(--primary); font-size: .7rem; }

.footer .contact-line {
    display: flex;
    gap: .75rem;
    margin-bottom: .85rem;
    font-size: .95rem;
    line-height: 1.6;
}

.footer .contact-line i {
    color: #6FA0F0;
    margin-top: .35rem;
    flex-shrink: 0;
}

.footer .social a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .75) !important;
    margin-right: .5rem;
    transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.footer .social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff !important;
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: var(--ink);
}

.footer-bottom p,
.footer-bottom a {
    color: rgba(255, 255, 255, .55) !important;
    font-size: .875rem;
    margin: 0;
}

.footer-bottom a:hover { color: #fff !important; }

/* Legacy footer support for the unused template pages */
.footer-about { margin-bottom: 0 !important; }


/*** Misc ***/
.back-to-top {
    position: fixed;
    display: none;
    right: 28px;
    bottom: 28px;
    z-index: 99;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.link-animated a { transition: .25s var(--ease); }
.link-animated a:hover { padding-left: 8px; }

.vendor-carousel img {
    filter: grayscale(1);
    opacity: .55;
    transition: filter .3s var(--ease), opacity .3s var(--ease);
}

.vendor-carousel img:hover {
    filter: grayscale(0);
    opacity: 1;
}


/*** Motion ***/
.animated { animation-duration: .8s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .wow,
    .animated {
        visibility: visible !important;
        opacity: 1 !important;
        animation: none !important;
    }
}
