/* Project design tokens — loaded after libraries/style so these win. */
:root {
    --font-size-base: 15px;
    --font-primary: 'Poppins', sans-serif !important;
    --font-secondary: Unbounded, sans-serif;
    --font-icons: "icomoon";
    --color-primary: #0b2147;
    --color-primary-200: #03452f;
    --color-primary-300: #012217;
    --color-primary-400: #1c3930;
    --color-primary-500: #1a7e00;
    --color-primary-600: #677a74;
    --color-primary-700: #023021;
    --color-primary-800: #0e6118;
    --color-secondary: #222222;
    --color-primary-rgb: 254, 91, 44;
    --color-secondary-rgb: 34, 34, 34;
    --color-white: #ffffff;
    --color-accent: #00226c;
    --color-dark: #161616;
    --color-light: #6d6fb3;
    --color-default: #000000;
    --color-gray-100: #f9f9f9;
    --color-gray-200: #eaeaea;
    --color-gray-300: #d6d6d6;
    --color-gray-400: #616161;
    --color-gray-500: #c6c6c6;
    --color-gray-600: #e7ebef;
    --color-gray-700: #f8f8f2;
    --color-green-100: #d7f6f0;
    --color-primary-300-rgb: 1, 34, 23;
    --bs-primary: #0b2147;
    --bs-secondary: #222222;
    --bs-gray: #000000;
    --bs-gray-dark: #161616;
    --bs-success: #198754;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #161616;
    --bs-primary-rgb: 254, 91, 44;
    --bs-secondary-rgb: 34, 34, 34;
    --bs-success-rgb: 25, 135, 84;
    --bs-warning-rgb: 255, 193, 7;
    --bs-danger-rgb: 220, 53, 69;
    --bs-light-rgb: 248, 249, 250;
    --bs-dark-rgb: 33, 37, 41;
    --color-white-rgb: 255, 255, 255;
    --bs-body-line-height: 1.5;
    --bs-body-color: #212529;
    --bs-body-color-rgb: 33, 37, 41;
    --bs-secondary-color: rgba(33, 37, 41, 0.75);
    --bs-secondary-color-rgb: 33, 37, 41;
    --bs-secondary-bg: #e9ecef;
    --bs-secondary-bg-rgb: 233, 236, 239;
    --bs-link-color: #273575;
    --bs-link-color-rgb: 13, 110, 253;
    --bs-link-decoration: none;
    --bs-link-hover-color: #222222;
    --bs-link-hover-color-rgb: 10, 88, 202;
    --bs-highlight-bg: #fff3cd;
    --bs-border-radius: 0.375rem;
    --bs-border-radius-sm: 0.25rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-xxl: 2rem;
    --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Homepage sticky panels — theme .sticky-top uses top: 100px */
html {
  scroll-behavior: smooth;
}

/* Header stays in document flow (sticky), not fixed over the hero */
.header-overlay .sticky-navbar.is-sticky {
  position: relative !important;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
}

/* Headings and common title classes overridden to Poppins on this page only */
h1,
h2,
h3,
h4,
h5,
h6,
.heading-title,
.heading-subtitle,
.hero-title,
.banner-title,
.section-title,
.fancybox-title,
.service-title,
.process-title,
.card-title,
.cta-title,
.post-title,
.portfolio-title,
.alert-title,
.custom-section-title {
    font-family: 'Poppins', sans-serif !important;
}

/* Equal-height cards for consultant section (fancyboxs-layout5) */
.fancyboxs-layout5 .fancybox-wrapper>[class^="col-"],
.fancyboxs-layout5 .fancybox-wrapper>[class*=" col-"] {
    display: flex;
}

.fancyboxs-layout5 .fancybox-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.fancyboxs-layout5 .fancybox-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.fancyboxs-layout5 .fancybox-body .btn {
    margin-top: auto;
}

/* Injuries carousel nav adjustments */
.fancyboxs-layout5 .swiper-button-prev-2,
.fancyboxs-layout5 .swiper-button-next-2 {
    color: #fff !important;
    /* make icons white */
    margin: 0 14px;
    /* add horizontal spacing */
    cursor: pointer;
}

/* Ensure icon fonts inside keep white color */
.fancyboxs-layout5 .swiper-button-prev-2 i,
.fancyboxs-layout5 .swiper-button-next-2 i {
    color: #fff !important;
}

/* Equal height slides for injuries carousel */
.fancyboxs-layout5 .swiper {
    overflow: visible;
}

.fancyboxs-layout5 .swiper-wrapper {
    align-items: stretch;
}

.fancyboxs-layout5 .swiper-slide {
    display: flex;
    height: auto;
}

.fancyboxs-layout5 .swiper-slide>.fancybox-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 280px;
}

