/*
Theme Name: Hello Elementor Child
Theme URI: https://ebmechanical.com.au
Description: Child theme of Hello Elementor for EB Mechanical.
Author: EB Mechanical
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* =============================================================
   EB Mechanical — Mechanical Repairs & Servicing, Redlands & Bayside
   Custom theme — loaded after Bootstrap 5.3 to override.
   Layout uses Bootstrap rows/cols; this file owns visual style.
   ============================================================= */

/* ============== FONTS (local, from /fonts) ============== */
@font-face {
    font-family: "Helvetica";
    src: url("fonts/helvetica.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Helvetica";
    src: url("fonts/helvetica-bold-heading.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ============== TOKENS ============== */
:root {
    /* Brand */
    --primary-color: #0a2540;
    --primary-hover: #081d34;
    --secondary-color: #1d4ed8;
    --ternary-color: #03a9f4;
    --dark-color: #060a14;

    /* Text */
    --text-color: #1c1e22;
    --muted-color: #5b6470;

    /* Surfaces */
    --border-new-color: #e7e4e1;
    --light-color: #f6f5f2;
    --white-color: #ffffff;
    --soft-bg: #efeee9;

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Shadow */
    --shadow-sm: 0 1px 2px rgba(21, 24, 29, 0.06), 0 1px 1px rgba(21, 24, 29, 0.04);
    --shadow-md: 0 8px 24px rgba(21, 24, 29, 0.08), 0 2px 6px rgba(21, 24, 29, 0.04);
    --shadow-lg: 0 24px 60px rgba(21, 24, 29, 0.14), 0 8px 16px rgba(21, 24, 29, 0.06);

    /* Typography */
    --content-font: "Helvetica", "Helvetica Neue", Arial, sans-serif;
    --heading-font: "Helvetica", "Helvetica Neue", Arial, sans-serif;
}

/* ============== BASE ============== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--content-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-color);
    background: var(--white-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
    cursor: pointer;
}
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

a {
    color: var(--ternary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--secondary-color);
}

::selection {
    background: var(--secondary-color);
    color: var(--white-color);
}

/* All headings — use heading-font, weight 500 */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--primary-color);
    margin: 0 0 0.5rem;
}

/* ============== CONTAINER ============== */
.container-mid {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============== SECTION + MAIN HEADING WRAPPER ============== */
.section {
    padding: 110px 0;
    position: relative;
}

/* Main heading wrapper — span (sub-head) + h2 + p */
.main-heading {
    margin-bottom: 50px;
}
.main-heading .sub-head {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ternary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(29, 78, 216, 0.12));
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.main-heading .sub-head.light {
    color: var(--white-color);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
}
.main-heading h2 {
    font-weight: 500;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--dark-color);
    margin: 0 0 14px;
}
.main-heading h2.light {
    color: var(--white-color);
}
.main-heading p {
    color: var(--muted-color);
    font-size: 17px;
    margin: 0;
    line-height: 1.65;
}
.main-heading p.light {
    color: rgba(255, 255, 255, 0.85);
}

/* Centered + narrow variant per spec: text-center mx-auto heading-narrow */
.main-heading.heading-narrow {
    max-width: 900px;
}
.main-heading.text-center .sub-head {
    /* allows centered pill */
}
.main-heading.text-center p.mx-auto {
    max-width: 900px;
}

/* Sub-head outside of main-heading (legacy/general) */
.sub-head:not(.main-heading .sub-head) {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ternary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(29, 78, 216, 0.12));
    padding: 8px 16px;
    border-radius: 999px;
}

/* Gradient text — used on dark hero background */
.grad-text {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--ternary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ============== THEME BUTTON ============== */
.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 25px;
    min-width: 165px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    background: transparent;
    color: var(--text-color);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition:
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-new-color 0.25s ease;
}
.theme-btn-sm {
    padding: 9px 18px;
    min-width: 0;
    font-size: 14px;
}
.theme-btn-lg {
    padding: 16px 30px;
    font-size: 16px;
}
.theme-btn-block {
    width: 100%;
}

.primary-btn {
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    box-shadow: 0 12px 30px -10px rgba(37, 99, 235, 0.55);
}
.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px -12px rgba(29, 78, 216, 0.7);
    color: var(--white-color);
}

.ghost-btn {
    background: rgba(255, 255, 255, 0.08);
    border-new-color: rgba(255, 255, 255, 0.25);
    color: var(--white-color);
    backdrop-filter: blur(8px);
}
.ghost-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white-color);
    transform: translateY(-2px);
}

.dark-btn {
    background: var(--primary-color);
    color: var(--white-color);
}
.dark-btn:hover {
    background: var(--primary-hover);
    color: var(--white-color);
    transform: translateY(-2px);
}

.white-btn {
    background: var(--white-color);
    color: var(--primary-color);
}
.white-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
}

.outline-white-btn {
    background: transparent;
    color: var(--white-color);
    border-new-color: rgba(255, 255, 255, 0.55);
}
.outline-white-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white-color);
}

/* ============== HEADER ============== */
.site-header {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 50;
    padding: 0 0 18px;
    transition:
        background 0.35s ease,
        box-shadow 0.35s ease,
        padding 0.35s ease;
}

/* Top utility bar (location / phone / socials) */
.top-bar {
    padding: 12px 0 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition:
        max-height 0.35s ease,
        opacity 0.3s ease,
        padding 0.35s ease,
        margin 0.35s ease;
    max-height: 60px;
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.top-bar-info {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}
.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.25s ease;
}
.top-bar-item svg {
    color: var(--secondary-color);
}
.top-bar-item:hover {
    color: var(--white-color);
}
.top-bar-social {
    display: flex;
    align-items: center;
    gap: 10px;
}
.top-bar-soc {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white-color);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}
.top-bar-soc:hover {
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    border-new-color: transparent;
    transform: translateY(-2px);
    color: var(--white-color);
}

/* Scrolled state: collapse the top bar, turn text dark on the white header */
.site-header.scrolled .top-bar {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    opacity: 0;
    border-new-color: transparent;
}
.site-header.scrolled {
    padding-bottom: 12px;
}

