/* ========================= Global Styling ========================= */

:root {
--color-brand-red: #FF0000;
--bg-primary-dark: #262531;
--bg-light1: #FFFFFF;
--bg-light2: #F5F4FA;
--bg-light3: #E0DEED;
--bg-dark1: #1A1736;
--bg-dark2: #312D53;
--bg-dark3: #4B476B;
--text-primary-dark: #262531;
--text-light1: #FFFFFF;
--text-light2: #F5F4FA;
--text-light3: #E0DEED;
--text-dark1: #1A1736;
--text-dark2: #312D53;
--text-dark3: #4B476B;
--bg-light-red: #EDDEDE;

}

.hover-secondary:hover {
	color: var(--bs-secondary) !important;
}

.display-7 {
font-size: 2rem;
}

.mega-menu-background-color {
background-color: #F0F7FF !important;
}

.bg-light-red {
background-color: #EDDEDE !important;
}

.bg-grey-light {
background-color: #F5F5F5 !important;
}

.bg-primary-light {
background-color: #EDDEDE !important;
}

.bg-light-red {
background-color: #FEF5F6 !important;
}

.img-150-height {
height: 150px !important;
width: auto !important;
}

.img-100-height {
height: 100px !important;
width: auto !important;
}

.img-120-height {
height: 120px !important;
width: auto !important;
}

.text-bold {
font-weight: bold !important;
}

.pt-15 {
padding-top: 15rem !important;
}

.pb-15 {
padding-bottom: 15rem !important;
}

.py-15 {
padding-top: 15rem !important;
padding-bottom: 15rem !important;
}

.font-size-20 {
font-size: 20px !important;
}

.font-size-25 {
font-size: 25px !important;
}

.font-size-16 {
font-size: 16px !important;
}

.bg-primary-dark {
background-color: #262531 !important;
}

.bg-light1 {
background-color: #FFFFFF !important;
}

.bg-light2 {
background-color: #F5F4FA !important;
}

.bg-light3 {
background-color: #E0DEED !important;
}

.bg-dark1 {
background-color: #1A1736 !important;
}

.bg-dark2 {
background-color: #312D53 !important;
}

.bg-dark3 {
background-color: #4B476B !important;
}

.custom-offset-15 {
margin-left: 2%;
}

.custom-offset-50px {
margin-left: 50px;
}

/* Default (Mobile first) */
.custom-container {
width: 100%;
margin: 0 auto;
/* keeps it centred */
}

/* Tablet (Bootstrap's md breakpoint: ≥768px) */
@media (min-width: 768px) {
.custom-container {
width: 80%;
}
}

/* Desktop (Bootstrap's lg breakpoint: ≥992px) */
@media (min-width: 992px) {
.custom-container {
width: 75%;
}
}

.service-acf-field-background {
display: flex;
align-items: center;
text-align: center;
padding: 100px 0;
/* vertical spacing */
min-height: 600px;
/* makes sure it looks like a hero */
}

.brand-img {
max-height: 60px;
width: auto;
}

.blur {
filter: blur(4px);
transition: filter 0.4s ease;
}

.indent {
display: inline-block;
padding-left: 2rem;
/* adjust the size of indent */
}


/* Prevent horizontal overflow */
html,
body {
overflow-x: hidden;
}

/* Keep images responsive */
img {
max-width: 100%;
height: auto;
display: block;
}


/* ========================= Header Styling ========================= */

.dropdown-menu {
display: none;
}

.dropdown-menu.show {
display: block;
}


/* Always dropdown directly below parent */
.navbar .dropdown-menu,
.menu-mega>.dropdown-menu[data-mega-menu="true"] {
top: 100% !important;
left: 0;
right: 0;
position: absolute;
z-index: 1000;
}

/* Mega menu full width */
.menu-mega>.dropdown-menu[data-mega-menu="true"] {
width: 100%;
border-top: none;
}

/* Normal dropdown menu items are black */
.dropdown-menu .dropdown-item {
color: #000 !important;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
color: #000 !important;
background-color: #f8f9fa;
}

