/* Yinka Akinfenwa — site styles on top of Bootstrap 5.
   Reproduces the 2014 theme: Lato, blue #008fd5, dark footer. */

@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("../vendor/fonts/lato/lato-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../vendor/fonts/lato/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("../vendor/fonts/lato/lato-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../vendor/fonts/lato/lato-latin-700-normal.woff2") format("woff2"); }

:root {
    /* Brand blue of the 2014 site. Decorative only: rules, large headings, icon tiles
       (3.57:1 on white — fine for large text and icons, not for body text). */
    --brand: #008fd5;
    --brand-light: #4db1e2;   /* frames and accents, never behind text */
    /* Same hue, darker: every surface or link that carries normal-size text. */
    --blue: #0074ad;          /* 5.1:1 with white */
    --blue-deep: #006799;     /* 6.2:1 — phone tab, dark benefit boxes */
    --blue-soft: #007bb8;     /* 4.6:1 — active nav, light benefit boxes */
    --blue-on-dark: #4dc4ff;  /* links and icons on the dark footer, 6.5:1+ */
    --text-muted: #5f6b73;
    --focus-ring: var(--blue);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --dark: #1c2d36;
    --dark-2: #213540;
    --grey-bg: #f2f2f2;
    --line: #e3e3e3;
    --field-stroke: #8a8a8a;        /* form borders, 3:1 on white */
    --alert-red: #b3261e;           /* the only error red: 6.5:1 on white, 5.7:1 on --error-tint */
    --error-tint: #fdecea;
    --success-ink: #1e6b34;         /* 5.8:1 on --success-tint */
    --success-tint: #e6f4ea;
    --photo-placeholder: #dfeef7;   /* hero slot colour while the photo loads */
    --bs-body-font-family: "Lato", Helvetica, Arial, sans-serif;
    --bs-body-color: #000;
    --bs-link-color-rgb: 0, 116, 173;
    --bs-link-hover-color-rgb: 0, 92, 138;
}

body { font-family: var(--bs-body-font-family); color: #000; background: #fff; }
h1, h2, h3, p, li, figcaption { overflow-wrap: break-word; }
picture { display: contents; } /* <picture> wrappers must not change the layout of their <img> */
.icon { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex-shrink: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; box-shadow: none !important; }
.page-title, .copyrights, .page-footer, .benefit, .details-list .accordion-body, .hero, .header-call,
.news-date, .site-header .navbar-collapse { --focus-ring: #fff; }
/* Bootstrap removes the outline on these; ring in the element's own text colour so it shows on white and on the active blue tab */
.site-header .nav-link:focus-visible,
.details-list .accordion-button:focus-visible { outline: 3px solid currentColor; outline-offset: -5px; }
input, textarea { caret-color: var(--blue); }
/* Over photos a single colour can vanish: white ring plus a dark halo reads on any image */
.hero :focus-visible { outline: 3px solid #fff; box-shadow: 0 0 0 6px var(--dark) !important; }
.feedback .form-control:focus { outline: 3px solid var(--blue); outline-offset: 1px; }
a { text-underline-offset: .15em; }

.container { max-width: 1170px; }

.skip-link { position: absolute; top: 0; left: 0; z-index: 2000; padding: .5rem 1rem; background: var(--blue); color: #fff; }

/* ---------- header / nav ---------- */
.site-header { background: #fff; position: relative; z-index: 100; }
.site-header .navbar { min-height: 92px; }
.site-header .navbar-brand { padding: 17px 0; margin-right: 1rem; }
.site-header .navbar-brand img { max-width: 100%; height: auto; }

.site-header .nav-link {
    color: #000;
    font-size: 15px;
    white-space: nowrap;
    padding: 0 18px !important;
    line-height: 92px;
    transition: background-color .2s, color .2s;
}
.site-header .nav-link:hover,
.site-header .nav-link:focus-visible,
.site-header .nav-link.show { background: var(--blue-soft); color: #fff; }
.site-header .nav-link.active { background: var(--blue-soft); color: #fff; }
.site-header .dropdown-toggle::after { display: none; }
.site-header .nav-phone { background: var(--blue-deep); color: #fff; font-size: 16px; }
.site-header .nav-phone:hover { background: var(--blue); }

.site-header .dropdown-menu {
    margin-top: 0 !important;
    border: 0;
    border-radius: 0;
    padding: 0;
    min-width: 200px;
    background: var(--blue-soft);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .1);
}
.site-header .dropdown-item { color: #fff; padding: 12px 18px; font-size: 15px; }
.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus,
.site-header .dropdown-item.active { background: var(--blue); color: #fff; }

@media (min-width: 1200px) and (hover: hover) {
    /* open dropdowns on hover like the original theme */
    .site-header .dropdown:hover > .dropdown-menu { display: block; }
}

.navbar-toggler {
    border: 0;
    border-radius: 0;
    background: var(--blue);
    color: #fff;
    font-size: 15px;
    padding: 10px 16px;
}
.navbar-toggler { min-height: 44px; }
.header-actions { gap: 8px; align-items: center; }
.header-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    background: var(--blue-deep);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}
.header-call:hover, .header-call:focus-visible { background: var(--blue); color: #fff; }
@media (max-width: 575.98px) { .header-call-number { display: none; } }
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .site-header .nav-link { padding: 0 13px !important; }
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--focus-ring); }

@media (max-width: 1199.98px) {
    .site-header .navbar { padding-bottom: 12px !important; }
    .site-header .navbar-brand img { width: 300px; }
    .site-header .navbar-collapse { background: var(--blue); }
    .site-header .nav-link,
    .site-header .nav-link.active,
    .site-header .nav-phone { line-height: 1.4; padding: 12px 18px !important; color: #fff; background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .15); }
    .site-header .nav-link.active { background: var(--blue-soft); }
    .site-header .dropdown-menu { box-shadow: none; background: var(--blue-deep); }
    .site-header .dropdown-item { padding-left: 36px; }
}

/* ---------- page title bar ---------- */
.page-title {
    background: var(--blue);
    border-top: 6px solid var(--brand-light);
    color: #fff;
    padding: 14px 0;
}
@media (max-width: 575.98px) { .page-title .container { flex-direction: column; align-items: flex-start !important; gap: 2px; } }
.page-title h1 { font-size: 24px; text-transform: uppercase; margin: 0; line-height: 1.6; }
.page-title .breadcrumb { font-size: 12px; font-weight: 700; --bs-breadcrumb-divider-color: #fff; --bs-breadcrumb-item-active-color: #fff; }
.page-title .breadcrumb-item + .breadcrumb-item::before { content: "\203A"; color: #fff; }
.page-title .breadcrumb a { color: #fff; text-decoration: none; }
.page-title .breadcrumb a:hover { text-decoration: underline; }

/* ---------- content ---------- */
.page-content { padding-top: 40px; padding-bottom: 60px; }
.page-content p { font-size: 18px; line-height: 1.5; margin-bottom: 1.1rem; }
.page-content a:not([class]) { color: var(--blue); text-decoration: none; }
.page-content a:not([class]):hover { text-decoration: underline; }

.widget-title {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
    border-left: 3px solid var(--brand);
    padding-left: 7px;
    margin: 0 0 22px;
    text-transform: none;
}
.mt-section { margin-top: 50px; }
.block { margin-top: 60px; }

.img-wide { display: block; width: 100%; height: auto; margin-bottom: 30px; }
.img-left { float: left; width: 45%; height: auto; margin: 0 30px 20px 0; border: 8px solid var(--brand-light); }
@media (max-width: 767.98px) { .img-left { float: none; width: 100%; margin-right: 0; } }

.phone { color: var(--blue); font-weight: 700; text-decoration: none; white-space: nowrap; }

.page-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 50px; }
.btn-site {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    border: 3px solid var(--blue);
    font-size: 18px;
    padding: 15px 25px;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}
.btn-site:hover, .btn-site:focus-visible { background: #fff; color: var(--blue); }
.btn-site:disabled { opacity: .6; cursor: wait; }

/* ---------- hero slider ---------- */
.hero .carousel-item { height: clamp(260px, 36vw, 520px); background: var(--photo-placeholder); }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* Darkens only the caption side of the photo so the white title stays legible on light shots */
.hero .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(0, 45, 70, .55), rgba(0, 45, 70, .25) 35%, transparent 60%);
    pointer-events: none;
}
.hero-intro { z-index: 1; }
.hero-intro {
    position: absolute;
    top: 35%;
    right: 6%;
    max-width: 420px;
    text-align: center;
    color: #fff;
}
.hero-intro h2 {
    font-size: clamp(26px, 3.4vw, 46px);
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 18px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
    line-height: 1.1;
}
.hero-intro h2 span { display: block; font-weight: 300; }
.hero-buttons { display: inline-flex; }
.hero-arrow, .hero-more {
    border: 0;
    background: var(--blue);
    color: #fff;
    height: 44px;
    line-height: 44px;
    font-size: 16px;
    text-decoration: none;
}
.hero-arrow { width: 44px; background: var(--blue-soft); }
.hero-more { padding: 0 22px; }
.hero-arrow:hover, .hero-more:hover { background: var(--dark); color: #fff; }
.hero-pause {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 0;
    background: rgba(28, 45, 54, .7);
    color: #fff;
    display: grid;
    place-items: center;
}
.hero-pause .icon { width: 22px; height: 22px; }
.hero-pause[hidden] { display: none; }
.hero-pause:hover { background: var(--dark); }
@media (max-width: 575.98px) {
    .hero-intro { right: 50%; transform: translateX(50%); top: auto; bottom: 16px; width: 90%; }
    .hero .carousel-item::after { background: linear-gradient(to top, rgba(0, 45, 70, .6), transparent 55%); }
    /* the caption and its buttons sit at the bottom on phones: keep the pause control clear of them */
    .hero-pause { top: 12px; bottom: auto; left: 12px; }
}

/* ---------- benefits (4 coloured boxes) ---------- */
.benefits { margin-bottom: 40px; }
.benefit {
    background: var(--blue-deep);
    color: #fff;
    text-align: center;
    padding: 18px 26px 24px;
    position: relative;
}
.benefit:has(.benefit-more) { padding-bottom: 76px; }
.benefit:nth-child(even) { background: var(--blue-soft); }
.benefit h2 { font-size: 28px; font-weight: 700; margin: 0 0 10px; }
.benefit p { font-size: 14px !important; line-height: 1.45; margin-bottom: .4rem !important; }
.benefit-more {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 18px;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}
.benefit-more:hover { background: var(--dark); color: #fff; }
.page-content > .benefits { margin-top: -40px; position: relative; z-index: 2; }
.intro-text + .benefits { margin-top: 0; }

/* ---------- testimonials ---------- */
.testimonials .widget-title { font-size: 22px; }
.testimonial { position: relative; padding-left: 60px; margin: 0; min-height: 90px; }
.testimonial-icon {
    position: absolute;
    left: 0;
    top: 2px;
    width: 38px;
    height: 38px;
    background: var(--blue-soft);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 28px;
    padding: 6px;
}
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { font-style: italic; font-size: 15px; line-height: 2; margin: 0; }
.testimonial figcaption { text-align: right; color: var(--blue); font-style: italic; font-weight: 700; font-size: 14px; margin-top: 10px; }
.testimonial-buttons { display: flex; justify-content: flex-end; gap: 4px; margin-top: 12px; }
.testimonial-buttons button {
    width: 44px; height: 44px; border: 0; background: var(--blue); color: #fff; font-size: 16px; line-height: 1;
}
.testimonial-buttons button:disabled { background: var(--brand-light); opacity: .5; }

/* ---------- accordion (qualifications / scans) ---------- */
.details-list { --bs-accordion-border-color: var(--line); --bs-accordion-border-radius: 0; --bs-accordion-inner-border-radius: 0; }
.details-list .accordion-item { margin-bottom: 4px; border: 0; }
.details-list .accordion-button {
    position: relative;
    color: var(--blue);
    background: #fff;
    font-size: 20px;
    text-transform: uppercase;
    padding: 11px 38px 11px 61px;
    border: 1px solid var(--line);
    box-shadow: none;
}
.details-list .accordion-button::before {
    content: "";
    position: absolute;
    left: 0; top: -1px; bottom: -1px;
    width: 46px;
    /* white check-lg (Bootstrap Icons) on the brand blue */
    background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M12.736 3.97a.733.733 0 0 1 1.047 0c.286.289.29.756.01 1.05L7.88 12.01a.733.733 0 0 1-1.065.02L3.217 8.384a.757.757 0 0 1 0-1.06.733.733 0 0 1 1.047 0l3.052 3.093 5.4-6.425z'/%3E%3C/svg%3E") center / 24px no-repeat;
}
.details-list .accordion-button::after {
    content: "\2212";
    background: none;
    width: auto; height: auto;
    font-size: 26px;
    line-height: 1;
    transform: none;
    color: var(--blue);
}
.details-list .accordion-button.collapsed::after { content: "+"; }
.details-list .accordion-button:focus-visible { box-shadow: 0 0 0 3px var(--focus-ring); }
.details-list .accordion-body { background: var(--blue); color: #fff; padding: 20px 20px 10px 48px; }
.details-list .accordion-body p { font-size: 14px; line-height: 1.6; }
.details-list .accordion-body a { color: #fff; text-decoration: underline; }

/* ---------- services-wide (icon + text) ---------- */
.services-wide li { display: flex; gap: 24px; align-items: flex-start; padding-bottom: 30px; }
.services-wide .pic {
    flex: 0 0 90px; height: 90px;
    background: var(--brand); color: #fff;
    display: grid; place-items: center;
}
.services-wide .pic .icon { width: 48px; height: 48px; }
.services-wide p { margin: 0; font-size: 20px; }

/* ---------- maps ---------- */
.map iframe { display: block; width: 100%; height: 350px; border: 0; }
.map-content { background: var(--grey-bg); padding: 20px 24px; }
.map-content h2 { font-size: 20px; color: var(--blue); margin-bottom: 10px; }
.map-content p { font-size: 16px; margin: 0; line-height: 1.5; }

/* ---------- pricing ---------- */
.price-title {
    position: relative;
    background: var(--brand);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    padding: 28px 10px;
    margin: 0;
}
.price-title::after { /* little pointer under the title */
    content: "";
    position: absolute;
    left: 30px; bottom: -12px;
    border: 12px solid transparent;
    border-bottom: 0;
    border-top-color: var(--brand);
}
.price-row { background: var(--grey-bg); }
.price-row:nth-of-type(even) { background: #fff; border: 1px solid var(--grey-bg); }
.price-content { padding: 22px 14px 8px; }
.price-content p { font-size: 14px !important; margin-bottom: 1.2rem !important; }
.price-content .price-time { color: var(--text-muted); font-size: 13px !important; margin: 0 !important; }
.price-price { border-top: 1px solid var(--line); padding: 10px 14px; font-size: 24px; color: var(--text-muted); }
.price-note { font-size: 16px !important; margin-top: 12px; }

/* ---------- news ---------- */
.news-item { margin-bottom: 60px; }
.news-item .widget-title { font-size: 22px; }
.news-date { background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; padding: 14px 12px; margin-bottom: 24px; }
.news-body p { font-size: 16px !important; }
.link-blue { color: var(--blue); text-decoration: none; }
.link-blue:hover { text-decoration: underline; }
.news-source { font-size: 13px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 0; }
.news-source a { color: var(--blue); text-decoration: none; word-break: break-word; }
.more-images { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.more-images img { width: 90px; height: 70px; object-fit: cover; }
.paginator ul { display: flex; justify-content: center; gap: 6px; margin: 0; }
.paginator a {
    display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; text-align: center;
    border: 2px solid var(--blue); color: var(--blue); font-size: 14px; text-decoration: none;
}
.paginator a.current, .paginator a:hover { background: var(--blue); color: #fff; }

/* ---------- contact form ---------- */
.feedback .form-label { font-size: 16px; margin-bottom: 4px; }
.feedback .form-control { border-radius: 0; border-color: var(--field-stroke); font-size: 16px; padding: 10px 12px; }
.feedback .form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--focus-ring); }
.feedback .form-control.is-invalid { border-color: var(--alert-red); background-image: none; }
.form-note { font-size: 15px !important; color: var(--text-muted); }
.req { color: var(--alert-red); }
.field-error:empty { display: none; }
.field-error { color: var(--alert-red); font-size: 14px; margin-top: 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-result:empty { display: none; }
.form-result { padding: 12px 16px; font-size: 16px; }
.form-result.is-ok { background: var(--success-tint); color: var(--success-ink); }
.form-result.is-error { background: var(--error-tint); color: var(--alert-red); }

/* ---------- legal / 404 ---------- */
.legal h2 { font-size: 20px; font-weight: 700; margin: 30px 0 10px; }
.legal li { font-size: 18px; }
.error-404-kicker { text-transform: uppercase; color: var(--text-muted); letter-spacing: .1em; margin: 0 !important; }
.error-404-code { font-size: 140px !important; font-weight: 700; color: var(--blue); line-height: 1; margin: 0 0 20px !important; }
.error-404 h2 { font-size: 28px; }
.error-404 .btn-site { margin-top: 20px; }

/* ---------- footer ---------- */
.page-footer { background: var(--dark-2); color: #fff; padding: 50px 0 30px; }
.footer-title { display: flex; align-items: center; gap: 14px; font-size: 28px; text-transform: uppercase; margin-bottom: 30px; }
.recent-posts li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.recent-posts .thumb img { width: 80px; height: 56px; object-fit: cover; display: block; }
.recent-posts p { margin: 0; font-size: 15px; line-height: 1.4; }
.recent-posts a { color: var(--blue-on-dark); text-decoration: none; }
.recent-posts a:hover { color: #fff; }

.copyrights { background: var(--dark); color: #fff; padding: 26px 0; font-size: 16px; }
.copyrights a { color: var(--blue-on-dark); text-decoration: none; }
.copyrights a:hover { color: #fff; }
.soc-icon {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border: 3px solid var(--blue-on-dark);
    background: var(--dark-2);
    color: var(--blue-on-dark) !important;
    transition: background-color .2s, color .2s;
}
.soc-icon .icon { width: 17px; height: 17px; }
.soc-icon:hover { background: var(--blue-on-dark); color: var(--dark) !important; }

/* Small text links get a 44px-tall hit area without moving the layout */
.page-title .breadcrumb a,
.copyrights p a,
.recent-posts p a,
.news-source a { display: inline-block; padding-block: 13px; margin-block: -13px; }
/* Phone numbers are the main action on a phone: 44px-tall tap area around the 22px line */
.phone { display: inline-block; padding-block: 11px; margin-block: -11px; }