/* Floating glass pill that holds the whole nav */
.nav-wrap {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 12px 16px 12px 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition:
        background 0.35s ease,
        border-new-color 0.35s ease,
        box-shadow 0.35s ease;
}
/* Once scrolled, the pill turns to a solid white glass so dark text reads */
.site-header.scrolled .nav-wrap {
    background: rgba(255, 255, 255, 0.92);
    border-new-color: rgba(21, 24, 29, 0.06);
    box-shadow:
        0 1px 0 rgba(21, 24, 29, 0.05),
        0 12px 34px rgba(21, 24, 29, 0.12);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    text-decoration: none;
}
.brand:hover {
    color: var(--primary-color);
}
.brand-logo {
    display: block;
    height: 52px;
    width: auto;
    flex-shrink: 0;
    transition: height 0.3s ease;
}
/* Slightly larger over the transparent hero, tightens once scrolled */
.site-header.scrolled .brand-logo {
    height: 46px;
}

.primary-nav {
    margin-left: auto;
}
.primary-nav ul {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-nav a {
    display: inline-block;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    border-radius: 999px;
}
.primary-nav a:hover {
    color: var(--primary-color);
    background: var(--light-color);
}
.site-header:not(.scrolled) .primary-nav a {
    color: rgba(255, 255, 255, 0.9);
}
.site-header:not(.scrolled) .primary-nav a:hover {
    color: var(--white-color);
    background: rgba(255, 255, 255, 0.12);
}

/* -------- Dropdown submenus (desktop) -------- */
.primary-nav li {
    position: relative;
}
.primary-nav .menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.primary-nav .menu-item-has-children > a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.18s ease;
}
.primary-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    background: var(--white-color);
    border: 1px solid var(--border-new-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s;
    z-index: 100;
    top: 50px;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.primary-nav li:hover > a::after,
.primary-nav li:focus-within > a::after {
    transform: translateY(1px) rotate(-135deg);
}
.primary-nav .sub-menu a {
    display: block;
    white-space: nowrap;
    color: var(--text-color);
}
.primary-nav .sub-menu a:hover {
    color: var(--primary-color);
    background: var(--light-color);
}
/* Keep submenu links dark even on the transparent (non-scrolled) header. */
.site-header:not(.scrolled) .primary-nav .sub-menu a {
    color: var(--text-color);
}
/* Injected mobile caret toggle — hidden on desktop (hover handles it there). */
.submenu-toggle {
    display: none;
    padding: 0;
    background: transparent;
    border: 0;
}
.submenu-caret {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
}
.menu-item-has-children.open > .submenu-toggle .submenu-caret {
    transform: translateY(2px) rotate(-135deg);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}
.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
}
.site-header:not(.scrolled) .phone-link {
    color: var(--white-color);
}
.phone-link:hover {
    color: var(--ternary-color);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--white-color);
    box-shadow: var(--shadow-sm);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-left: 8px;
}
.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}
.site-header:not(.scrolled) .nav-toggle {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    box-shadow: none;
}
.site-header:not(.scrolled) .nav-toggle span {
    background: var(--white-color);
}
.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============== HERO ============== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 200px 0 90px;
    color: var(--white-color);
    background: var(--primary-color);
    overflow: hidden;
}
.hero:after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    inset: 0;
    background: radial-gradient(60% 50% at 80% 10%, rgba(56, 189, 248, 0.35), transparent 70%), radial-gradient(60% 60% at 10% 100%, rgba(37, 99, 235, 0.55), transparent 70%), linear-gradient(180deg, rgba(10, 12, 15, 0.6) 0%, rgba(10, 12, 15, 0.85) 60%, rgba(10, 12, 15, 0.98) 100%);
}
.hero:before {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, black, transparent 80%);
    mask-image: radial-gradient(70% 60% at 50% 40%, black, transparent 80%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, black, transparent 80%);
    mask-image: radial-gradient(70% 60% at 50% 40%, black, transparent 80%);
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 22px;
}
.eyebrow .dot {
    width: 8px;
    height: 8px;
    background: #3ddc84;
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.25);
    animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
    50% {
        box-shadow: 0 0 0 8px rgba(61, 220, 132, 0);
    }
}

.hero-title {
    font-weight: 500;
    font-size: clamp(38px, 6vw, 60px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    margin: 0 0 22px;
    color: var(--white-color);
}
.hero-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 28px;
    margin-top: 0;
    max-width: 640px;
}
.hero-stats .stat {
    padding: 0;
}
.stat-num {
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 500;
    letter-spacing: -0.02em;

    line-height: 1;
}
.stat-label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-color);
    margin-top: 8px;
}

/* Glass card */
.glass {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-lg);
    box-shadow:
        0 30px 80px -20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ============== WELCOME ============== */
.welcome {
    background: var(--white-color);
}

/* Stacked gradient info cards beside the welcome image */
.welcome-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}
.welcome-cards .hero-feature-card {
    flex: 1 1 0;
}

.welcome-bottom {
    margin-top: 56px;
    text-align: center;
}

.welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Right column visual: single hero image with decorative orbs + floating feature card */
.welcome-visual {
    position: relative;
    aspect-ratio: 5 / 6;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
/* On the two-column layout, match the height of the stacked cards beside it */
@media (min-width: 992px) {
    .welcome-visual {
        aspect-ratio: auto;
        height: 100%;
        max-width: none;
    }
}

.welcome-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(28px);
    pointer-events: none;
    z-index: 0;
}
.welcome-orb-tl {
    top: -40px;
    right: -50px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.32), transparent 70%);
}
.welcome-orb-br {
    bottom: -30px;
    left: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.28), transparent 70%);
}

.welcome-image {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 32px 80px -20px rgba(21, 24, 29, 0.35),
        0 8px 16px rgba(21, 24, 29, 0.08);
    z-index: 1;
}
.welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.welcome-image:hover img {
    transform: scale(1.06);
}