.fancyboxs-layout5 .fancybox-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fancyboxs-layout5 .fancybox-title {
    flex: 0 0 auto;
    margin-bottom: 15px;
}

.fancyboxs-layout5 .fancybox-body .btn {
    margin-top: auto;
    margin-bottom: 0;
}

/* Reduce gap between section heading and carousel */
.fancyboxs-layout5 .heading-layout2 {
    margin-bottom: 30px !important;
}

.fancyboxs-layout5 .heading-layout2 .heading-title {
    margin-bottom: 0 !important;
}

.fancyboxs-layout5 .heading-layout2 .heading-subtitle {
    margin-bottom: 4px !important;
}

.fancyboxs-layout5 .swiper {
    margin-top: 0 !important;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}


.btn-primary {
    background-color: #0b2147 !important;
    color: #fff !important;
    border-color: #0b2147 !important;
}

.heading-subtitle {
    color: #0b2147 !important;
}




/* SECTION LAYOUT */
.fancyboxs-layout5 {
    margin-bottom: 0;
    position: relative;
}

/* Make container edge-to-edge inside this section so cards start from section edge */
.fancyboxs-layout5 .container {
    /* padding-left: 0; */
    padding-right: 30px;
    max-width: 100%;
}

/* Injuries slider: symmetric section padding, exactly 4 cards on desktop */
.fancyboxs-layout5 .injuries-carousel-container {
    padding-left: 24px;
    padding-right: 24px;
    max-width: 100%;
}

.fancyboxs-layout5 .injuries-swiper-controls {
    width: 100%;
}

.fancyboxs-layout5 .injuries-swiper-controls .swiper {
    overflow: hidden !important;
    width: 100%;
}

.fancyboxs-layout5 .injuries-swiper-controls .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.fancyboxs-layout5 .injuries-swiper-controls .swiper-slide > .fancybox-item {
    min-height: 300px;
}

/* SWIPER / WRAPPER adjustments to remove left gap */
.fancyboxs-layout5 .swiper {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.fancyboxs-layout5 .fancybox-wrapper {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* CARD STYLING */
.fancybox-item {
    background: rgba(255, 255, 255, 0.03);
    /* subtle card bg over video */
    /* border-radius: 8px; */
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 280px;
    padding: 50px 12px;
    box-sizing: border-box;
}

.fancybox-icon {
    font-size: 34px;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.fancybox-body {
    text-align: center;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* TITLE: no text truncation - allow full text to display, white by default */
.fancyboxs-layout5 .fancybox-title {
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
    margin: 20px 0 12px;
    display: block;
    overflow: visible;
    word-break: break-word;
    text-align: center;
}

/* EXPLORE MORE button spacing */
.fancybox-body .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 18px;
    /* added bottom margin as requested */
    padding: 8px 14px;
}

/* NAVIGATION: unified circular controls */
/* ============================= */
/* Portfolio Navigation Buttons */
/* ============================= */
#portfolio-prev,
#portfolio-next {
    background: rgb(255, 255, 255);
    color: rgb(26, 2, 2) !important;
    margin-right: 20px;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 50;
    transition: all 0.3s ease;
}

#portfolio-prev:hover,
#portfolio-next:hover {
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0) !important;
    box-shadow: 0 0 10px rgba(11, 33, 71, 0.25);
}


/* ============================= */
/* Article Navigation Buttons */
/* ============================= */
#article-prev,
#article-next {
    background-color: #0b2147;
    color: #fff !important;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 10px;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 50;
    transition: all 0.3s ease;
    cursor: pointer;
}

#article-prev:hover,
#article-next:hover {
    background-color: #1a3c7c;
    color: #fff !important;
    box-shadow: 0 0 10px rgba(11, 33, 71, 0.25);
}