/* Keep dropdown visible on hover */
.navbar .dropdown.show>.dropdown-menu {
display: block;
margin-top: 0;
}

/* Make normal dropdown menu items black */
.dropdown-menu .dropdown-item {
color: #000 !important;
}

/* Optional: keep it black on hover/focus without that blue highlight */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
color: #000 !important;
background-color: #f8f9fa;
/* soft grey to keep a bit of feedback */
}

/* Prevent flicker by keeping dropdown menus visible while hovered */
.navbar .dropdown.show>.dropdown-menu {
display: block;
margin-top: 0;
}


/* Hamburger trigger icon only */
.mega-menu-trigger {
background: none;
border: none;
color: black !important;
font-size: 2.5rem;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
padding: 0;
margin: 0;
transition: opacity 0.2s ease;
}

.mega-menu-trigger:hover {
opacity: 0.7;
}

/* ============================================
   Remove Bootstrap caret
   ============================================ */
.navbar-nav .nav-item.menu-mega>.dropdown-toggle::after,
.navbar .nav-item.menu-mega>.dropdown-toggle::after,
.nav-item.menu-mega>.dropdown-toggle::after,
.menu-mega>.dropdown-toggle::after,
.dropdown-toggle::after {
content: none !important;
display: none !important;
border: none !important;
background: none !important;
width: 0 !important;
height: 0 !important;
}

/* Align text and chevron */
.menu-mega>.dropdown-toggle {
display: inline-flex;
align-items: center;
gap: 0.35rem;
}

/* ============================================
   Full-width mega menu
   ============================================ */
.menu-mega {
position: static !important;
}

/* ============================================
   Prevent clipping
   ============================================ */
.navbar,
.navbar>.container,
.navbar>.container-fluid {
overflow: visible !important;
}

.navbar {
position: relative;
z-index: 1040;
}

/* ============================================
   Inner content alignment
   ============================================ */

.menu-mega>.dropdown-menu .container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem 1rem;
}

.mega-menu-content {
background-color: #F0F7FF !important;
}

/* nuclear caret kill — ultra specific */
.navbar-nav .nav-item.menu-mega>.dropdown-toggle::after,
.navbar .nav-item.menu-mega>.dropdown-toggle::after,
.nav-item.menu-mega>.dropdown-toggle::after,
.menu-mega>.dropdown-toggle::after,
.dropdown-toggle::after {
content: none !important;
display: none !important;
border: none !important;
background: none !important;
width: 0 !important;
height: 0 !important;
}


.dropdown-menu.mega-menu-content.show {
width: 100vw !important;
}

.icon-circle {
width: 24px;
height: 24px;
aspect-ratio: 1 / 1;
}

/* ========================= Contact Form Styling ========================= */

.enquiry-form .form-control {
border-radius: 6px;
padding: 12px 15px;
font-size: 14px;
}

.enquiry-form textarea.form-control {
min-height: 120px;
}

.enquiry-form .btn-danger {
font-weight: bold;
text-transform: uppercase;
padding: 14px;
border-radius: 6px;
}



/* ========================= Homepage Styling ========================= */

.hero-section {
position: relative;
min-height: 80vh;
display: flex;
align-items: center;
justify-content: center;
color: var(--bs-secondary);
/* text colour set to Bootstrap secondary */
overflow: hidden;
}


/* Blurred background */
.hero-section::before {
content: "";
position: absolute;
inset: 0;
background-size: cover;
filter: blur(2px);
transform: scale(1.05);
/* avoid edge gaps from blur */
z-index: 1;
}

/* Semi-transparent overlay */
.hero-section::after {
content: "";
position: absolute;
inset: 0;
background-color: var(--bg-light-red) !important;
opacity: 0.8;
/* 80% opacity */
z-index: 2;
}


/* Content stays on top */
.hero-section .hero-container {
position: relative;
z-index: 3;
}

/* Mobile adjustment */
@media (max-width: 767px) {
.hero-section {
padding-top: 10rem !important;
}
}



.display-12-bold {
font-size: 1.5rem !important;
font-weight: bold !important;
}