/* Floating glassy feature card overlapping the image */
.welcome-feature {
    position: absolute;
    bottom: 36px;
    left: -28px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 22px 50px -16px rgba(21, 24, 29, 0.3);
    max-width: 280px;
    z-index: 2;
}
.welcome-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 10px 20px -8px rgba(29, 78, 216, 0.55);
}
.welcome-feature-text strong {
    display: block;
    font-weight: 500;
    font-size: 15px;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 2px;
}
.welcome-feature-text span {
    font-size: 13px;
    color: var(--muted-color);
}

@media (max-width: 575.98px) {
    .welcome-visual {
        max-width: 100%;
        aspect-ratio: 4 / 5;
    }
    .welcome-feature {
        left: 16px;
        right: 16px;
        max-width: none;
    }
}

/* ============== HERO FEATURE GRID ============== */
.hero-features {
    position: relative;
    z-index: 1;
    margin-top: 56px;
}
.hero-feature-card {
    height: 100%;
    padding: 38px 34px;
    border-radius: var(--radius-lg);
    background: #f9f9f9;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-lg);
}
.hero-feature-card h2 {
    font-size: 22px;
    font-weight: 500;
    color: var(--dark-color);
    margin: 0 0 12px;
}
.hero-feature-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted-color);
    margin: 0;
}
.hfc-icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    color: var(--white-color);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--ternary-color) 100%);
    box-shadow: 0 10px 22px -8px rgba(29, 78, 216, 0.4);
}

@media (max-width: 767.98px) {
    .hero-features {
        margin-top: 36px;
    }
}

/* ============== STATS BAND ============== */
.stats-band {
    position: relative;
    background: radial-gradient(50% 70% at 15% 0%, rgba(8, 145, 178, 0.08), transparent 70%), radial-gradient(50% 70% at 90% 100%, rgba(29, 78, 216, 0.07), transparent 70%), var(--light-color);
    padding: 100px 0 90px;
    overflow: hidden;
}
.stat-item {
    position: relative;
    text-align: center;
    height: 100%;
    padding: 34px 20px;
    background: var(--white-color);
    border: 1px solid var(--border-new-color);
    overflow: hidden;
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-new-color 0.4s ease;
}
.stat-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--ternary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-new-color: transparent;
}
.stat-item:hover::before {
    transform: scaleX(1);
}
.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--ternary-color) 100%);
    display: grid;
    place-items: center;
    color: var(--white-color);
    box-shadow: 0 14px 30px -10px rgba(29, 78, 216, 0.45);
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease;
}
.stat-item:hover .stat-icon {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 20px 40px -12px rgba(29, 78, 216, 0.6);
}
.stats-band .stat-label {
    margin-top: 8px;
}

/* ============== SERVICES (icon + title slider) ============== */
.services {
    position: relative;
    background: var(--light-color);
    overflow: hidden;
}

/* Decorative faint gear watermarks */
.services-gear {
    position: absolute;
    color: var(--ternary-color);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}
.services-gear svg {
    width: 100%;
    height: 100%;
}
.services-gear-tr {
    top: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
}
.services-gear-bl {
    bottom: -70px;
    left: -70px;
    width: 220px;
    height: 220px;
}

.main-heading .sub-head-slash {
    background: none;
    padding: 0;
    color: var(--ternary-color);
    font-weight: 500;
}
.services-title {
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Bento grid: one large featured service + four supporting cards */
.services-bento {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 24px;
}

.services-feature {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-md);
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
}
.services-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px -20px rgba(21, 24, 29, 0.4);
    color: inherit;
}
.services-feature-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.services-feature:hover .services-feature-bg {
    transform: scale(1.08);
}
.services-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.94) 0%, rgba(10, 37, 64, 0.6) 45%, rgba(10, 37, 64, 0.15) 75%, transparent 100%);
    pointer-events: none;
}
.services-feature-icon {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 1;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: var(--white-color);
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 12px 26px -10px rgba(29, 78, 216, 0.55);
}
.services-feature-content {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    padding: 28px 30px 30px;
    color: var(--white-color);
}
.services-feature-content h3 {
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.25;
    margin: 0 0 10px;
    max-width: 340px;
}
.services-feature-content p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 20px;
    max-width: 360px;
}
.services-feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white-color);
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    padding: 11px 20px;
    border-radius: 999px;
    box-shadow: 0 10px 22px -8px rgba(29, 78, 216, 0.55);
    transition:
        gap 0.3s ease,
        box-shadow 0.3s ease;
}
.services-feature:hover .services-feature-link {
    gap: 12px;
    box-shadow: 0 14px 28px -8px rgba(29, 78, 216, 0.7);
}

.services-mini {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px 22px;
    background: var(--white-color);
    border: 1px solid var(--border-new-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-new-color 0.4s ease;
}
.services-mini::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.services-mini:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-new-color: transparent;
    color: inherit;
}
.services-mini:hover::before {
    transform: scaleX(1);
}
.services-mini-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: var(--white-color);
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 10px 20px -8px rgba(29, 78, 216, 0.45);
    margin-bottom: 16px;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.services-mini:hover .services-mini-icon {
    transform: scale(1.08) rotate(-4deg);
}
.services-mini h3 {
    font-size: 14.5px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.3;
    color: var(--primary-color);
    margin: 0;
}
.services-mini-link {
    margin-top: auto;
    padding-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-color);
}
.services-mini:hover .services-mini-link {
    color: var(--ternary-color);
}
.services-mini:hover .services-mini-link svg {
    transform: translateX(2px);
}
.services-mini-link svg {
    transition: transform 0.3s ease;
}

.services-more {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 44px;
}

@media (max-width: 991.98px) {
    .services-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 260px repeat(2, 200px);
    }
    .services-feature {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }
}

@media (max-width: 575.98px) {
    .services-bento {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }
    .services-feature {
        grid-column: auto;
        grid-row: auto;
        height: 320px;
    }
    .services-mini {
        height: auto;
    }
}

