/* ==========================================================================
   Britz Blore & Associates — site styles
   One stylesheet for the whole (single-page) site. It is cached for a year,
   so bump the ?v= query string in index.html whenever you change this file.
   ========================================================================== */

/* Fonts
   ========================================================================== */

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/poppins-300.woff2) format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/poppins-400.woff2) format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/poppins-500.woff2) format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(../fonts/poppins-600.woff2) format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/poppins-700.woff2) format("woff2");
}

/* Arial scaled to Poppins' metrics, so text barely moves when Poppins swaps in. */
@font-face {
    font-family: "Poppins Fallback";
    src: local("Arial");
    size-adjust: 110%;
    ascent-override: 95.5%;
    descent-override: 31.8%;
    line-gap-override: 9.1%;
}

/* Base
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    /* Keeps in-page links clear of the fixed header (fine-tuned by main.js). */
    scroll-padding-top: 90px;
}

body {
    position: relative;
    margin: 0;
    color: #707070;
    background-color: #fff;
    font-family: "Poppins", "Poppins Fallback", sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.625em;
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: #222;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.2em;
}

h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p {
    margin: 0 0 1rem;
}

dl,
dd {
    margin: 0;
}

address {
    font-style: normal;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: #222;
    text-decoration: none;
    transition: all 0.3s;
}

img {
    vertical-align: middle;
    border-style: none;
}

iframe {
    border: 0;
}

button,
input {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    overflow: visible;
}

button {
    border-radius: 0;
    text-transform: none;
    -webkit-appearance: button;
}

::selection {
    color: #fff;
    background-color: #222;
}

::placeholder {
    color: #777;
    font-weight: 300;
}

.icon-sprite {
    display: none;
}

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.05em;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    padding: 10px 20px;
    color: #fff;
    background: #222;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Grid (the subset of Bootstrap 4 used by the page)
   ========================================================================== */

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-4,
.col-8,
.col-12,
.col-sm-6,
.col-md-6,
.col-md-12,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-8,
.col-lg-12 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 576px) {
    .container { max-width: 540px; }
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
}

@media (min-width: 768px) {
    .container { max-width: 720px; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
    .container { max-width: 960px; }
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
    .offset-lg-4 { margin-left: 33.333333%; }
}

@media (min-width: 1200px) {
    .container { max-width: 1140px; }
}

/* Utilities
   ========================================================================== */

.d-flex { display: flex !important; }
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }
.text-center { text-align: center !important; }
.text-uppercase { text-transform: uppercase !important; }
.relative { position: relative; }
.no-padding { padding: 0; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.pb-20 { padding-bottom: 20px; }
.pb-30 { padding-bottom: 30px; }

.section-gap {
    padding: 120px 0;
}

.overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.overlay-bg {
    background-color: #000;
    opacity: 0.7;
}

/* Buttons
   ========================================================================== */

.primary-btn {
    position: relative;
    display: inline-block;
    padding-right: 30px;
    padding-left: 30px;
    border: none;
    border-radius: 25px;
    color: #fff;
    background-color: #222;
    font-weight: 500;
    line-height: 42px;
    cursor: pointer;
    transition: all 0.3s;
}

.primary-btn:hover {
    color: #fff;
}

.header-btn {
    border: 1px solid transparent;
    border-radius: 0;
}

.header-btn:hover {
    border: 1px solid #fff;
    background: transparent;
}

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

#header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 997;
    padding: 0 0 20px;
    background: #fff;
}

.header-top {
    height: 25px;
    padding: 1px;
    color: #8c8c8c;
    background-color: #222;
    font-size: 12px;
}

.header-top a {
    color: #fff;
}

.header-top .header-top-right {
    text-align: right;
}

.header-top .header-top-right a {
    margin-right: 10px;
}

/* The Facebook "f" glyph, sized to sit in the text like the old icon font. */
.header-top .icon-facebook {
    width: 0.5714em;
    vertical-align: -0.1429em;
}

.main-menu {
    padding-top: 15px;
}

.logo-link {
    color: #000;
    font-size: 20px;
}

.nav-menu > li {
    position: relative;
    float: left;
    margin-left: 10px;
    white-space: nowrap;
}