.hp-case-study-featured-image img {
height: 25rem !important;
}

.brand-img {
width: 80px !important;
height: 80px !important;
object-fit: contain !important;
}

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

.client-logos-carousel-section {
position: relative;
z-index: 1;
}


.article-image {
height: 220px !important;
/* adjust to the height you prefer */
overflow: hidden !important;
}

.article-image img {
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
object-position: center !important;
}

.client-logos-carousel-section {
background-color: var(--bg-light2) !important;
}

.carousel-control-prev,
.carousel-control-next {
width: auto;
padding: 0 0rem;
/* pulls them slightly inside */
}

.swiper-button-next,
.swiper-button-prev {
color: var(--text-primary-dark) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
color: var(--text-primary-dark) !important;
}



@media (min-width: 768px) {

.hero-section {
padding-top: 9em !important;
padding-bottom: 1rem !important;
}

.hero-title {
font-size: 100px;
}
}

@media (max-width: 767px) {
.hero-section {
padding-top: 5em;
padding-bottom: 5em;
}

.hero-title {
font-size: 50px;
}
}

.row.g-3>.col-md-6 {
display: flex;
}

.service-card {
background-color: #E0DEED;
border-radius: 8px;
text-align: center;
color: #1A1736;
display: flex;
flex-direction: column;
justify-content: center;
flex: 1;
padding: 20px;
}

.service-card-link {
display: flex;
flex-direction: column;
justify-content: center;
text-decoration: none;
color: inherit;
flex: 1;
}

.home-service-section-title {
display: block;
font-weight: 600;
font-size: 1.2rem;
margin-top: 10px;
margin-bottom: 8px;
color: #1A1736;
}

.service-icon {
font-size: 2rem;
margin-bottom: 10px;
color: #1A1736;
}

/* ========================= Service Page Styling ========================= */
.service-page-hero {
padding-top: 12.5em;
padding-bottom: 5em;
}

/* ========================= Contact Page Styling ========================= */
.get-in-touch-container {
padding-top: 3em;
padding-bottom: 3em;
}

.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform select,
.fluentform textarea {
display: block;
width: 100%;
padding: 0.375rem 0.75rem;
font-size: 1rem;
line-height: 1.5;
color: #212529;
background-color: #fff;
border: 1px solid #ced4da;
border-radius: 0.375rem;
}

.fluentform button {
display: inline-block;
font-weight: 400;
line-height: 1.5;
text-align: center;
cursor: pointer;
border: 1px solid transparent;
padding: 0.375rem 0.75rem;
font-size: 1rem;
border-radius: 0.375rem;
color: #fff;
background-color: #0d6efd;
border-color: #0d6efd;
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.fluentform button:hover {
background-color: #0b5ed7;
border-color: #0a58ca;
}

/* ========================= Mobile Only Styling ========================= */


/* ========================= Case Study Main Page Styling ========================= */

.case-study-filters {
width: 100vw;
max-width: 1600px;
/* or whatever feels right */
margin: 0 auto;
}



/* Base reset */
#caseStudyCarousel,
#caseStudyCarousel .carousel-inner,
#caseStudyCarousel .carousel-item,
#caseStudyCarousel .case-slide {
margin: 0 !important;
}

/* Full height inner container */
#caseStudyCarousel .carousel-inner {
width: 100% !important;
height: 100% !important;
overflow: hidden !important;
position: relative !important;
}

/* Override Bootstrap fade to stop “underneath flash” */
#caseStudyCarousel.carousel-fade .carousel-item {
transition-property: opacity !important;
transform: none !important;
/* kills slide transform */
}

#caseStudyCarousel.carousel-fade .carousel-item-next.carousel-item-start,
#caseStudyCarousel.carousel-fade .carousel-item-prev.carousel-item-end {
opacity: 0 !important;
/* invisible during transition */
}

/* Case slide wrapper */
.case-study-slider-wrapper .case-slide {
height: 70vh !important;
}



/* Background image container */
.case-slide {
position: relative !important;
background-size: cover !important;
background-position: center !important;
z-index: 0 !important;
}