/* Icon + title slider (used on the main Services section) */
.services-slider-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 18px;
}
.services-slider {
    display: flex;
    flex: 1 1 0%;
    min-width: 0;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 4px 14px;
    margin: 0 -4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.services-slider::-webkit-scrollbar {
    display: none;
}

.services-card {
    flex: 0 0 auto;
    width: clamp(200px, 22vw, 260px);
    scroll-snap-align: start;
    position: relative;
    display: block;
    padding: 30px 26px;
    background: var(--white-color);
    border: 1px solid var(--border-new-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-new-color 0.4s ease;
}
.services-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.services-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-new-color: transparent;
    color: inherit;
}
.services-card:hover::before {
    transform: scaleX(1);
}
.services-card-stripes {
    position: absolute;
    top: 0;
    right: 0;
    width: 84px;
    height: 84px;
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    background: repeating-linear-gradient(135deg, rgba(29, 78, 216, 0.16) 0 2px, transparent 2px 9px);
    pointer-events: none;
}
.services-card-icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: var(--white-color);
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 12px 26px -10px rgba(29, 78, 216, 0.45);
    margin-bottom: 26px;
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease;
}
.services-card:hover .services-card-icon {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 18px 34px -10px rgba(29, 78, 216, 0.6);
}
.services-card h3 {
    position: relative;
    z-index: 1;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.3;
    color: var(--dark-color);
    margin: 0 0 22px;
    min-height: 44px;
}
.services-card-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-color);
}
.services-card:hover .services-card-link {
    color: var(--ternary-color);
}
.services-card:hover .services-card-link svg {
    transform: translateX(2px);
}
.services-card-link svg {
    transition: transform 0.3s ease;
}

.services-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: var(--white-color);
    box-shadow: 0 12px 26px -10px rgba(29, 78, 216, 0.5);
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.services-arrow:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 32px -10px rgba(29, 78, 216, 0.65);
}

@media (max-width: 767.98px) {
    .services-arrow {
        display: none;
    }
}

/* ============== WORKSHOP GALLERY ============== */
.gallery {
    background: var(--light-color);
}

/* Image-overlay service card — entire card is clickable */
.service-card {
    position: relative;
    display: block;
    height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: inherit;
    background: var(--primary-color);
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px -20px rgba(21, 24, 29, 0.4);
}

/* Background image fills entire card */
.service-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-bg {
    transform: scale(1.08);
}

/* Black gradient (bottom-to-top) for text legibility */
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    pointer-events: none;
}

/* Bottom-anchored content panel */
.service-content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 22px 20px 22px;
    z-index: 1;
    color: var(--white-color);
}

/* Glassy icon badge */
.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    color: var(--white-color);
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    transition:
        background 0.4s ease,
        border-new-color 0.4s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    border-new-color: transparent;
    transform: scale(1.08);
}

.service-card h3 {
    color: var(--white-color);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 14px;
    /* Clamp to 2 lines for consistent card heights */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white-color);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: gap 0.3s ease;
}
.service-link svg {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-link {
    gap: 12px;
}
.service-card:hover .service-link svg {
    transform: translateX(2px);
}

/* ============== WHAT WE DO (tabbed showcase) ============== */
.what-we-do {
    border-top: 1px solid var(--border-new-color);
}

.wd-tabs {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
}
.wd-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    text-align: left;
    padding: 18px 22px;
    border-radius: 999px;
    border: 1px solid var(--border-new-color);
    background: var(--white-color);
    color: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        background 0.35s ease,
        border-new-color 0.35s ease,
        color 0.35s ease;
}
.wd-tab-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--ternary-color);
    background: rgba(37, 99, 235, 0.1);
    transition:
        background 0.35s ease,
        color 0.35s ease;
}
.wd-tab-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1 1 auto;
    min-width: 0;
}
.wd-tab-text strong {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
}
.wd-tab-text small {
    font-size: 13px;
    color: var(--muted-color);
    transition: color 0.35s ease;
}
.wd-tab-arrow {
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-6px);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}
.wd-tab:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.wd-tab.active {
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    border-new-color: transparent;
    color: var(--white-color);
    box-shadow: 0 16px 34px -12px rgba(37, 99, 235, 0.6);
}
.wd-tab.active .wd-tab-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
}
.wd-tab.active .wd-tab-text small {
    color: rgba(255, 255, 255, 0.85);
}
.wd-tab.active .wd-tab-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Right-side split image collage (two images per tab) */
.wd-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    align-items: stretch;
}
.wd-split figure {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 28px 60px -22px rgba(21, 24, 29, 0.4);
}
.wd-split img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.wd-split-main {
    aspect-ratio: 3 / 4;
}
.wd-split-side {
    aspect-ratio: 3 / 4;
    margin-top: 40px;
}

/* Fade transition when Bootstrap swaps panes */
.wd-content .tab-pane {
    transition: opacity 0.4s ease;
}

@media (max-width: 575.98px) {
    .wd-tab {
        padding: 14px 18px;
        gap: 12px;
    }
    .wd-tab-text strong {
        font-size: 15px;
    }
    .wd-split {
        gap: 12px;
    }
    .wd-split-side {
        margin-top: 24px;
    }
}

/* ============== HOW IT WORKS ============== */

/* ---- Alternating left/right timeline ---- */
.steps-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 60px;
}
/* Vertical spine down the centre (desktop) */
@media (min-width: 768px) {
    .steps-timeline::before {
        content: "";
        position: absolute;
        top: 40px;
        bottom: 40px;
        left: 50%;
        width: 2px;
        transform: translateX(-50%);
        background-image: linear-gradient(180deg, var(--light-color) 50%, transparent 0), linear-gradient(180deg, rgba(37, 99, 235, 0.4), rgba(29, 78, 216, 0.4));
        background-size:
            2px 8px,
            100% 100%;
        background-repeat: repeat-y, no-repeat;
        pointer-events: none;
    }
}

.step-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    /* 64px marker + 32px clearance on either side of the centre line */
    gap: 128px;
}
/* Alternate: even rows flip image to the right */
.step-row:nth-child(even) .step-figure {
    order: 2;
}
.step-row:nth-child(even) .step-info {
    order: 1;
    text-align: right;
}

