/*
Theme Name: Smart Plumbing
Theme URI:
Author: Smart Plumbing
Author URI:
Description: Custom WordPress theme for Smart Plumbing.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smart-plumbing
Tags: custom, full-width
*/

/* =========================================================
   CSS Custom Properties
   ========================================================= */
:root {
    --colour-primary: #282973;
    --colour-accent:  #008ecf;
    --colour-light:   #f7f9fc;
    --colour-white:   #ffffff;
    --colour-text:    #282973;
    --colour-muted:   #666666;

    --font-base: 16px;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* =========================================================
   Reset & Base
   ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
*:focus{
    outline:none !important;
}
html {
    font-size: var(--font-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--colour-text);
    background-color: var(--colour-white);
    width: 100%;
}

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

a {
    color: var(--colour-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

/* =========================================================
   Top Bar
   ========================================================= */
.top-bar {
    background-color: #008ecf;
}

.top-bar__item {
    color: var(--colour-white);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}

.top-bar__item:hover {
    opacity: 0.75;
    color: var(--colour-white);
    text-decoration: none;
}


/* =========================================================
   Scroll Reveal
   ========================================================= */

.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media ( prefers-reduced-motion: reduce ) {
    .scroll-reveal,
    .scroll-reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================================================
   Navigation — Bootstrap overrides
   ========================================================= */

/* Nav link colours */
.navbar .navbar-nav .nav-link {
    color: var(--colour-text);
    font-size: 1rem;
    font-weight: 500;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus {
    color: var(--colour-accent);
    text-decoration: none;
}

/* Custom logo sizing */
.navbar-brand .custom-logo {
    width: 160px;
    height: auto;
}

/* Hamburger — remove default border, use brand colour */
.navbar-toggler {
    border: none;
    padding: 0.25rem;
    color: var(--colour-primary);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mobile nav — centre links and CTA */
@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        align-items: center;
    }

    .navbar .navbar-nav .nav-link {
        text-align: center;
    }

    .navbar .navbar-collapse .btn-sp-cta {
        display: block;
        margin: 0.5rem auto 0.75rem;
        text-align: center;
    }
}

/* CTA button */
.btn-sp-cta {
    background-color: var(--colour-accent);
    color: var(--colour-white);
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: none;
    transition: background-color 0.2s, transform 0.15s;
}

.btn-sp-cta:hover,
.btn-sp-cta:focus,
.btn-sp-cta:active,
.btn-sp-cta:focus-visible,
.btn-sp-cta:active:focus {
    background-color: #008ecf;
    color: var(--colour-white);
    text-decoration: none;
    /*transform: translateY(-1px);*/
}

/* =========================================================
   Hero Carousel
   ========================================================= */

.hero-carousel {
    position: relative;
    height: 75vh;
    min-height: 500px;
    overflow: hidden;
    background-color: var(--colour-primary);
}

@media (max-width: 767.98px) {
    .hero-carousel {
        height: 60vh;
        min-height: 320px;
    }
}

/* ---- Slides ---- */
.hero-carousel__track {
    position: absolute;
    inset: 0;
}

.hero-carousel__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.9s ease;
    will-change: opacity;
}

.hero-carousel__slide--active {
    opacity: 1;
}

/* ---- Gradient overlay — dark left, fades to transparent right ---- */
.hero-carousel__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to right,
        rgba(10, 20, 40, 0.90) 0%,
        rgba(10, 20, 40, 0.75) 38%,
        rgba(10, 20, 40, 0.20) 65%,
        transparent 100%
    );
}

.hero-carousel__container {
    height: 100%;
    display: flex;
    align-items: center;
}

/* ---- Text content ---- */
.hero-carousel__content {
    max-width: 580px;
    padding: 2rem 0;
    color: var(--colour-white);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Heading */
.hero-carousel__heading {
    font-size: clamp(2rem, 4.5vw, 3.375rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--colour-white);
    margin: 0;
}

/* Subtext */
.hero-carousel__subtext {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    max-width: 460px;
}

/* CTA row */
.hero-carousel__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-carousel__btn-primary {
    flex: 1;
    background-color: var(--colour-accent);
    color: var(--colour-white);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.875rem;
    border: 2px solid var(--colour-accent);
    border-radius: 4px;
    transition: background-color 0.2s, border-color 0.2s, transform 0.15s;
    text-align: center;
}

.hero-carousel__btn-primary:hover,
.hero-carousel__btn-primary:focus {
    background-color: #008ecf;
    border-color: #008ecf;
    color: var(--colour-white);
    /*transform: translateY(-2px);*/
    text-decoration: none;
}

.hero-carousel__btn-outline {
    flex: 1;
    background-color: transparent;
    color: var(--colour-white);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.875rem;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
    text-align: center;
}

.hero-carousel__btn-outline:hover,
.hero-carousel__btn-outline:focus {
    background-color: var(--colour-white);
    border-color: var(--colour-white);
    color: var(--colour-primary);
    /*transform: translateY(-2px);*/
    text-decoration: none;
}

/* ---- Slide dots — bottom centre ---- */
.hero-carousel__dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.625rem;
    align-items: center;
}

.hero-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.65);
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.25s, border-color 0.25s, transform 0.2s;
    flex-shrink: 0;
}

