/********** HB Group — Modern Premium Theme **********/
/********** v2.0 — 2026 Redesign              **********/


/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
    /* Core Blue Palette */
    --blue-50:  #EFF6FF;
    --blue-100: #DBEAFE;
    --blue-200: #BFDBFE;
    --blue-300: #93C5FD;
    --blue-400: #60A5FA;
    --blue-500: #006DFF;
    --blue-600: #005CE0;
    --blue-700: #004AB3;
    --blue-800: #003A8C;
    --blue-900: #002966;

    /* Accent */
    --cyan-400: #22D3EE;
    --cyan-500: #06B6D4;
    --emerald-500: #10B981;

    /* Neutrals */
    --white:    #FFFFFF;
    --gray-25:  #FDFDFE;
    --gray-50:  #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Semantic (legacy compat) */
    --primary:   var(--blue-500);
    --secondary: var(--cyan-500);
    --light:     var(--gray-50);
    --dark:      var(--gray-900);

    /* Typography */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Radii */
    --radius-xs:  6px;
    --radius-sm:  8px;
    --radius:     12px;
    --radius-md:  16px;
    --radius-lg:  20px;
    --radius-xl:  24px;
    --radius-2xl: 32px;

    /* Shadows — layered for depth */
    --shadow-xs:   0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow:      0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md:   0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-lg:   0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-xl:   0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-blue: 0 10px 30px -8px rgba(0, 109, 255, 0.25);
    --shadow-glow: 0 0 40px rgba(0, 109, 255, 0.12);

    /* Transitions */
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration:    0.25s;
    --duration-md: 0.35s;
    --duration-lg: 0.5s;
}


/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--gray-600);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

a {
    color: var(--blue-500);
    text-decoration: none;
    transition: color var(--duration) ease;
}
a:hover { color: var(--blue-700); }

img { max-width: 100%; height: auto; }

::selection {
    background: var(--blue-100);
    color: var(--blue-800);
}


/* =============================================
   SPINNER
   ============================================= */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
    z-index: 99999;
}
#spinner.show {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0s linear 0s;
}

.hb-spinner {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hb-spinner-dot {
    width: 10px;
    height: 10px;
    background: var(--blue-500);
    border-radius: 50%;
    animation: hb-bounce 1.4s ease-in-out infinite;
}
.hb-spinner-dot:nth-child(1) { animation-delay: -0.32s; }
.hb-spinner-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes hb-bounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}


/* =============================================
   TOPBAR
   ============================================= */
.hb-topbar {
    background: var(--blue-500);
    position: relative;
    z-index: 1050;
    transition: transform var(--duration-md) var(--ease-out);
}
.hb-topbar-hidden {
    transform: translateY(-100%);
}

.hb-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.hb-topbar-left {
    display: flex;
    gap: 28px;
    align-items: center;
}

.hb-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--duration) ease;
    letter-spacing: 0.01em;
}
.hb-topbar-item:hover { color: #fff; }
.hb-topbar-item i {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
}

.hb-topbar-right {
    display: flex;
    gap: 4px;
}

.hb-topbar-social {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xs);
    transition: all var(--duration) ease;
    text-decoration: none;
    font-size: 13px;
}
.hb-topbar-social:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

/* Legacy compat */
.hbtopbar { background-color: var(--blue-500); color: white; }


/* =============================================
   NAVBAR
   ============================================= */
.hb-navbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 !important;
    transition: box-shadow var(--duration-md) ease, border-color var(--duration-md) ease;
    z-index: 1040;
}
.hb-navbar.scrolled {
    border-color: transparent;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
}

.hb-navbar .container {
    display: flex;
    align-items: center;
    min-height: 122px;
}

/* Logo */
.hb-nav-logo {
    height: 68px;
    width: auto;
    transition: opacity var(--duration) ease;
}
.hb-nav-logo:hover { opacity: 0.85; }

/* Nav Actions */
.hb-nav-actions {
    gap: 10px;
    flex-shrink: 0;
}

/* Nav Links */
.hb-navbar .navbar-nav {
    background: transparent !important;
    gap: 2px;
}

.hb-navbar .navbar-nav > a.nav-item.nav-link,
.hb-navbar .navbar-nav > .nav-item.dropdown > a.nav-link {
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: all var(--duration) ease;
    position: relative;
}

.hb-navbar .navbar-nav > a.nav-item.nav-link:hover,
.hb-navbar .navbar-nav > a.nav-item.nav-link.active,
.hb-navbar .navbar-nav > .nav-item.dropdown > a.nav-link:hover,
.hb-navbar .navbar-nav > .nav-item.dropdown:hover > a.nav-link {
    color: var(--blue-500);
    background: var(--blue-50);
}

/* Active indicator dot */
.hb-navbar .navbar-nav > a.nav-item.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--blue-500);
    border-radius: 50%;
}

/* Dropdown arrow */
.hb-navbar .dropdown-toggle::after {
    border: none;
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 8px;
    margin-left: 6px;
    opacity: 0.35;
    transition: transform var(--duration) ease;
    vertical-align: middle;
}
.hb-navbar .nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Dropdown Panels (desktop) */
@media (min-width: 992px) {
    .hb-navbar .navbar-nav .dropdown-menu,
    .hb-navbar .navbar-nav .dropdown-menu.bg-light {
        display: block;
        min-width: 240px;
        background: var(--white) !important;
        border: 1px solid var(--gray-200) !important;
        border-radius: var(--radius) !important;
        box-shadow: var(--shadow-lg);
        padding: 6px;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all var(--duration-md) var(--ease-out);
    }
    .hb-navbar .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
        top: 100%;
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .hb-navbar .dropdown-menu a.nav-item.nav-link,
    .hb-navbar .dropdown-menu .dropdown-item {
        display: block;
        padding: 10px 14px;
        font-size: 14px;
        font-weight: 450;
        color: var(--gray-600);
        border-radius: var(--radius-sm);
        transition: all 0.15s ease;
        margin: 1px 0;
        line-height: 1.45;
    }
    .hb-navbar .dropdown-menu a.nav-item.nav-link:hover,
    .hb-navbar .dropdown-menu .dropdown-item:hover {
        color: var(--blue-500);
        background: var(--blue-50);
    }
}

/* Mobile Nav */
@media (max-width: 991.98px) {
    .hb-nav-logo { 
        padding: 5px;
        height: 62px;
    }

    .hb-navbar .navbar-nav {
        padding: 16px 0 !important;
        gap: 2px;
    }
    .hb-navbar .nav-item .dropdown-menu {
        padding-left: 12px;
        border: none !important;
        box-shadow: none;
        background: transparent !important;
    }
    .hb-navbar .dropdown-menu a.nav-item.nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Toggler */
.hb-navbar .navbar-toggler {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 7px 10px;
    transition: all var(--duration) ease;
}
.hb-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 109, 255, 0.1);
    border-color: var(--blue-200);
}


/* =============================================
   BUTTONS — Complete System
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--duration-md) var(--ease-out);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.4;
}

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-md,
.btn { padding: 10px 22px; }
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: var(--radius); }

/* Primary */
.hb-btn-primary,
.btn-primary,
.btn.btn-primary {
    background: var(--blue-500) !important;
    color: var(--white) !important;
    border: 1px solid var(--blue-500) !important;
    box-shadow: 0 1px 2px rgba(0, 109, 255, 0.2);
}
.hb-btn-primary:hover,
.btn-primary:hover,
.btn.btn-primary:hover {
    background: var(--blue-600) !important;
    border-color: var(--blue-600) !important;
    box-shadow: var(--shadow-blue);
    transform: translateY(-1px);
}
.hb-btn-primary:active,
.btn-primary:active { transform: translateY(0); }

/* Outline */
.hb-btn-outline,
.btn-outline-primary,
.btn.btn-outline-primary {
    background: transparent;
    color: var(--blue-500);
    border: 1.5px solid var(--blue-200);
    box-shadow: none;
}
.hb-btn-outline:hover,
.btn-outline-primary:hover,
.btn.btn-outline-primary:hover {
    background: var(--blue-500);
    color: var(--white) !important;
    border-color: var(--blue-500);
    box-shadow: var(--shadow-blue);
    transform: translateY(-1px);
}

/* Ghost */
.hb-btn-ghost {
    background: var(--gray-50);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}
.hb-btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-900);
    border-color: var(--gray-300);
}

/* Soft */
.btn-soft {
    background: var(--blue-50);
    color: var(--blue-500);
    border: 1px solid transparent;
}
.btn-soft:hover {
    background: var(--blue-100);
    color: var(--blue-600);
}

/* White */
.btn-white {
    background: var(--white);
    color: var(--blue-500);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}
.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Secondary */
.btn-secondary, .btn.btn-secondary {
    color: #fff;
    background-color: var(--cyan-500);
    border-color: var(--cyan-500);
}
.btn.btn-secondary:hover {
    background: var(--blue-500);
    border-color: var(--blue-500);
}
.btn.btn-outline-primary:hover,
.btn.btn-outline-secondary:hover { color: #FFFFFF; }

/* Square Buttons */
.btn-square { width: 40px; height: 40px; }
.btn-sm-square { width: 34px; height: 34px; }
.btn-lg-square { width: 48px; height: 48px; }
.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: var(--radius-sm);
}

.bg-primary { background-color: var(--blue-500) !important; }


/* =============================================
   SECTION HEADERS
   ============================================= */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-500);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}
.section-eyebrow .line {
    width: 28px;
    height: 2px;
    background: var(--blue-500);
    border-radius: 2px;
    opacity: 0.3;
}

.section-title {
    font-size: clamp(26px, 3.2vw, 44px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
    color: var(--gray-900);
    line-height: 1.15;
}

.section-desc {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 560px;
    line-height: 1.75;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header .section-desc { margin: 0 auto; }


/* =============================================
   SERVICE CARDS
   ============================================= */
.service-item,
.service-card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px 32px;
    transition: all var(--duration-md) var(--ease-out);
}
.service-item::before,
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}
.service-item:hover,
.service-card:hover {
    border-color: var(--gray-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.service-item:hover::before,
.service-card:hover::before { transform: scaleX(1); }

.service-item .service-icon,
.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius);
    font-size: 24px;
    color: var(--blue-500);
    margin-bottom: 22px;
    transition: all var(--duration-md) var(--ease-out);
}
.service-item .service-icon img { max-width: 32px; max-height: 32px; }
.service-item:hover .service-icon,
.service-card:hover .service-icon {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-500);
    text-decoration: none;
    transition: gap var(--duration) ease;
}
.service-link:hover { gap: 10px; }

.service-item a.btn { color: var(--blue-500); }
.service-item a.btn:hover {
    color: #FFFFFF;
    background: var(--blue-500);
    border-color: var(--blue-500);
}


/* =============================================
   STATS RIBBON
   ============================================= */
.stats-ribbon {
    background: var(--blue-500);
    position: relative;
    overflow: hidden;
}
.stats-ribbon::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 500px 300px at 15% 50%, rgba(34, 211, 238, 0.1), transparent),
        radial-gradient(ellipse 400px 300px at 85% 50%, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    z-index: 1;
}
.stat-item {
    text-align: center;
    padding: 44px 20px;
    position: relative;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}
.stat-number {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1;
}
.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
    font-weight: 500;
}


/* =============================================
   HERO / CAROUSEL
   ============================================= */
.carousel-caption {
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    z-index: 1;
}
.carousel-control-prev,
.carousel-control-next { width: 15%; }
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--blue-500);
    border: 12px solid var(--blue-500);
    border-radius: 50%;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.display-6 {
    font-weight: 800;
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}

.page-header { background-size: cover; }
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a { font-weight: 500; }
.page-header .breadcrumb-item a,
.page-header .breadcrumb-item + .breadcrumb-item::before { color: var(--gray-500); }
.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active { color: var(--blue-500); }


/* =============================================
   FACTS SECTION
   ============================================= */
@media (min-width: 992px) {
    .container.facts { max-width: 100% !important; }
    .container.facts .facts-text { padding-left: calc(((100% - 960px) / 2) + .75rem); }
    .container.facts .facts-counter { padding-right: calc(((100% - 960px) / 2) + .75rem); }
}
@media (min-width: 1200px) {
    .container.facts .facts-text { padding-left: calc(((100% - 1140px) / 2) + .75rem); }
    .container.facts .facts-counter { padding-right: calc(((100% - 1140px) / 2) + .75rem); }
}
@media (min-width: 1400px) {
    .container.facts .facts-text { padding-left: calc(((100% - 1320px) / 2) + .75rem); }
    .container.facts .facts-counter { padding-right: calc(((100% - 1320px) / 2) + .75rem); }
}
.container.facts .facts-text {
    background: linear-gradient(rgba(0, 109, 255, 0.92), rgba(0, 74, 179, 0.92)), url(../img/carousel-1.jpg) center right no-repeat;
    background-size: cover;
}
.container.facts .facts-counter {
    background: linear-gradient(rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.97)), url(../img/carousel-2.jpg) center right no-repeat;
    background-size: cover;
}
.container.facts .facts-text .h-100,
.container.facts .facts-counter .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* =============================================
   APPOINTMENT
   ============================================= */