/* Ensure inner icons inherit */
#portfolio-prev i,
#portfolio-next i,
#article-prev i,
#article-next i {
    color: currentColor !important;
}

#portfolio-prev svg,
#portfolio-next svg,
#article-prev svg,
#article-next svg {
    fill: currentColor !important;
}


/* Make icon visible when hover effect activates */
.fancybox-item:hover .fancybox-icon i {
    color: rgb(253, 254, 255) !important;
    transition: color 0.3s ease;
}


.portfolio-body {
    height: 200px;
    margin-right: 10px;
}

/* Icon size consistency */
#portfolio-next::before,
#portfolio-prev::before,
#article-next::before,
#article-prev::before,
#injuries-page-prev::before,
#injuries-page-next::before {
    font-size: 20px;
}

/* Single arrow icon only — hide any Swiper/default ::after chevrons */
.carousel-nav-btn::after,
#portfolio-next::after,
#portfolio-prev::after,
#article-next::after,
#article-prev::after,
#injuries-page-prev::after,
#injuries-page-next::after {
    content: none !important;
    display: none !important;
}

.carousel-nav-btn {
    cursor: pointer;
}

/* Homepage Blogs & Articles — match reference layout */
.home-blog-section {
    background-color: #f4f4f4 !important;
}

.home-blog-section .heading-layout2 .heading-title {
    margin-bottom: 0 !important;
}

.home-blog-section.blog-slider.overflow-slider {
    --margin-inline-end: 0;
}

.home-blog-section.blog-slider.overflow-slider .swiper,
.home-blog-section .blog-slider-swiper {
    margin-inline-end: 0 !important;
    padding-right: 0 !important;
}

.home-blog-carousel-wrap {
    max-width: 1155px;
    min-height: 520px;
    margin-left: auto;
    margin-right: auto;
}

.home-blog-section .blog-slider-swiper {
    overflow-x: clip;
    overflow-y: visible;
}

.home-blog-section .blog-slider-swiper .swiper-wrapper {
    align-items: stretch;
    overflow: visible;
}

.home-blog-section .swiper-slide {
    width: 365px;
    max-width: 365px;
    height: auto;
    align-self: stretch;
}

.home-blog-section .post-item {
    width: 365px;
    max-width: 100%;
    height: 100%;
    margin-bottom: 0;
    overflow: hidden;
}

.home-blog-section .post-item .post-img img {
    width: 100%;
    display: block;
}

.home-blog-section .post-item .post-body {
    /* margin-top (not transform) so hover height stays balanced */
    transition: margin-top 0.35s ease;
}

.home-blog-section .post-item .post-text {
    position: relative;
    height: 135px;
    padding-bottom: 50px;
    transition: height 0.35s ease, opacity 0.35s ease;
}