.hero-carousel__dot--active {
    background-color: var(--colour-white);
    border-color: var(--colour-white);
    transform: scale(1.3);
}

.hero-carousel__dot:hover {
    border-color: var(--colour-white);
    background-color: rgba(255, 255, 255, 0.45);
}

/* ---- Prev / Next arrows — bottom right ---- */
.hero-carousel__arrow-row {
    position: absolute;
    bottom: 1.625rem;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-carousel__arrows {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.hero-carousel__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.55);
    background-color: rgba(0, 0, 0, 0.28);
    color: var(--colour-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.2s, border-color 0.2s;
    backdrop-filter: blur(6px);
}

.hero-carousel__arrow:hover,
.hero-carousel__arrow:focus {
    background-color: var(--colour-accent);
    border-color: var(--colour-accent);
    outline: none;
}

/* ---- Responsive ---- */
@media ( max-width: 767.98px ) {
    .hero-carousel__overlay {
        background: linear-gradient(
            to bottom,
            rgba(10, 20, 40, 0.85) 0%,
            rgba(10, 20, 40, 0.65) 55%,
            rgba(10, 20, 40, 0.30) 100%
        );
        align-items: flex-start;
        padding-top: 3rem;
    }

    .hero-carousel__content {
        padding: 2rem 0;
        gap: 1.125rem;
        max-width: 100%;
    }

    .hero-carousel__cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-carousel__btn-primary,
    .hero-carousel__btn-outline {
        text-align: center;
    }
}

/* =========================================================
   Trust Strip
   ========================================================= */
.trust-strip {
    background-color: var(--colour-primary);
}

.trust-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    padding: 2rem 1.5rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    color: inherit;
    text-decoration: none;
}

.trust-strip__item:last-child {
    border-right: none;
}

.trust-strip__icon {
    color: var(--colour-accent);
    flex-shrink: 0;
}

.trust-strip__label {
    color: var(--colour-white);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
}

/* Mobile: 2×2 grid */
@media ( max-width: 767.98px ) {
    .trust-strip__item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 1.5rem 1rem;
    }

    /* Restore vertical divider between the two columns */
    .trust-strip__item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.12);
    }

    /* Remove bottom border from the last two items */
    .trust-strip__item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

/* =========================================================
   About Section
   ========================================================= */
.about-section {
    background-color: var(--colour-white);
    padding: 5rem 0;
}

.about-section__heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--colour-primary);
    margin-bottom: 1.5rem;
}

.about-section__body {
    color: var(--colour-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Image */
.about-section__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* Stat counters */
.about-section__stats {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-right: 1rem;
}

.about-stat__number {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 700;
    color: var(--colour-accent);
    line-height: 1;
}

.about-stat__label {
    font-size: 0.8125rem;
    color: var(--colour-muted);
    line-height: 1.3;
}

/* Video */
.about-section__video-wrap {
    border-top: 1px solid #e5e7eb;
    padding-top: 2.5rem;
}

.about-section__video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px 8px 0 0;
    background-color: #000;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.about-section__caption {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--colour-muted);
    text-align: center;
}

@media ( max-width: 767.98px ) {
    .about-section {
        padding: 3rem 0;
    }

    .about-section__image {
        height: 300px;
        border-radius: 8px;
    }
}

/* =========================================================
   Our Services Section
   ========================================================= */

.services-section {
    background-color: var(--colour-light);
    padding: 5rem 0;
}

/* ---- Section header ---- */
.services-section__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.services-section__heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--colour-primary);
    margin-bottom: 0.75rem;
}

/* Orange underline accent bar */
.services-section__accent {
    width: 52px;
    height: 4px;
    background-color: var(--colour-accent);
    border-radius: 2px;
    margin: 0 auto 1.25rem;
}

.services-section__descriptor {
    color: var(--colour-muted);
    font-size: 1.0625rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ---- Service card ---- */
.service-card {
    background-color: var(--colour-white);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    overflow: visible;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    /*transform: translateY(-5px);*/
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.11);
}