.appointment {
    background: linear-gradient(rgba(0, 109, 255, 0.92), rgba(0, 74, 179, 0.92)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}


/* =============================================
   TEAM CARDS
   ============================================= */
.team-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--duration-md) var(--ease-out);
}
.team-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.team-item img { transition: transform var(--duration-lg) var(--ease-out); }
.team-item:hover img { transform: scale(1.04); }
.team-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: all var(--duration-md) var(--ease-out);
}
.team-item:hover .team-text { bottom: 0; opacity: 1; }
.team-item a.btn { color: var(--blue-500); }
.team-item a.btn:hover { color: #FFFFFF; background: var(--blue-500); border-color: var(--blue-500); }


/* =============================================
   TESTIMONIALS
   ============================================= */
.animated.pulse { animation-duration: 1.5s; }
.testimonial-left,
.testimonial-right { position: relative; }
.testimonial-left img,
.testimonial-right img {
    position: absolute;
    padding: 5px;
    border: 1px dashed var(--blue-500);
    border-radius: var(--radius);
}
.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px; height: 70px; top: 10%; left: 50%; transform: translateX(-50%);
}
.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px; height: 60px; top: 50%; left: 10%; transform: translateY(-50%);
}
.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px; height: 50px; bottom: 10%; right: 10%;
}
.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: var(--radius);
}
.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--blue-500);
    border-radius: var(--radius);
    font-size: 20px;
    transition: all var(--duration-md) var(--ease-out);
}
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}


/* =============================================
   FOOTER
   ============================================= */
.hb-footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    color: var(--gray-500);
}

.hb-footer-main {
    padding: 80px 10px 60px 10px;
}

.hb-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
    gap: 48px;
}

/* Brand */
.hb-footer-logo {
    height: 42px;
    width: auto;
}

.hb-footer-brand-desc {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--gray-500);
    margin: 20px 0 24px;
}

.hb-footer-socials {
    display: flex;
    gap: 8px;
}

.hb-footer-social {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    color: var(--gray-500);
    font-size: 14px;
    transition: all var(--duration-md) var(--ease-out);
    text-decoration: none;
}
.hb-footer-social:hover {
    color: var(--white);
    background: var(--blue-500);
    border-color: var(--blue-500);
    box-shadow: var(--shadow-blue);
    transform: translateY(-2px);
}

/* Headings */
.hb-footer-heading {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-800);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 22px;
}

/* Links */
.hb-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hb-footer-links li { margin-bottom: 11px; }
.hb-footer-links a {
    font-size: 14px;
    color: var(--gray-500);
    text-decoration: none;
    transition: all var(--duration) ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hb-footer-links a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gray-300);
    transition: all var(--duration) ease;
    flex-shrink: 0;
}
.hb-footer-links a:hover {
    color: var(--blue-500);
    transform: translateX(3px);
}
.hb-footer-links a:hover::before {
    background: var(--blue-500);
}

/* Contact */
.hb-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--gray-500);
}
.hb-footer-contact-item a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--duration) ease;
}
.hb-footer-contact-item a:hover { color: var(--blue-500); }

.hb-footer-contact-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius-sm);
    color: var(--blue-500);
    font-size: 13px;
    flex-shrink: 0;
}

/* Newsletter */
.hb-footer-newsletter-desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 12px;
    line-height: 1.6;
}

.hb-newsletter-input-wrap {
    display: flex;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    background: var(--white);
    transition: all var(--duration) ease;
}
.hb-newsletter-input-wrap:focus-within {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(0, 109, 255, 0.08);
}
.hb-newsletter-input-wrap input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--gray-700);
    outline: none;
    min-width: 0;
}
.hb-newsletter-input-wrap input::placeholder { color: var(--gray-400); }
.hb-newsletter-input-wrap button {
    padding: 12px 18px;
    background: var(--blue-500);
    color: var(--white);
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background var(--duration) ease;
    display: flex;
    align-items: center;
}
.hb-newsletter-input-wrap button:hover { background: var(--blue-600); }

/* Badges */
.hb-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.hb-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--blue-600);
    background: var(--blue-50);
    border-radius: var(--radius-xs);
    letter-spacing: 0.02em;
}
.hb-footer-badge i { font-size: 10px; }

/* Bottom Bar */
.hb-footer-bottom {
    border-top: 1px solid var(--gray-200);
    padding: 20px 0;
}
.hb-footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--gray-400);
}

/* Legacy footer compat */
.footer { color: var(--gray-500); }
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--gray-500);
    font-weight: normal;
    text-transform: capitalize;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 14px;
}
.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--gray-300);
    margin-right: 10px;
}
.footer .btn.btn-link:hover { color: var(--blue-500); letter-spacing: 1px; box-shadow: none; }
.footer .btn.btn-square {
    color: var(--gray-500);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
}
.footer .btn.btn-square:hover { color: var(--white); background: var(--blue-500); border-color: var(--blue-500); }
.footer .copyright { padding: 25px 0; font-size: 14px; border-top: 1px solid var(--gray-200); }
.footer .copyright a { color: var(--blue-500); }
.footer .copyright a:hover { color: var(--blue-600); }
.hbfooter { background-color: var(--gray-50); color: var(--gray-600); }
.hbfooterlast { background-color: var(--gray-50); color: var(--gray-600); }


/* =============================================
   BACK TO TOP
   ============================================= */
.hb-back-to-top {
    position: fixed;
    display: none;
    right: 24px;
    bottom: 24px;
    z-index: 99;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--blue-500);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 16px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all var(--duration-md) var(--ease-out);
    text-decoration: none;
}
.hb-back-to-top:hover {
    background: var(--blue-500);
    color: var(--white);
    border-color: var(--blue-500);
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue);
}

/* Legacy */
.back-to-top {
    position: fixed;
    display: none;
    right: 24px;
    bottom: 24px;
    z-index: 99;
}


/* =============================================
   UTILITIES
   ============================================= */
.nopaddingnavh1 { padding-top: 0; padding-bottom: 0; }
.alert { max-width: 100%; border-radius: var(--radius); }
.vertical-text { vertical-align: middle; }

/* Focus ring for accessibility */
:focus-visible {
    outline: 2px solid var(--blue-500);
    outline-offset: 2px;
}


/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-in {
    animation: fadeUp 0.6s var(--ease-out) forwards;
    opacity: 0;
}
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }
.delay-5 { animation-delay: 0.40s; }


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }
    .hb-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hb-footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .hb-footer-bottom .container { flex-direction: column; gap: 6px; text-align: center; }
    .stat-item::after { display: none; }
}

@media (max-width: 575px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { padding: 28px 20px; }
}


/* =============================================
   HOMEPAGE SECTIONS — style-homepage.css
   Append to style.css or enqueue separately
   ============================================= */


/* =============================================
   HERO
   ============================================= */
.hb-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #7da3f9 0%, #1869e3 50%, var(--blue-900) 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hb-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hb-hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

.hb-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.hb-hero-glow--1 {
    width: 600px; height: 600px;
    background: rgba(0, 109, 255, 0.15);
    top: -200px; right: -100px;
}
.hb-hero-glow--2 {
    width: 400px; height: 400px;
    background: rgba(34, 211, 238, 0.08);
    bottom: -150px; left: -100px;
}

.hb-hero-content {
    position: relative;
    z-index: 2;
}

.hb-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hb-hero-badge-dot {
    width: 8px; height: 8px;
    background: var(--emerald-500);
    border-radius: 50%;
    animation: hb-pulse-dot 2s ease-in-out infinite;
}

@keyframes hb-pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.hb-hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.hb-hero-title-accent {
    background: linear-gradient(135deg, var(--blue-400), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hb-hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 32px;
}

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

.hb-hero-actions .hb-btn-primary {
    background: var(--blue-500) !important;
    border-color: var(--blue-500) !important;
    box-shadow: 0 4px 20px rgba(0, 109, 255, 0.35);
}
.hb-hero-actions .hb-btn-primary:hover {
    box-shadow: 0 8px 32px rgba(0, 109, 255, 0.45);
}

.hb-hero-actions .hb-btn-outline {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}
.hb-hero-actions .hb-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white) !important;
    box-shadow: none;
    transform: translateY(-1px);
}

/* Trust bar */
.hb-hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hb-hero-trust-avatars {
    display: flex;
}
.hb-hero-trust-avatars img {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid var(--gray-900);
    margin-right: -10px;
    object-fit: cover;
}
.hb-hero-trust-avatars img:last-child { margin-right: 0; }

.hb-hero-trust-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 2px;
}
.hb-hero-trust-stars i {
    font-size: 12px;
    color: #FBBF24;
}

.hb-hero-trust-text span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* Hero Visual (right side) */
.hb-hero-visual {
    position: relative;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hb-hero-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    position: absolute;
    z-index: 3;
    transition: transform 0.3s var(--ease-out);
}
.hb-hero-card:hover { transform: translateY(-4px) !important; }

.hb-hero-card--main {
    top: 40px; left: 10%;
    animation: hb-float 6s ease-in-out infinite;
}
.hb-hero-card--secondary {
    top: 50%; right: 5%; transform: translateY(-50%);
    animation: hb-float 6s ease-in-out 1s infinite;
}
.hb-hero-card--tertiary {
    bottom: 40px; left: 15%;
    animation: hb-float 6s ease-in-out 2s infinite;
}

@keyframes hb-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.hb-hero-card--secondary { animation-name: hb-float-alt; }
@keyframes hb-float-alt {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 12px)); }
}

.hb-hero-card-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 109, 255, 0.2);
    color: var(--blue-400);
    border-radius: var(--radius-sm);
    font-size: 18px;
    flex-shrink: 0;
}
.hb-hero-card-icon--cyan {
    background: rgba(34, 211, 238, 0.15);
    color: var(--cyan-400);
}
.hb-hero-card-icon--emerald {
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald-500);
}

.hb-hero-card-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}
.hb-hero-card-value {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
}

/* Orbit decoration */
.hb-hero-orbit {
    position: absolute;
    width: 320px; height: 320px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.hb-hero-orbit-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    animation: hb-spin-slow 30s linear infinite;
}
.hb-hero-orbit-dot {
    position: absolute;
    width: 6px; height: 6px;
    background: rgba(0, 109, 255, 0.4);
    border-radius: 50%;
}
.hb-hero-orbit-dot--1 { top: 0; left: 50%; transform: translateX(-50%); }
.hb-hero-orbit-dot--2 { bottom: 15%; right: 5%; }
.hb-hero-orbit-dot--3 { bottom: 15%; left: 5%; }

@keyframes hb-spin-slow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}


/* =============================================
   SERVICES
   ============================================= */
.hb-services {
    padding: 100px 0;
    background: var(--white);
}

.hb-service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}
.hb-service-card:hover {
    border-color: var(--gray-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.hb-service-card:hover::before { transform: scaleX(1); }

.hb-service-card-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius);
    font-size: 22px;
    color: var(--blue-500);
    margin-bottom: 22px;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-service-card:hover .hb-service-card-icon {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.hb-service-card-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.hb-service-card-desc {
    font-size: 14.5px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.hb-service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-500);
    text-decoration: none;
    transition: gap var(--duration) ease, color var(--duration) ease;
}
.hb-service-card-link:hover { gap: 10px; color: var(--blue-600); }
.hb-service-card-link i { font-size: 11px; }


/* =============================================
   STATS RIBBON (NEW)
   ============================================= */
.hb-stats {
    position: relative;
    overflow: hidden;
    background: var(--blue-500);
    padding: 0;
}

.hb-stats-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 10% 50%, rgba(34, 211, 238, 0.12), transparent),
        radial-gradient(ellipse 500px 400px at 90% 50%, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
}

.hb-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    z-index: 1;
}

.hb-stat-item {
    text-align: center;
    padding: 52px 20px;
    position: relative;
}
.hb-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 25%; height: 50%; width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.hb-stat-number {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1;
}

.hb-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 8px;
    font-weight: 500;
}


/* =============================================
   MISSION
   ============================================= */
.hb-mission {
    padding: 0;
    overflow: hidden;
}

.hb-mission-row {
    min-height: 480px;
}

.hb-mission-blue {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    padding: 72px 56px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.hb-mission-blue::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    top: -100px; right: -100px;
    pointer-events: none;
}

.hb-mission-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.hb-mission-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 440px;
}

.hb-btn-white {
    background: var(--white);
    color: var(--blue-500);
    border: none;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}
.hb-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--blue-600);
}

.hb-mission-counters {
    background: var(--white);
    padding: 72px 56px;
    height: 100%;
    display: flex;
    align-items: center;
}

.hb-mission-counter {
    text-align: center;
    padding: 24px 12px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.hb-mission-counter-num {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--blue-500);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
}

.hb-mission-counter-label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
    margin: 0;
}


/* =============================================
   TESTIMONIALS
   ============================================= */
.hb-testimonials {
    padding: 100px 0;
    background: var(--gray-50);
}

.hb-testimonials .testimonial-carousel .owl-item img {
    border: 2px solid var(--gray-200);
}

.hb-testimonials .testimonial-item p.fs-5 {
    font-size: 16px !important;
    line-height: 1.75;
    color: var(--gray-600);
}

.hb-testimonials .testimonial-item h5 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 16px;
    margin-bottom: 4px;
}


/* =============================================
   ABOUT
   ============================================= */
.hb-about {
    padding: 100px 0;
    background: var(--white);
}

.hb-about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 100%;
    min-height: 440px;
}

.hb-about-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    min-height: 440px;
}

.hb-about-badge {
    position: absolute;
    top: 24px; left: 24px;
    z-index: 2;
}

.hb-about-badge-inner {
    background: var(--blue-500);
    color: var(--white);
    border-radius: var(--radius);
    padding: 24px 28px;
    text-align: center;
    box-shadow: var(--shadow-blue);
}

.hb-about-badge-num {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    display: block;
    line-height: 1;
    letter-spacing: -0.03em;
}

.hb-about-badge-text {
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-top: 4px;
    opacity: 0.85;
    line-height: 1.3;
}

.hb-about-lead {
    font-size: 17px;
    color: var(--blue-500);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 12px;
}