/* ---- Image ---- */
.step-figure {
    position: relative;
}
.step-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 28px 60px -22px rgba(21, 24, 29, 0.42);
    aspect-ratio: 4 / 3;
}
.step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.step-row:hover .step-img img {
    transform: scale(1.06);
}
.step-num {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 3;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    background: var(--white-color);
    box-shadow: 0 8px 22px -12px rgba(15, 23, 42, 0.45);
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1;
    transform: translate(-50%, -50%);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.step-row:hover .step-num {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 12px 28px -12px rgba(29, 78, 216, 0.45);
}
/* ---- Text block ---- */
.step-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ternary-color);
    margin-bottom: 12px;
    padding: 5px 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(29, 78, 216, 0.12));
    border-radius: 999px;
}
.step-tag b {
    font-weight: 700;
    letter-spacing: 0.08em;
}
.step-info h3 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--primary-color);
    margin: 0 0 12px;
}
.step-info p {
    color: var(--muted-color);
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
}

/* Stacked single-column layout on mobile/tablet */
@media (max-width: 767.98px) {
    .steps-timeline {
        gap: 44px;
    }
    .step-row {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }
    .step-row:nth-child(even) .step-figure {
        order: 0;
    }
    .step-row:nth-child(even) .step-info {
        order: 0;
        text-align: center;
    }
    .step-num {
        position: relative;
        top: auto;
        left: auto;
        justify-self: center;
        width: 56px;
        height: 56px;
        font-size: 18px;
        transform: none;
    }
    .step-row:hover .step-num {
        transform: scale(1.06);
    }
    .step-info {
        padding-top: 8px;
    }
}

/* ============== BLOG / NEWS ============== */
.blog {
    background: var(--white-color);
}
.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white-color);
    border: 1px solid var(--border-new-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-new-color 0.4s ease;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-new-color: transparent;
}
.blog-media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}
.blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-card:hover .blog-media img {
    transform: scale(1.06);
}
.blog-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white-color);
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    padding: 6px 12px;
    border-radius: 999px;
    box-shadow: 0 8px 18px -8px rgba(29, 78, 216, 0.55);
}
.blog-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 24px 24px 26px;
}
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 12px;
}
.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--muted-color);
}
.blog-meta svg {
    color: var(--ternary-color);
}
.blog-body h3 {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 10px;
}
.blog-body h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.25s ease;
}
.blog-card:hover .blog-body h3 a {
    color: var(--ternary-color);
}
.blog-body p {
    font-size: 15px;
    color: var(--muted-color);
    line-height: 1.6;
    margin: 0 0 18px;
}
.blog-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ternary-color);
    text-decoration: none;
}
.blog-link svg {
    transition: transform 0.3s ease;
}
.blog-card:hover .blog-link svg {
    transform: translateX(3px);
}

/* ============== CTA BANNER ============== */
.cta-banner {
    position: relative;
    padding: 90px 0;
    color: var(--white-color);
    background-color: var(--primary-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    background-attachment: fixed;
    z-index: 1;
}
.cta-banner::after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: radial-gradient(60% 50% at 80% 10%, rgba(56, 189, 248, 0.35), transparent 70%), radial-gradient(60% 60% at 10% 100%, rgba(37, 99, 235, 0.55), transparent 70%), linear-gradient(180deg, rgba(10, 12, 15, 0.6) 0%, rgba(10, 12, 15, 0.85) 60%, rgba(10, 12, 15, 0.98) 100%);
}
.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, black, transparent 80%);
    mask-image: radial-gradient(70% 60% at 50% 50%, black, transparent 80%);
}

.cta-inner {
    position: relative;
}
.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* ============== FAQ (Bootstrap 5 accordion) ============== */
.faq {
    background: var(--light-color);
}

.faq-accordion {
    /* Override Bootstrap accordion CSS variables */
    --bs-accordion-color: var(--primary-color);
    --bs-accordion-bg: var(--white-color);
    --bs-accordion-border-new-color: var(--border-new-color);
    --bs-accordion-border-width: 1px;
    --bs-accordion-border-radius: var(--radius-md);
    --bs-accordion-inner-border-radius: var(--radius-md);
    --bs-accordion-btn-padding-x: 28px;
    --bs-accordion-btn-padding-y: 22px;
    --bs-accordion-btn-color: var(--primary-color);
    --bs-accordion-btn-bg: var(--white-color);
    --bs-accordion-btn-icon-width: 22px;
    --bs-accordion-btn-icon-transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    --bs-accordion-btn-icon-transform: rotate(0deg);
    --bs-accordion-btn-focus-border-new-color: var(--secondary-color);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
    --bs-accordion-active-color: var(--primary-color);
    --bs-accordion-active-bg: var(--white-color);
    --bs-accordion-body-padding-x: 28px;
    --bs-accordion-body-padding-y: 0;

    /* Custom plus / minus icons */
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");

    display: grid;
    gap: 14px;
}

/* Each item gets independent rounded corners + transition (overrides BS group-rounding) */
.faq-accordion .accordion-item {
    border: 1px solid var(--border-new-color);
    border-radius: var(--radius-md);
    background: var(--white-color);
    overflow: hidden;
    transition:
        border-new-color 0.25s ease,
        box-shadow 0.25s ease;
}
.faq-accordion .accordion-item:first-of-type,
.faq-accordion .accordion-item:last-of-type,
.faq-accordion .accordion-item:first-of-type > .accordion-header .accordion-button,
.faq-accordion .accordion-item:last-of-type > .accordion-header .accordion-button.collapsed {
    border-radius: var(--radius-md);
}

/* Highlight the open item */
.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-new-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

/* Button = the question row */
.faq-accordion .accordion-button {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    background: var(--white-color);
    letter-spacing: -0.005em;
    box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--white-color);
    color: var(--primary-color);
    box-shadow: none;
}
.faq-accordion .accordion-button:focus {
    border-new-color: var(--secondary-color);
    box-shadow: var(--bs-accordion-btn-focus-box-shadow);
}

/* Body */
.faq-accordion .accordion-body {
    padding: 0 28px 22px;
}
.faq-accordion .accordion-body::before {
    content: "";
    display: block;
    border-top: 1px solid var(--border-new-color);
    margin-bottom: 18px;
}
.faq-accordion .accordion-body p {
    margin: 0;
    color: var(--muted-color);
    font-size: 16px;
    line-height: 1.6;
}