/* Image wrapper */
.service-card__img-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 8px 8px 0 0;
}

.service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card__img {
    transform: scale(1.04);
}

/* Circular icon badge — overlaid bottom-right of image */
.service-card__icon-badge {
    position: absolute;
    top: 156px;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--colour-accent);
    color: var(--colour-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 142, 207, 0.40);
    z-index: 1;
    flex-shrink: 0;
}

/* Card body */
.service-card__body {
    padding: 2.25rem 1.5rem 1.625rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--colour-primary);
    margin-bottom: 0.5rem;
}

.service-card__desc {
    font-size: 0.9375rem;
    color: var(--colour-muted);
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 1.125rem;
}

.service-card__link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--colour-accent);
    text-decoration: none;
    align-self: flex-start;
    transition: color 0.2s;
}

.service-card__link:hover,
.service-card__link:focus {
    color: #0072a6;
    text-decoration: none;
}

@media ( max-width: 767.98px ) {
    .services-section {
        padding: 3rem 0;
    }

    .services-section__header {
        margin-bottom: 2.5rem;
    }
}

/* =========================================================
   Our Rates Section
   ========================================================= */
.rates-section {
    background-color: var(--colour-white);
    padding: 5rem 0;
}

/* Section header */
.rates-section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.rates-section__heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--colour-primary);
    margin-bottom: 0.75rem;
}

.rates-section__accent {
    width: 52px;
    height: 4px;
    background-color: var(--colour-accent);
    border-radius: 2px;
    margin: 0 auto 1.25rem;
}

.rates-section__descriptor {
    color: var(--colour-muted);
    font-size: 1.0625rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Table wrapper */
.rates-section__table-wrap {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
    overflow: hidden;
}

/* Table */
.rates-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.rates-table thead tr {
    background-color: var(--colour-primary);
}

.rates-table thead th {
    color: var(--colour-white);
    font-weight: 600;
    padding: 1rem 1.5rem;
    text-align: left;
    letter-spacing: 0.02em;
}

.rates-table tbody tr {
    transition: background-color 0.15s;
}

.rates-table tbody tr:nth-child(odd) {
    background-color: var(--colour-white);
}

.rates-table tbody tr:nth-child(even) {
    background-color: var(--colour-light);
}

.rates-table tbody tr:hover {
    background-color: #eaf0f8;
}

.rates-table tbody td {
    padding: 0.9rem 1.5rem;
    color: var(--colour-text);
    border-bottom: 1px solid #e5e7eb;
}

.rates-table tbody tr:last-child td {
    border-bottom: none;
}

.rates-table tbody td:last-child {
    font-weight: 600;
    color: var(--colour-primary);
    white-space: nowrap;
}

.rates-table__vat {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--colour-muted);
}

/* Note strip */
.rates-section__note {
    background-color: #f0f8fd;
    border-top: 1px solid #c9e8f5;
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    color: var(--colour-muted);
    line-height: 1.6;
}

@media ( max-width: 767.98px ) {
    .rates-section {
        padding: 3rem 0;
    }

    .rates-table thead th,
    .rates-table tbody td {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .rates-table {
        display: block;
    }

    .rates-table thead {
        display: none;
    }

    .rates-table tbody {
        display: block;
    }

    .rates-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        overflow: hidden;
        background-color: var(--colour-white);
    }

    .rates-table tbody tr:nth-child(odd),
    .rates-table tbody tr:nth-child(even) {
        background-color: var(--colour-white);
    }

    .rates-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.625rem 1rem;
        border-bottom: 1px solid #f0f0f0;
        font-size: 0.875rem;
    }

    .rates-table tbody tr:last-child td {
        border-bottom: 1px solid #f0f0f0;
    }

    .rates-table tbody tr:last-child td:last-child {
        border-bottom: none;
    }

    .rates-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--colour-primary);
        font-size: 0.8125rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }
}

/* =========================================================
   Contact Us Section
   ========================================================= */
.contact-section {
    background-color: var(--colour-light);
    padding-top: 5rem;
    padding-bottom: 0;
}

.contact-section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-section__heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--colour-primary);
    margin-bottom: 0.75rem;
}

.contact-section__accent {
    width: 52px;
    height: 4px;
    background-color: var(--colour-accent);
    border-radius: 2px;
    margin: 0 auto;
}

/* Three-column grid */
.contact-section__grid {
    min-height: 560px;
}

/* Column 1 — Map */
.contact-section__map-col {
    min-height: 360px;
}

.contact-section__map {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
}

/* Column 2 — Contact Details */
.contact-section__details-col {
    background-color: var(--colour-primary);
}