.hb-about-text {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hb-about-cta {
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.hb-about-phone {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: all var(--duration) ease;
}
.hb-about-phone:hover { transform: translateX(4px); }

.hb-about-phone-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius);
    color: var(--blue-500);
    font-size: 18px;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-about-phone:hover .hb-about-phone-icon {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.hb-about-phone-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hb-about-phone-number {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}


/* =============================================
   FEATURES / WHY CHOOSE US
   ============================================= */
.hb-features {
    padding: 100px 0;
    background: var(--gray-50);
}

.hb-features-desc {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 32px;
}

.hb-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.hb-feature-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: all var(--duration-md) var(--ease-out);
}
.hb-feature-pill:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.hb-feature-pill-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius-sm);
    color: var(--blue-500);
    font-size: 16px;
    flex-shrink: 0;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-feature-pill:hover .hb-feature-pill-icon {
    background: var(--blue-500);
    color: var(--white);
}

.hb-feature-pill span {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
}

/* Features Visual (stat cards grid) */
.hb-features-visual {
    padding: 20px;
}

.hb-features-visual-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hb-features-stat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-features-stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.hb-features-stat-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius-sm);
    color: var(--blue-500);
    font-size: 18px;
    margin: 0 auto 14px;
}

.hb-features-stat-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
}

.hb-features-stat-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}


/* =============================================
   CTA / APPOINTMENT
   ============================================= */
.hb-cta {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-700) 100%);
}

.hb-cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 80%, rgba(34, 211, 238, 0.1), transparent),
        radial-gradient(ellipse 500px 400px at 80% 20%, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
}

.hb-cta-content {
    position: relative;
    z-index: 2;
}

.hb-cta-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.hb-cta-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 480px;
}

.hb-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
}

.hb-cta-phone-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 18px;
}

.hb-cta-phone-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hb-cta-phone-number {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.hb-cta-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

/* Style the CF7 form inside */
.hb-cta-form-wrap .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 16px;
}

.hb-cta-form-wrap input[type="text"],
.hb-cta-form-wrap input[type="email"],
.hb-cta-form-wrap input[type="tel"],
.hb-cta-form-wrap textarea,
.hb-cta-form-wrap select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gray-700);
    background: var(--gray-50);
    transition: all var(--duration) ease;
    outline: none;
}
.hb-cta-form-wrap input:focus,
.hb-cta-form-wrap textarea:focus,
.hb-cta-form-wrap select:focus {
    border-color: var(--blue-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 109, 255, 0.08);
}

.hb-cta-form-wrap input[type="submit"] {
    background: var(--blue-500);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-md) var(--ease-out);
    width: 100%;
}
.hb-cta-form-wrap input[type="submit"]:hover {
    background: var(--blue-600);
    box-shadow: var(--shadow-blue);
    transform: translateY(-1px);
}


/* =============================================
   HOMEPAGE RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .hb-hero { padding: 72px 0 64px; min-height: auto; }
    .hb-hero-title { font-size: clamp(34px, 6vw, 52px); }

    .hb-services, .hb-about, .hb-features, .hb-testimonials { padding: 72px 0; }

    .hb-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hb-stat-item:nth-child(2)::after { display: none; }

    .hb-mission-blue, .hb-mission-counters { padding: 48px 32px; }

    .hb-features-grid { grid-template-columns: 1fr; }
    .hb-features-visual-inner { grid-template-columns: 1fr 1fr; }

    .hb-cta { padding: 72px 0; }
    .hb-cta-form-wrap { padding: 28px; }
}

@media (max-width: 768px) {
    .hb-hero { padding: 56px 0 48px; }
    .hb-hero-actions { flex-direction: column; }
    .hb-hero-actions .btn { width: 100%; justify-content: center; }

    .hb-stats-grid { grid-template-columns: 1fr 1fr; }
    .hb-stat-item { padding: 32px 16px; }
    .hb-stat-item::after { display: none; }

    .hb-about-image { min-height: 320px; }
    .hb-about-img-main { min-height: 320px; }

    .hb-features-visual-inner { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hb-features-stat-card { padding: 20px 14px; }
    .hb-features-stat-value { font-size: 22px; }
}

@media (max-width: 575px) {
    .hb-stats-grid { grid-template-columns: 1fr; }
    .hb-features-visual-inner { grid-template-columns: 1fr; }
}

/* =============================================
   HIDE VIDEO PANEL CLASS (legacy compat)
   ============================================= */
.headervideopanel { display: none !important; }


/* =============================================
   PAGE HEADER
   ============================================= */
.hb-page-header {
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
    background: var(--gray-900);
    min-height: 280px;
    display: flex;
    align-items: flex-end;
}

/* Background image layer */
.hb-page-header-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.hb-page-header:hover .hb-page-header-image {
    transform: scale(1);
}

/* Gradient overlay */
.hb-page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0, 42, 102, 0.92) 0%,
        rgba(0, 109, 255, 0.85) 50%,
        rgba(0, 74, 179, 0.90) 100%
    );
    z-index: 1;
}

/* Without image — solid gradient */
.hb-page-header:not(.hb-page-header--has-image) .hb-page-header-overlay {
    background: linear-gradient(
        135deg,
        var(--blue-500) 0%,
        var(--blue-700) 60%,
        var(--blue-800) 100%
    );
}

/* Dot pattern overlay */
.hb-page-header-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 32px 32px;
    z-index: 2;
    pointer-events: none;
}

/* Content */
.hb-page-header-content {
    position: relative;
    z-index: 3;
}

.hb-page-header-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 20px;
    max-width: 680px;
}

/* Animated underline */
.hb-page-header-line {
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
    border-radius: 3px;
    animation: hb-line-in 0.8s var(--ease-out) forwards;
    transform-origin: left;
}

@keyframes hb-line-in {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}


/* =============================================
   BREADCRUMB
   ============================================= */
.hb-breadcrumb-nav {
    margin-bottom: 16px;
}

.hb-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hb-breadcrumb-item a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--duration) ease;
}
.hb-breadcrumb-item a i {
    font-size: 11px;
}
.hb-breadcrumb-item a:hover {
    color: var(--white);
}

.hb-breadcrumb-divider {
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.25);
    font-size: 9px;
    display: flex;
    align-items: center;
}

.hb-breadcrumb-item--active {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}


/* =============================================
   PAGE CONTENT
   ============================================= */
.hb-page-content {
    padding: 64px 0 80px;
    background: var(--white);
}

.hb-page-content-inner {
    /*max-width: 860px;*/
    margin: 0 auto;
}

/* Typography inside page content */
.hb-page-content .entry-content {
    font-size: 16.5px;
    color: var(--gray-600);
    line-height: 1.8;
}

.hb-page-content .entry-content h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin: 48px 0 20px;
    line-height: 1.2;
}

.hb-page-content .entry-content h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin: 40px 0 16px;
    line-height: 1.25;
}

.hb-page-content .entry-content h3 {
    font-family: var(--font-display);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    margin: 36px 0 14px;
    line-height: 1.3;
}

.hb-page-content .entry-content h4,
.hb-page-content .entry-content h5,
.hb-page-content .entry-content h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gray-800);
    margin: 32px 0 12px;
}

.hb-page-content .entry-content p {
    margin-bottom: 20px;
}

.hb-page-content .entry-content a {
    color: var(--blue-500);
    /*text-decoration: underline;*/
    /*text-decoration-color: var(--blue-200);*/
    text-underline-offset: 3px;
    transition: all var(--duration) ease;
}
.hb-page-content .entry-content a:hover {
    color: var(--blue-600);
    /*text-decoration-color: var(--blue-500);*/
}

.hb-page-content .entry-content img {
    border-radius: var(--radius);
    margin: 8px 0;
}

.hb-page-content .entry-content ul,
.hb-page-content .entry-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.hb-page-content .entry-content li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.hb-page-content .entry-content ul li::marker {
    color: var(--blue-500);
}

.hb-page-content .entry-content blockquote {
    border-left: 3px solid var(--blue-500);
    padding: 20px 28px;
    margin: 28px 0;
    background: var(--blue-50);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 17px;
    font-style: italic;
    color: var(--gray-700);
}
.hb-page-content .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.hb-page-content .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.hb-page-content .entry-content thead th {
    background: var(--gray-50);
    padding: 14px 18px;
    text-align: left;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--gray-800);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid var(--gray-200);
}

.hb-page-content .entry-content td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-600);
}

.hb-page-content .entry-content tr:last-child td {
    border-bottom: none;
}

.hb-page-content .entry-content tr:hover td {
    background: var(--gray-25);
}

/* Horizontal rule */
.hb-page-content .entry-content hr {
    border: none;
    height: 1px;
    background: var(--gray-200);
    margin: 40px 0;
}

/* Code blocks */
.hb-page-content .entry-content code {
    background: var(--gray-100);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    color: var(--blue-700);
}

.hb-page-content .entry-content pre {
    background: var(--gray-900);
    color: var(--gray-100);
    padding: 24px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.6;
}
.hb-page-content .entry-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* WordPress alignment */
.hb-page-content .entry-content .aligncenter {
    display: block;
    margin: 24px auto;
}
.hb-page-content .entry-content .alignleft {
    float: left;
    margin: 8px 24px 16px 0;
}
.hb-page-content .entry-content .alignright {
    float: right;
    margin: 8px 0 16px 24px;
}

/* WordPress captions */
.hb-page-content .entry-content .wp-caption {
    max-width: 100%;
    margin: 24px 0;
}
.hb-page-content .entry-content .wp-caption-text {
    font-size: 13px;
    color: var(--gray-400);
    text-align: center;
    margin-top: 8px;
}

/* WordPress galleries */
.hb-page-content .entry-content .wp-block-gallery {
    gap: 12px;
}
.hb-page-content .entry-content .wp-block-gallery .wp-block-image img {
    border-radius: var(--radius-sm);
}


/* =============================================
   PAGE LINKS (pagination within page)
   ============================================= */
.hb-page-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
}
.hb-page-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    text-decoration: none;
    transition: all var(--duration) ease;
}
.hb-page-links a:hover {
    background: var(--blue-500);
    border-color: var(--blue-500);
    color: var(--white);
}


/* =============================================
   EDIT LINK (admin)
   ============================================= */
.hb-entry-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.hb-edit-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--duration) ease;
}
.hb-edit-link a:hover {
    color: var(--blue-500);
    border-color: var(--blue-200);
    background: var(--blue-50);
}


/* =============================================
   PAGE HEADER RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .hb-page-header {
        padding: 64px 0 48px;
        min-height: 220px;
    }
}

@media (max-width: 768px) {
    .hb-page-header {
        padding: 56px 0 40px;
        min-height: 200px;
    }

    .hb-page-content {
        padding: 48px 0 64px;
    }

    .hb-page-content-inner {
        max-width: 100%;
    }

    .hb-page-content .entry-content .alignleft,
    .hb-page-content .entry-content .alignright {
        float: none;
        display: block;
        margin: 16px auto;
    }
}


/* =============================================
   CONTACT PAGE
   ============================================= */


/* --- Info Cards Section --- */
.hb-contact-info {
    padding: 80px 0 40px;
    background: var(--white);
}

.hb-contact-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.hb-contact-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}
.hb-contact-card:hover {
    border-color: var(--gray-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    color: inherit;
}
.hb-contact-card:hover::before {
    transform: scaleX(1);
}

.hb-contact-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius);
    font-size: 22px;
    color: var(--blue-500);
    margin-bottom: 18px;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-contact-card:hover .hb-contact-card-icon {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.hb-contact-card-icon--cyan {
    background: #ECFEFF;
    color: var(--cyan-500);
}
.hb-contact-card:hover .hb-contact-card-icon--cyan {
    background: var(--cyan-500);
    color: var(--white);
    box-shadow: 0 10px 30px -8px rgba(6, 182, 212, 0.3);
}

.hb-contact-card-icon--emerald {
    background: #ECFDF5;
    color: var(--emerald-500);
}
.hb-contact-card:hover .hb-contact-card-icon--emerald {
    background: var(--emerald-500);
    color: var(--white);
    box-shadow: 0 10px 30px -8px rgba(16, 185, 129, 0.3);
}

.hb-contact-card-icon--amber {
    background: #FFFBEB;
    color: #F59E0B;
}
.hb-contact-card:hover .hb-contact-card-icon--amber {
    background: #F59E0B;
    color: var(--white);
    box-shadow: 0 10px 30px -8px rgba(245, 158, 11, 0.3);
}

.hb-contact-card-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.hb-contact-card-text {
    font-size: 13.5px;
    color: var(--gray-500);
    line-height: 1.65;
    margin: 0;
}

.hb-contact-card-sub {
    font-size: 12px;
    color: var(--gray-400);
}

/* Live indicator */
.hb-contact-card-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 4px 12px 4px 8px;
    background: #ECFDF5;
    border-radius: 100px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--emerald-500);
}
.hb-contact-card-live-dot {
    width: 7px;
    height: 7px;
    background: var(--emerald-500);
    border-radius: 50%;
    animation: hb-pulse-dot 2s ease-in-out infinite;
}


/* --- Message Banner --- */
.hb-contact-message {
    padding: 0 0 60px;
    background: var(--white);
}

.hb-contact-message-inner {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 40px 44px;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}
.hb-contact-message-inner::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 109, 255, 0.06), transparent 70%);
    top: -60px;
    right: -40px;
    pointer-events: none;
}

.hb-contact-message-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-500);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: var(--shadow-blue);
}

.hb-contact-message-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.hb-contact-message-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 8px;
}
.hb-contact-message-content p:last-child {
    margin-bottom: 0;
}


/* --- Form + Map Section --- */
.hb-contact-main {
    padding: 40px 0 100px;
    background: var(--white);
}