/* Overlay above background only */
.case-slide .overlay {
position: absolute !important;
inset: 0 !important;
background-color: rgba(245, 244, 250, 0.75) !important;
/* #F5F4FA at 75% */
z-index: 1 !important;
}

/* Text content above overlay */
.case-content {
position: relative !important;
z-index: 2 !important;
max-width: 800px !important;
margin: auto !important;
color: #1A1736 !important;
text-align: center !important;
}

/* Title styling */
.case-content heading,
.case-content .title {
font-size: 30px !important;
color: #1A1736 !important;
font-weight: bold !important;
}

/* Summary styling */
case-content p,
.case-content .summary {
font-size: 16px !important;
color: #1A1736 !important;
}

/* Ensure button text is white */
.case-content .btn {
color: #fff !important;
}

/* Carousel arrows (default icons, recoloured) */
#caseStudyCarousel .carousel-control-prev-icon,
#caseStudyCarousel .carousel-control-next-icon {
filter: invert(22%) sepia(8%) saturate(500%) hue-rotate(210deg) brightness(95%) contrast(90%) !important;
}

/* Mobile only */
@media (max-width: 768px) {

/* Case slide wrapper */
.case-study-slider-wrapper .case-slide {
height: 50vh !important;
}
}

/* ========================= Single Case Study Styling ========================= */

.site-link {
font-size: 2rem;
}

.related-posts-shortcode .card-body {
display: flex;
flex-direction: column;
justify-content: center;
/* vertically centres */
}


.case-study-result-icon {
height: 50px !important;
width: auto !important;
}

.bg-wrap {
position: relative !important;
overflow: hidden !important;
}

.bg-wrap .bg-img {
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
z-index: -1 !important;
}


.transparent-block {
padding: 20px !important;
background: transparent !important;
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25) !important;
}

.coloured-block {
padding: 20px !important;
background: #FFF6F6 !important;
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25) !important;
}

/* ========================= Single Blog Post Styling ========================= */

.author-card {
background-color: #e9f4f7;
border-radius: 12px;
box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
border: none;
}

.author-card .card-body {
padding: 2rem;
}

.author-card h2 {
font-size: 1.1rem;
}

.author-card p {
line-height: 1.5;
}

/* Make all Ninja Tables adopt a Bootstrap look with black borders */

.ninja_table_wrapper table {
    border: 2px solid #000;
    border-collapse: collapse;
    width: 100%;
    font-size: 1rem;
}

/* Table headers */
.ninja_table_wrapper thead th {
    background-color: var(--bs-primary);
    color: #fff;
    border: 1px solid #000;
    padding: 10px;
    text-align: left;
}

/* Table rows */
.ninja_table_wrapper tbody td {
    border: 1px solid #000;
    padding: 10px;
    background-color: var(--bs-light);
}