.contact-details {
    padding: 3rem 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-details__heading {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--colour-white);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-details__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.contact-details__item:last-child {
    border-bottom: none;
}

.contact-details__icon {
    flex-shrink: 0;
    color: var(--colour-accent);
    margin-top: 2px;
}

.contact-details__item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-details__item a:hover {
    color: var(--colour-accent);
    text-decoration: none;
}

/* Column 3 — Form */
.contact-section__form-col {
    background-color: var(--colour-white);
}

.contact-form-wrap {
    padding: 3rem 2.5rem;
}

.contact-form-wrap__heading {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--colour-primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.contact-form__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--colour-primary);
    margin-bottom: 0.375rem;
}

.contact-form__label span {
    color: var(--colour-accent);
}

.contact-form__input {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.9375rem;
    color: var(--colour-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form__input:focus {
    border-color: var(--colour-primary);
    box-shadow: 0 0 0 3px rgba(26, 46, 74, 0.1);
    outline: none;
}

/* Mobile */
@media ( max-width: 991.98px ) {
    .contact-section {
        padding-top: 3rem;
    }

    .contact-details,
    .contact-form-wrap {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .contact-section__grid {
        min-height: auto;
    }

    .contact-section__map-col {
        min-height: 260px;
    }

    .contact-section__map {
        min-height: 260px;
    }
}

/* =========================================================
   Online Quote CTA
   ========================================================= */
.quote-cta {
    background: #008ecf;
    padding: 6rem 0;
    text-align: center;
}

.quote-cta__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.quote-cta__heading {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--colour-white);
    margin: 0;
    line-height: 1.2;
}

.quote-cta__descriptor {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 560px;
    line-height: 1.7;
    margin: 0;
}

.quote-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background-color: var(--colour-white);
    color: var(--colour-accent);
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.quote-cta__btn:hover,
.quote-cta__btn:focus {
    background-color: #ffffff;
    color: #008ecf;
    text-decoration: none;
    /*transform: translateY(-2px);*/
    /*box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);*/
}

.quote-cta__note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

@media ( max-width: 767.98px ) {
    .quote-cta {
        padding: 4rem 0;
    }

    .quote-cta__btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   Reviews Sections
   ========================================================= */
.reviews-section {
    padding: 5rem 0;
}

.reviews-section--google {
    background-color: var(--colour-white);
}

.reviews-section--trustpilot {
    background-color: var(--colour-light);
    border-top: 1px solid #e5e7eb;
}

/* Section header */
.reviews-section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-section__heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--colour-primary);
    margin-bottom: 0.75rem;
}

.reviews-section__accent {
    width: 52px;
    height: 4px;
    background-color: var(--colour-accent);
    border-radius: 2px;
    margin: 0 auto;
}

/* Trustpilot snapshot */
.tp-snapshot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.tp-snapshot__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tp-snapshot__brand-name {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 700;
    color: #191919;
    letter-spacing: -0.01em;
}

.tp-snapshot__link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.tp-snapshot__link:hover {
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.18);
    transform: translateY(-3px);
    text-decoration: none;
}

.tp-snapshot__img {
    display: block;
    width: 100%;
    height: auto;
}

.tp-snapshot__caption {
    font-size: 1rem;
    font-weight: 600;
    color: var(--colour-muted);
    letter-spacing: 0.03em;
    margin: 0;
    text-align: center;
}

.tp-snapshot__cta {
    text-align: center;
}

/* Outline button variant */
.btn-sp-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid var(--colour-accent);
    border-radius: 4px;
    background-color: transparent;
    color: var(--colour-accent);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-sp-outline:hover,
.btn-sp-outline:focus {
    background-color: var(--colour-accent);
    color: var(--colour-white);
    text-decoration: none;
    transform: translateY(-1px);
}

@media ( max-width: 767.98px ) {
    .reviews-section {
        padding: 3rem 0;
    }
}

/* =========================================================
   Bathroom Gallery
   ========================================================= */
.bathroom-gallery {
    background-color: var(--colour-white);
    padding: 5rem 0;
}

.bathroom-gallery__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.bathroom-gallery__heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--colour-primary);
    margin-bottom: 0.75rem;
}

.bathroom-gallery__accent {
    width: 52px;
    height: 4px;
    background-color: var(--colour-accent);
    border-radius: 2px;
    margin: 0 auto 1.25rem;
}