/* Form Wrapper */
.hb-contact-form-wrap {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hb-contact-form-header {
    padding: 36px 36px 0;
}

.hb-contact-form-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.hb-contact-form-subtitle {
    font-size: 14.5px;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 0;
}

.hb-contact-form-body {
    padding: 28px 36px 36px;
    flex: 1;
}

/* CF7 form styling */
.hb-contact-form-body .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 14px;
}

.hb-contact-form-body label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.hb-contact-form-body input[type="text"],
.hb-contact-form-body input[type="email"],
.hb-contact-form-body input[type="tel"],
.hb-contact-form-body input[type="url"],
.hb-contact-form-body textarea,
.hb-contact-form-body select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gray-700);
    background: var(--white);
    transition: all var(--duration) ease;
    outline: none;
}

.hb-contact-form-body input:focus,
.hb-contact-form-body textarea:focus,
.hb-contact-form-body select:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(0, 109, 255, 0.08);
}

.hb-contact-form-body input::placeholder,
.hb-contact-form-body textarea::placeholder {
    color: var(--gray-400);
}

.hb-contact-form-body textarea {
    resize: vertical;
    min-height: 120px;
}

.hb-contact-form-body input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 32px;
    background: var(--blue-500);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-md) var(--ease-out);
    margin-top: 4px;
}
.hb-contact-form-body input[type="submit"]:hover {
    background: var(--blue-600);
    box-shadow: var(--shadow-blue);
    transform: translateY(-1px);
}

/* CF7 validation */
.hb-contact-form-body .wpcf7-not-valid {
    border-color: #EF4444;
}
.hb-contact-form-body .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #EF4444;
    margin-top: 4px;
}
.hb-contact-form-body .wpcf7-response-output {
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 14px;
    margin-top: 16px;
}


/* Map Wrapper */
.hb-contact-map-wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 520px;
}

.hb-contact-map-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
}
.hb-contact-map-label i {
    color: var(--blue-500);
    font-size: 14px;
}

.hb-contact-map {
    flex: 1;
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    min-height: 480px;
}

.hb-contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 480px;
}


/* =============================================
   LEGACY COMPAT — contactbg, addressbox2
   ============================================= */
.contactbg { display: none !important; }
.addressbox2 { text-align: center; }


/* =============================================
   CONTACT PAGE RESPONSIVE
   ============================================= */
@media (max-width: 1199px) {
    .hb-contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .hb-contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .hb-contact-info { padding: 60px 0 32px; }
    .hb-contact-main { padding: 32px 0 72px; }

    .hb-contact-message-inner {
        flex-direction: column;
        padding: 32px 28px;
    }

    .hb-contact-form-header { padding: 28px 28px 0; }
    .hb-contact-form-body { padding: 20px 28px 28px; }
}

@media (max-width: 768px) {
    .hb-contact-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hb-contact-card {
        flex-direction: row;
        text-align: left;
        padding: 20px 24px;
        gap: 16px;
    }

    .hb-contact-card-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .hb-contact-card-live {
        margin-top: 8px;
    }

    .hb-contact-map-wrap { min-height: 380px; }
    .hb-contact-map { min-height: 360px; }
    .hb-contact-map iframe { min-height: 360px; }
}

@media (max-width: 575px) {
    .hb-contact-form-header { padding: 24px 20px 0; }
    .hb-contact-form-body { padding: 16px 20px 24px; }
}

/* =============================================
   ABOUT PAGE
   ============================================= */


/* --- Intro --- */
.hb-about-intro {
    padding: 80px 0 60px;
    background: var(--white);
}

.hb-about-intro-lead {
    font-size: 17.5px;
    color: var(--gray-500);
    line-height: 1.8;
    max-width: 580px;
}

/* Stat highlights grid */
.hb-about-intro-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hb-about-highlight {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-about-highlight:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.hb-about-highlight-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--blue-500);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
}

.hb-about-highlight-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
    line-height: 1.35;
}


/* --- Value Cards --- */
.hb-about-values {
    padding: 0 0 80px;
    background: var(--white);
}

.hb-about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hb-about-value-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px 32px;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-about-value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}
.hb-about-value-card:hover {
    border-color: var(--gray-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.hb-about-value-card:hover::before {
    transform: scaleX(1);
}

.hb-about-value-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius);
    font-size: 20px;
    color: var(--blue-500);
    margin-bottom: 20px;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-about-value-card:hover .hb-about-value-icon {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.hb-about-value-icon--cyan {
    background: #ECFEFF;
    color: var(--cyan-500);
}
.hb-about-value-card:hover .hb-about-value-icon--cyan {
    background: var(--cyan-500);
    color: var(--white);
    box-shadow: 0 10px 30px -8px rgba(6, 182, 212, 0.3);
}

.hb-about-value-icon--emerald {
    background: #ECFDF5;
    color: var(--emerald-500);
}
.hb-about-value-card:hover .hb-about-value-icon--emerald {
    background: var(--emerald-500);
    color: var(--white);
    box-shadow: 0 10px 30px -8px rgba(16, 185, 129, 0.3);
}

.hb-about-value-icon--amber {
    background: #FFFBEB;
    color: #F59E0B;
}
.hb-about-value-card:hover .hb-about-value-icon--amber {
    background: #F59E0B;
    color: var(--white);
    box-shadow: 0 10px 30px -8px rgba(245, 158, 11, 0.3);
}

.hb-about-value-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.hb-about-value-card p {
    font-size: 14.5px;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
}


/* --- Promise Banner --- */
.hb-about-promise {
    padding: 0 0 80px;
    background: var(--white);
}

.hb-about-promise-inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 36px 40px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}
.hb-about-promise-inner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
    top: -120px;
    right: -80px;
    pointer-events: none;
}
.hb-about-promise-inner::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.08), transparent 70%);
    bottom: -80px;
    left: -40px;
    pointer-events: none;
}

.hb-about-promise-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.hb-about-promise-content {
    position: relative;
    z-index: 1;
}

.hb-about-promise-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.hb-about-promise-content p {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    margin: 0;
    max-width: 600px;
}


/* --- Structure / Divisions --- */
.hb-about-structure {
    padding: 80px 0;
    background: var(--gray-50);
}

.hb-about-structure-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
}

.hb-about-structure-image img {
    max-width: 100%;
    height: auto;
}

.hb-about-structure-desc {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 28px;
}

.hb-about-divisions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hb-about-division {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: all var(--duration-md) var(--ease-out);
}
.hb-about-division:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow);
    transform: translateX(6px);
}

.hb-about-division-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius-sm);
    color: var(--blue-500);
    font-size: 16px;
    flex-shrink: 0;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-about-division:hover .hb-about-division-icon {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.hb-about-division span {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
}


/* --- Reviews --- */
.hb-about-reviews {
    padding: 80px 0;
    background: var(--white);
}

.hb-about-reviews-widgets {
    max-width: 100%;
    overflow: hidden;
}


/* --- CTA --- */
.hb-about-cta {
    padding: 0 0 80px;
    background: var(--white);
}

.hb-about-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 48px 52px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
}

.hb-about-cta-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.hb-about-cta-desc {
    font-size: 15.5px;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
    max-width: 520px;
}

.hb-about-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}


/* =============================================
   ABOUT PAGE RESPONSIVE
   ============================================= */
@media (max-width: 1199px) {
    .hb-about-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .hb-about-intro { padding: 60px 0 48px; }
    .hb-about-values { padding: 0 0 60px; }
    .hb-about-promise { padding: 0 0 60px; }
    .hb-about-structure { padding: 60px 0; }
    .hb-about-reviews { padding: 60px 0; }
    .hb-about-cta { padding: 0 0 60px; }

    .hb-about-intro-highlights { margin-top: 32px; }

    .hb-about-promise-inner {
        flex-direction: column;
        padding: 32px 28px;
    }

    .hb-about-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
    }
    .hb-about-cta-desc { max-width: 100%; }
    .hb-about-cta-actions { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
    .hb-about-values-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hb-about-value-card {
        display: flex;
        gap: 16px;
        align-items: flex-start;
        padding: 24px 22px;
    }
    .hb-about-value-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .hb-about-intro-highlights {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .hb-about-highlight { padding: 20px 16px; }
    .hb-about-highlight-num { font-size: 26px; }

    .hb-about-cta-actions {
        flex-direction: column;
    }
    .hb-about-cta-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 575px) {
    .hb-about-divisions .hb-about-division {
        padding: 14px 16px;
    }
}

/* =============================================
   ACCREDITATION PAGE
   ============================================= */


/* --- Intro --- */
.hb-accred-intro {
    padding: 80px 0 60px;
    background: var(--white);
}

.hb-accred-intro-text {
    font-size: 16.5px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 14px;
}

/* Badge chips grid */
.hb-accred-intro-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hb-accred-intro-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: all var(--duration-md) var(--ease-out);
}
.hb-accred-intro-badge:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.hb-accred-intro-badge i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius-sm);
    color: var(--blue-500);
    font-size: 16px;
    flex-shrink: 0;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-accred-intro-badge:hover i {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.hb-accred-intro-badge span {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}


/* --- Accreditation Card List --- */
.hb-accred-list {
    padding: 0 0 80px;
    background: var(--white);
}

.hb-accred-card {
    display: flex;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 20px;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-accred-card:last-child {
    margin-bottom: 0;
}
.hb-accred-card:hover {
    border-color: var(--gray-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

/* Media / Image side */
.hb-accred-card-media {
    flex: 0 0 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px;
    background: var(--gray-50);
    border-right: 1px solid var(--gray-200);
}

.hb-accred-card-media img {
    max-width: 180px;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform var(--duration-md) var(--ease-out);
}
.hb-accred-card:hover .hb-accred-card-media img {
    transform: scale(1.04);
}

/* Body / Text side */
.hb-accred-card-body {
    flex: 1;
    padding: 36px 40px;
}

.hb-accred-card-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: var(--blue-50);
    color: var(--blue-500);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 100px;
    margin-bottom: 12px;
}

.hb-accred-card-tag--gold {
    background: #FFFBEB;
    color: #B45309;
}

.hb-accred-card-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.hb-accred-card-body p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 12px;
}
.hb-accred-card-body p:last-child {
    margin-bottom: 0;
}

.hb-accred-card-body strong {
    color: var(--gray-700);
}


/* --- Featured Card (Great Place to Work) --- */
.hb-accred-card--featured {
    border: 2px solid var(--blue-200);
    position: relative;
}
.hb-accred-card--featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
    z-index: 1;
}
.hb-accred-card--featured:hover {
    border-color: var(--blue-300);
}


/* --- Rankings Grid --- */
.hb-accred-rankings {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 18px 0;
}

.hb-accred-ranking {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 14px 12px;
    text-align: center;
    transition: all var(--duration) ease;
}
.hb-accred-ranking:hover {
    border-color: var(--blue-200);
    background: var(--blue-50);
}

.hb-accred-ranking-pos {
    display: block;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--blue-500);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 4px;
}

.hb-accred-ranking span:not(.hb-accred-ranking-pos) {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
    line-height: 1.3;
}


/* =============================================
   ACCREDITATION RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .hb-accred-intro { padding: 60px 0 48px; }
    .hb-accred-list { padding: 0 0 60px; }

    .hb-accred-intro-badges { margin-top: 28px; }

    .hb-accred-card {
        flex-direction: column;
    }

    .hb-accred-card-media {
        flex: none;
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
        padding: 32px;
    }

    .hb-accred-card-body {
        padding: 28px 32px;
    }

    .hb-accred-rankings {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hb-accred-intro-badges {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hb-accred-card-media { padding: 24px; }
    .hb-accred-card-media img {
        max-width: 140px;
        max-height: 120px;
    }

    .hb-accred-card-body { padding: 24px 22px; }

    .hb-accred-card-title { font-size: 18px; }
}

@media (max-width: 575px) {
    .hb-accred-intro-badges {
        grid-template-columns: 1fr;
    }

    .hb-accred-rankings {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .hb-accred-ranking { padding: 12px 10px; }
    .hb-accred-ranking-pos { font-size: 20px; }
}


/* =============================================
   BLOG — POST LISTING CARDS
   ============================================= */

/* Card */
.hb-post-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-post-card:hover {
    border-color: var(--gray-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* Media */
.hb-post-card-media {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.hb-post-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform var(--duration-lg) var(--ease-out);
}
.hb-post-card:hover .hb-post-card-img {
    transform: scale(1.04);
}

/* Category badge */
.hb-post-card-cat {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    padding: 5px 14px;
    background: var(--blue-500);
    color: var(--white);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 100px;
    text-decoration: none;
    z-index: 2;
}

.hb-post-card-cat--inline {
    position: static;
    background: var(--blue-50);
    color: var(--blue-500);
    margin-bottom: 12px;
}

/* Body */
.hb-post-card-body {
    padding: 28px 28px 24px;
}

.hb-post-card-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.35;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.hb-post-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration) ease;
}
.hb-post-card-title a:hover {
    color: var(--blue-500);
}

/* Meta */
.hb-post-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.hb-post-card-date,
.hb-post-card-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 500;
}
.hb-post-card-date i,
.hb-post-card-author i {
    font-size: 12px;
    color: var(--gray-300);
}

/* Excerpt */
.hb-post-card-excerpt {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 18px;
}

/* Read more link */
.hb-post-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-500);
    text-decoration: none;
    transition: gap var(--duration) ease, color var(--duration) ease;
}
.hb-post-card-link:hover {
    gap: 10px;
    color: var(--blue-600);
}
.hb-post-card-link i { font-size: 11px; }


/* =============================================
   BLOG LISTING LAYOUT
   ============================================= */
.hb-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Optional: 3-column for wider screens */
@media (min-width: 1200px) {
    .hb-blog-grid--3col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hb-blog-grid {
        grid-template-columns: 1fr;
    }
    .hb-post-card-img { height: 200px; }
    .hb-post-card-body { padding: 22px 22px 20px; }
    .hb-post-card-title { font-size: 18px; }
}