/* ============== CONTACT ============== */
.contact {
    background: var(--white-color);
}
.contact-list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}
.contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: var(--light-color);
    border: 1px solid var(--border-new-color);
}
@media (max-width: 575.98px) {
    .contact-list li {
        flex-direction: column;
        text-align: center;
    }
}
.ci-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    flex-shrink: 0;
}
.ci-label {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-color);
    font-weight: 500;
}
.ci-value {
    font-weight: 500;
    color: var(--primary-color);
}
a.ci-value:hover {
    color: var(--ternary-color);
}

.contact-form {
    background: var(--light-color);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-new-color);
}
.contact-form label {
    display: block;
}
.contact-form span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-color);
    margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    background: var(--white-color);
    border: 1px solid var(--border-new-color);
    outline: none;
    transition:
        border-new-color 0.2s,
        box-shadow 0.2s;
    font-size: 16px;
    color: var(--text-color);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-new-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
}
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}
.form-foot {
    font-size: 12px;
    color: var(--muted-color);
    margin: 0;
    text-align: center;
}

/* ============== FOOTER ============== */
.site-footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px !important;
    position: relative;
}
.footer-grid {
    margin-bottom: 50px;
}
.footer-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--white-color);
    margin: 0 0 18px;
}
.footer-col ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.footer-col li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14.5px;
}
.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14.5px;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
    display: inline-block;
}
.footer-col a:hover {
    color: #38bdf8;
    transform: translateX(2px);
}
.footer-blurb {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14.5px;
    margin: 14px 0 0;
    max-width: 380px;
}
.brand-logo-footer {
    height: 64px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
}

/* ============== BACK TO TOP ============== */
.to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    display: grid;
    place-items: center;
    box-shadow: 0 20px 60px -10px rgba(29, 78, 216, 0.35);
    z-index: 60;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}
.to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.to-top:hover {
    transform: translateY(-3px);
    color: var(--white-color);
}

/* ============== SERVICE AREA PILLS ============== */
.area {
    background: var(--light-color);
}
.area-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}
.area-list li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: #fff;
    border: 1px solid var(--border-new-color);
    border-radius: 999px;
    font-weight: 500;
    font-size: 15px;
    color: var(--primary-color);
    transition:
        background 0.25s ease,
        border-new-color 0.25s ease,
        transform 0.25s ease;
}
.area-list li:hover {
    background: var(--white-color);
    border-new-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.area-pin {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
}
.area-note {
    text-align: center;
    color: var(--muted-color);
    font-size: 15px;
    margin: 28px auto 0;
    max-width: 640px;
}

/* ============== PAYMENT METHODS ============== */
.payments {
    border-top: 1px solid var(--border-new-color);
    border-bottom: 1px solid var(--border-new-color);
    padding: 46px 0;
}
.payments-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 34px;
}
.payments-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-color);
    margin-right: 8px;
}
.payment-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: var(--white-color);
    border: 1px solid var(--border-new-color);
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-color);
    transition:
        border-new-color 0.25s ease,
        transform 0.25s ease;
}
.payment-chip:hover {
    border-new-color: var(--secondary-color);
    transform: translateY(-2px);
}
.payment-chip svg {
    color: var(--ternary-color);
}

/* ============== ENQUIRY NOTICE (contact form) ============== */
.form-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    margin-bottom: 22px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: var(--radius-md);
}
.form-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #0369a1;
}
.form-notice p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text-color);
}

/* ============== FOOTER DISCLAIMER ============== */
.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 40px;
    padding-top: 26px;
}
.footer-disclaimer p {
    font-size: 12.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 14px;
    max-width: 980px;
}
.footer-disclaimer p:last-child {
    margin-bottom: 0;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 991.98px) {
    .cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .site-header {
        padding: 14px 14px 18px;
    }
    .section {
        padding: 80px 0;
    }
    .main-heading h2 {
        font-size: 22px;
    }
    .hero-title {
        font-size: clamp(34px, 8vw, 50px);
    }
    .hero {
        padding: 150px 0 70px;
    }
    .top-bar {
        display: none;
    }

    .primary-nav {
        display: none;
    }
    .nav-wrap {
        gap: 12px;
    }
    .nav-toggle {
        display: flex;
        flex-shrink: 0;
    }
    .nav-cta {
        gap: 8px;
        min-width: 0;
    }
    .nav-cta .theme-btn {
        padding: 9px 14px;
        font-size: 13px;
        white-space: nowrap;
    }
    .nav-cta .phone-link {
        display: none;
    }

    .primary-nav.mobile-open {
        display: block;
        position: absolute;
        top: calc(100% + 12px);
        left: 12px;
        right: 12px;
        background: var(--white-color);
        padding: 18px 15px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-new-color);
        border-radius: var(--radius-md);
    }
    .primary-nav.mobile-open ul {
        flex-direction: column;
        gap: 4px;
    }
    .primary-nav.mobile-open a {
        display: block;
        padding: 14px 16px;
        font-size: 16px;
        color: var(--text-color);
        border-radius: 10px;
    }
    .site-header:not(.scrolled) .primary-nav.mobile-open a {
        color: var(--text-color);
    }
    .site-header:not(.scrolled) .primary-nav.mobile-open a:hover {
        color: var(--ternary-color);
        background: var(--light-color);
    }

    /* Submenus collapse by default; tap the caret to expand. */
    .primary-nav.mobile-open .sub-menu {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 0;
        padding: 2px 0 2px 14px;
        border: 0;
        box-shadow: none;
        background: transparent;
    }
    .primary-nav.mobile-open .menu-item-has-children.open > .sub-menu {
        display: flex;
    }
    .primary-nav.mobile-open .sub-menu a {
        padding: 12px 16px;
        font-size: 15px;
    }
    /* Use the tappable caret button instead of the hover caret on mobile. */
    .primary-nav.mobile-open .menu-item-has-children > a::after {
        display: none;
    }
    .primary-nav.mobile-open .submenu-toggle {
        display: flex;
        position: absolute;
        top: 4px;
        right: 6px;
        width: 46px;
        height: 46px;
        align-items: center;
        justify-content: center;
        color: var(--text-color);
        cursor: pointer;
    }
}