.bathroom-gallery__descriptor {
    color: var(--colour-muted);
    font-size: 1.0625rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Filter pills */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.gallery-filter__pill {
    background-color: transparent;
    color: var(--colour-primary);
    border: 2px solid var(--colour-primary);
    border-radius: 4px;
    padding: 0.4rem 1.375rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.gallery-filter__pill--active,
.gallery-filter__pill:hover {
    background-color: var(--colour-primary);
    color: var(--colour-white);
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat( 3, 1fr );
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 6px; /* room for card box-shadows at grid edges */
}

@media (max-width: 991.98px) {
    .gallery-grid {
        grid-template-columns: repeat( 2, 1fr );
    }
}

/* Gallery card */
.gallery-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
    transition: box-shadow 0.25s, transform 0.25s;
}

.gallery-card:hover {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
    /*transform: translateY(-3px);*/
}

.gallery-card__img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-card__img {
    transform: scale(1.04);
}

/* Gallery card — clickable hover overlay */
.gallery-card {
    cursor: pointer;
}

.gallery-card:focus {
    outline: 3px solid var(--colour-accent);
    outline-offset: 3px;
}

.gallery-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient( transparent, rgba( 26, 46, 74, 0.88 ) );
    color: var(--colour-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 2.5rem 1rem 1.125rem;
    transform: translateY( 100% );
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-card__overlay,
.gallery-card:focus .gallery-card__overlay {
    transform: translateY( 0 );
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.gallery-modal[hidden] {
    display: none;
}

.gallery-modal__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba( 0, 0, 0, 0.78 );
}

.gallery-modal__dialog {
    position: relative;
    background: var(--colour-white);
    border-radius: 10px;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.25rem 2rem 2rem;
    box-shadow: 0 20px 60px rgba( 0, 0, 0, 0.35 );
}

.gallery-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--colour-primary);
    background: transparent;
    color: var(--colour-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.gallery-modal__close:hover {
    background-color: var(--colour-primary);
    color: var(--colour-white);
}

.gallery-modal__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--colour-primary);
    text-align: center;
    margin-bottom: 1.5rem;
    padding-right: 2.5rem;
}

.gallery-modal__comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.gallery-modal__panel {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.gallery-modal__label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.875rem;
    border-radius: 4px;
    color: var(--colour-white);
    align-self: flex-start;
}

.gallery-modal__label--before {
    background-color: var(--colour-primary);
}

.gallery-modal__label--after {
    background-color: var(--colour-accent);
}

.gallery-modal__img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 6px;
}

/* Mobile — single column */
@media ( max-width: 767.98px ) {
    .bathroom-gallery {
        padding: 3rem 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card__img {
        height: 220px;
    }

    .gallery-modal__comparison {
        grid-template-columns: 1fr;
    }

    .gallery-modal__img {
        height: 240px;
    }
}

/* =========================================================
   Blog Section — Latest News & Advice
   ========================================================= */

.blog-section {
    padding: 5rem 0;
    background-color: var(--colour-light);
}

.blog-section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-section__heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--colour-primary);
    margin-bottom: 0.5rem;
}

.blog-section__accent {
    width: 52px;
    height: 4px;
    background-color: var(--colour-accent);
    border-radius: 2px;
    margin: 0 auto 1rem;
}

.blog-section__descriptor {
    font-size: 1.0625rem;
    color: var(--colour-muted);
    max-width: 540px;
    margin: 0 auto;
}

/* --- Carousel wrapper --- */

.blog-carousel {
    position: relative;
}

.blog-carousel__viewport {
    /*overflow: hidden;*/
}

.blog-carousel__track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-carousel__page {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* --- Nav arrows --- */

.blog-carousel__nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.blog-carousel__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--colour-primary);
    background-color: transparent;
    color: var(--colour-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.blog-carousel__arrow:hover,
.blog-carousel__arrow:focus {
    background-color: var(--colour-accent);
    border-color: var(--colour-accent);
    color: var(--colour-white);
    outline: none;
}

/* --- Dots --- */

.blog-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.blog-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #c5cdd8;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s, transform 0.2s;
}

.blog-carousel__dot--active {
    background-color: var(--colour-accent);
    transform: scale(1.3);
}

/* --- Blog card --- */

.blog-card {
    background: var(--colour-white);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
}

.blog-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
}

.blog-card__image-wrap {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 10px 10px 0 0;
}

.blog-card__img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    border-radius: 10px 10px 0 0;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__img {
    transform: scale(1.05);
}

.blog-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: var(--colour-accent);
    color: var(--colour-white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    line-height: 1.4;
}

.blog-card__body {
    padding: 1.25rem 1.375rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card__meta {
    font-size: 0.8125rem;
    color: var(--colour-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.blog-card__sep {
    color: #bbb;
}

.blog-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--colour-primary);
    margin-bottom: 0.625rem;
    line-height: 1.4;
}

.blog-card__excerpt {
    font-size: 0.9rem;
    color: var(--colour-muted);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1rem;
}

.blog-card__link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--colour-accent);
    text-decoration: none;
    align-self: flex-start;
    transition: color 0.2s;
}