/* =============================================
   BLOG — SINGLE POST
   ============================================= */
.hb-single-post {
    padding: 60px 0 40px;
    background: var(--white);
}

/* Header */
.hb-single-header {
    max-width: 780px;
    margin: 0 auto 36px;
    text-align: center;
}

/* Categories */
.hb-single-cats {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.hb-single-cat {
    display: inline-flex;
    padding: 5px 14px;
    background: var(--blue-50);
    color: var(--blue-500);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 100px;
    text-decoration: none;
    transition: all var(--duration) ease;
}
.hb-single-cat:hover {
    background: var(--blue-500);
    color: var(--white);
}

/* Title */
.hb-single-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Meta row */
.hb-single-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hb-single-meta-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.hb-single-meta-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gray-200);
}

.hb-single-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: var(--gray-400);
    font-weight: 500;
}
.hb-single-meta-item i {
    font-size: 13px;
    color: var(--gray-300);
}

.hb-single-meta-divider {
    width: 4px;
    height: 4px;
    background: var(--gray-300);
    border-radius: 50%;
}

/* Featured Image */
.hb-single-featured {
    max-width: 900px;
    margin: 0 auto 44px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.hb-single-featured-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
}

/* Content area */
.hb-single-content {
    max-width: 740px;
    margin: 0 auto;
}

/* Inherit the page content typography from style-page.css */
.hb-single-content .entry-content {
    font-size: 16.5px;
    color: var(--gray-600);
    line-height: 1.8;
}

.hb-single-content .entry-content h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin: 40px 0 16px;
}

.hb-single-content .entry-content h3 {
    font-family: var(--font-display);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    color: var(--gray-900);
    margin: 32px 0 12px;
}

.hb-single-content .entry-content p { margin-bottom: 20px; }

.hb-single-content .entry-content a {
    color: var(--blue-500);
    /*text-decoration: underline;*/
    /*text-decoration-color: var(--blue-200);*/
    text-underline-offset: 3px;
    transition: all var(--duration) ease;
}
.hb-single-content .entry-content a:hover {
    color: var(--blue-600);
    /*text-decoration-color: var(--blue-500);*/
}

.hb-single-content .entry-content img {
    border-radius: var(--radius);
    margin: 8px 0;
}

.hb-single-content .entry-content blockquote {
    border-left: 3px solid var(--blue-500);
    padding: 20px 28px;
    margin: 28px 0;
    background: var(--blue-50);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 17px;
    font-style: italic;
    color: var(--gray-700);
}
.hb-single-content .entry-content blockquote p:last-child { margin-bottom: 0; }

.hb-single-content .entry-content ul,
.hb-single-content .entry-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}
.hb-single-content .entry-content li {
    margin-bottom: 8px;
    padding-left: 4px;
}
.hb-single-content .entry-content ul li::marker { color: var(--blue-500); }


/* --- Tags --- */
.hb-single-tags {
    max-width: 740px;
    margin: 36px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hb-single-tags-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    margin-right: 4px;
}

.hb-single-tag {
    display: inline-flex;
    padding: 4px 12px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    transition: all var(--duration) ease;
}
.hb-single-tag:hover {
    background: var(--blue-50);
    border-color: var(--blue-200);
    color: var(--blue-500);
}


/* --- Post Navigation --- */
.hb-single-nav {
    max-width: 740px;
    margin: 36px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--gray-200);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hb-single-nav-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-single-nav-item:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.hb-single-nav-next {
    text-align: right;
}

.hb-single-nav-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.hb-single-nav-label i { font-size: 10px; }

.hb-single-nav-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hb-single-nav-item:hover .hb-single-nav-title {
    color: var(--blue-500);
}


/* --- Single Post Responsive --- */
@media (max-width: 768px) {
    .hb-single-post { padding: 40px 0 32px; }
    .hb-single-header { margin-bottom: 28px; }
    .hb-single-featured { margin-bottom: 32px; }
    .hb-single-featured-img { border-radius: var(--radius); }

    .hb-single-nav {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .hb-single-nav-next { text-align: left; }
}


/* =============================================
   BLOG LISTING PAGE
   ============================================= */

.hb-blog-listing {
    padding: 48px 0 80px;
    background: var(--white);
}


/* --- Toolbar --- */
.hb-blog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.hb-blog-toolbar-info span {
    font-size: 14px;
    color: var(--gray-400);
    font-weight: 500;
}

/* View Toggle */
.hb-blog-view-toggle {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 3px;
    gap: 2px;
}

.hb-blog-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--gray-400);
    border-radius: var(--radius-xs);
    cursor: pointer;
    font-size: 14px;
    transition: all var(--duration) ease;
}
.hb-blog-view-btn:hover {
    color: var(--gray-600);
}
.hb-blog-view-btn--active {
    background: var(--white);
    color: var(--blue-500);
    box-shadow: var(--shadow-xs);
}

/* Use fa-solid alternatives since fa-grid-2 may not exist in all FA versions */
.hb-blog-view-btn[data-view="grid"] i::before { content: "\f00a"; }
.hb-blog-view-btn[data-view="list"] i::before { content: "\f03a"; }


/* --- Grid View (default) --- */
.hb-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    transition: all 0.3s ease;
}


/* --- List View --- */
.hb-blog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hb-blog-list .hb-post-card {
    display: grid;
    grid-template-columns: 320px 1fr;
}

.hb-blog-list .hb-post-card-media {
    height: 100%;
}

.hb-blog-list .hb-post-card-img {
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.hb-blog-list .hb-post-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 32px;
}

.hb-blog-list .hb-post-card-excerpt {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =============================================
   PAGINATION
   ============================================= */
.hb-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.hb-pagination-nav {
    display: inline-flex;
}

.hb-pagination-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hb-pagination-item a,
.hb-pagination-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--duration) ease;
}

.hb-pagination-item a:hover {
    color: var(--blue-500);
    border-color: var(--blue-200);
    background: var(--blue-50);
}

/* Active page */
.hb-pagination-item--active span,
.hb-pagination-item span.current {
    background: var(--blue-500);
    color: var(--white);
    border-color: var(--blue-500);
    box-shadow: var(--shadow-blue);
}

/* Prev/Next arrows */
.hb-pagination-item .prev,
.hb-pagination-item .next {
    color: var(--gray-500);
}
.hb-pagination-item .prev:hover,
.hb-pagination-item .next:hover {
    color: var(--blue-500);
    background: var(--blue-50);
    border-color: var(--blue-200);
}

/* Dots */
.hb-pagination-item .dots,
.hb-pagination-item span.dots {
    border: none;
    background: transparent;
    color: var(--gray-400);
    min-width: 28px;
    padding: 0;
}


/* =============================================
   EMPTY STATE
   ============================================= */
.hb-blog-empty {
    text-align: center;
    padding: 80px 20px;
}

.hb-blog-empty-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    font-size: 28px;
    color: var(--gray-400);
    margin: 0 auto 20px;
}

.hb-blog-empty h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.hb-blog-empty p {
    font-size: 15px;
    color: var(--gray-500);
}


/* =============================================
   BLOG LISTING RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .hb-blog-listing { padding: 36px 0 64px; }

    .hb-blog-list .hb-post-card {
        grid-template-columns: 260px 1fr;
    }
}

@media (max-width: 768px) {
    .hb-blog-grid {
        grid-template-columns: 1fr;
    }

    /* List view falls back to stacked on mobile */
    .hb-blog-list .hb-post-card {
        grid-template-columns: 1fr;
    }
    .hb-blog-list .hb-post-card-img {
        height: 200px;
        min-height: 200px;
    }
    .hb-blog-list .hb-post-card-body {
        padding: 22px 22px 20px;
    }

    .hb-blog-toolbar-info span { font-size: 13px; }

    .hb-pagination-item a,
    .hb-pagination-item span {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* =============================================
   SERVICE PAGES — Reusable Components
   ============================================= */


/* --- Intro --- */
.hb-srv-intro {
    padding: 64px 0;
    background: var(--white);
}

.hb-srv-intro-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hb-srv-intro-img {
    width: 100%;
    max-width: 380px;
    height: auto;
}

.hb-srv-intro-text {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 12px;
}
.hb-srv-intro-text:last-child { margin-bottom: 0; }


/* --- Banner (inline card style) --- */
.hb-srv-banner {
    padding: 0 0 64px;
    background: var(--white);
}

.hb-srv-banner-inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 36px 40px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}
.hb-srv-banner-inner::before {
    content: '';
    position: absolute;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
    top: -100px; right: -60px;
    pointer-events: none;
}

.hb-srv-banner-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.hb-srv-banner-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.hb-srv-banner-inner p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin: 0;
}


/* --- Benefits Grid (3-col cards) --- */
.hb-srv-benefits {
    padding: 64px 0;
    background: var(--gray-50);
}

.hb-srv-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hb-srv-benefit-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px 22px;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-srv-benefit-card:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.hb-srv-benefit-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius-sm);
    color: var(--blue-500);
    font-size: 16px;
    margin-bottom: 14px;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-srv-benefit-card:hover .hb-srv-benefit-icon {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.hb-srv-benefit-card h5 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.hb-srv-benefit-card p {
    font-size: 13.5px;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}


/* --- Requirements (compact checklist) --- */
.hb-srv-requirements {
    padding: 64px 0;
    background: var(--white);
}

.hb-srv-req-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.hb-srv-req-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: all var(--duration) ease;
}
.hb-srv-req-item:hover {
    border-color: var(--blue-200);
    background: var(--blue-50);
}

.hb-srv-req-item i {
    color: var(--blue-500);
    font-size: 16px;
    flex-shrink: 0;
}

.hb-srv-req-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.4;
}


/* --- Standards Row (3 equal cards) --- */
.hb-srv-standards {
    padding: 0 0 64px;
    background: var(--white);
}

.hb-srv-std-card {
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hb-srv-std-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-500);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 18px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-blue);
}

.hb-srv-std-card p {
    font-size: 14.5px;
    color: var(--gray-600);
    line-height: 1.65;
    margin: 0;
}

/* NMC card variant */
.hb-srv-std-card--nmc {
    text-decoration: none;
    transition: all var(--duration-md) var(--ease-out);
    justify-content: center;
    gap: 14px;
}
.hb-srv-std-card--nmc:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.hb-srv-std-card--nmc img {
    max-height: 100px;
    width: auto;
    border-radius: var(--radius-xs);
}

.hb-srv-std-card--nmc span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-500);
}
.hb-srv-std-card--nmc span i { font-size: 11px; }


/* --- Footer: Quote + Training cards --- */
.hb-srv-footer {
    padding: 0 0 80px;
    background: var(--white);
}

/* Quote card */
.hb-srv-quote-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hb-srv-quote-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center top;
}

.hb-srv-quote-body {
    padding: 28px;
    flex: 1;
}

.hb-srv-quote-icon {
    font-size: 20px;
    color: var(--blue-300);
    margin-bottom: 10px;
    display: block;
}

.hb-srv-quote-body p {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0;
}

/* Training card */
.hb-srv-training-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hb-srv-training-cert {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 18px;
}

.hb-srv-training-card h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.hb-srv-training-card p {
    font-size: 14.5px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 8px;
}
.hb-srv-training-card p:last-child { margin-bottom: 0; }

.hb-srv-training-small {
    font-size: 13px !important;
    color: var(--gray-400) !important;
    font-style: italic;
}

.hb-srv-training-card a {
    color: var(--blue-500);
    text-decoration: underline;
    text-decoration-color: var(--blue-200);
    text-underline-offset: 3px;
}
.hb-srv-training-card a:hover {
    color: var(--blue-600);
    text-decoration-color: var(--blue-500);
}


/* =============================================
   SERVICE PAGES RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .hb-srv-intro { padding: 48px 0; }
    .hb-srv-banner { padding: 0 0 48px; }
    .hb-srv-benefits { padding: 48px 0; }
    .hb-srv-requirements { padding: 48px 0; }
    .hb-srv-standards { padding: 0 0 48px; }
    .hb-srv-footer { padding: 0 0 60px; }

    .hb-srv-benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .hb-srv-req-grid { grid-template-columns: repeat(2, 1fr); }

    .hb-srv-banner-inner {
        flex-direction: column;
        padding: 28px 24px;
    }
}

@media (max-width: 768px) {
    .hb-srv-benefits-grid { grid-template-columns: 1fr; gap: 10px; }

    .hb-srv-benefit-card {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 18px;
    }
    .hb-srv-benefit-icon { margin-bottom: 0; flex-shrink: 0; }

    .hb-srv-req-grid { grid-template-columns: 1fr; }
}

/* =============================================
   NMC REVALIDATION PAGE
   ============================================= */

/* --- Highlights List --- */
.hb-nmc-highlights {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 22px;
}

.hb-nmc-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--gray-700);
    padding: 6px 0;
}

.hb-nmc-highlight i {
    color: var(--blue-500);
    font-size: 15px;
    flex-shrink: 0;
}

/* Price badge */
.hb-nmc-price {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 22px;
    background: var(--blue-50);
    border: 1px solid var(--blue-200);
    border-radius: var(--radius);
}

.hb-nmc-price-amount {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--blue-500);
    letter-spacing: -0.03em;
    line-height: 1;
}

.hb-nmc-price-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
}


/* --- Notice Card --- */
.hb-nmc-notice {
    padding: 0 0 64px;
    background: var(--white);
}

.hb-nmc-notice-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 24px 28px;
    background: var(--blue-500);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.hb-nmc-notice-card::before {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
    top: -80px; right: -40px;
    pointer-events: none;
}