.nav-menu a {
    display: inline-block;
    padding: 0 8px;
    color: #222;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    #nav-menu-container {
        display: none;
    }
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 65px;
    }

    .header-top {
        display: none;
    }
}

@media (max-width: 673px) {
    #logo {
        margin-left: 20px;
    }
}

@media (max-width: 414px) {
    .logo-link {
        font-size: 15px;
    }
}

/* Mobile navigation (built by main.js from the desktop menu)
   ========================================================================== */

#mobile-nav-toggle {
    position: fixed;
    top: 33px;
    right: 10px;
    z-index: 999;
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    color: #222;
    background: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.4s;
}

body.mobile-nav-active #mobile-nav-toggle {
    color: #fff;
}

#mobile-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -260px;
    z-index: 998;
    width: 260px;
    padding-top: 18px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.8);
    visibility: hidden;
    transition: left 0.4s, visibility 0.4s;
}

#mobile-nav a {
    display: block;
    margin: 10px 0;
    padding: 10px 22px 10px 15px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

#mobile-body-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 997;
    display: none;
    background: rgba(0, 0, 0, 0.7);
}

body.mobile-nav-active {
    overflow: hidden;
}

body.mobile-nav-active #mobile-nav {
    left: 0;
    visibility: visible;
}

body.mobile-nav-active #mobile-body-overlay {
    display: block;
}

@media (max-width: 800px) {
    #mobile-nav-toggle {
        display: block;
    }
}

@media (max-width: 767px) {
    #mobile-nav-toggle {
        top: 8px;
    }
}

/* Banner
   ========================================================================== */

.banner-area {
    /* Matches the banner's long-standing position just below the top of the page. */
    margin-top: 28.75px;
    background: #16173f;
}

.banner-area .overlay {
    background: #000;
    opacity: 0.5;
}

.fullscreen {
    height: 100vh;
    height: 100svh;
}

.banner-content {
    text-align: center;
}

.banner-content img {
    width: 250px;
    height: auto;
}

.hero-title {
    color: #fff;
    font-size: 30px;
}

.services-menu {
    display: block;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 80px;
    text-align: center;
}

.services-menu .menu {
    display: inline-block;
}

.services-menu .menu-item {
    display: block;
    float: left;
    height: 20px;
    padding: 0 10px;
    border-right: 1px solid #000;
    line-height: 20px;
}

.services-menu .menu-item a {
    color: #fff;
    font-size: 15px;
}