.blog-card__link:hover {
    color: var(--colour-primary);
    text-decoration: none;
}

@media ( max-width: 767.98px ) {
    .blog-section {
        padding: 3rem 0;
    }

    .blog-carousel__page {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* =========================================================
   Site Footer
   ========================================================= */

.site-footer {
    background-color: #0f1e33;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- Main columns --- */

.footer-main {
    padding: 4.5rem 0 3.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.15fr;
    gap: 3rem;
    align-items: start;
}

/* --- Shared column styles --- */

.footer-col__heading {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--colour-white);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    position: relative;
}

.footer-col__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background-color: var(--colour-accent);
    border-radius: 1px;
}

.footer-col__subheading {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--colour-white);
    margin-top: 1.75rem;
    margin-bottom: 0.875rem;
    padding-bottom: 0.75rem;
    position: relative;
}

.footer-col__subheading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background-color: var(--colour-accent);
    border-radius: 1px;
}

.footer-col__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col__links a {
    color: rgba(255, 255, 255, 0.58);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.footer-col__links a::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid var(--colour-accent);
    border-top: 1.5px solid var(--colour-accent);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.footer-col__links a:hover {
    color: var(--colour-white);
    text-decoration: none;
}

/* --- Column 1: Brand --- */

.footer-brand__logo {
    display: inline-block;
    margin-bottom: 1.25rem;
    text-decoration: none;
}

.footer-brand__logo img {
    max-width: 312px;
    height: auto;
}

.footer-brand__desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    max-width: 290px;
    margin-bottom: 1.75rem;
}

.footer-brand__contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-brand__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.875rem;
}

.footer-brand__contact-item address {
    font-style: normal;
    margin: 0;
}

.footer-brand__contact-icon {
    flex-shrink: 0;
    color: var(--colour-accent);
    margin-top: 0.15rem;
}

.footer-brand__contact-item a {
    color: rgba(255, 255, 255, 0.58);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-brand__contact-item a:hover {
    color: var(--colour-white);
    text-decoration: none;
}

/* --- Accreditations row --- */

.footer-accreditations {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.75rem 0;
}

.footer-accreditations__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-accreditations__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

.footer-accreditations__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.625rem;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.footer-badge__logo {
    display: block;
    height: 36px;
    width: auto;
    opacity: 0.85;
}

.footer-badge--inline {
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.footer-badge--sm .footer-badge__logo {
    height: 20px;
}

.footer-badge--lg .footer-badge__logo {
    height: 52px;
}

.footer-badge--xl .footer-badge__logo {
    height: 104px;
}

.footer-badge--inline.footer-badge--lg {
    font-size: 1rem;
}

.footer-badge a,
.footer-badge a:hover,
.footer-badge a:focus {
    text-decoration: none;
}

@media (max-width: 575.98px) {
    .footer-accreditations__badges {
        gap: 0.25rem;
    }

    .footer-badge {
        padding: 0.375rem 0.5rem;
    }

    .footer-badge--lg .footer-badge__logo {
        height: 36px;
    }

    .footer-badge--sm .footer-badge__logo {
        height: 16px;
    }

    .footer-badge--inline.footer-badge--lg {
        font-size: 0.85rem;
    }
}

/* --- Bottom bar --- */

.footer-bottom {
    background-color: #008ecf;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.125rem 0;
}

.footer-bottom__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-bottom__copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 1);
    margin: 0;
}

.footer-bottom__legal {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.38);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem;
}

.footer-bottom__legal a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom__legal a:hover {
    color: var(--colour-white);
    text-decoration: none;
}

.footer-bottom__sep {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 0.15rem;
}

.footer-bottom__pipe {
    color: rgba(255, 255, 255, 0.18);
    margin: 0 0.5rem;
}

/* --- Responsive --- */

@media ( max-width: 991.98px ) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 2rem;
    }
}