.hb-nmc-notice-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 18px;
    flex-shrink: 0;
}

.hb-nmc-notice-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.hb-nmc-notice-text p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

.hb-nmc-notice-text a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hb-nmc-notice-text a:hover {
    color: var(--white);
    opacity: 0.9;
}


/* --- Requirements Grid --- */
.hb-nmc-required {
    padding: 64px 0;
    background: var(--gray-50);
}

.hb-nmc-req-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.hb-nmc-req-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px 20px;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-nmc-req-card:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.hb-nmc-req-icon {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius-sm);
    color: var(--blue-500);
    font-size: 16px;
    margin-bottom: 14px;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-nmc-req-card:hover .hb-nmc-req-icon {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.hb-nmc-req-card h5 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.hb-nmc-req-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.55;
    margin: 0;
}

/* Warning variant */
.hb-nmc-req-card--warning {
    border-color: #FED7AA;
    background: #FFFBF5;
}
.hb-nmc-req-card--warning .hb-nmc-req-icon {
    background: #FFF7ED;
    color: #EA580C;
}
.hb-nmc-req-card--warning:hover {
    border-color: #FDBA74;
}
.hb-nmc-req-card--warning:hover .hb-nmc-req-icon {
    background: #EA580C;
    color: var(--white);
    box-shadow: 0 10px 30px -8px rgba(234, 88, 12, 0.25);
}


/* --- Standards Section --- */
.hb-nmc-standards {
    padding: 64px 0;
    background: var(--white);
}

.hb-nmc-standards-img {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hb-nmc-standards-img img {
    width: 100%;
    max-width: 340px;
    height: auto;
}

.hb-nmc-standards-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    justify-content: center;
}

.hb-nmc-std-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 22px;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius);
}

.hb-nmc-std-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-500);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: var(--shadow-blue);
}

.hb-nmc-std-item p {
    font-size: 14.5px;
    color: var(--gray-600);
    line-height: 1.65;
    margin: 0;
}

/* NMC link */
.hb-nmc-nmc-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-nmc-nmc-link:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.hb-nmc-nmc-link img {
    height: 48px;
    width: auto;
    border-radius: 4px;
}

.hb-nmc-nmc-link span {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-500);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.hb-nmc-nmc-link span i { font-size: 11px; }


/* --- Training --- */
.hb-nmc-training {
    padding: 0 0 80px;
    background: var(--white);
}

.hb-nmc-training-card {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 36px 40px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
}

.hb-nmc-training-body { flex: 1; }

.hb-nmc-training-body h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.hb-nmc-training-body p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 6px;
}
.hb-nmc-training-body p:last-child { margin-bottom: 0; }

.hb-nmc-training-note {
    font-size: 13.5px !important;
    color: var(--gray-400) !important;
    font-style: italic;
}

.hb-nmc-training-body a {
    color: var(--blue-500);
    text-decoration: underline;
    text-decoration-color: var(--blue-200);
    text-underline-offset: 3px;
}
.hb-nmc-training-body a:hover {
    text-decoration-color: var(--blue-500);
}

.hb-nmc-training-cert {
    width: 120px;
    height: 120px;
    object-fit: contain;
    flex-shrink: 0;
}


/* =============================================
   NMC RESPONSIVE
   ============================================= */
@media (max-width: 1199px) {
    .hb-nmc-req-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .hb-nmc-required { padding: 48px 0; }
    .hb-nmc-standards { padding: 48px 0; }
    .hb-nmc-training { padding: 0 0 60px; }

    .hb-nmc-training-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hb-nmc-req-grid { grid-template-columns: 1fr; gap: 10px; }

    .hb-nmc-req-card {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 18px;
    }
    .hb-nmc-req-icon { margin-bottom: 0; flex-shrink: 0; }

    .hb-nmc-notice-card {
        flex-direction: column;
        padding: 20px 22px;
    }

    .hb-nmc-std-item { flex-direction: column; padding: 18px; }

    .hb-nmc-training-cert { width: 90px; height: 90px; }

    .hb-nmc-price {
        flex-direction: column;
        gap: 2px;
        align-items: flex-start;
    }
}

/* =============================================
   GLOBAL LINK FIX
   Add this to your main style.css
   ============================================= */

/* Default links: simple underline, no colour change */
a {
    color: inherit;
    text-decoration: underline;
    transition: opacity var(--duration) ease;
}
a:hover {
    color: inherit;
    opacity: 0.75;
}

/* Links inside buttons, nav, cards — no underline */
.btn a,
a.btn,
.hb-navbar a,
.hb-topbar a,
.hb-footer a,
.hb-breadcrumb a,
.hb-post-card-title a,
.hb-post-card-link,
.hb-service-card-link,
.service-link,
.hb-srv-banner-inner a,
.hb-nmc-notice-text a,
.hb-nmc-nmc-link,
.hb-ci-cta-card a,
[class*="hb-btn"],
[class*="btn-primary"],
[class*="btn-outline"],
.nav-link,
.navbar-brand,
.hb-footer-social,
.hb-footer-links a,
.hb-footer-contact-item a,
.hb-back-to-top,
.hb-topbar-social,
.hb-topbar-item,
.hb-single-cat,
.hb-single-tag,
.hb-single-nav-item,
.hb-about-phone,
.hb-accred-intro-badge,
.hb-contact-card,
.hb-srv-std-card--nmc,
a[class*="hb-"] {
    text-decoration: none;
}
a[class*="hb-"]:hover,
.hb-footer-links a:hover,
.hb-post-card-title a:hover {
    opacity: 1;
}

/* Blue links only inside content areas */
.entry-content a,
.hb-srv-intro-text a,
.hb-nmc-training-body a,
.hb-ci-text a,
.hb-srv-training-card a,
.hb-srv-training-card-content a {
    color: var(--blue-500);
    /*text-decoration: underline;*/
}
.entry-content a:hover,
.hb-srv-intro-text a:hover,
.hb-nmc-training-body a:hover,
.hb-ci-text a:hover {
    color: var(--blue-600);
    opacity: 1;
}


/* =============================================
   CLINICAL INTERVIEWS PAGE
   ============================================= */

/* --- Hero --- */
.hb-ci-hero {
    padding: 64px 0;
    background: var(--white);
}

.hb-ci-lead {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 10px;
}

.hb-ci-text {
    font-size: 15.5px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 12px;
}

.hb-ci-hero-img {
    width: 100%;
    max-width: 440px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Inline stats */
.hb-ci-stats-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
    padding: 22px 28px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}

.hb-ci-stat { text-align: center; }

.hb-ci-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--blue-500);
    letter-spacing: -0.03em;
    line-height: 1;
}

.hb-ci-stat-label {
    display: block;
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 500;
    margin-top: 4px;
}

.hb-ci-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--gray-200);
    flex-shrink: 0;
}


/* --- Process Steps --- */
.hb-ci-process {
    padding: 64px 0;
    background: var(--gray-50);
}

.hb-ci-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
}

.hb-ci-step {
    flex: 1;
    max-width: 220px;
    text-align: center;
    padding: 0 12px;
}

.hb-ci-step-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--blue-100);
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.hb-ci-step h5 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.hb-ci-step p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.55;
    margin: 0;
}

.hb-ci-step-arrow {
    display: flex;
    align-items: center;
    padding-top: 10px;
    color: var(--gray-300);
    font-size: 14px;
    flex-shrink: 0;
}


/* --- Benefits Grid (5-col) --- */
.hb-ci-benefits {
    padding: 64px 0;
    background: var(--white);
}

.hb-ci-benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.hb-ci-benefit {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 22px 18px;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-ci-benefit:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.hb-ci-benefit-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius-xs);
    color: var(--blue-500);
    font-size: 15px;
    margin-bottom: 12px;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-ci-benefit:hover .hb-ci-benefit-icon {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.hb-ci-benefit h5 {
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 5px;
}

.hb-ci-benefit p {
    font-size: 12.5px;
    color: var(--gray-500);
    line-height: 1.5;
    margin: 0;
}


/* --- What Makes Us Different --- */
.hb-ci-different {
    padding: 64px 0;
    background: var(--gray-50);
}

.hb-ci-different-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hb-ci-diff-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.hb-ci-diff-point {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: all var(--duration-md) var(--ease-out);
}
.hb-ci-diff-point:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-xs);
    transform: translateX(4px);
}

.hb-ci-diff-icon {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius-xs);
    color: var(--blue-500);
    font-size: 15px;
    flex-shrink: 0;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-ci-diff-point:hover .hb-ci-diff-icon {
    background: var(--blue-500);
    color: var(--white);
}

.hb-ci-diff-point h5 {
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 3px;
}

.hb-ci-diff-point p {
    font-size: 13.5px;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}


/* --- Training (reuses NMC training card) --- */
.hb-ci-training {
    padding: 64px 0 0;
    background: var(--white);
}


/* --- Free Trial CTA --- */
.hb-ci-cta {
    padding: 64px 0 80px;
    background: var(--white);
}

.hb-ci-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 40px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}
.hb-ci-cta-card::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.07), transparent 70%);
    top: -120px; right: -60px;
    pointer-events: none;
}

.hb-ci-cta-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
}

.hb-ci-cta-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    margin: 0;
    max-width: 520px;
}

.hb-ci-cta-card .hb-btn-primary {
    background: var(--white) !important;
    color: var(--blue-500) !important;
    border-color: var(--white) !important;
    box-shadow: none;
    flex-shrink: 0;
}
.hb-ci-cta-card .hb-btn-primary:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}


/* =============================================
   CLINICAL INTERVIEWS RESPONSIVE
   ============================================= */
@media (max-width: 1199px) {
    .hb-ci-benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
    .hb-ci-hero, .hb-ci-process, .hb-ci-benefits,
    .hb-ci-different, .hb-ci-training { padding: 48px 0; }
    .hb-ci-cta { padding: 48px 0 60px; }

    .hb-ci-benefits-grid { grid-template-columns: repeat(2, 1fr); }

    .hb-ci-steps { flex-wrap: wrap; gap: 16px; }
    .hb-ci-step-arrow { display: none; }
    .hb-ci-step { min-width: 160px; }

    .hb-ci-stats-row { flex-direction: column; gap: 16px; }
    .hb-ci-stat-divider { width: 40px; height: 1px; }

    .hb-ci-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 28px;
    }
    .hb-ci-cta-card p { max-width: 100%; }
}

@media (max-width: 768px) {
    .hb-ci-benefits-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hb-ci-benefit { padding: 18px 14px; }

    .hb-ci-steps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
}

@media (max-width: 575px) {
    .hb-ci-benefits-grid { grid-template-columns: 1fr; }
    .hb-ci-steps { grid-template-columns: 1fr; }
}

/* =============================================
   OCCUPATIONAL HEALTH PAGE
   ============================================= */

/* --- Why Banner (amber-tinted) --- */
.hb-oh-why-banner {
    padding: 0 0 64px;
    background: var(--white);
}

.hb-oh-why-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px 32px;
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    border-radius: var(--radius-lg);
}

.hb-oh-why-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: #EA580C;
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 18px;
    flex-shrink: 0;
}

.hb-oh-why-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.hb-oh-why-card p {
    font-size: 14.5px;
    color: var(--gray-600);
    line-height: 1.65;
    margin: 0;
}


/* --- Why Choose Us --- */
.hb-oh-choose {
    padding: 64px 0;
    background: var(--gray-50);
}

.hb-oh-section-img {
    width: 100%;
    max-width: 460px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hb-oh-section-img--sticky {
    position: sticky;
    top: 100px;
}

.hb-oh-trust-points {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.hb-oh-trust-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--gray-700);
    padding: 8px 0;
}

.hb-oh-trust-point i {
    color: var(--blue-500);
    font-size: 15px;
    flex-shrink: 0;
}


/* --- Twin Card Layout --- */
.hb-oh-standards {
    padding: 64px 0;
    background: var(--white);
}

.hb-oh-comms {
    padding: 0 0 80px;
    background: var(--white);
}

.hb-oh-twin-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hb-oh-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-oh-card:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow);
}

.hb-oh-card-icon {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius-sm);
    color: var(--blue-500);
    font-size: 17px;
    margin-bottom: 16px;
}

.hb-oh-card h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.hb-oh-card p {
    font-size: 14.5px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 8px;
}
.hb-oh-card p:last-child { margin-bottom: 0; }

.hb-oh-card-small {
    font-size: 13px !important;
    color: var(--gray-400) !important;
}


/* --- Communication Channels --- */
.hb-oh-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.hb-oh-channels span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gray-600);
}

.hb-oh-channels span i {
    color: var(--blue-500);
    font-size: 11px;
}


/* --- Services Checklist --- */
.hb-oh-services-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.hb-oh-services-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--gray-50);
    border-radius: var(--radius-xs);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    transition: all var(--duration) ease;
}
.hb-oh-services-list span:hover {
    background: var(--blue-50);
    transform: translateX(3px);
}

.hb-oh-services-list span i {
    color: var(--blue-500);
    font-size: 14px;
    flex-shrink: 0;
}


/* =============================================
   OH PAGE RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .hb-oh-choose,
    .hb-oh-standards { padding: 48px 0; }
    .hb-oh-comms { padding: 0 0 60px; }

    .hb-oh-why-card {
        flex-direction: column;
        padding: 24px;
    }

    .hb-oh-section-img--sticky {
        position: static;
        margin-top: 24px;
    }
}

@media (max-width: 768px) {
    .hb-oh-channels { gap: 6px; }

    .hb-oh-card { padding: 22px 20px; }
}


/* =============================================
   SAFETY CRITICAL MEDICALS PAGE
   ============================================= */

/* --- Hero --- */
.hb-scm-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin: 20px 16px;
    min-height: 300px;
}