@media (max-width: 800px) {
    .services-menu {
        display: none;
    }

    /* The services menu spaces the title from the buttons on larger screens. */
    .hero-title {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .banner-area .fullscreen {
        height: 700px;
    }
}

@media (max-width: 414px) {
    .banner-content img {
        width: 50vw;
    }
}

/* About
   ========================================================================== */

.home-about-area {
    background: #f9f9ff;
}

.home-about-area .home-about-left h2 {
    margin-bottom: 30px;
    font-size: 36px;
}

.home-about-area .home-about-left .sub {
    margin-bottom: 5px;
    color: #222;
}

@media (max-width: 960px) {
    .home-about-area .home-about-left {
        margin-bottom: 50px;
    }
}

/* Services
   ========================================================================== */

.cat-area .single-cat {
    text-align: center;
}

.cat-area .single-cat img {
    width: auto;
    height: 90px;
}

.cat-area .single-cat h3 {
    margin-top: 23px;
    margin-bottom: 20px;
    font-size: 18px;
}

.cat-area .single-cat p {
    max-width: 280px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 992px) {
    .cat-area .row {
        align-items: stretch;
    }

    .cat-area [class^="col-"] {
        display: flex;
    }

    .cat-area .single-cat {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
    }

    .cat-area .single-cat > a {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        height: 90px;
    }

    .cat-area .single-cat h3 {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        min-height: 56px;
    }

    .cat-area .single-cat p {
        flex: 1 1 auto;
    }
}

/* Stats
   ========================================================================== */

.faq-area {
    background: url(../img/fact.webp) center / cover;
}

.faq-area .overlay-bg {
    background: rgba(0, 0, 0, 0.7);
}

.single-faq {
    text-align: center;
}

.circle {
    display: inline-block;
    border: 1px solid #222;
    border-radius: 68px;
}

.inner {
    width: 90px;
    height: 90px;
    margin: 24px;
    border-radius: 50px;
    background-color: #222;
}

.single-faq .faq-count {
    margin: -90px 0 0;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2em;
}

.single-faq .faq-label {
    margin-top: 20px;
    padding-top: 60px;
    color: #fff;
    font-size: 18px;
}

@media (max-width: 960px) {
    .single-faq {
        margin-bottom: 50px;
    }
}

/* Team
   ========================================================================== */

.single-service {
    margin-bottom: 50px;
}

.single-service .thumb {
    overflow: hidden;
}

.single-service .thumb img {
    width: 115px;
    height: auto;
}

.single-service h3 {
    padding-top: 20px;
    font-size: 18px;
}

.single-service .team-role {
    margin-top: 2px;
}

@media (max-width: 960px) {
    .single-service {
        text-align: center;
    }
}

/* Contact
   ========================================================================== */

.contact-page-area {
    background: #f9f9ff;
}

.gmap_canvas {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.gmap_canvas iframe {
    width: 100%;
    height: 500px;
}

.contact-details-row {
    padding-top: 100px;
}

.contact-page-area .single-contact-address {
    margin-bottom: 20px;
}

.contact-page-area .single-contact-address + .single-contact-address {
    margin-top: 45.5px;
}

.contact-page-area .contact-icon .icon {
    margin-right: 30px;
    color: #222;
    font-size: 30px;
}

.contact-page-area .contact-title {
    margin-bottom: 5px;
    color: #222;
    font-size: 16px;
    line-height: 1.2em;
}

.contact-page-area .contact-title a {
    color: inherit;
}

.opening-hours {
    display: grid;
    grid-template-columns: 70px auto;
    column-gap: calc(1px + 10%);
}

.opening-hours dt,
.opening-hours dd {
    margin-bottom: 1rem;
}

@media (max-width: 960px) {
    .contact-page-area .address-wrap {
        margin-bottom: 50px;
    }
}

/* Contact form */

.contact-form-row {
    padding-top: 80px;
}

.contact-form-card {
    padding: 50px 50px 40px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(34, 34, 34, 0.06);
}

.contact-form-header {
    margin-bottom: 35px;
    text-align: center;
}

.contact-form-header h3 {
    margin-bottom: 10px;
    font-size: 30px;
}

.contact-form-header p {
    max-width: 480px;
    margin: 0 auto;
    font-size: 15px;
}

.contact-lead-form .form-group {
    margin-bottom: 20px;
}

.contact-lead-form label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-size: 13px;
    font-weight: 500;
}

.contact-lead-form input[type="text"],
.contact-lead-form input[type="email"],
.contact-lead-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e5ee;
    border-radius: 8px;
    color: #222;
    background: #f9f9ff;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-lead-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-lead-form input:focus,
.contact-lead-form textarea:focus {
    border-color: #222;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.08);
}

.contact-lead-form input::placeholder,
.contact-lead-form textarea::placeholder {
    color: #b0b0bd;
}

.contact-lead-form .form-submit {
    margin-top: 10px;
}

.contact-lead-form .primary-btn {
    min-width: 200px;
}

.contact-lead-form .primary-btn.header-btn:hover {
    border: 1px solid #222;
    color: #222;
    background: transparent;
}

@media (max-width: 575px) {
    .contact-form-card {
        padding: 30px 22px;
    }

    .contact-form-header h3 {
        font-size: 24px;
    }
}

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

.footer-area {
    padding-top: 10px;
    color: #8c8c8c;
    background-color: #04091e;
}

.footer-title {
    margin-bottom: 1px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2em;
}

@media (max-width: 991.98px) {
    .single-footer-widget {
        margin-bottom: 30px;
    }
}

/* Back-to-top button
   ========================================================================== */

#back-to-top {
    position: fixed;
    right: 30px;
    bottom: 20px;
    z-index: 99;
    display: block;
    padding: 15px;
    border: none;
    border-radius: 10px;
    color: #fff;
    background-color: #000;
    font-size: 18px;
    cursor: pointer;
}

#back-to-top[hidden] {
    display: none;
}

#back-to-top:hover {
    background-color: #555;
}