@media ( max-width: 767.98px ) {
    .footer-main {
        padding: 3rem 0 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Centre all footer columns */
    .footer-col {
        text-align: center;
    }

    /* Logo */
    .footer-brand__logo {
        margin-left: auto;
        margin-right: auto;
    }

    /* Description */
    .footer-brand__desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Contact list */
    .footer-brand__contact {
        align-items: center;
    }

    .footer-brand__contact-item {
        justify-content: center;
    }

    /* Column headings — centre the orange underline */
    .footer-col__heading::after,
    .footer-col__subheading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Nav link lists */
    .footer-col__links {
        align-items: center;
    }
}

/* =========================================================
   WhatsApp Floating Button
   ========================================================= */

.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1030;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus {
    background-color: #1ebe5d;
    transform: scale(1.08);
    text-decoration: none;
    outline: none;
}

@media ( max-width: 575.98px ) {
    .whatsapp-fab {
        width: 40px;
        height: 40px;
        bottom: 16px;
        left: 16px;
    }
}

/* =========================================================
   Back to Top Button
   ========================================================= */

.to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: var(--colour-accent);
    color: var(--colour-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1030;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.2s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    padding: 0;
}

.to-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover,
.to-top:focus {
    background-color: var(--colour-primary);
    outline: none;
}

@media ( max-width: 575.98px ) {
    .to-top {
        width: 40px;
        height: 40px;
        bottom: 16px;
        right: 16px;
    }
}

/* =========================================================
   Service Modal
   ========================================================= */

.service-card {
    cursor: pointer;
}

.service-card:focus {
    outline: 3px solid var(--colour-accent);
    outline-offset: 2px;
}

.service-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.service-modal[hidden] {
    display: none;
}

.service-modal__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.65);
}

.service-modal__dialog {
    position: relative;
    background: var(--colour-white);
    border-radius: 12px;
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.service-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--colour-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s, color 0.2s;
    padding: 0;
}

.service-modal__close:hover,
.service-modal__close:focus {
    background: var(--colour-primary);
    color: var(--colour-white);
    outline: none;
}

.service-modal__img-wrap {
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
}

.service-modal__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-modal__body {
    padding: 2rem 2rem 2.25rem;
}

.service-modal__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--colour-primary);
    margin-bottom: 0.75rem;
}

.service-modal__desc {
    color: var(--colour-mid);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.service-modal__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.service-modal__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--colour-mid);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.service-modal__list li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background-color: var(--colour-accent);
    margin-top: 0.45em;
}

.service-modal__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.service-modal__cta-primary {
    flex: 1;
    text-align: center;
    min-width: 160px;
}

.service-modal__cta-call {
    flex: 1;
    min-width: 160px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background-color: var(--colour-primary);
    color: var(--colour-white);
    border: 2px solid var(--colour-primary);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.65rem 1.25rem;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.15s, color 0.2s;
    text-decoration: none;
}

.service-modal__cta-call:hover,
.service-modal__cta-call:focus {
    background-color: #282973;
    color: var(--colour-white);
    text-decoration: none;
    /*box-shadow: 0 6px 18px rgba(26, 46, 74, 0.35);*/
    /*transform: translateY(-2px);*/
    outline: none;
}

@media ( max-width: 575.98px ) {
    .service-modal__body {
        padding: 1.25rem 1.25rem 1.5rem;
    }

    .service-modal__title {
        font-size: 1.3rem;
    }

    .service-modal__list {
        grid-template-columns: 1fr;
    }

    .service-modal__cta-primary,
    .service-modal__cta-call {
        flex: none;
        width: 100%;
    }
}

/* =========================================================
   Blog Card — image link wrapper (WP_Query version)
   ========================================================= */

.blog-card__image-link {
    display: block;
    text-decoration: none;
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.blog-card__title a:hover {
    color: var(--colour-accent);
}

/* =========================================================
   Single Post — Back Nav Bar
   ========================================================= */

.post-back-nav {
    background-color: var(--colour-primary);
    padding: 0.75rem 0;
}

.post-back-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.post-back-nav__link:hover {
    color: var(--colour-white);
    text-decoration: none;
}

/* =========================================================
   Single Post — Hero
   ========================================================= */

.post-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
}

.post-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.25) 0%,
        rgba(10, 22, 40, 0.75) 70%,
        rgba(10, 22, 40, 0.92) 100%
    );
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.post-hero__inner {
    padding-bottom: 3rem;
    padding-top: 3rem;
}