.hb-scm-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hb-scm-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 50, 110, 0.9) 0%,
        rgba(0, 70, 140, 0.8) 45%,
        rgba(0, 80, 150, 0.4) 75%,
        transparent 100%
    );
    z-index: 1;
}

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

.hb-scm-hero-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding: 48px 8px;
}

.hb-scm-hero-content { max-width: 680px; }

.hb-scm-hero-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hb-scm-hero-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    margin-bottom: 8px;
}

.hb-scm-hero-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    padding: 12px 32px;
    background: var(--white);
    color: var(--blue-500) !important;
    font-weight: 700;
    font-size: 15px;
    border-radius: 100px;
    border: none;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-scm-hero-btn:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: var(--blue-600) !important;
}

.hb-scm-hero-badge {
    flex-shrink: 0;
    padding-top: 8px;
}
.hb-scm-hero-badge img {
    width: 100px;
    height: auto;
}


/* --- Section Image --- */
.hb-scm-section-img {
    width: 100%;
    border-radius: var(--radius-lg);
    height: auto;
}


/* --- Services Available --- */
.hb-scm-services {
    padding: 64px 0;
    background: var(--white);
}

.hb-scm-service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.hb-scm-service-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--gray-700);
    transition: all var(--duration) ease;
}
.hb-scm-service-tag:hover {
    border-color: var(--blue-200);
    background: var(--blue-50);
    color: var(--blue-600);
}

.hb-scm-service-tag i {
    color: var(--blue-500);
    font-size: 13px;
    flex-shrink: 0;
}

.hb-scm-service-tag--wide {
    flex-basis: 100%;
}

.hb-scm-tailored {
    font-size: 14px;
    color: var(--gray-400);
    margin-top: 16px;
    font-style: italic;
}


/* --- Blue Banner --- */
.hb-scm-banner {
    padding: 56px 0;
    background: var(--blue-500);
    position: relative;
    overflow: hidden;
}
.hb-scm-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 500px 350px at 15% 60%, rgba(34, 211, 238, 0.08), transparent),
        radial-gradient(ellipse 400px 300px at 85% 30%, rgba(255, 255, 255, 0.04), transparent);
    pointer-events: none;
}

.hb-scm-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.hb-scm-banner-title {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hb-scm-banner-inner p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 6px;
}
.hb-scm-banner-inner p:last-child { margin-bottom: 0; }


/* --- Why Work With Us --- */
.hb-scm-why {
    padding: 64px 0;
    background: var(--white);
}

.hb-scm-reasons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 20px;
}

.hb-scm-reason {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--gray-50);
    border-radius: var(--radius-xs);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    transition: all var(--duration) ease;
}
.hb-scm-reason:hover {
    background: var(--blue-50);
    transform: translateX(3px);
}

.hb-scm-reason i {
    color: var(--blue-500);
    font-size: 14px;
    flex-shrink: 0;
}


/* --- Quote Form Section --- */
.hb-scm-quote {
    padding: 72px 0 80px;
    background: var(--gray-900);
    position: relative;
    overflow: hidden;
}
.hb-scm-quote::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 500px 400px at 10% 80%, rgba(0, 109, 255, 0.1), transparent),
        radial-gradient(ellipse 400px 300px at 90% 20%, rgba(34, 211, 238, 0.06), transparent);
    pointer-events: none;
}

/* Form wrapper */
.hb-scm-quote-form {
    position: relative;
    z-index: 1;
}

.hb-scm-quote-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
}

/* Style Forminator form inputs on dark bg */
.hb-scm-quote-form .forminator-custom-form input[type="text"],
.hb-scm-quote-form .forminator-custom-form input[type="email"],
.hb-scm-quote-form .forminator-custom-form input[type="tel"],
.hb-scm-quote-form .forminator-custom-form input[type="number"],
.hb-scm-quote-form .forminator-custom-form textarea,
.hb-scm-quote-form .forminator-custom-form select {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--white) !important;
    padding: 12px 16px !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
}
.hb-scm-quote-form .forminator-custom-form input::placeholder,
.hb-scm-quote-form .forminator-custom-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}
.hb-scm-quote-form .forminator-custom-form input:focus,
.hb-scm-quote-form .forminator-custom-form textarea:focus,
.hb-scm-quote-form .forminator-custom-form select:focus {
    border-color: var(--blue-400) !important;
    box-shadow: 0 0 0 3px rgba(0, 109, 255, 0.15) !important;
}
.hb-scm-quote-form .forminator-custom-form label {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
.hb-scm-quote-form .forminator-custom-form .forminator-button {
    background: var(--blue-500) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-scm-quote-form .forminator-custom-form .forminator-button:hover {
    background: var(--blue-400) !important;
    box-shadow: var(--shadow-blue);
    transform: translateY(-1px);
}

/* Info sidebar */
.hb-scm-quote-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    position: relative;
    z-index: 1;
}

.hb-scm-quote-info-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.hb-scm-quote-checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hb-scm-quote-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 0;
}

.hb-scm-quote-check i {
    color: var(--blue-400);
    font-size: 14px;
    flex-shrink: 0;
}

.hb-scm-quote-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hb-scm-quote-badges img {
    height: 48px;
    width: auto;
    opacity: 0.85;
}


/* =============================================
   SCM RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .hb-scm-hero { margin: 12px; min-height: 240px; }
    .hb-scm-hero-inner { flex-direction: column; padding: 36px 4px; }
    .hb-scm-hero-badge { display: none; }

    .hb-scm-services, .hb-scm-why { padding: 48px 0; }
    .hb-scm-banner { padding: 40px 0; }
    .hb-scm-quote { padding: 48px 0 60px; }

    .hb-scm-reasons { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hb-scm-hero {
        margin: 8px;
        border-radius: var(--radius-lg);
    }

    .hb-scm-hero-overlay {
        background: rgba(0, 50, 110, 0.85);
    }

    .hb-scm-service-grid { gap: 6px; }
    .hb-scm-service-tag { padding: 8px 12px; font-size: 13px; }

    .hb-scm-quote-info { padding: 24px 20px; }
}

/* =============================================
   ONLINE TRAINING PAGE
   ============================================= */

/* --- Standards + Renewal --- */
.hb-ot-standards {
    padding: 64px 0;
    background: var(--gray-50);
}

.hb-ot-renewal-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.hb-ot-renewal-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hb-ot-renewal-title i {
    color: var(--blue-500);
    font-size: 16px;
}

.hb-ot-renewal-table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hb-ot-renewal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid var(--gray-100);
    gap: 12px;
}
.hb-ot-renewal-row:last-child { border-bottom: none; }
.hb-ot-renewal-row:hover { background: var(--gray-50); }

.hb-ot-renewal-row > span:first-child {
    font-size: 13.5px;
    color: var(--gray-700);
    font-weight: 500;
}

.hb-ot-renewal-badge {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.hb-ot-renewal-badge--1y {
    background: #FEE2E2;
    color: #DC2626;
}
.hb-ot-renewal-badge--2y {
    background: #FEF3C7;
    color: #D97706;
}
.hb-ot-renewal-badge--3y {
    background: #DCFCE7;
    color: #16A34A;
}

.hb-ot-renewal-note {
    font-size: 12.5px;
    color: var(--gray-400);
    font-style: italic;
    margin-top: 14px;
    margin-bottom: 0;
}


/* --- Info Cards (Compliance + Communication) --- */
.hb-ot-info {
    padding: 0 0 64px;
    background: var(--gray-50);
}


/* --- Course Section --- */
.hb-ot-courses {
    padding: 64px 0 80px;
    background: var(--white);
}

/* Search */
.hb-ot-course-search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto 36px;
    padding: 12px 18px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: all var(--duration) ease;
}
.hb-ot-course-search:focus-within {
    border-color: var(--blue-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 109, 255, 0.08);
}

.hb-ot-course-search i {
    color: var(--gray-400);
    font-size: 14px;
    flex-shrink: 0;
}

.hb-ot-course-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gray-700);
    outline: none;
}
.hb-ot-course-search input::placeholder {
    color: var(--gray-400);
}

/* Course Grid */
.hb-ot-course-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.hb-ot-course-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--duration-md) var(--ease-out);
    cursor: default;
}
.hb-ot-course-card:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.hb-ot-course-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.hb-ot-course-card span {
    display: block;
    padding: 10px 12px;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gray-800);
    text-align: center;
    line-height: 1.35;
}

/* Count */
.hb-ot-course-count {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 500;
}


/* =============================================
   ONLINE TRAINING RESPONSIVE
   ============================================= */
@media (max-width: 1199px) {
    .hb-ot-course-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 991px) {
    .hb-ot-standards { padding: 48px 0; }
    .hb-ot-courses { padding: 48px 0 60px; }
    .hb-ot-course-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .hb-ot-course-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .hb-ot-course-card img { height: 90px; }
    .hb-ot-course-card span { font-size: 11.5px; padding: 8px 10px; }
}

@media (max-width: 575px) {
    .hb-ot-course-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   VIDEO LINK TRAINING PAGE
   Only new components — rest reuses:
   - hb-srv-intro, hb-ci-* (from clinical interviews)
   - hb-oh-* (from occupational health)
   ============================================= */

/* --- Standards Card (blue gradient) --- */
.hb-vl-standards {
    padding: 0 0 64px;
    background: var(--white);
}

.hb-vl-standards-card {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    border-radius: var(--radius-xl);
    padding: 48px 52px;
    position: relative;
    overflow: hidden;
}
.hb-vl-standards-card::before {
    content: '';
    position: absolute;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
    top: -140px; right: -80px;
    pointer-events: none;
}
.hb-vl-standards-card::after {
    content: '';
    position: absolute;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(34,211,238,0.07), transparent 70%);
    bottom: -100px; left: -40px;
    pointer-events: none;
}

.hb-vl-standards-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.hb-vl-standards-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.hb-vl-standards-card p {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
    margin-bottom: 20px;
}

.hb-vl-standards-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--white);
    color: var(--blue-500) !important;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-sm);
    border: none;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-vl-standards-btn:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: var(--blue-600) !important;
}
.hb-vl-standards-btn i { font-size: 12px; }


/* --- Info Section --- */
.hb-vl-info {
    padding: 64px 0 80px;
    background: var(--gray-50);
}


/* --- Responsive --- */
@media (max-width: 991px) {
    .hb-vl-standards-card { padding: 36px 28px; }
    .hb-vl-info { padding: 48px 0 60px; }
}

/* =============================================
   GLOBAL FIXES — Add to main style.css
   Fixes gray-on-gray cards and blue-on-blue hovers
   ============================================= */

/* Cards on gray backgrounds should be white with visible borders */
.hb-ci-benefits .hb-ci-benefit,
.hb-srv-benefits .hb-srv-benefit-card,
.hb-nmc-required .hb-nmc-req-card,
.hb-oh-standards .hb-oh-card,
.hb-oh-comms .hb-oh-card,
.hb-ot-info .hb-oh-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
}

/* Sections with gray bg should use white cards */
section[class*="benefits"],
section[class*="requirements"],
.hb-ci-process,
.hb-ot-standards,
.hb-oh-choose,
.hb-vl-info {
    /* Already set but reinforcing */
}

/* White sections should have transparent-border cards */
.hb-srv-intro .hb-ci-stats-row,
.hb-oh-why-card {
    background: var(--gray-50);
}

/* Stats row on white bg needs border */
.hb-ci-stats-row {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
}

/* Blue hover states — ensure text stays white, not blue */
.btn.hb-btn-primary:hover,
.btn-primary:hover {
    background: var(--blue-600) !important;
    color: var(--white) !important;
}

.btn.hb-btn-outline:hover {
    background: var(--blue-500) !important;
    color: var(--white) !important;
}

/* Ghost buttons shouldn't turn blue text on hover */
.hb-btn-ghost:hover {
    color: var(--gray-900);
}

/* CTA buttons on blue backgrounds — white button stays white */
.hb-ci-cta-card .hb-btn-primary:hover,
.hb-scm-hero-btn:hover,
.hb-vl-standards-btn:hover {
    background: var(--white) !important;
    color: var(--blue-600) !important;
}

/* Service card hover link — text white on blue bg */
.service-item a.btn:hover,
.team-item a.btn:hover {
    color: var(--white) !important;
    background: var(--blue-500) !important;
}

/* Outline buttons on dark/blue bg — white outline, white text on hover */
.hb-hero-actions .hb-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: var(--white) !important;
    box-shadow: none !important;
}

/* Benefit icon hover — icon goes white on blue, never blue on blue */
.hb-ci-benefit:hover .hb-ci-benefit-icon,
.hb-srv-benefit-card:hover .hb-srv-benefit-icon,
.hb-nmc-req-card:hover .hb-nmc-req-icon,
.hb-oh-card:hover .hb-oh-card-icon,
.hb-srv-req-card:hover .hb-srv-req-icon,
.hb-contact-card:hover .hb-contact-card-icon,
.hb-accred-intro-badge:hover i,
.hb-about-value-card:hover .hb-about-value-icon,
.hb-about-division:hover .hb-about-division-icon,
.hb-about-phone:hover .hb-about-phone-icon,
.hb-feature-pill:hover .hb-feature-pill-icon,
.hb-srv-benefit:hover .hb-srv-benefit-icon {
    background: var(--blue-500);
    color: var(--white);
}

/* Footer social hover */
.hb-footer-social:hover {
    color: var(--white);
    background: var(--blue-500);
}

/* Back to top hover */
.hb-back-to-top:hover {
    color: var(--white);
    background: var(--blue-500);
}


/* =============================================
   PRACTICAL TRAINING PAGE
   ============================================= */

/* --- Hero --- */
.hb-pt-hero {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: center;
}