/* Zebra striping using Bootstrap’s light/secondary tones */
.ninja_table_wrapper tbody tr:nth-child(even) td {
    background-color: var(--bs-secondary-bg, #e9ecef);
}

/* Hover effect to match Bootstrap tables */
.ninja_table_wrapper tbody tr:hover td {
    background-color: var(--bs-info-bg, #d1ecf1);
}

/* Make pagination and footer areas match theme colours */
.ninja_table_wrapper .footable-pagination-wrapper {
    margin-top: 1rem;
}

.ninja_table_wrapper .footable-pagination-wrapper .pagination .page-link {
    border: 1px solid #000;
    colour: #000;
    background: var(--bs-light);
}

.ninja_table_wrapper .footable-pagination-wrapper .pagination .page-link:hover {
    background: var(--bs-primary);
    colour: #fff;
}

.ninja_table_wrapper .footable-pagination-wrapper .pagination .active .page-link {
    background: var(--bs-primary);
    colour: #fff;
    border-color: #000;
}


/* ========================= Insights Page Styling ========================= */

.tangible-paginator-button {
font-size: 1.1rem !important;
padding: 0.5rem 1rem !important;
margin: 0 0.25rem !important;
border: 2px solid !important;
border-color: currentColor !important;
color: currentColor !important;
background-color: transparent !important;
border-radius: 0.5rem !important;
cursor: pointer !important;
transition: all 0.2s ease-in-out !important;
}

.tangible-paginator-button:hover:not([disabled]),
.tangible-paginator-button.active {
background-color: var(--bs-primary) !important;
border-color: var(--bs-primary) !important;
color: #fff !important;
}

.tangible-paginator-button[disabled],
.tangible-paginator-button:hover[disabled] {
color: #999 !important;
border-color: #ccc !important;
cursor: not-allowed !important;
}

.tangible-paginator-buttons .tangible-paginator-button:first-child {
border-bottom-left-radius: 4px !important;
border-top-left-radius: 4px !important;
}



/* Featured image styles */
.featured-image-wrapper {
position: relative;
width: 100%;
height: 600px;
overflow: hidden;
margin-bottom: 0;
}

.featured-image {
width: 100%;
height: 600px;
object-fit: cover;
display: block;
}

.featured-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-colour: #373547;
background-color: #373547;
opacity: 0.7;
z-index: 1;
}

.featured-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 2;
padding: 1rem;
width: 100%;
max-width: 800px;
}

/* Sticky box styles */
#container-content-single.content-with-sticky-left .sticky-box {
background: #FFF6F6;
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

/* Ensure no ancestor breaks sticky */
#container-content-single,
#container-content-single .custom-flex-row,
#container-content-single .sticky-column {
overflow: visible;
}

/* Flexbox layout for sidebar + content */
#container-content-single .custom-flex-row {
display: flex;
flex-wrap: nowrap;
align-items: flex-start;
gap: 3rem;
}

/* Sticky column configuration */
#container-content-single .sticky-column {
flex: 0 0 35%;
max-width: 500px;
position: sticky;
top: 8rem;
align-self: flex-start;
height: fit-content;
z-index: 2;
}

/* Inner aside is normal flow */
#container-content-single .sticky-column aside {
position: static;
}

/* Main content column */
#container-content-single .content-column {
flex: 1;
min-width: 0;
}

/* Responsive tweaks */
@media (max-width: 991px) {
.featured-image-wrapper {
height: 400px;
}

.featured-image {
height: 400px;
}

.featured-content h1 {
font-size: 1.75rem;
}

#container-content-single .custom-flex-row {
flex-direction: column;
gap: 1.5rem;
}

#container-content-single .sticky-column,
#container-content-single .content-column {
width: 100%;
max-width: 100%;
}

/* Disable stickiness on small screens */
#container-content-single .sticky-column {
position: static;
top: auto;
}
}

.article-post-content h2 {
color: var(--bs-primary) !important;
font-weight: bold !important;
font-size: 2rem !important;
}

.article-post-content h3 {
color: var(--bs-primary) !important;
font-weight: bold !important;
font-size: 1.5rem !important;
}

.article-post-content h4 {
color: var(--bs-primary) !important;
font-weight: bold !important;
}

.tldr-card {
background-color: #e9f4f7;
border-radius: 12px;
box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
border: none;
}

.sticky-box {
background-color: #FEF5F6 !important;
}

/* Scoped only to this block */
.related-articles-grid {
--ra-image-height: 220px;
--ra-radius: 0.75rem;
--ra-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
--ra-shadow-hover: 0 10px 32px rgba(0, 0, 0, 0.10);
--ra-body-pad: 1rem;
--ra-gap: 0.5rem;
}

.related-articles-grid .ra-card {
display: flex;
flex-direction: column;
border: 1px solid rgba(0, 0, 0, 0.06);
border-radius: var(--ra-radius);
overflow: hidden;
box-shadow: var(--ra-shadow);
transition: transform 160ms ease, box-shadow 160ms ease;
background: #fff;
}

.related-articles-grid .ra-card:hover {
transform: translateY(-2px);
box-shadow: var(--ra-shadow-hover);
}

.related-articles-grid .ra-card-img {
width: 100%;
height: var(--ra-image-height);
object-fit: cover;
object-position: center center;
display: block;
}