.post-hero__badge {
    display: inline-block;
    background-color: var(--colour-accent);
    color: var(--colour-white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    margin-bottom: 1rem;
}

.post-hero__title {
    font-size: clamp(1.6rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--colour-white);
    line-height: 1.2;
    margin-bottom: 0.875rem;
    max-width: 780px;
}

.post-hero__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.post-hero__meta-sep {
    opacity: 0.5;
}

@media ( max-width: 767.98px ) {
    .post-hero {
        min-height: 300px;
    }

    .post-hero__inner {
        padding-bottom: 2rem;
    }
}

/* =========================================================
   Single Post — Body
   ========================================================= */

.post-body {
    padding: 3.5rem 0 2.5rem;
}

.post-body__inner {
    max-width: 780px;
    margin: 0 auto;
}

/* Post content typography */
.post-content {
    color: var(--colour-mid);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: var(--colour-primary);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.post-content h2 { font-size: 1.5rem; }
.post-content h3 { font-size: 1.25rem; }
.post-content h4 { font-size: 1.0625rem; }

.post-content p {
    margin-bottom: 1.35rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.35rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.4rem;
}

.post-content a {
    color: var(--colour-accent);
    text-decoration: underline;
}

.post-content a:hover {
    color: var(--colour-primary);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.post-content blockquote {
    border-left: 4px solid var(--colour-accent);
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background-color: #f7f9fc;
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: var(--colour-primary);
}

.post-content strong { color: var(--colour-primary); }

/* Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8edf3;
}

.post-tag {
    background-color: #f0f4f8;
    color: var(--colour-mid);
    font-size: 0.8125rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
}

/* Prev / Next navigation */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e8edf3;
}

.post-nav__item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-decoration: none;
    padding: 1rem 1.25rem;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    transition: border-color 0.2s, background-color 0.2s;
}

.post-nav__item:hover {
    border-color: var(--colour-accent);
    /*background-color: #fdf4f0;*/
    text-decoration: none;
}

.post-nav__item--next {
    text-align: right;
}

.post-nav__label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--colour-accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.post-nav__item--next .post-nav__label {
    justify-content: flex-end;
}

.post-nav__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--colour-primary);
    line-height: 1.35;
}

/* Back button */
.post-back-bottom {
    margin-top: 2.5rem;
}

.post-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: transparent;
    color: var(--colour-primary);
    border: 2px solid var(--colour-primary);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.65rem 1.25rem;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.post-back-btn:hover,
.post-back-btn:focus {
    background-color: var(--colour-primary);
    color: var(--colour-white);
    text-decoration: none;
    outline: none;
}

@media ( max-width: 575.98px ) {
    .post-nav {
        grid-template-columns: 1fr;
    }

    .post-nav__item--next {
        text-align: left;
    }

    .post-nav__item--next .post-nav__label {
        justify-content: flex-start;
    }
}

/* =========================================================
   Single Post — CTA Strip
   ========================================================= */

.post-cta {
    background-color: var(--colour-primary);
    padding: 3.5rem 0;
    margin-top: 0;
}

.post-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.post-cta__heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--colour-white);
    margin-bottom: 0.4rem;
}

.post-cta__subtext {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-size: 1rem;
}

.post-cta__btns {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.post-cta__call {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: transparent;
    color: var(--colour-white);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.65rem 1.25rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s, border-color 0.2s;
}

.post-cta__call:hover,
.post-cta__call:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--colour-white);
    color: var(--colour-white);
    text-decoration: none;
    outline: none;
}

@media ( max-width: 767.98px ) {
    .post-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .post-cta__btns {
        justify-content: center;
    }
}

/* Blog section empty state */
.blog-section__empty {
    text-align: center;
    color: var(--colour-mid);
    padding: 2rem 0;
    font-style: italic;
}

/* Team Start */
.team-wrapper{
    margin-bottom: 30px;
    cursor:pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}
.team-wrapper .team-footer{ 
    background: #282973;
    text-align: center;
    padding: 15px 15px 25px 15px;
    color: #ffffff;
    text-align: center;
    border-top: 4px solid #008ecf;
}
.team-wrapper .team-footer .content-wrapper{
    display: inline-block;
}
.team-wrapper .img-container{
    overflow:hidden;
}
.team-wrapper .img-container > img {
    transition: transform .2s;
}
.team-wrapper:hover .img-container > img {
    transform: scale(1.1);
}
.team-wrapper .text-box > span:last-child{
    font-size: 13px;
}
.green-line{
    width: 45%;
    background: #7e9c20;
    height: 6px;
    margin-top:5px;
    transition: all .4s;
}
.font-md {
    font-size: 18px;
}
/* Team End */
/* My Modal Design Start */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  /*padding: 20px;*/
  max-width: 800px; /* adjust */
  border-radius: 10px;
  position: relative;
  overflow:hidden;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 20px;
  cursor: pointer;
  z-index: 1000;
}
.modal-img{
    min-width:100%;
    height:auto;
}
.modal-content-box{
    padding:0px 25px;
}
.color-purple{
    color:#282973;
}
.bg-purple{
    background:#282973;
}
.color-sky{
    color:#008ecf;
}
.img-container{
    border-top-left-radius:8px;
    border-top-right-radius:8px;
}
.team-footer{
    border-bottom-left-radius:8px;
    border-bottom-right-radius:8px;
}
.color-white{
    color:#ffffff;
}
/* My Modal Design End */