.hb-pt-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hb-pt-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 42, 100, 0.88) 0%,
        rgba(0, 109, 255, 0.75) 60%,
        rgba(0, 74, 179, 0.85) 100%
    );
    z-index: 1;
}

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

.hb-pt-hero-content {
    max-width: 640px;
    padding: 60px 0;
}

.hb-pt-hero-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.hb-pt-hero-sub {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}


/* --- Intro --- */
.hb-pt-intro {
    padding: 64px 0;
    background: var(--white);
}

.hb-pt-intro-content {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.hb-pt-intro-text {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.75;
}

/* Highlight cards */
.hb-pt-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hb-pt-highlight-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: all var(--duration-md) var(--ease-out);
    position: relative;
    overflow: hidden;
}
.hb-pt-highlight-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}
.hb-pt-highlight-card:hover {
    border-color: var(--blue-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.hb-pt-highlight-card:hover::after { transform: scaleX(1); }

.hb-pt-highlight-card img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 18px;
}

.hb-pt-highlight-card h5 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.hb-pt-highlight-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}


/* --- Courses Section --- */
.hb-pt-courses {
    padding: 64px 0;
    background: var(--gray-50);
}

.hb-pt-courses-grid {
    /* The shortcode outputs its own grid — this just ensures spacing */
}


/* --- Locations --- */
.hb-pt-locations {
    padding: 64px 0;
    background: var(--white);
}

.hb-pt-map-wrap {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

/* Style the WP Google Maps output */
.hb-pt-map-wrap .wpgmza_map {
    border-radius: var(--radius-xl);
}


/* --- Why Choose Us / Accordion --- */
.hb-pt-why {
    padding: 64px 0 80px;
    background: var(--gray-50);
}

.hb-pt-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hb-pt-acc-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--duration) ease;
}
.hb-pt-acc-item:has(.collapse.show) {
    border-color: var(--blue-200);
    box-shadow: var(--shadow);
}

.hb-pt-acc-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    transition: background var(--duration) ease;
}
.hb-pt-acc-trigger:hover { background: var(--gray-50); }

.hb-pt-acc-trigger-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}

.hb-pt-acc-trigger-text i {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius-sm);
    color: var(--blue-500);
    font-size: 15px;
    flex-shrink: 0;
}

.hb-pt-acc-arrow {
    font-size: 12px;
    color: var(--gray-400);
    transition: transform var(--duration-md) var(--ease-out);
}
.hb-pt-acc-trigger:not(.collapsed) .hb-pt-acc-arrow {
    transform: rotate(180deg);
}

.hb-pt-acc-body {
    padding: 0 24px 24px;
}

.hb-pt-acc-body p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 10px;
}
.hb-pt-acc-body p:last-child { margin-bottom: 0; }

.hb-pt-acc-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* --- More Benefits (inside accordion) --- */
.hb-pt-more-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.hb-pt-mbenefit {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--gray-50);
    border-radius: var(--radius-xs);
    transition: all var(--duration) ease;
}
.hb-pt-mbenefit:hover {
    background: var(--blue-50);
}

.hb-pt-mbenefit i {
    color: var(--blue-500);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.hb-pt-mbenefit span {
    font-size: 13.5px;
    color: var(--gray-600);
    line-height: 1.5;
}

.hb-pt-mbenefit strong {
    color: var(--gray-800);
}


/* --- Book Now CTA --- */
.hb-pt-book-cta {
    text-align: center;
    margin-top: 40px;
}


/* --- Remove old decorative images --- */
img.ring, img.dots, img.ringr, img.dotsl, img.dotssll, img.ringslr {
    display: none !important;
}

/* --- Override old card styles --- */
.info-card-t { display: none !important; }


/* =============================================
   PRACTICAL TRAINING RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .hb-pt-hero-content { padding: 44px 0; }
    .hb-pt-intro { padding: 48px 0; }
    .hb-pt-courses, .hb-pt-locations { padding: 48px 0; }
    .hb-pt-why { padding: 48px 0 60px; }

    .hb-pt-highlights { grid-template-columns: 1fr; gap: 14px; }

    .hb-pt-highlight-card {
        display: flex;
        align-items: center;
        gap: 18px;
        text-align: left;
        padding: 22px 24px;
    }
    .hb-pt-highlight-card img {
        width: 56px; height: 56px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .hb-pt-more-benefits { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hb-pt-hero { min-height: 260px; }
    .hb-pt-hero-content { padding: 36px 0; }

    .hb-pt-acc-body { padding: 0 16px 20px; }
    .hb-pt-acc-trigger { padding: 16px 18px; }
    .hb-pt-acc-trigger-text { font-size: 15px; }
}

/* =============================================
   COURSE CARDS (Shortcode Output)
   ============================================= */

.hb-course-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-course-card:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* Media */
.hb-course-card-media {
    position: relative;
    overflow: hidden;
}

.hb-course-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform var(--duration-lg) var(--ease-out);
}
.hb-course-card:hover .hb-course-card-img {
    transform: scale(1.04);
}

.hb-course-card-price {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 6px 14px;
    background: var(--blue-500);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-blue);
}

/* Body */
.hb-course-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hb-course-card-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.35;
}

.hb-course-card-includes {
    font-size: 13.5px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 14px;
}

/* Dates inside card */
.hb-course-card-dates {
    margin-bottom: 16px;
    flex: 1;
}

.hb-course-card-dates-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.hb-course-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 12.5px;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}
.hb-course-card-date:last-child { border-bottom: none; }

.hb-course-card-date i {
    color: var(--blue-500);
    font-size: 11px;
    flex-shrink: 0;
}

/* Actions */
.hb-course-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.hb-course-card-btn {
    flex: 1;
    text-align: center;
    font-size: 13px;
    padding: 10px 12px;
}

.hb-course-card-register-text {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
}


/* =============================================
   SINGLE COURSE PAGE
   ============================================= */

/* Header */
.hb-course-header {
    position: relative;
    padding: 48px 0;
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-700) 60%, var(--blue-800) 100%);
    overflow: hidden;
}

.hb-course-header-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.hb-course-header .container { position: relative; z-index: 2; }

.hb-course-header-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.hb-course-header-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    max-width: 600px;
    margin: 0;
}

/* Main content area */
.hb-course-main {
    padding: 40px 0 80px;
    background: var(--white);
}

.hb-course-content {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
}

.hb-course-content h2,
.hb-course-content h3,
.hb-course-content h4 {
    font-family: var(--font-display);
    color: var(--gray-900);
    margin-top: 32px;
    margin-bottom: 12px;
}

.hb-course-content h2 { font-size: clamp(22px, 2.5vw, 28px); }
.hb-course-content h3 { font-size: clamp(18px, 2vw, 24px); }

.hb-course-content p { margin-bottom: 16px; }

.hb-course-content ul, .hb-course-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}
.hb-course-content li { margin-bottom: 6px; }
.hb-course-content ul li::marker { color: var(--blue-500); }

.hb-course-content img {
    border-radius: var(--radius);
    margin: 8px 0;
}

.hb-course-content b, .hb-course-content strong {
    color: var(--gray-800);
}


/* Sidebar */
.hb-course-sidebar {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: sticky;
    top: 90px;
}

.hb-course-sidebar-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.hb-course-sidebar-price {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--blue-500);
    text-align: center;
    padding: 20px 22px 4px;
    letter-spacing: -0.02em;
}

.hb-course-sidebar-book {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 44px);
    margin: 12px 22px;
}

.hb-course-sidebar-section {
    padding: 0 22px 22px;
}

.hb-course-sidebar-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.hb-course-sidebar-includes {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
}

/* Date rows in sidebar */
.hb-course-sidebar-dates {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hb-course-sidebar-date-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}
.hb-course-sidebar-date-row:last-child { border-bottom: none; }

.hb-course-sidebar-date-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hb-course-sidebar-date-val {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gray-800);
}

.hb-course-sidebar-date-loc {
    font-size: 12px;
    color: var(--gray-400);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hb-course-sidebar-date-row .btn {
    font-size: 12px;
    padding: 5px 12px;
    flex-shrink: 0;
}


/* =============================================
   COURSE RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .hb-course-header { padding: 36px 0; }
    .hb-course-main { padding: 32px 0 60px; }

    .hb-course-sidebar {
        position: static;
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    .hb-course-card-img { height: 150px; }
    .hb-course-card-body { padding: 18px; }
    .hb-course-card-actions { flex-direction: column; }

    .hb-course-sidebar-img { height: 160px; }
}


/* =============================================
   HIDE OLD COURSE STYLES
   ============================================= */
.course-card-t,
.course-t-overlay-text,
.hbcourse,
.hbcourse_secondary,
.hbcoursepagesecondary,
.hbcourseheading,
.hbsecondaryeheading,
.hbsecondaryeheadingt,
.coursecontentc {
    /* Old classes — these are no longer used */
}

/* =============================================
   COURSE GRID (Shortcode Output)
   ============================================= */

/* Grid wrapper — output by the shortcode itself */
.hb-course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Card */
.hb-course-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--duration-md) var(--ease-out);
}
.hb-course-card:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* Media */
.hb-course-card-media {
    position: relative;
    overflow: hidden;
}

.hb-course-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform var(--duration-lg) var(--ease-out);
}
.hb-course-card:hover .hb-course-card-img {
    transform: scale(1.04);
}

.hb-course-card-price {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 6px 14px;
    background: var(--blue-500);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-blue);
}

/* Body */
.hb-course-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hb-course-card-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.35;
}

.hb-course-card-includes {
    font-size: 13.5px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 14px;
}

/* Dates */
.hb-course-card-dates {
    margin-bottom: 16px;
    flex: 1;
}

.hb-course-card-dates-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.hb-course-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 12.5px;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}
.hb-course-card-date:last-child { border-bottom: none; }
.hb-course-card-date i {
    color: var(--blue-500);
    font-size: 11px;
    flex-shrink: 0;
}

/* Actions */
.hb-course-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.hb-course-card-btn {
    flex: 1;
    text-align: center;
    font-size: 13px;
    padding: 10px 12px;
}

/* Ghost button — visible on white bg */
.hb-course-card-actions .hb-btn-ghost {
    background: var(--gray-50);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}
.hb-course-card-actions .hb-btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

/* Primary button in card — white text always */
.hb-course-card-actions .hb-btn-primary {
    background: var(--blue-500) !important;
    color: var(--white) !important;
}
.hb-course-card-actions .hb-btn-primary:hover {
    background: var(--blue-600) !important;
    color: var(--white) !important;
}

.hb-course-card-register-text {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
}


/* =============================================
   SINGLE COURSE PAGE
   ============================================= */

.hb-course-header {
    position: relative;
    padding: 48px 0;
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-700) 60%, var(--blue-800) 100%);
    overflow: hidden;
}

.hb-course-header-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.hb-course-header .container { position: relative; z-index: 2; }

.hb-course-header-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.hb-course-header-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    max-width: 600px;
    margin: 0;
}

/* Main */
.hb-course-main {
    padding: 40px 0 80px;
    background: var(--white);
}

/* Content */
.hb-course-content {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
}
.hb-course-content h2, .hb-course-content h3, .hb-course-content h4 {
    font-family: var(--font-display);
    color: var(--gray-900);
    margin-top: 28px;
    margin-bottom: 12px;
}
.hb-course-content p { margin-bottom: 16px; }
.hb-course-content ul, .hb-course-content ol { padding-left: 24px; margin-bottom: 16px; }
.hb-course-content li { margin-bottom: 6px; }
.hb-course-content ul li::marker { color: var(--blue-500); }
.hb-course-content b, .hb-course-content strong { color: var(--gray-800); }
.hb-course-content img { border-radius: var(--radius); margin: 8px 0; }

/* Sidebar */
.hb-course-sidebar {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: sticky;
    top: 90px;
}

.hb-course-sidebar-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.hb-course-sidebar-price {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--blue-500);
    text-align: center;
    padding: 20px 22px 4px;
    letter-spacing: -0.02em;
}

.hb-course-sidebar-book {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 44px);
    margin: 12px 22px;
}
/* Book button stays white text on hover */
.hb-course-sidebar-book:hover {
    background: var(--blue-600) !important;
    color: var(--white) !important;
}

.hb-course-sidebar-section {
    padding: 0 22px 22px;
}

.hb-course-sidebar-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.hb-course-sidebar-includes {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
}

/* Date rows */
.hb-course-sidebar-dates {
    display: flex;
    flex-direction: column;
}

.hb-course-sidebar-date-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}
.hb-course-sidebar-date-row:last-child { border-bottom: none; }

.hb-course-sidebar-date-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hb-course-sidebar-date-val {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gray-800);
}

.hb-course-sidebar-date-loc {
    font-size: 12px;
    color: var(--gray-400);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hb-course-sidebar-date-row .btn {
    font-size: 12px;
    padding: 5px 12px;
    flex-shrink: 0;
}
/* Small book buttons — white text */
.hb-course-sidebar-date-row .hb-btn-primary {
    background: var(--blue-500) !important;
    color: var(--white) !important;
}
.hb-course-sidebar-date-row .hb-btn-primary:hover {
    background: var(--blue-600) !important;
    color: var(--white) !important;
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1199px) {
    .hb-course-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .hb-course-header { padding: 36px 0; }
    .hb-course-main { padding: 32px 0 60px; }
    .hb-course-sidebar { position: static; margin-bottom: 24px; }
}

@media (max-width: 768px) {
    .hb-course-grid { grid-template-columns: 1fr; gap: 16px; }
    .hb-course-card-img { height: 160px; }
    .hb-course-card-body { padding: 18px; }
    .hb-course-card-actions { flex-direction: column; }
    .hb-course-sidebar-img { height: 160px; }
}