.related-articles-grid .ra-card-body {
flex: 1;
padding: var(--ra-body-pad);
display: flex;
flex-direction: column;
gap: var(--ra-gap);
}

.related-articles-grid .ra-card-title {
margin: 0;
font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
line-height: 1.25;
}

.related-articles-grid .ra-card-link {
text-decoration: none;
color: inherit;
border-bottom: 1px solid transparent;
transition: border-color 140ms ease, color 140ms ease;
}

.related-articles-grid .ra-card-link:hover,
.related-articles-grid .ra-card-link:focus {
color: var(--color-brand-red) !important;
text-decoration: none !important;
border-color: currentColor;
outline: none;
}

.related-articles-grid .ra-card-excerpt {
color: #5c636a;
font-size: 0.95rem;
line-height: 1.5;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}

/* Optional: larger images on wider screens */
@media (min-width: 992px) {
.related-articles-grid {
--ra-image-height: 240px;
}
}



/* ========================= Footer Styling ========================= */
.social-icon-bg {
display: inline-flex;
align-items: center;
justify-content: center;
background-color: #e0e0e0;
border-radius: 50%;
width: 40px;
height: 40px;
margin: 0 8px;
transition: background 0.3s;
background-color: var(--bs-primary) !important;
}

.social-icon-bg:hover {
background-color: #bdbdbd;
}

.social-icon-bg svg {
width: 18px;
height: 18px;
fill: var(--bs-dark);
}

.footer-col-heading {
font-size: 20px !important;
font-weight: bold !important;
}

.footer-links a {
font-size: 16px !important;
}

.contact-form-section .ff-el-input--label {
text-align: center !important;
}

.ff-btn-submit {
width: 100%;
background-color: #FF0000 !important;
}

.footer-links a:hover {
color: #ff0000 !important;
}

.lc-post-list li a {
color: white !important;
font-size: 16px !important;
}

.lc-post-list li a:hover {
color: #ff0000 !important;
text-decoration: none !important;
font-size: 16px !important;
}

.lc-latest-posts .lc-post-list li+li {
margin-top: 5px !important;
}

/* ========================= Splide Carousel Fixes ========================= */
#caseStudySplide {
max-width: 100%;
overflow: hidden;
position: relative;
}

#caseStudySplide .splide__arrows .splide__arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 5;
background: #fff;
border-radius: 50%;
width: 36px;
height: 36px;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

#caseStudySplide .splide__arrow--prev {
left: 10px;
}

#caseStudySplide .splide__arrow--next {
right: 10px;
}

@media (max-width: 576px) {
#caseStudySplide .case-content {
font-size: 0.9rem;
}

#caseStudySplide .splide__arrow {
width: 28px;
height: 28px;
}

#caseStudySplide .splide__arrow i {
font-size: 18px;
}
}

/* ========================= Slick Carousel Fixes ========================= */
.custom-carousel-wrap {
max-width: 100%;
overflow: hidden;
position: relative;
}

.custom-carousel .slick-prev,
.custom-carousel .slick-next {
top: 50%;
transform: translateY(-50%);
z-index: 5;
background: #fff;
border-radius: 50%;
width: 36px;
height: 36px;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.custom-carousel .slick-prev {
left: 10px !important;
}

.custom-carousel .slick-next {
right: 10px !important;
}

@media (max-width: 576px) {

.custom-carousel .slick-prev,
.custom-carousel .slick-next {
width: 28px;
height: 28px;
}

.custom-carousel .slick-prev:before,
.custom-carousel .slick-next:before {
font-size: 20px;
}
}

/* ========================= About Us Page Styling ========================= */

#our-process .step-card {
background: #fff;
transition: transform .25s ease, box-shadow .25s ease;
border-radius: 1.25rem;
}

#our-process .step-card:hover {
transform: translateY(-4px);
box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .08);
}

#our-process .step-badge {
width: 3rem;
height: 3rem;
display: grid;
place-items: center;
border-radius: 50%;
font-weight: 700;
margin: 0 auto;
box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .1);
}