.home-blog-section .post-item .post-text .post-title {
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.home-blog-section .post-item .post-text .post-desc {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /* leave room for absolute footer so text isn't clipped under it */
    bottom: 50px;
    height: auto;
    margin: 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.home-blog-section .post-item .post-meta-cat {
    margin-bottom: 8px;
}

.home-blog-section.blog-layout1 .post-item .post-footer {
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: var(--item-padding-x);
    background-color: var(--color-white);
    z-index: 3;
}

.home-blog-section .post-item .post-meta-date {
    display: flex;
    align-items: center;
    height: 50px;
    margin: 0;
    font-size: 13px;
    color: var(--color-gray-400);
}

/* Hover: pull body up with negative margin; grow text by the same amount → no card height change */
.home-blog-section.blog-layout1 .post-item:hover {
    overflow: hidden;
    z-index: 5;
}

.home-blog-section .swiper-slide:hover {
    z-index: 5;
}

.home-blog-section.blog-layout1 .post-item:hover .post-body {
    /* Pull over image; pair with equal text height bump so card height stays fixed */
    margin-top: -120px;
    padding-bottom: 0;
    transform: none;
}

.home-blog-section.blog-layout1 .post-item:hover .post-body .post-text {
    /* 135 + 120 = cancels margin-top: -120px */
    height: 255px;
    padding-bottom: 50px;
}

.home-blog-section.blog-layout1 .post-item:hover .post-body .post-title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.home-blog-section.blog-layout1 .post-item:hover .post-body .post-meta-cat {
    margin-bottom: 6px;
}

.home-blog-section.blog-layout1 .post-item:hover .post-body .post-text .post-desc {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 50px;
    height: auto;
    max-height: none;
    opacity: 1;
    visibility: visible;
    margin: 0;
    /* Kill any line-clamp so the last line isn't cut while space remains */
    display: block !important;
    -webkit-box-orient: unset !important;
    -webkit-line-clamp: none !important;
    line-clamp: none !important;
    overflow-x: hidden;
    overflow-y: auto;
    text-overflow: unset;
}

.home-blog-carousel-nav {
    margin-top: 28px !important;
}

@media (max-width: 1199.98px) {
    .home-blog-carousel-wrap {
        max-width: 760px;
    }
}

@media (max-width: 767.98px) {
    .home-blog-carousel-wrap {
        max-width: 365px;
    }

    .home-blog-section .swiper-slide,
    .home-blog-section .post-item {
        width: min(365px, calc(100vw - 40px));
    }
}


/* Ensure right-side gutter so last card doesn't touch edge */
.swiper-controls-light {
    padding-right: 16px;
}

/* Blog detail tags + share row alignment */
.blog-detail-share-wrap .widget-tags ul {
    gap: 10px;
    margin-bottom: 18px !important;
}

.blog-detail-share-wrap .widget-tags ul li {
    margin: 0;
}

.blog-detail-share-wrap .blog-tag-pill {
    display: inline-block;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    padding: 7px 14px;
    border-radius: 3px;
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
    background-color: var(--color-white);
    transition: all 0.25s ease;
}

.blog-detail-share-wrap .blog-tag-pill:hover {
    color: #fff;
    border-color: #0b2147;
    background-color: #0b2147;
}

.blog-detail-share-wrap .blog-share {
    flex-wrap: wrap;
    gap: 8px;
}

.blog-detail-share-wrap .blog-share > span {
    margin-right: 8px !important;
}

.blog-detail-share-wrap .custom-social-card {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-detail-share-wrap .custom-social-container {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.blog-detail-share-wrap .custom-social-container:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.blog-detail-share-wrap .custom-social-icon {
    width: 16px;
    height: 16px;
    fill: #fff;
}

/* Copy icon is outlined, not solid-filled */
.blog-detail-share-wrap .custom-social-copy .custom-social-icon {
    width: 15px;
    height: 15px;
    fill: none;
}

.blog-detail-share-wrap .custom-social-copy .custom-social-icon path {
    fill: none;
    stroke: #fff;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-detail-share-wrap .custom-social-copy {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 55%, #8134af 100%);
}

.blog-detail-share-wrap .custom-social-twitter {
    background-color: #000;
}

.blog-detail-share-wrap .custom-social-linkedin {
    background-color: #0077b5;
}

.blog-detail-share-wrap .custom-social-facebook {
    background-color: #1877f2;
}

.blog-detail-share-wrap .custom-social-whatsapp {
    background-color: #25d366;
}

.blog-layout1 .swiper {
    padding-right: 16px;
}

/* React-managed Swiper: hide default nav buttons, keep custom prev/next */
#root .react-managed-swiper .swiper-button-prev:not(.swiper-button-prev-2),
#root .react-managed-swiper .swiper-button-next:not(.swiper-button-next-2) {
    display: none !important;
}


/* Banner layout 6 on gray: primary cards with white text/icons */
.banner-layout6.bg-gray .fancyboxs-layout1 .fancybox-item {
    background: #0b2147;
    border: 1px solid #0b2147;
}

.banner-layout6.bg-gray .fancyboxs-layout1 .fancybox-title,
.banner-layout6.bg-gray .fancyboxs-layout1 .fancybox-desc {
    color: #fff !important;
}

.banner-layout6.bg-gray .fancyboxs-layout1 .fancybox-icon i {
    color: #fff !important;
}

.banner-layout6.bg-gray .heading-layout2 .heading-title,
.banner-layout6.bg-gray .heading-layout2 .heading-desc {
    color: #0b2147 !important;
}

.banner-layout6.bg-gray .heading-layout2 .heading-subtitle span {
    background: #0b2147 !important;
    color: #fff !important;
}

.fancybox-item:hover .fancybox-icon i {
    color: #0b2147 !important;
    transition: color 0.3s ease;
}

.fancybox-item:hover .fancybox-title {
    color: #1a3c7c;
    /* hover color (slightly lighter shade) */
}

/* CTA Section Styling */
.cta-section {
    background-color: #0b2147 !important;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0b2147 0%, #1a3c7c 100%);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.detail-item {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.detail-label {
    font-size: 1rem;
    min-width: 80px;
}

.detail-value {
    font-size: 1rem;
    flex: 1;
}

.cta-note {
    font-size: 0.95rem;
    opacity: 0.8;
}

.cta-note a {
    color: #fff !important;
    text-decoration: underline;
    font-weight: 600;
}

.cta-note a:hover {
    color: #f8f9fa !important;
    text-decoration: none;
}

.cta-btn {
    background-color: var(--color-white) !important;
    border-color: var(--color-white) !important;
    color: #0b2147 !important;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0 !important;
    box-shadow: 0 4px 15px rgba(11, 33, 71, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.cta-btn:hover {
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;
    color: #0b2147 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 33, 71, 0.4);
}

.cta-btn .arrow-flip {
    transition: transform 0.3s ease;
}

/* CTA table with full grid borders on dark background */
.cta-table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
}

.cta-table th,
.cta-table td {
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.75rem;
    vertical-align: top;
}

.cta-table th {
    white-space: nowrap;
    width: 140px;
}

.cta-btn:hover .arrow-flip {
    transform: translateX(3px);
}

/* Homepage Visionaries card hover */
.team-layout2 .team-member-card {
    text-decoration: none;
    color: inherit;
    display: block;
    background: transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-layout2 .team-member-card .team-img {
    overflow: hidden;
    position: relative;
    border-radius: 14px;
}

.team-layout2 .team-member-card .team-img::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    border: 2px solid rgba(11, 33, 71, 0.15);
    box-shadow: inset 0 0 0 0 rgba(11, 33, 71, 0.55), 0 0 0 0 rgba(11, 33, 71, 0.25);
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    pointer-events: none;
}

.team-layout2 .team-member-card .team-img img {
    width: 100%;
    display: block;
    transition: transform 0.35s ease;
}

.team-layout2 .team-member-card .team-info {
    transition: transform 0.3s ease;
}

.team-layout2 .team-member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(11, 33, 71, 0.18);
}

.team-layout2 .team-member-card:hover .team-img img {
    transform: scale(1.04);
}

.team-layout2 .team-member-card:hover .team-img::after {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(11, 33, 71, 0.65);
    box-shadow: inset 0 0 0 8px rgba(11, 33, 71, 0.35), 0 8px 20px rgba(11, 33, 71, 0.2);
}


/* Responsive Design */
@media (max-width: 768px) {
    .cta-title {
        font-size: 2rem;
    }

    .cta-desc {
        font-size: 1rem;
    }

    .detail-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .detail-label {
        min-width: auto;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Shared injury carousel cards (homepage + injuries page) */
.fancyboxs-layout5 .injury-carousel-card {
    /* background: rgba(255, 255, 255, 0.14) !important; */
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 20px 36px !important;
    text-align: center;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.fancyboxs-layout5 .injury-carousel-card .fancybox-icon {
    margin-bottom: 24px;
    height: auto;
    width: auto;
    flex: 0 0 auto;
}

.fancyboxs-layout5 .injury-carousel-card .fancybox-icon i {
    font-size: 48px !important;
    color: #ffffff !important;
    transition: color 0.3s ease;
}

.fancyboxs-layout5 .injury-carousel-card .fancybox-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 auto;
    width: 100%;
    min-height: 170px;
}

.fancyboxs-layout5 .injury-carousel-card .fancybox-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 24px !important;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.45;
    transition: color 0.3s ease;
}

.fancyboxs-layout5 .injury-carousel-card .explore-more-link {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    margin-top: auto;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.fancyboxs-layout5 .injury-carousel-card .explore-more-link i {
    font-size: 14px;
}

.fancyboxs-layout5 .injury-carousel-card:hover {
    background: #f9f9f9 !important;
    border-color: #f9f9f9;
}

.fancyboxs-layout5 .injury-carousel-card:hover .fancybox-title {
    color: #0b2147 !important;
}

.fancyboxs-layout5 .injury-carousel-card:hover .fancybox-icon i {
    color: #0b2147 !important;
}

.fancyboxs-layout5 .injury-carousel-card:hover .explore-more-link {
    color: #0b2147 !important;
    border-bottom-color: #0b2147 !important;
}

/* Injuries page carousel nav buttons */
#injuries-page-prev,
#injuries-page-next {
    background: rgb(255, 255, 255);
    color: rgb(26, 2, 2) !important;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 50;
    transition: all 0.3s ease;
    cursor: pointer;
}

#injuries-page-prev:hover,
#injuries-page-next:hover {
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0) !important;
    box-shadow: 0 0 10px rgba(11, 33, 71, 0.25);
}

#injuries-page-prev i,
#injuries-page-next i {
    color: currentColor !important;
}

@media (min-width: 1200px) {
    .fancyboxs-layout5 .injuries-carousel-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.fancyboxs-layout5 .injuries-swiper-controls .row.align-items-center {
    margin-top: 28px !important;
}

/* Contact form field UI (match provided design) */
.contact-layout1 .contact-panel-form .form-group {
    margin-bottom: 30px;
}

.contact-layout1 .contact-panel-form .form-group label {
    display: block;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.contact-layout1 .contact-panel-form .form-control {
    --form-control-height: 48px;
    --form-control-padding-x: 0;
    --form-control-font-size: 15px;
    --form-control-color: var(--color-gray-400);
    --form-control-bg: transparent;
    --form-control-border-width: 2px;
    --form-control-border-color: var(--color-gray-200);
    --form-control-focus-border-color: var(--color-primary);
    --form-control-placeholder-color: var(--color-gray-400);
    border-radius: var(--form-control-radius);
    border: 0;
    border-bottom: var(--form-control-border-width) solid var(--form-control-border-color);
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.contact-layout1 .contact-panel-form .form-control:focus {
    background-color: transparent !important;
}

.contact-layout1 .contact-panel-form .form-control::placeholder {
    color: var(--form-control-placeholder-color);
    opacity: 1;
}

.contact-layout1 .contact-panel-form textarea.form-control {
    min-height: 110px;
    padding-top: 0;
    resize: none;
}

.contact-layout1 .contact-panel-form textarea.form-control:focus,
.contact-layout1 .contact-panel-form input.form-control:focus {
    border-bottom-color: var(--form-control-focus-border-color) !important;
}

/* ============================================================
   Global: justify ALL body text (except titles / UI chrome)
   ============================================================ */
p,
li,
dd,
blockquote,
figcaption,
td,
.post-desc,
.fq-item__body,
.ce-consent-list,
.ce-support,
.ce-privacy,
.support-text,
.privacy-policy-text,
.info-description,
.form-subtitle,
.hero-subtitle {
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
}

/* Keep titles / headings left-aligned */
h1, h2, h3, h4, h5, h6,
[class$="__title"],
[class$="__heading"],
[class$="__kicker"],
[class$="__eyebrow"],
[class$="__num"],
[class*="__title-"],
.heading-title,
.heading-subtitle,
.hero-title,
.banner-title,
.section-title,
.pagetitle-heading,
.post-title,
.card-title,
.cta-title,
.fancybox-title,
.service-title,
.process-title,
.alert-title,
.custom-section-title,
.breadcrumb,
.breadcrumb *,
nav,
nav *,
button,
.btn,
.hp-cta,
.hp-cta *,
.ig-card__cta,
.ig-card__cta .hp-cta__label,
.ce-submit,
.ce-dossier__info,
.ce-choice label,
.ce-label,
.form-label,
.form-label-custom,
label,
.hp-eligibility__num,
.site-footer__list,
.site-footer__list li,
.site-footer__list a,
.site-footer__legal,
.site-footer__copy,
.site-footer__note {
    text-align: start !important;
    text-justify: auto;
    hyphens: manual;
}

/* Preserve intentionally centered UI blocks */
.text-center,
.text-center p,
.text-center li,
.hp-hero__trust-kicker,
.ce-status,
.ce-status p {
    text-align: center !important;
}