@media (max-width: 575.98px) {
    :root {
        --container-mid-pad: 18px;
    }
    .hero {
        padding: 130px 0 70px;
    }
    .hero-actions .theme-btn {
        flex: 1;
        min-width: 0;
        padding: 14px 18px;
        font-size: 14px;
    }
    .theme-btn {
        min-width: 0;
    }
    .brand-logo {
        height: 42px;
    }
    .site-header.scrolled .brand-logo {
        height: 40px;
    }
    .nav-cta .theme-btn {
        display: none;
    }
    .contact-form {
        padding: 24px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* other pages banner starts  */

.other-banner {
    padding: 250px 0 40px;
    position: relative;
    background-size: cover;
    background-position: center center;
}
.other-banner:before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(60% 50% at 80% 10%, rgba(56, 189, 248, 0.35), transparent 70%), radial-gradient(60% 60% at 10% 100%, rgba(37, 99, 235, 0.55), transparent 70%), linear-gradient(180deg, rgba(10, 12, 15, 0.6) 0%, rgba(10, 12, 15, 0.85) 60%, rgba(10, 12, 15, 0.98) 100%);
}

/* servicess page css starts  */

.all-services {
    padding: 80px 0;
    position: relative;
}

.service-card-wrap {
    position: relative;
    display: block;
    height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: inherit;
    background: var(--primary-color);
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
}
.service-card-wrap:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px -20px rgba(10, 37, 64, 0.4);
}

/* Background image fills entire card */
.service-card-wrap .service-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card-wrap:hover .service-bg {
    transform: scale(1.08);
}

/* Black gradient (bottom-to-top) for text legibility */
.service-card-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    pointer-events: none;
}

/* Bottom-anchored content panel */
.service-card-wrap .service-content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 22px 20px 22px;
    z-index: 1;
    color: var(--white-color);
}

.service-card-wrap h3 {
    color: var(--white-color);
    font-size: 19px;
    margin: 0 0 6px;
}

.service-card-wrap p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 14px;
    /* Clamp to 2 lines for consistent card heights */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-wrap .service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white-color);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: gap 0.3s ease;
}
.service-card-wrap .service-link svg {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card-wrap:hover .service-link {
    gap: 12px;
}
.service-card-wrap:hover .service-link svg {
    transform: translateX(2px);
}

/* =============================================================
   SERVICE DETAIL PAGE
   ============================================================= */

/* Breadcrumb sitting inside the .other-banner hero */
.detail-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}
.detail-breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.25s ease;
}
.detail-breadcrumb a:hover {
    color: var(--white-color);
}
.detail-breadcrumb .sep {
    opacity: 0.5;
}
.detail-breadcrumb .current {
    color: var(--white-color);
}

/* Section that holds the two-column body */
.service-detail {
    padding: 90px 0;
    position: relative;
    background: var(--white-color);
}

/* ---- Main column (Bootstrap col-lg-8) ---- */
.detail-lead {
    font-size: 21px;
    line-height: 1.5;
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0 0 20px;
}
.detail-body p {
    color: var(--muted-color);
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 22px;
}
.detail-body h2 {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--dark-color);
    margin: 40px 0 16px;
}

.detail-figure {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 28px 60px -22px rgba(21, 24, 29, 0.4);
    margin: 0 0 36px;
    aspect-ratio: 16 / 9;
}
.detail-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.detail-figure:hover img {
    transform: scale(1.05);
}

/* Checklist of inclusions */
.inclusion-list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    display: grid;
    gap: 14px;
}
.inclusion-list li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: var(--light-color);
    border: 1px solid var(--border-new-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-color);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-new-color 0.35s ease;
}
.inclusion-list li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-new-color: transparent;
}
.inclusion-check {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white-color);
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 8px 18px -8px rgba(29, 78, 216, 0.5);
    margin-top: 1px;
}

/* ---- Sidebar ---- */
.detail-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar-card {
    background: var(--white-color);
    border: 1px solid var(--border-new-color);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
}
.sidebar-card h3 {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dark-color);
    margin: 0 0 12px;
}
.sidebar-card p {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--muted-color);
    margin: 0;
}

/* Gradient "request this service" card */
.sidebar-cta {
    position: relative;
    overflow: hidden;
    border: none;
    color: var(--white-color);
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 24px 50px -18px rgba(29, 78, 216, 0.6);
}
.sidebar-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(70% 60% at 70% 20%, black, transparent 80%);
    mask-image: radial-gradient(70% 60% at 70% 20%, black, transparent 80%);
    pointer-events: none;
}
.sidebar-cta-inner {
    position: relative;
    z-index: 1;
}
.sidebar-cta h3 {
    color: var(--white-color);
    font-size: 22px;
    letter-spacing: -0.01em;
    text-transform: none;
    margin: 0 0 10px;
}
.sidebar-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    margin: 0 0 22px;
}
.sidebar-cta .theme-btn {
    width: 100%;
}

/* ---- Highlights band (3 cards) ---- */
.detail-highlights {
    padding: 100px 0;
    background: var(--light-color);
    position: relative;
    overflow: hidden;
}
.highlight-card {
    height: 100%;
    background: var(--white-color);
    border: 1px solid var(--border-new-color);
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-new-color 0.4s ease;
}
.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-new-color: transparent;
}
.highlight-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--white-color);
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 12px 26px -10px rgba(29, 78, 216, 0.45);
    margin-bottom: 22px;
}
.highlight-media {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 22px;
    aspect-ratio: 16 / 10;
    background: var(--light-color);
}
.highlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.highlight-card:hover .highlight-media img {
    transform: scale(1.05);
}
.highlight-card h3 {
    font-size: 19px;
    font-weight: 500;
    color: var(--dark-color);
    margin: 0 0 10px;
}
.highlight-card p {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--muted-color);
    margin: 0;
}