/* Arrows between cards on desktop */
@media (min-width: 992px) {
#our-process .col-lg-3 {
position: relative;
}

#our-process .col-lg-3:not(:last-child)::after {
content: "";
position: absolute;
top: 50%;
right: -1.5rem;
transform: translateY(-50%);
border-top: 12px solid transparent;
border-bottom: 12px solid transparent;
border-left: 18px solid var(--bs-primary);
}

#our-process .col-lg-3:nth-child(2)::after {
border-left-color: var(--bs-secondary);
}

#our-process .col-lg-3:nth-child(3)::after {
border-left-color: var(--bs-primary);
}
}

/* Accent strip at the top of each card (uses brand colours via --accent) */
#why-choose-fhm .feature-accent {
content: "";
display: block;
height: 6px;
width: 100%;
background: var(--accent, var(--bs-primary));
border-top-left-radius: 1rem;
border-top-right-radius: 1rem;
}

#why-choose-fhm .feature-card {
border-radius: 1rem;
overflow: hidden;
transition: transform .25s ease, box-shadow .25s ease;
}

#why-choose-fhm .feature-card:hover {
transform: translateY(-4px);
box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .08);
}

#why-choose-fhm h3 {
letter-spacing: .2px;
}

#why-choose-fhm img {
background: rgba(0, 0, 0, .04);
}

/* Optional dark-mode tweaks */
@media (prefers-color-scheme: dark) {
#why-choose-fhm {
background-color: #0b0c10;
}

#why-choose-fhm .feature-card {
background: #161a22;
}

#why-choose-fhm .text-muted {
color: #b8c0cc !important;
}

#why-choose-fhm img {
background: rgba(255, 255, 255, .06);
}
}

/* ========================= Blog Page Styling ========================= */

/* === Blog Archive Filters - Professional Styling === */

.blog-archive-section .filter-list-wrapper {
background: #ffffff;
border: 1px solid #e0e0e0;
border-radius: 0.5rem;
padding: 1.5rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.blog-archive-section .filter-list-wrapper h4 {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid #e5e5e5;
}

.blog-archive-section .filter-list {
list-style: none;
margin: 0;
padding: 0;
}

.blog-archive-section .filter-list li {
margin-bottom: 0.6rem;
}

.blog-archive-section .filter-list label {
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0.5rem 0.75rem;
border: 1px solid #e0e0e0;
border-radius: 0.375rem;
background: #f8f9fa;
cursor: pointer;
transition: background 0.2s ease, border-color 0.2s ease;
}

.blog-archive-section .filter-list label:hover {
background: #e9ecef;
border-color: #cbd5e0;
}

.blog-archive-section .filter-list input[type="checkbox"] {
width: 18px;
height: 18px;
accent-color: #0d6efd;
cursor: pointer;
}

.blog-archive-section .filter-list span {
font-size: 0.95rem;
font-weight: 500;
color: #333;
}

.blog-archive-section .filter-actions {
display: flex;
justify-content: flex-end;
margin-top: 1rem;
}

.blog-archive-section .filter-actions .clear-filters {
font-size: 0.875rem;
color: #6c757d;
text-decoration: underline;
cursor: pointer;
}

.blog-archive-section .filter-actions .clear-filters:hover {
color: #0d6efd;
}

.ba-loading {
font-size: 1rem;
text-align: center;
padding: 2rem 0;
color: #6c757d;
}

@media (max-width: 767px) {
.blog-archive-section .filter-list-wrapper {
margin-bottom: 1.5rem;
}
}

/* Center pagination properly */
.blog-archive-section .pagination {
display: flex;
justify-content: center;
gap: 4px;
}

.blog-archive-section .pagination .page-item {
margin: 0;
}

.blog-archive-section .pagination .page-link {
min-width: 38px;
text-align: center;
}

.blog-archive-section .pagination .page-item.active .page-link {
background-color: var(--bs-primary);
border-color: var(--bs-primary);
color: white;
}

.subscription-form {
min-width: 1000px !important;
}