/* ---- Service note + related strip ---- */
.service-note {
    padding: 90px 0;
    background: var(--white-color);
}
.note-panel {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(29, 78, 216, 0.06));
    border: 1px solid var(--border-new-color);
    border-radius: var(--radius-lg);
    padding: 44px;
}
.related-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 28px;
}
.related-item {
    background: var(--white-color);
    border: 1px solid var(--border-new-color);
    border-radius: var(--radius-md);
    padding: 22px 24px;
}
.related-item .related-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dark-color);
    margin-bottom: 10px;
}
.related-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted-color);
    margin: 0;
}

@media (max-width: 991.98px) {
    .detail-sidebar {
        position: static;
    }
    .related-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .service-detail,
    .detail-highlights,
    .service-note {
        padding: 64px 0;
    }
    .detail-lead {
        font-size: 19px;
    }
    .note-panel {
        padding: 28px 22px;
    }
}

/* =============================================================
   SINGLE BLOG POST (light layout — no dark hero)
   ============================================================= */

/* The site header is transparent (white text) because it normally sits over
   the dark .other-banner hero. This page has no dark hero, so render the
   header in its solid, dark-on-light state. */
.single-post .nav-wrap {
    background: rgba(255, 255, 255, 0.92);
    border-new-color: rgba(21, 24, 29, 0.06);
    box-shadow:
        0 1px 0 rgba(21, 24, 29, 0.05),
        0 12px 34px rgba(21, 24, 29, 0.12);
}
.single-post .site-header:not(.scrolled) .primary-nav a {
    color: var(--text-color);
}
.single-post .site-header:not(.scrolled) .primary-nav a:hover {
    color: var(--primary-color);
    background: var(--light-color);
}
.single-post .site-header:not(.scrolled) .phone-link {
    color: var(--text-color);
}
.single-post .site-header:not(.scrolled) .phone-link:hover {
    color: var(--ternary-color);
}
.single-post .site-header:not(.scrolled) .nav-toggle {
    background: var(--white-color);
    box-shadow: var(--shadow-sm);
}
.single-post .site-header:not(.scrolled) .nav-toggle span {
    background: var(--primary-color);
}
.single-post .top-bar {
    border-bottom: 1px solid var(--border-new-color);
}
.single-post .top-bar-item {
    color: var(--muted-color);
}
.single-post .top-bar-item:hover {
    color: var(--primary-color);
}
.single-post .top-bar-soc {
    color: var(--primary-color);
    background: var(--light-color);
    border-new-color: var(--border-new-color);
}

/* Content clears the absolute header. */
.post-single {
    padding-top: 230px;
    padding-bottom: 90px;
    background: var(--white-color);
}

/* ---- Post header ---- */
.post-header {
    margin-bottom: 30px;
}
.post-cat {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--dark-color);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.25s ease;
}
.post-cat:hover {
    background: var(--ternary-color);
    color: #fff;
}
.post-title {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--dark-color);
    margin: 16px 0 14px;
}
.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-color);
}
.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.post-meta .sep {
    opacity: 0.5;
}

/* ---- Share buttons ---- */
.post-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--border-new-color);
}
.share-btn {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}
.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 8px 18px -6px rgba(21, 24, 29, 0.35);
    color: #fff;
}
.share-fb {
    background: #1877f2;
}
.share-x {
    background: #000;
}
.share-in {
    background: #0a66c2;
}
.share-pin {
    background: #e60023;
}
.share-copy {
    background: var(--dark-color);
}
.share-copy.copied {
    background: #16a34a;
    transform: none;
}
.share-copy.copied::after {
    content: "Copied!";
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-color);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

/* ---- Featured image ---- */
.post-figure {
    aspect-ratio: 16 / 8.5;
    margin-bottom: 34px;
}

/* ---- Body content (authored HTML) ---- */
.post-body h2 {
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--dark-color);
    margin: 40px 0 16px;
}
.post-body h3 {
    font-size: clamp(19px, 2.2vw, 22px);
    font-weight: 600;
    color: var(--dark-color);
    margin: 32px 0 12px;
}
.post-body p {
    color: var(--muted-color);
    font-size: 17px;
    line-height: 1.75;
    margin: 0 0 20px;
}
.post-body a {
    color: var(--ternary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.post-body ul,
.post-body ol {
    margin: 0 0 22px;
    padding-left: 0;
    list-style: none;
}
.post-body ul li,
.post-body ol li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--muted-color);
    font-size: 17px;
    line-height: 1.65;
}
.post-body ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
}
.post-body ol {
    counter-reset: eb-ol;
}
.post-body ol li {
    counter-increment: eb-ol;
}
.post-body ol li::before {
    content: counter(eb-ol);
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--ternary-color) 0%, var(--secondary-color) 100%);
}
.post-body li strong {
    color: var(--dark-color);
}
.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}
.post-body blockquote {
    margin: 0 0 24px;
    padding: 18px 24px;
    border-left: 4px solid var(--ternary-color);
    background: var(--light-color);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--text-color);
    font-style: italic;
}

/* ---- Tables (e.g. the comparison chart) ---- */
.post-body figure.wp-block-table {
    overflow-x: auto;
    margin: 8px 0 30px;
}
.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 30px;
    font-size: 15.5px;
}
.post-body figure.wp-block-table table {
    margin: 0;
}
.post-body table th,
.post-body table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border-new-color);
}
.post-body table thead th {
    color: var(--dark-color);
    font-weight: 600;
    border-bottom: 2px solid var(--ternary-color);
}
.post-body table tbody tr:nth-child(even) {
    background: var(--light-color);
}
.post-body table tbody td:first-child {
    font-weight: 500;
    color: var(--text-color);
}

/* ---- "Recent Post" sidebar heading as a dark bar (matches reference) ---- */
.blog-sidebar .sidebar-card {
    overflow: hidden;
}
.blog-sidebar .sidebar-card h3 {
    display: block;
    background: var(--dark-color);
    color: #fff;
    margin: -28px -26px 18px;
    padding: 14px 22px;
    letter-spacing: 0.12em;
}

@media (max-width: 991.98px) {
    .post-single {
        padding-top: 120px;
    }
}
@media (max-width: 575.98px) {
    .post-single {
        padding-top: 104px;
    }
    .post-body table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
